From c80a357e3a38bcdfb38183ad16f883ae96738778 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 14 Nov 2023 10:31:53 +0000 Subject: [PATCH] Update generated files with build 128844 --- src/admin/adminRequestBuilder.ts | 4 +- src/admin/edge/edgeRequestBuilder.ts | 6 +- .../internetExplorerModeRequestBuilder.ts | 6 +- .../item/browserSiteListItemRequestBuilder.ts | 6 +- .../item/publish/publishPostRequestBody.ts | 4 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../browserSharedCookieItemRequestBuilder.ts | 6 +- .../sharedCookiesRequestBuilder.ts | 4 +- .../item/browserSiteItemRequestBuilder.ts | 6 +- .../item/sites/sitesRequestBuilder.ts | 4 +- .../siteLists/siteListsRequestBuilder.ts | 4 +- src/admin/people/peopleRequestBuilder.ts | 9 +- .../profileCardPropertyItemRequestBuilder.ts | 21 +- .../profileCardPropertiesRequestBuilder.ts | 14 +- .../healthOverviewsRequestBuilder.ts | 4 +- .../item/issues/issuesRequestBuilder.ts | 4 +- .../incidentReportRequestBuilder.ts | 2 +- .../serviceHealthIssueItemRequestBuilder.ts | 6 +- .../item/serviceHealthItemRequestBuilder.ts | 6 +- .../issues/issuesRequestBuilder.ts | 4 +- .../incidentReportRequestBuilder.ts | 2 +- .../serviceHealthIssueItemRequestBuilder.ts | 6 +- .../messages/archive/archiveRequestBuilder.ts | 2 +- .../favorite/favoriteRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- ...nnouncementAttachmentItemRequestBuilder.ts | 6 +- .../attachmentsArchiveRequestBuilder.ts | 4 +- .../serviceUpdateMessageItemRequestBuilder.ts | 6 +- .../markRead/markReadRequestBuilder.ts | 2 +- .../markUnread/markUnreadRequestBuilder.ts | 2 +- .../messages/messagesRequestBuilder.ts | 4 +- .../unarchive/unarchiveRequestBuilder.ts | 2 +- .../unfavorite/unfavoriteRequestBuilder.ts | 2 +- .../serviceAnnouncementRequestBuilder.ts | 6 +- .../settings/settingsRequestBuilder.ts | 6 +- .../sharepoint/sharepointRequestBuilder.ts | 6 +- .../agreementAcceptancesRequestBuilder.ts | 4 +- .../agreementAcceptanceItemRequestBuilder.ts | 6 +- src/agreements/agreementsRequestBuilder.ts | 4 +- .../acceptances/acceptancesRequestBuilder.ts | 4 +- .../agreementAcceptanceItemRequestBuilder.ts | 6 +- .../item/agreementItemRequestBuilder.ts | 6 +- .../item/file/fileRequestBuilder.ts | 6 +- ...ementFileLocalizationItemRequestBuilder.ts | 6 +- .../agreementFileVersionItemRequestBuilder.ts | 6 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../localizationsRequestBuilder.ts | 4 +- .../item/files/filesRequestBuilder.ts | 4 +- ...ementFileLocalizationItemRequestBuilder.ts | 6 +- .../agreementFileVersionItemRequestBuilder.ts | 6 +- .../item/versions/versionsRequestBuilder.ts | 4 +- src/appCatalogs/appCatalogsRequestBuilder.ts | 4 +- .../appDefinitionsRequestBuilder.ts | 4 +- .../item/bot/botRequestBuilder.ts | 6 +- .../teamsAppDefinitionItemRequestBuilder.ts | 6 +- .../item/teamsAppItemRequestBuilder.ts | 10 +- .../teamsApps/teamsAppsRequestBuilder.ts | 4 +- .../applicationTemplatesRequestBuilder.ts | 2 +- .../applicationTemplateItemRequestBuilder.ts | 2 +- .../instantiate/instantiateRequestBuilder.ts | 2 +- .../applicationsRequestBuilder.ts | 4 +- src/applications/delta/deltaGetResponse.ts | 2 +- src/applications/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../item/addKey/addKeyPostRequestBody.ts | 4 +- .../item/addKey/addKeyRequestBuilder.ts | 2 +- .../addPassword/addPasswordPostRequestBody.ts | 2 +- .../addPassword/addPasswordRequestBuilder.ts | 2 +- .../appManagementPoliciesRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../item/applicationItemRequestBuilder.ts | 6 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../createdOnBehalfOfRequestBuilder.ts | 2 +- .../extensionPropertiesRequestBuilder.ts | 4 +- .../extensionPropertyItemRequestBuilder.ts | 6 +- ...eratedIdentityCredentialsRequestBuilder.ts | 4 +- ...tedIdentityCredentialItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- ...omeRealmDiscoveryPoliciesRequestBuilder.ts | 2 +- ...eRealmDiscoveryPolicyItemRequestBuilder.ts | 2 +- .../item/logo/logoRequestBuilder.ts | 4 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/owners/item/ref/refRequestBuilder.ts | 2 +- .../item/owners/ownersRequestBuilder.ts | 2 +- .../item/owners/ref/refRequestBuilder.ts | 4 +- .../item/removeKey/removeKeyRequestBuilder.ts | 2 +- .../removePasswordRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../setVerifiedPublisherRequestBuilder.ts | 2 +- .../acquireAccessTokenPostRequestBody.ts | 2 +- .../acquireAccessTokenRequestBuilder.ts | 2 +- .../jobs/item/pause/pauseRequestBuilder.ts | 2 +- .../provisionOnDemandPostRequestBody.ts | 2 +- .../provisionOnDemandRequestBuilder.ts | 2 +- .../item/restart/restartPostRequestBody.ts | 2 +- .../item/restart/restartRequestBuilder.ts | 2 +- .../directories/directoriesRequestBuilder.ts | 4 +- .../directoryDefinitionItemRequestBuilder.ts | 6 +- .../item/discover/discoverRequestBuilder.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../filterOperatorsRequestBuilder.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../functions/functionsRequestBuilder.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../parseExpressionRequestBuilder.ts | 2 +- .../jobs/item/schema/schemaRequestBuilder.ts | 6 +- .../jobs/item/start/startRequestBuilder.ts | 2 +- .../synchronizationJobItemRequestBuilder.ts | 6 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsRequestBuilder.ts | 2 +- .../jobs/jobsRequestBuilder.ts | 4 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsRequestBuilder.ts | 2 +- .../secrets/secretsRequestBuilder.ts | 2 +- .../synchronizationRequestBuilder.ts | 6 +- .../directories/directoriesRequestBuilder.ts | 4 +- .../directoryDefinitionItemRequestBuilder.ts | 6 +- .../item/discover/discoverRequestBuilder.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../filterOperatorsRequestBuilder.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../functions/functionsRequestBuilder.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../parseExpressionRequestBuilder.ts | 2 +- .../item/schema/schemaRequestBuilder.ts | 6 +- ...nchronizationTemplateItemRequestBuilder.ts | 6 +- .../templates/templatesRequestBuilder.ts | 4 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../tokenIssuancePoliciesRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../tokenLifetimePoliciesRequestBuilder.ts | 2 +- .../unsetVerifiedPublisherRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../applicationsWithAppIdRequestBuilder.ts | 6 +- src/auditLogs/auditLogsRequestBuilder.ts | 4 +- .../directoryAuditsRequestBuilder.ts | 4 +- .../item/directoryAuditItemRequestBuilder.ts | 6 +- ...isioningObjectSummaryItemRequestBuilder.ts | 6 +- .../provisioningRequestBuilder.ts | 4 +- .../signIns/item/signInItemRequestBuilder.ts | 6 +- .../signIns/signInsRequestBuilder.ts | 4 +- ...ationMethodConfigurationsRequestBuilder.ts | 4 +- ...onMethodConfigurationItemRequestBuilder.ts | 6 +- ...ationMethodConfigurationsRequestBuilder.ts | 4 +- ...onMethodConfigurationItemRequestBuilder.ts | 6 +- ...thenticationMethodsPolicyRequestBuilder.ts | 4 +- ...ateBasedAuthConfigurationRequestBuilder.ts | 4 +- ...asedAuthConfigurationItemRequestBuilder.ts | 6 +- src/chats/chatsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- src/chats/item/chatItemRequestBuilder.ts | 6 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../hideForUser/hideForUserRequestBuilder.ts | 2 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../lastMessagePreviewRequestBuilder.ts | 6 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatReadForUserRequestBuilder.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- src/chats/item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 10 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/message/messageRequestBuilder.ts | 2 +- ...pinnedChatMessageInfoItemRequestBuilder.ts | 6 +- .../pinnedMessagesRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- src/chats/item/tabs/tabsRequestBuilder.ts | 4 +- .../unhideForUserPostRequestBody.ts | 2 +- .../unhideForUserRequestBuilder.ts | 2 +- .../callRecords/callRecordsRequestBuilder.ts | 4 +- .../item/callRecordItemRequestBuilder.ts | 6 +- .../item/segmentItemRequestBuilder.ts | 6 +- .../item/segments/segmentsRequestBuilder.ts | 4 +- .../item/sessionItemRequestBuilder.ts | 6 +- .../item/sessions/sessionsRequestBuilder.ts | 6 +- ...thFromDateTimeWithToDateTimeGetResponse.ts | 2 +- ...romDateTimeWithToDateTimeRequestBuilder.ts | 2 +- ...thFromDateTimeWithToDateTimeGetResponse.ts | 2 +- ...romDateTimeWithToDateTimeRequestBuilder.ts | 2 +- .../calls/callsRequestBuilder.ts | 4 +- .../addLargeGalleryViewRequestBuilder.ts | 2 +- .../item/answer/answerPostRequestBody.ts | 4 +- .../calls/item/answer/answerRequestBuilder.ts | 2 +- .../audioRoutingGroupsRequestBuilder.ts | 4 +- .../audioRoutingGroupItemRequestBuilder.ts | 6 +- .../calls/item/callItemRequestBuilder.ts | 6 +- .../cancelMediaProcessingRequestBuilder.ts | 2 +- .../changeScreenSharingRoleRequestBuilder.ts | 2 +- .../contentSharingSessionsRequestBuilder.ts | 4 +- ...contentSharingSessionItemRequestBuilder.ts | 6 +- .../item/keepAlive/keepAliveRequestBuilder.ts | 2 +- .../calls/item/mute/muteRequestBuilder.ts | 2 +- .../item/commsOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../invite/invitePostRequestBody.ts | 2 +- .../invite/inviteRequestBuilder.ts | 8 +- .../item/mute/muteRequestBuilder.ts | 2 +- .../item/participantItemRequestBuilder.ts | 6 +- .../startHoldMusicPostRequestBody.ts | 2 +- .../startHoldMusicRequestBuilder.ts | 2 +- .../stopHoldMusicRequestBuilder.ts | 2 +- .../participantsRequestBuilder.ts | 4 +- .../playPrompt/playPromptPostRequestBody.ts | 2 +- .../playPrompt/playPromptRequestBuilder.ts | 2 +- .../recordResponsePostRequestBody.ts | 2 +- .../recordResponseRequestBuilder.ts | 2 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- .../item/redirect/redirectRequestBuilder.ts | 2 +- .../calls/item/reject/rejectRequestBuilder.ts | 2 +- .../subscribeToToneRequestBuilder.ts | 2 +- .../item/transfer/transferPostRequestBody.ts | 4 +- .../item/transfer/transferRequestBuilder.ts | 2 +- .../calls/item/unmute/unmuteRequestBuilder.ts | 2 +- .../updateRecordingStatusRequestBuilder.ts | 2 +- ...econferenceDeviceQualityPostRequestBody.ts | 2 +- ...leconferenceDeviceQualityRequestBuilder.ts | 2 +- .../communicationsRequestBuilder.ts | 4 +- .../getPresencesByUserIdPostResponse.ts | 2 +- .../getPresencesByUserIdRequestBuilder.ts | 2 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../createOrGet/createOrGetRequestBuilder.ts | 2 +- .../attendanceReportsRequestBuilder.ts | 13 +- .../attendanceRecordsRequestBuilder.ts | 4 +- .../attendanceRecordItemRequestBuilder.ts | 6 +- ...etingAttendanceReportItemRequestBuilder.ts | 13 +- .../attendeeReportRequestBuilder.ts | 4 +- ...tualAppointmentJoinWebUrlRequestBuilder.ts | 2 +- .../item/onlineMeetingItemRequestBuilder.ts | 15 +- .../recordings/count/countRequestBuilder.ts | 88 ++++++++ .../item/recordings}/count/index.ts | 0 .../onlineMeetings/item/recordings/index.ts | 1 + .../item/callRecordingItemRequestBuilder.ts | 184 ++++++++++++++++ .../item/content/contentRequestBuilder.ts | 121 +++++++++++ .../item/recordings/item/content/index.ts | 1 + .../item/recordings/item/index.ts | 1 + .../recordings/recordingsRequestBuilder.ts | 180 ++++++++++++++++ .../item/callTranscriptItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../metadataContentRequestBuilder.ts | 4 +- .../transcripts/transcriptsRequestBuilder.ts | 4 +- .../onlineMeetingsRequestBuilder.ts | 4 +- .../clearPresenceRequestBuilder.ts | 2 +- ...learUserPreferredPresenceRequestBuilder.ts | 2 +- .../item/presenceItemRequestBuilder.ts | 6 +- .../setPresence/setPresenceRequestBuilder.ts | 2 +- .../setStatusMessagePostRequestBody.ts | 2 +- .../setStatusMessageRequestBuilder.ts | 2 +- .../setUserPreferredPresenceRequestBuilder.ts | 2 +- .../presences/presencesRequestBuilder.ts | 4 +- src/compliance/complianceRequestBuilder.ts | 4 +- src/connections/connectionsRequestBuilder.ts | 4 +- .../externalConnectionItemRequestBuilder.ts | 6 +- .../item/groups/groupsRequestBuilder.ts | 4 +- .../item/externalGroupItemRequestBuilder.ts | 6 +- .../item/identityItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../externalActivityItemRequestBuilder.ts | 6 +- .../performedBy/performedByRequestBuilder.ts | 2 +- .../item/externalItemItemRequestBuilder.ts | 6 +- .../addActivitiesPostRequestBody.ts | 2 +- .../addActivitiesPostResponse.ts | 2 +- ...alConnectorsAddActivitiesRequestBuilder.ts | 2 +- .../item/items/itemsRequestBuilder.ts | 4 +- .../connectionOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/schema/schemaRequestBuilder.ts | 4 +- src/contacts/contactsRequestBuilder.ts | 4 +- src/contacts/delta/deltaGetResponse.ts | 2 +- src/contacts/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- src/contacts/getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../directReportsRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../item/manager/managerRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/memberOf/memberOfRequestBuilder.ts | 2 +- .../item/orgContactItemRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../retryServiceProvisioningRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- src/contracts/contractsRequestBuilder.ts | 4 +- src/contracts/delta/deltaGetResponse.ts | 2 +- src/contracts/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../item/contractItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../dataPolicyOperationsRequestBuilder.ts | 4 +- .../dataPolicyOperationItemRequestBuilder.ts | 6 +- ...roidManagedAppProtectionsRequestBuilder.ts | 4 +- ...dManagedAppProtectionItemRequestBuilder.ts | 6 +- .../item/apps/appsRequestBuilder.ts | 4 +- .../managedMobileAppItemRequestBuilder.ts | 6 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...edAppPolicyAssignmentItemRequestBuilder.ts | 6 +- .../deploymentSummaryRequestBuilder.ts | 6 +- ...aultManagedAppProtectionsRequestBuilder.ts | 4 +- .../item/apps/appsRequestBuilder.ts | 4 +- .../managedMobileAppItemRequestBuilder.ts | 6 +- ...tManagedAppProtectionItemRequestBuilder.ts | 6 +- .../deploymentSummaryRequestBuilder.ts | 6 +- .../deviceAppManagementRequestBuilder.ts | 8 +- .../iosManagedAppProtectionsRequestBuilder.ts | 4 +- .../item/apps/appsRequestBuilder.ts | 4 +- .../managedMobileAppItemRequestBuilder.ts | 6 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...edAppPolicyAssignmentItemRequestBuilder.ts | 6 +- .../deploymentSummaryRequestBuilder.ts | 6 +- ...sManagedAppProtectionItemRequestBuilder.ts | 6 +- .../managedAppPolicyItemRequestBuilder.ts | 12 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../targetApps/targetAppsRequestBuilder.ts | 4 +- .../managedAppPoliciesRequestBuilder.ts | 10 +- ...ithFlaggedAppRegistrationRequestBuilder.ts | 2 +- .../appliedPoliciesRequestBuilder.ts | 4 +- .../managedAppPolicyItemRequestBuilder.ts | 6 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../targetApps/targetAppsRequestBuilder.ts | 4 +- .../intendedPoliciesRequestBuilder.ts | 4 +- .../managedAppPolicyItemRequestBuilder.ts | 6 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../targetApps/targetAppsRequestBuilder.ts | 4 +- ...anagedAppRegistrationItemRequestBuilder.ts | 12 +- .../managedAppOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../managedAppRegistrationsRequestBuilder.ts | 10 +- .../managedAppStatusItemRequestBuilder.ts | 12 +- .../managedAppStatusesRequestBuilder.ts | 10 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 10 +- ...anagedEBookAssignmentItemRequestBuilder.ts | 18 +- .../deviceStatesRequestBuilder.ts | 4 +- .../deviceInstallStateItemRequestBuilder.ts | 6 +- .../installSummaryRequestBuilder.ts | 6 +- .../item/managedEBookItemRequestBuilder.ts | 6 +- .../deviceStatesRequestBuilder.ts | 4 +- .../deviceInstallStateItemRequestBuilder.ts | 6 +- ...erInstallStateSummaryItemRequestBuilder.ts | 6 +- .../userStateSummaryRequestBuilder.ts | 4 +- .../managedEBooksRequestBuilder.ts | 10 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...edAppPolicyAssignmentItemRequestBuilder.ts | 6 +- .../exemptAppLockerFilesRequestBuilder.ts | 4 +- ...otectionAppLockerFileItemRequestBuilder.ts | 6 +- ...ationProtectionPolicyItemRequestBuilder.ts | 6 +- ...otectionAppLockerFileItemRequestBuilder.ts | 6 +- .../protectedAppLockerFilesRequestBuilder.ts | 4 +- ...rmationProtectionPoliciesRequestBuilder.ts | 4 +- .../mobileAppCategoryItemRequestBuilder.ts | 6 +- .../mobileAppCategoriesRequestBuilder.ts | 4 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...nfigurationAssignmentItemRequestBuilder.ts | 6 +- .../deviceStatusSummaryRequestBuilder.ts | 6 +- .../deviceStatusesRequestBuilder.ts | 4 +- ...igurationDeviceStatusItemRequestBuilder.ts | 6 +- ...obileAppConfigurationItemRequestBuilder.ts | 12 +- .../userStatusSummaryRequestBuilder.ts | 6 +- ...nfigurationUserStatusItemRequestBuilder.ts | 6 +- .../userStatusesRequestBuilder.ts | 4 +- .../mobileAppConfigurationsRequestBuilder.ts | 10 +- .../graphAndroidLobAppRequestBuilder.ts | 2 +- .../graphAndroidStoreAppRequestBuilder.ts | 2 +- .../graphIosLobAppRequestBuilder.ts | 2 +- .../graphIosStoreAppRequestBuilder.ts | 2 +- .../graphIosVppAppRequestBuilder.ts | 2 +- .../graphMacOSDmgAppRequestBuilder.ts | 2 +- .../graphMacOSLobAppRequestBuilder.ts | 2 +- ...graphManagedAndroidLobAppRequestBuilder.ts | 2 +- .../graphManagedIOSLobAppRequestBuilder.ts | 2 +- .../graphManagedMobileLobAppRequestBuilder.ts | 2 +- ...rosoftStoreForBusinessAppRequestBuilder.ts | 2 +- .../graphWin32LobAppRequestBuilder.ts | 2 +- .../graphWindowsAppXRequestBuilder.ts | 2 +- .../graphWindowsMobileMSIRequestBuilder.ts | 2 +- ...graphWindowsUniversalAppXRequestBuilder.ts | 2 +- .../graphWindowsWebAppRequestBuilder.ts | 2 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphAndroidLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../graphAndroidStoreAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphIosLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../graphIosStoreAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../graphIosVppAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphMacOSDmgAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphMacOSLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- ...graphManagedAndroidLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphManagedIOSLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphManagedMobileLobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- ...rosoftStoreForBusinessAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphWin32LobAppRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphWindowsAppXRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- .../graphWindowsMobileMSIRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../committedContainedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../contentVersionsRequestBuilder.ts | 4 +- .../containedAppsRequestBuilder.ts | 4 +- .../mobileContainedAppItemRequestBuilder.ts | 6 +- .../item/files/filesRequestBuilder.ts | 4 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../files/item/commit/commitRequestBuilder.ts | 2 +- .../mobileAppContentFileItemRequestBuilder.ts | 6 +- .../renewUpload/renewUploadRequestBuilder.ts | 2 +- .../mobileAppContentItemRequestBuilder.ts | 6 +- ...graphWindowsUniversalAppXRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../mobileAppAssignmentItemRequestBuilder.ts | 6 +- .../categories/categoriesRequestBuilder.ts | 2 +- .../mobileAppCategoryItemRequestBuilder.ts | 2 +- .../graphWindowsWebAppRequestBuilder.ts | 2 +- .../item/mobileAppItemRequestBuilder.ts | 24 +-- .../mobileApps/mobileAppsRequestBuilder.ts | 16 +- ...osoftStoreForBusinessAppsRequestBuilder.ts | 2 +- .../item/apps/appsRequestBuilder.ts | 4 +- .../managedMobileAppItemRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...edAppPolicyAssignmentItemRequestBuilder.ts | 6 +- .../deploymentSummaryRequestBuilder.ts | 6 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../targetApps/targetAppsRequestBuilder.ts | 2 +- ...nagedAppConfigurationItemRequestBuilder.ts | 6 +- ...dManagedAppConfigurationsRequestBuilder.ts | 4 +- .../syncLicensesRequestBuilder.ts | 2 +- .../item/vppTokenItemRequestBuilder.ts | 6 +- .../vppTokens/vppTokensRequestBuilder.ts | 4 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...edAppPolicyAssignmentItemRequestBuilder.ts | 6 +- .../exemptAppLockerFilesRequestBuilder.ts | 4 +- ...otectionAppLockerFileItemRequestBuilder.ts | 6 +- ...otectionAppLockerFileItemRequestBuilder.ts | 6 +- .../protectedAppLockerFilesRequestBuilder.ts | 4 +- ...ationProtectionPolicyItemRequestBuilder.ts | 6 +- ...rmationProtectionPoliciesRequestBuilder.ts | 4 +- ...shNotificationCertificateRequestBuilder.ts | 6 +- ...CertificateSigningRequestRequestBuilder.ts | 2 +- .../auditEvents/auditEventsRequestBuilder.ts | 4 +- ...ActivityTypesWithCategoryRequestBuilder.ts | 2 +- .../getAuditCategoriesRequestBuilder.ts | 2 +- .../item/auditEventItemRequestBuilder.ts | 6 +- ...plianceManagementPartnersRequestBuilder.ts | 4 +- ...anceManagementPartnerItemRequestBuilder.ts | 6 +- ...conditionalAccessSettingsRequestBuilder.ts | 6 +- .../detectedAppsRequestBuilder.ts | 4 +- .../item/detectedAppItemRequestBuilder.ts | 6 +- .../item/managedDeviceItemRequestBuilder.ts | 2 +- .../managedDevicesRequestBuilder.ts | 2 +- .../deviceCategoriesRequestBuilder.ts | 4 +- .../item/deviceCategoryItemRequestBuilder.ts | 6 +- .../deviceCompliancePoliciesRequestBuilder.ts | 10 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignPostResponse.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...iancePolicyAssignmentItemRequestBuilder.ts | 6 +- ...eviceCompliancePolicyItemRequestBuilder.ts | 24 +-- ...viceSettingStateSummariesRequestBuilder.ts | 4 +- ...ingStateDeviceSummaryItemRequestBuilder.ts | 6 +- .../deviceStatusOverviewRequestBuilder.ts | 6 +- .../deviceStatusesRequestBuilder.ts | 4 +- ...omplianceDeviceStatusItemRequestBuilder.ts | 6 +- .../scheduleActionsForRulesPostRequestBody.ts | 2 +- .../scheduleActionsForRulesRequestBuilder.ts | 2 +- ...cheduledActionForRuleItemRequestBuilder.ts | 6 +- ...eComplianceActionItemItemRequestBuilder.ts | 6 +- ...duledActionConfigurationsRequestBuilder.ts | 4 +- .../scheduledActionsForRuleRequestBuilder.ts | 4 +- .../userStatusOverviewRequestBuilder.ts | 6 +- ...eComplianceUserStatusItemRequestBuilder.ts | 6 +- .../userStatusesRequestBuilder.ts | 4 +- ...ePolicyDeviceStateSummaryRequestBuilder.ts | 6 +- ...licySettingStateSummariesRequestBuilder.ts | 4 +- ...cySettingStateSummaryItemRequestBuilder.ts | 6 +- ...ceComplianceSettingStatesRequestBuilder.ts | 4 +- ...omplianceSettingStateItemRequestBuilder.ts | 6 +- ...ationDeviceStateSummariesRequestBuilder.ts | 6 +- .../deviceConfigurationsRequestBuilder.ts | 10 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignPostResponse.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...nfigurationAssignmentItemRequestBuilder.ts | 6 +- .../deviceConfigurationItemRequestBuilder.ts | 24 +-- ...viceSettingStateSummariesRequestBuilder.ts | 4 +- ...ingStateDeviceSummaryItemRequestBuilder.ts | 6 +- .../deviceStatusOverviewRequestBuilder.ts | 6 +- .../deviceStatusesRequestBuilder.ts | 4 +- ...igurationDeviceStatusItemRequestBuilder.ts | 6 +- ...ithSecretReferenceValueIdRequestBuilder.ts | 2 +- .../userStatusOverviewRequestBuilder.ts | 6 +- ...nfigurationUserStatusItemRequestBuilder.ts | 6 +- .../userStatusesRequestBuilder.ts | 4 +- ...eEnrollmentConfigurationsRequestBuilder.ts | 16 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...nfigurationAssignmentItemRequestBuilder.ts | 6 +- ...rollmentConfigurationItemRequestBuilder.ts | 12 +- .../setPriority/setPriorityRequestBuilder.ts | 2 +- .../deviceManagementPartnersRequestBuilder.ts | 4 +- ...viceManagementPartnerItemRequestBuilder.ts | 6 +- .../item/terminate/terminateRequestBuilder.ts | 2 +- .../deviceManagementRequestBuilder.ts | 8 +- .../exchangeConnectorsRequestBuilder.ts | 4 +- ...mentExchangeConnectorItemRequestBuilder.ts | 6 +- .../item/sync/syncRequestBuilder.ts | 2 +- ...ffectivePermissionsWithScopeGetResponse.ts | 2 +- ...ctivePermissionsWithScopeRequestBuilder.ts | 2 +- .../importEscaped/importPostRequestBody.ts | 2 +- .../importEscaped/importPostResponse.ts | 2 +- .../importEscaped/importRequestBuilder.ts | 2 +- ...AutopilotDeviceIdentitiesRequestBuilder.ts | 4 +- ...topilotDeviceIdentityItemRequestBuilder.ts | 6 +- .../iosUpdateStatusesRequestBuilder.ts | 4 +- ...iosUpdateDeviceStatusItemRequestBuilder.ts | 6 +- .../managedDeviceOverviewRequestBuilder.ts | 2 +- .../bypassActivationLockRequestBuilder.ts | 2 +- .../cleanWindowsDeviceRequestBuilder.ts | 2 +- ...UserFromSharedAppleDeviceRequestBuilder.ts | 2 +- .../deviceCategoryRequestBuilder.ts | 6 +- ...iceCompliancePolicyStatesRequestBuilder.ts | 4 +- ...CompliancePolicyStateItemRequestBuilder.ts | 6 +- ...deviceConfigurationStatesRequestBuilder.ts | 4 +- ...iceConfigurationStateItemRequestBuilder.ts | 6 +- .../disableLostModeRequestBuilder.ts | 2 +- .../locateDeviceRequestBuilder.ts | 2 +- .../createDownloadUrlRequestBuilder.ts | 2 +- ...LogCollectionResponseItemRequestBuilder.ts | 6 +- .../logCollectionRequestsRequestBuilder.ts | 4 +- ...aredAppleDeviceActiveUserRequestBuilder.ts | 2 +- .../item/managedDeviceItemRequestBuilder.ts | 6 +- .../item/rebootNow/rebootNowRequestBuilder.ts | 2 +- .../recoverPasscodeRequestBuilder.ts | 2 +- .../remoteLock/remoteLockRequestBuilder.ts | 2 +- .../requestRemoteAssistanceRequestBuilder.ts | 2 +- .../resetPasscodeRequestBuilder.ts | 2 +- .../item/retire/retireRequestBuilder.ts | 2 +- .../item/shutDown/shutDownRequestBuilder.ts | 2 +- .../syncDevice/syncDeviceRequestBuilder.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- ...pdateWindowsDeviceAccountRequestBuilder.ts | 2 +- .../item/users/usersRequestBuilder.ts | 2 +- .../windowsDefenderScanRequestBuilder.ts | 2 +- ...sDefenderUpdateSignaturesRequestBuilder.ts | 2 +- .../detectedMalwareStateRequestBuilder.ts | 4 +- ...owsDeviceMalwareStateItemRequestBuilder.ts | 6 +- .../windowsProtectionStateRequestBuilder.ts | 6 +- .../item/wipe/wipeRequestBuilder.ts | 2 +- .../managedDevicesRequestBuilder.ts | 4 +- .../appLogCollectionRequestsRequestBuilder.ts | 4 +- ...pLogCollectionRequestItemRequestBuilder.ts | 6 +- .../createDownloadUrlRequestBuilder.ts | 2 +- ...pTroubleshootingEventItemRequestBuilder.ts | 6 +- ...eAppTroubleshootingEventsRequestBuilder.ts | 4 +- ...hreatDefenseConnectorItemRequestBuilder.ts | 6 +- ...leThreatDefenseConnectorsRequestBuilder.ts | 4 +- ...edNotificationMessageItemRequestBuilder.ts | 6 +- ...lizedNotificationMessagesRequestBuilder.ts | 4 +- ...cationMessageTemplateItemRequestBuilder.ts | 6 +- .../sendTestMessageRequestBuilder.ts | 2 +- ...ificationMessageTemplatesRequestBuilder.ts | 4 +- .../beginOnboardingRequestBuilder.ts | 2 +- .../disconnect/disconnectRequestBuilder.ts | 2 +- ...moteAssistancePartnerItemRequestBuilder.ts | 6 +- .../remoteAssistancePartnersRequestBuilder.ts | 4 +- .../exportJobs/exportJobsRequestBuilder.ts | 4 +- ...ceManagementExportJobItemRequestBuilder.ts | 6 +- .../getCachedReportRequestBuilder.ts | 2 +- ...PolicyNonComplianceReportRequestBuilder.ts | 2 +- ...onComplianceSummaryReportRequestBuilder.ts | 2 +- ...ettingNonComplianceReportRequestBuilder.ts | 2 +- ...PolicyNonComplianceReportRequestBuilder.ts | 2 +- ...onComplianceSummaryReportRequestBuilder.ts | 2 +- ...ettingNonComplianceReportRequestBuilder.ts | 2 +- ...ttingContributingProfilesRequestBuilder.ts | 2 +- ...ementIntentSettingsReportRequestBuilder.ts | 2 +- ...DeviceNonComplianceReportRequestBuilder.ts | 2 +- ...outCompliancePolicyReportRequestBuilder.ts | 2 +- .../getHistoricalReportRequestBuilder.ts | 2 +- ...tDevicesAndSettingsReportRequestBuilder.ts | 2 +- ...licyNonComplianceMetadataRequestBuilder.ts | 2 +- ...PolicyNonComplianceReportRequestBuilder.ts | 2 +- ...onComplianceSummaryReportRequestBuilder.ts | 2 +- .../getReportFiltersRequestBuilder.ts | 2 +- ...ettingNonComplianceReportRequestBuilder.ts | 2 +- .../reports/reportsRequestBuilder.ts | 6 +- .../resourceOperationItemRequestBuilder.ts | 6 +- .../resourceOperationsRequestBuilder.ts | 4 +- ...agementRoleAssignmentItemRequestBuilder.ts | 6 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../roleAssignmentsRequestBuilder.ts | 4 +- .../item/roleAssignmentItemRequestBuilder.ts | 6 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../roleAssignmentsRequestBuilder.ts | 4 +- .../item/roleDefinitionItemRequestBuilder.ts | 18 +- .../roleDefinitionsRequestBuilder.ts | 4 +- ...ftwareUpdateStatusSummaryRequestBuilder.ts | 2 +- ...enseManagementPartnerItemRequestBuilder.ts | 6 +- ...ExpenseManagementPartnersRequestBuilder.ts | 4 +- .../acceptanceStatusesRequestBuilder.ts | 4 +- .../termsAndConditionsRequestBuilder.ts | 2 +- ...tionsAcceptanceStatusItemRequestBuilder.ts | 6 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- ...dConditionsAssignmentItemRequestBuilder.ts | 6 +- .../termsAndConditionsItemRequestBuilder.ts | 6 +- .../termsAndConditionsRequestBuilder.ts | 4 +- ...tTroubleshootingEventItemRequestBuilder.ts | 6 +- .../troubleshootingEventsRequestBuilder.ts | 4 +- ...pplicationPerformanceItemRequestBuilder.ts | 6 +- ...lthApplicationPerformanceRequestBuilder.ts | 4 +- ...ceByAppVersionDetailsItemRequestBuilder.ts | 6 +- ...rmanceByAppVersionDetailsRequestBuilder.ts | 4 +- ...eByAppVersionDeviceIdItemRequestBuilder.ts | 6 +- ...manceByAppVersionDeviceIdRequestBuilder.ts | 4 +- ...erformanceByOSVersionItemRequestBuilder.ts | 6 +- ...ionPerformanceByOSVersionRequestBuilder.ts | 4 +- ...eviceModelPerformanceItemRequestBuilder.ts | 6 +- ...lthDeviceModelPerformanceRequestBuilder.ts | 4 +- ...althDevicePerformanceItemRequestBuilder.ts | 6 +- ...ppHealthDevicePerformanceRequestBuilder.ts | 4 +- ...icePerformanceDetailsItemRequestBuilder.ts | 6 +- ...hDevicePerformanceDetailsRequestBuilder.ts | 4 +- ...hOSVersionPerformanceItemRequestBuilder.ts | 6 +- ...ealthOSVersionPerformanceRequestBuilder.ts | 4 +- ...rienceAnalyticsMetricItemRequestBuilder.ts | 6 +- .../metricValuesRequestBuilder.ts | 4 +- ...nalyticsAppHealthOverviewRequestBuilder.ts | 6 +- .../appHealthMetricsRequestBuilder.ts | 2 +- .../batteryHealthMetricsRequestBuilder.ts | 2 +- .../bestPracticesMetricsRequestBuilder.ts | 2 +- ...iceBootPerformanceMetricsRequestBuilder.ts | 2 +- .../rebootAnalyticsMetricsRequestBuilder.ts | 2 +- ...esourcePerformanceMetricsRequestBuilder.ts | 2 +- ...enceAnalyticsBaselineItemRequestBuilder.ts | 6 +- .../workFromAnywhereMetricsRequestBuilder.ts | 2 +- ...erienceAnalyticsBaselinesRequestBuilder.ts | 4 +- ...rienceAnalyticsMetricItemRequestBuilder.ts | 6 +- .../metricValuesRequestBuilder.ts | 4 +- ...enceAnalyticsCategoryItemRequestBuilder.ts | 6 +- ...rienceAnalyticsCategoriesRequestBuilder.ts | 4 +- ...ticsDevicePerformanceItemRequestBuilder.ts | 6 +- ...rmanceDevicesWithSummarizeByGetResponse.ts | 2 +- ...nceDevicesWithSummarizeByRequestBuilder.ts | 2 +- ...nalyticsDevicePerformanceRequestBuilder.ts | 4 +- ...AnalyticsDeviceScoresItemRequestBuilder.ts | 6 +- ...enceAnalyticsDeviceScoresRequestBuilder.ts | 4 +- ...sDeviceStartupHistoryItemRequestBuilder.ts | 6 +- ...yticsDeviceStartupHistoryRequestBuilder.ts | 4 +- ...tupProcessPerformanceItemRequestBuilder.ts | 6 +- ...StartupProcessPerformanceRequestBuilder.ts | 4 +- ...sDeviceStartupProcessItemRequestBuilder.ts | 6 +- ...icsDeviceStartupProcessesRequestBuilder.ts | 4 +- ...nalyticsMetricHistoryItemRequestBuilder.ts | 6 +- ...nceAnalyticsMetricHistoryRequestBuilder.ts | 4 +- ...eAnalyticsModelScoresItemRequestBuilder.ts | 6 +- ...ienceAnalyticsModelScoresRequestBuilder.ts | 4 +- ...perienceAnalyticsOverviewRequestBuilder.ts | 6 +- ...AnalyticsScoreHistoryItemRequestBuilder.ts | 6 +- ...enceAnalyticsScoreHistoryRequestBuilder.ts | 4 +- ...zeWorkFromAnywhereDevicesRequestBuilder.ts | 2 +- ...reHardwareReadinessMetricRequestBuilder.ts | 6 +- ...orkFromAnywhereDeviceItemRequestBuilder.ts | 6 +- .../metricDevicesRequestBuilder.ts | 4 +- ...orkFromAnywhereMetricItemRequestBuilder.ts | 6 +- ...csWorkFromAnywhereMetricsRequestBuilder.ts | 4 +- ...whereModelPerformanceItemRequestBuilder.ts | 6 +- ...mAnywhereModelPerformanceRequestBuilder.ts | 4 +- ...toDiscoveryWithDomainNameRequestBuilder.ts | 2 +- .../assignUserToDeviceRequestBuilder.ts | 2 +- .../unassignUserFromDeviceRequestBuilder.ts | 2 +- .../updateDevicePropertiesRequestBuilder.ts | 2 +- ...topilotDeviceIdentityItemRequestBuilder.ts | 6 +- ...AutopilotDeviceIdentitiesRequestBuilder.ts | 4 +- ...ionAppLearningSummaryItemRequestBuilder.ts | 6 +- ...ctionAppLearningSummariesRequestBuilder.ts | 4 +- ...etworkLearningSummaryItemRequestBuilder.ts | 6 +- ...nNetworkLearningSummariesRequestBuilder.ts | 4 +- .../deviceMalwareStatesRequestBuilder.ts | 4 +- ...StateForWindowsDeviceItemRequestBuilder.ts | 6 +- ...owsMalwareInformationItemRequestBuilder.ts | 6 +- ...windowsMalwareInformationRequestBuilder.ts | 4 +- src/devices/delta/deltaGetResponse.ts | 2 +- src/devices/delta/deltaRequestBuilder.ts | 2 +- src/devices/devicesRequestBuilder.ts | 4 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- src/devices/getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- src/devices/item/deviceItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/memberOf/memberOfRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../registeredOwners/ref/refRequestBuilder.ts | 4 +- .../registeredOwnersRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../registeredUsers/ref/refRequestBuilder.ts | 4 +- .../registeredUsersRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../devicesWithDeviceIdRequestBuilder.ts | 6 +- .../administrativeUnitsRequestBuilder.ts | 4 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../administrativeUnitItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../members/item/ref/refRequestBuilder.ts | 2 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/members/ref/refRequestBuilder.ts | 4 +- .../scopedRoleMembershipItemRequestBuilder.ts | 6 +- .../scopedRoleMembersRequestBuilder.ts | 4 +- .../attributeSetsRequestBuilder.ts | 4 +- .../item/attributeSetItemRequestBuilder.ts | 6 +- ...urityAttributeDefinitionsRequestBuilder.ts | 4 +- .../allowedValuesRequestBuilder.ts | 4 +- .../item/allowedValueItemRequestBuilder.ts | 6 +- ...tyAttributeDefinitionItemRequestBuilder.ts | 6 +- .../deletedItemsRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 4 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../count/countRequestBuilder.ts | 6 +- .../deviceLocalCredentials}/count/index.ts | 0 .../deviceLocalCredentialsRequestBuilder.ts | 173 +++++++++++++++ src/directory/deviceLocalCredentials/index.ts | 1 + ...ceLocalCredentialInfoItemRequestBuilder.ts | 173 +++++++++++++++ .../deviceLocalCredentials/item/index.ts | 1 + src/directory/directoryRequestBuilder.ts | 11 +- .../availableProviderTypesRequestBuilder.ts | 2 +- .../federationConfigurationsRequestBuilder.ts | 4 +- .../identityProviderBaseItemRequestBuilder.ts | 6 +- ...ectorySynchronizationItemRequestBuilder.ts | 6 +- ...onPremisesSynchronizationRequestBuilder.ts | 4 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../directoryObjectsRequestBuilder.ts | 4 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../directoryRoleTemplatesRequestBuilder.ts | 4 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- ...directoryRoleTemplateItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- src/directoryRoles/delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../directoryRolesRequestBuilder.ts | 4 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../item/directoryRoleItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../members/item/ref/refRequestBuilder.ts | 2 +- .../item/members/membersRequestBuilder.ts | 2 +- .../item/members/ref/refRequestBuilder.ts | 4 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../scopedRoleMembershipItemRequestBuilder.ts | 6 +- .../scopedMembersRequestBuilder.ts | 4 +- .../validatePropertiesRequestBuilder.ts | 2 +- ...ryRolesWithRoleTemplateIdRequestBuilder.ts | 6 +- .../domainDnsRecordsRequestBuilder.ts | 4 +- .../item/domainDnsRecordItemRequestBuilder.ts | 6 +- src/domains/domainsRequestBuilder.ts | 4 +- src/domains/item/domainItemRequestBuilder.ts | 6 +- .../domainNameReferencesRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../federationConfigurationRequestBuilder.ts | 9 +- ...ernalDomainFederationItemRequestBuilder.ts | 6 +- .../forceDelete/forceDeleteRequestBuilder.ts | 2 +- .../item/promote/promoteRequestBuilder.ts | 2 +- .../item/domainDnsRecordItemRequestBuilder.ts | 6 +- ...rviceConfigurationRecordsRequestBuilder.ts | 4 +- .../item/domainDnsRecordItemRequestBuilder.ts | 6 +- .../verificationDnsRecordsRequestBuilder.ts | 4 +- .../item/verify/verifyRequestBuilder.ts | 2 +- src/drives/drivesRequestBuilder.ts | 4 +- .../item/bundles/bundlesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/driveItemItemRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/drives/item/driveItemRequestBuilder.ts | 6 +- .../item/following/followingRequestBuilder.ts | 2 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/driveItemItemRequestBuilder.ts | 2 +- .../allTime/allTimeRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 6 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../item/itemActivityItemRequestBuilder.ts | 6 +- .../itemActivityStatItemRequestBuilder.ts | 6 +- .../itemActivityStatsRequestBuilder.ts | 4 +- .../lastSevenDaysRequestBuilder.ts | 2 +- .../assignSensitivityLabelRequestBuilder.ts | 2 +- .../item/checkin/checkinRequestBuilder.ts | 2 +- .../item/checkout/checkoutRequestBuilder.ts | 2 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/driveItemItemRequestBuilder.ts | 2 +- .../item/content/contentRequestBuilder.ts | 4 +- .../items/item/copy/copyPostRequestBody.ts | 2 +- .../items/item/copy/copyRequestBuilder.ts | 2 +- .../createLink/createLinkRequestBuilder.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/items/item/delta/deltaGetResponse.ts | 2 +- .../items/item/delta/deltaRequestBuilder.ts | 2 +- .../deltaWithTokenGetResponse.ts | 2 +- .../deltaWithTokenRequestBuilder.ts | 2 +- .../items/item/driveItemItemRequestBuilder.ts | 13 +- .../extractSensitivityLabelsRequestBuilder.ts | 2 +- .../items/item/follow/followRequestBuilder.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- .../item/invite/invitePostRequestBody.ts | 2 +- .../items/item/invite/invitePostResponse.ts | 2 +- .../items/item/invite/inviteRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/listItem/listItemRequestBuilder.ts | 2 +- .../permanentDeleteRequestBuilder.ts | 2 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- .../item/grant/grantRequestBuilder.ts | 2 +- .../item/permissionItemRequestBuilder.ts | 6 +- .../permissions/permissionsRequestBuilder.ts | 4 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/restore/restorePostRequestBody.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../item/items/item/retentionLabel/index.ts | 1 + .../retentionLabelRequestBuilder.ts | 178 +++++++++++++++ .../searchWithQ/searchWithQGetResponse.ts | 2 +- .../searchWithQ/searchWithQRequestBuilder.ts | 2 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- .../item/thumbnailSetItemRequestBuilder.ts | 10 +- .../thumbnails/thumbnailsRequestBuilder.ts | 4 +- .../item/unfollow/unfollowRequestBuilder.ts | 2 +- .../validatePermissionRequestBuilder.ts | 2 +- .../item/content/contentRequestBuilder.ts | 4 +- .../driveItemVersionItemRequestBuilder.ts | 6 +- .../restoreVersionRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../application/applicationRequestBuilder.ts | 6 +- .../calculate/calculateRequestBuilder.ts | 2 +- .../closeSessionRequestBuilder.ts | 2 +- .../comments/commentsRequestBuilder.ts | 4 +- .../workbookCommentReplyItemRequestBuilder.ts | 6 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../item/workbookCommentItemRequestBuilder.ts | 6 +- .../createSessionRequestBuilder.ts | 2 +- .../functions/abs/absPostRequestBody.ts | 2 +- .../functions/abs/absRequestBuilder.ts | 2 +- .../accrInt/accrIntPostRequestBody.ts | 16 +- .../accrInt/accrIntRequestBuilder.ts | 2 +- .../accrIntM/accrIntMPostRequestBody.ts | 10 +- .../accrIntM/accrIntMRequestBuilder.ts | 2 +- .../functions/acos/acosPostRequestBody.ts | 2 +- .../functions/acos/acosRequestBuilder.ts | 2 +- .../functions/acosh/acoshPostRequestBody.ts | 2 +- .../functions/acosh/acoshRequestBuilder.ts | 2 +- .../functions/acot/acotPostRequestBody.ts | 2 +- .../functions/acot/acotRequestBuilder.ts | 2 +- .../functions/acoth/acothPostRequestBody.ts | 2 +- .../functions/acoth/acothRequestBuilder.ts | 2 +- .../amorDegrc/amorDegrcPostRequestBody.ts | 14 +- .../amorDegrc/amorDegrcRequestBuilder.ts | 2 +- .../amorLinc/amorLincPostRequestBody.ts | 14 +- .../amorLinc/amorLincRequestBuilder.ts | 2 +- .../functions/and/andPostRequestBody.ts | 2 +- .../functions/and/andRequestBuilder.ts | 2 +- .../functions/arabic/arabicPostRequestBody.ts | 2 +- .../functions/arabic/arabicRequestBuilder.ts | 2 +- .../functions/areas/areasPostRequestBody.ts | 2 +- .../functions/areas/areasRequestBuilder.ts | 2 +- .../functions/asc/ascPostRequestBody.ts | 2 +- .../functions/asc/ascRequestBuilder.ts | 2 +- .../functions/asin/asinPostRequestBody.ts | 2 +- .../functions/asin/asinRequestBuilder.ts | 2 +- .../functions/asinh/asinhPostRequestBody.ts | 2 +- .../functions/asinh/asinhRequestBuilder.ts | 2 +- .../functions/atan/atanPostRequestBody.ts | 2 +- .../functions/atan/atanRequestBuilder.ts | 2 +- .../functions/atan2/atan2PostRequestBody.ts | 4 +- .../functions/atan2/atan2RequestBuilder.ts | 2 +- .../functions/atanh/atanhPostRequestBody.ts | 2 +- .../functions/atanh/atanhRequestBuilder.ts | 2 +- .../functions/aveDev/aveDevPostRequestBody.ts | 2 +- .../functions/aveDev/aveDevRequestBuilder.ts | 2 +- .../average/averagePostRequestBody.ts | 2 +- .../average/averageRequestBuilder.ts | 2 +- .../averageA/averageAPostRequestBody.ts | 2 +- .../averageA/averageARequestBuilder.ts | 2 +- .../averageIf/averageIfPostRequestBody.ts | 6 +- .../averageIf/averageIfRequestBuilder.ts | 2 +- .../averageIfs/averageIfsPostRequestBody.ts | 4 +- .../averageIfs/averageIfsRequestBuilder.ts | 2 +- .../bahtText/bahtTextPostRequestBody.ts | 2 +- .../bahtText/bahtTextRequestBuilder.ts | 2 +- .../functions/base/basePostRequestBody.ts | 6 +- .../base/baseRequestBuilderEscaped.ts | 23 +- .../besselI/besselIPostRequestBody.ts | 4 +- .../besselI/besselIRequestBuilder.ts | 2 +- .../besselJ/besselJPostRequestBody.ts | 4 +- .../besselJ/besselJRequestBuilder.ts | 2 +- .../besselK/besselKPostRequestBody.ts | 4 +- .../besselK/besselKRequestBuilder.ts | 2 +- .../besselY/besselYPostRequestBody.ts | 4 +- .../besselY/besselYRequestBuilder.ts | 2 +- .../beta_Dist/beta_DistPostRequestBody.ts | 12 +- .../beta_Dist/beta_DistRequestBuilder.ts | 2 +- .../beta_Inv/beta_InvPostRequestBody.ts | 10 +- .../beta_Inv/beta_InvRequestBuilder.ts | 2 +- .../bin2Dec/bin2DecPostRequestBody.ts | 2 +- .../bin2Dec/bin2DecRequestBuilder.ts | 2 +- .../bin2Hex/bin2HexPostRequestBody.ts | 4 +- .../bin2Hex/bin2HexRequestBuilder.ts | 2 +- .../bin2Oct/bin2OctPostRequestBody.ts | 4 +- .../bin2Oct/bin2OctRequestBuilder.ts | 2 +- .../binom_Dist/binom_DistPostRequestBody.ts | 8 +- .../binom_Dist/binom_DistRequestBuilder.ts | 2 +- .../binom_Dist_RangePostRequestBody.ts | 8 +- .../binom_Dist_RangeRequestBuilder.ts | 2 +- .../binom_Inv/binom_InvPostRequestBody.ts | 6 +- .../binom_Inv/binom_InvRequestBuilder.ts | 2 +- .../functions/bitand/bitandPostRequestBody.ts | 4 +- .../functions/bitand/bitandRequestBuilder.ts | 2 +- .../bitlshift/bitlshiftPostRequestBody.ts | 4 +- .../bitlshift/bitlshiftRequestBuilder.ts | 2 +- .../functions/bitor/bitorPostRequestBody.ts | 4 +- .../functions/bitor/bitorRequestBuilder.ts | 2 +- .../bitrshift/bitrshiftPostRequestBody.ts | 4 +- .../bitrshift/bitrshiftRequestBuilder.ts | 2 +- .../functions/bitxor/bitxorPostRequestBody.ts | 4 +- .../functions/bitxor/bitxorRequestBuilder.ts | 2 +- .../ceiling_MathPostRequestBody.ts | 6 +- .../ceiling_MathRequestBuilder.ts | 2 +- .../ceiling_PrecisePostRequestBody.ts | 4 +- .../ceiling_PreciseRequestBuilder.ts | 2 +- .../functions/char/charPostRequestBody.ts | 2 +- .../functions/char/charRequestBuilder.ts | 2 +- .../chiSq_Dist/chiSq_DistPostRequestBody.ts | 6 +- .../chiSq_Dist/chiSq_DistRequestBuilder.ts | 2 +- .../chiSq_Dist_RTPostRequestBody.ts | 4 +- .../chiSq_Dist_RTRequestBuilder.ts | 2 +- .../chiSq_Inv/chiSq_InvPostRequestBody.ts | 4 +- .../chiSq_Inv/chiSq_InvRequestBuilder.ts | 2 +- .../chiSq_Inv_RTPostRequestBody.ts | 4 +- .../chiSq_Inv_RTRequestBuilder.ts | 2 +- .../functions/choose/choosePostRequestBody.ts | 4 +- .../functions/choose/chooseRequestBuilder.ts | 2 +- .../functions/clean/cleanPostRequestBody.ts | 2 +- .../functions/clean/cleanRequestBuilder.ts | 2 +- .../functions/code/codePostRequestBody.ts | 2 +- .../functions/code/codeRequestBuilder.ts | 2 +- .../columns/columnsPostRequestBody.ts | 2 +- .../columns/columnsRequestBuilder.ts | 2 +- .../functions/combin/combinPostRequestBody.ts | 4 +- .../functions/combin/combinRequestBuilder.ts | 2 +- .../combina/combinaPostRequestBody.ts | 4 +- .../combina/combinaRequestBuilder.ts | 2 +- .../complex/complexPostRequestBody.ts | 6 +- .../complex/complexRequestBuilder.ts | 2 +- .../concatenate/concatenatePostRequestBody.ts | 2 +- .../concatenate/concatenateRequestBuilder.ts | 2 +- .../confidence_NormPostRequestBody.ts | 6 +- .../confidence_NormRequestBuilder.ts | 2 +- .../confidence_TPostRequestBody.ts | 6 +- .../confidence_TRequestBuilder.ts | 2 +- .../convert/convertPostRequestBody.ts | 6 +- .../convert/convertRequestBuilder.ts | 2 +- .../functions/cos/cosPostRequestBody.ts | 2 +- .../functions/cos/cosRequestBuilder.ts | 2 +- .../functions/cosh/coshPostRequestBody.ts | 2 +- .../functions/cosh/coshRequestBuilder.ts | 2 +- .../functions/cot/cotPostRequestBody.ts | 2 +- .../functions/cot/cotRequestBuilder.ts | 2 +- .../functions/coth/cothPostRequestBody.ts | 2 +- .../functions/coth/cothRequestBuilder.ts | 2 +- .../functions/count/countPostRequestBody.ts | 2 +- .../functions/count/countRequestBuilder.ts | 2 +- .../functions/countA/countAPostRequestBody.ts | 2 +- .../functions/countA/countARequestBuilder.ts | 2 +- .../countBlank/countBlankPostRequestBody.ts | 2 +- .../countBlank/countBlankRequestBuilder.ts | 2 +- .../countIf/countIfPostRequestBody.ts | 4 +- .../countIf/countIfRequestBuilder.ts | 2 +- .../countIfs/countIfsPostRequestBody.ts | 2 +- .../countIfs/countIfsRequestBuilder.ts | 2 +- .../coupDayBs/coupDayBsPostRequestBody.ts | 8 +- .../coupDayBs/coupDayBsRequestBuilder.ts | 2 +- .../coupDays/coupDaysPostRequestBody.ts | 8 +- .../coupDays/coupDaysRequestBuilder.ts | 2 +- .../coupDaysNc/coupDaysNcPostRequestBody.ts | 8 +- .../coupDaysNc/coupDaysNcRequestBuilder.ts | 2 +- .../coupNcd/coupNcdPostRequestBody.ts | 8 +- .../coupNcd/coupNcdRequestBuilder.ts | 2 +- .../coupNum/coupNumPostRequestBody.ts | 8 +- .../coupNum/coupNumRequestBuilder.ts | 2 +- .../coupPcd/coupPcdPostRequestBody.ts | 8 +- .../coupPcd/coupPcdRequestBuilder.ts | 2 +- .../functions/csc/cscPostRequestBody.ts | 2 +- .../functions/csc/cscRequestBuilder.ts | 2 +- .../functions/csch/cschPostRequestBody.ts | 2 +- .../functions/csch/cschRequestBuilder.ts | 2 +- .../cumIPmt/cumIPmtPostRequestBody.ts | 12 +- .../cumIPmt/cumIPmtRequestBuilder.ts | 2 +- .../cumPrinc/cumPrincPostRequestBody.ts | 12 +- .../cumPrinc/cumPrincRequestBuilder.ts | 2 +- .../functions/date/datePostRequestBody.ts | 6 +- .../functions/date/dateRequestBuilder.ts | 2 +- .../datevalue/datevaluePostRequestBody.ts | 2 +- .../datevalue/datevalueRequestBuilder.ts | 2 +- .../daverage/daveragePostRequestBody.ts | 6 +- .../daverage/daverageRequestBuilder.ts | 2 +- .../functions/day/dayPostRequestBody.ts | 2 +- .../functions/day/dayRequestBuilder.ts | 2 +- .../functions/days/daysPostRequestBody.ts | 4 +- .../functions/days/daysRequestBuilder.ts | 2 +- .../days360/days360PostRequestBody.ts | 6 +- .../days360/days360RequestBuilder.ts | 2 +- .../functions/db/dbPostRequestBody.ts | 10 +- .../workbook/functions/db/dbRequestBuilder.ts | 2 +- .../functions/dbcs/dbcsPostRequestBody.ts | 2 +- .../functions/dbcs/dbcsRequestBuilder.ts | 2 +- .../functions/dcount/dcountPostRequestBody.ts | 6 +- .../functions/dcount/dcountRequestBuilder.ts | 2 +- .../dcountA/dcountAPostRequestBody.ts | 6 +- .../dcountA/dcountARequestBuilder.ts | 2 +- .../functions/ddb/ddbPostRequestBody.ts | 10 +- .../functions/ddb/ddbRequestBuilder.ts | 2 +- .../dec2Bin/dec2BinPostRequestBody.ts | 4 +- .../dec2Bin/dec2BinRequestBuilder.ts | 2 +- .../dec2Hex/dec2HexPostRequestBody.ts | 4 +- .../dec2Hex/dec2HexRequestBuilder.ts | 2 +- .../dec2Oct/dec2OctPostRequestBody.ts | 4 +- .../dec2Oct/dec2OctRequestBuilder.ts | 2 +- .../decimal/decimalPostRequestBody.ts | 4 +- .../decimal/decimalRequestBuilder.ts | 2 +- .../degrees/degreesPostRequestBody.ts | 2 +- .../degrees/degreesRequestBuilder.ts | 2 +- .../functions/delta/deltaPostRequestBody.ts | 4 +- .../functions/delta/deltaRequestBuilder.ts | 2 +- .../functions/devSq/devSqPostRequestBody.ts | 2 +- .../functions/devSq/devSqRequestBuilder.ts | 2 +- .../functions/dget/dgetPostRequestBody.ts | 6 +- .../functions/dget/dgetRequestBuilder.ts | 2 +- .../functions/disc/discPostRequestBody.ts | 10 +- .../functions/disc/discRequestBuilder.ts | 2 +- .../functions/dmax/dmaxPostRequestBody.ts | 6 +- .../functions/dmax/dmaxRequestBuilder.ts | 2 +- .../functions/dmin/dminPostRequestBody.ts | 6 +- .../functions/dmin/dminRequestBuilder.ts | 2 +- .../functions/dollar/dollarPostRequestBody.ts | 4 +- .../functions/dollar/dollarRequestBuilder.ts | 2 +- .../dollarDe/dollarDePostRequestBody.ts | 4 +- .../dollarDe/dollarDeRequestBuilder.ts | 2 +- .../dollarFr/dollarFrPostRequestBody.ts | 4 +- .../dollarFr/dollarFrRequestBuilder.ts | 2 +- .../dproduct/dproductPostRequestBody.ts | 6 +- .../dproduct/dproductRequestBuilder.ts | 2 +- .../functions/dstDev/dstDevPostRequestBody.ts | 6 +- .../functions/dstDev/dstDevRequestBuilder.ts | 2 +- .../dstDevP/dstDevPPostRequestBody.ts | 6 +- .../dstDevP/dstDevPRequestBuilder.ts | 2 +- .../functions/dsum/dsumPostRequestBody.ts | 6 +- .../functions/dsum/dsumRequestBuilder.ts | 2 +- .../duration/durationPostRequestBody.ts | 12 +- .../duration/durationRequestBuilder.ts | 2 +- .../functions/dvar/dvarPostRequestBody.ts | 6 +- .../functions/dvar/dvarRequestBuilder.ts | 2 +- .../functions/dvarP/dvarPPostRequestBody.ts | 6 +- .../functions/dvarP/dvarPRequestBuilder.ts | 2 +- .../ecma_CeilingPostRequestBody.ts | 4 +- .../ecma_CeilingRequestBuilder.ts | 2 +- .../functions/edate/edatePostRequestBody.ts | 4 +- .../functions/edate/edateRequestBuilder.ts | 2 +- .../functions/effect/effectPostRequestBody.ts | 4 +- .../functions/effect/effectRequestBuilder.ts | 2 +- .../eoMonth/eoMonthPostRequestBody.ts | 4 +- .../eoMonth/eoMonthRequestBuilder.ts | 2 +- .../functions/erf/erfPostRequestBody.ts | 4 +- .../functions/erf/erfRequestBuilder.ts | 2 +- .../functions/erfC/erfCPostRequestBody.ts | 2 +- .../functions/erfC/erfCRequestBuilder.ts | 2 +- .../erfC_PrecisePostRequestBody.ts | 2 +- .../erfC_PreciseRequestBuilder.ts | 2 +- .../erf_Precise/erf_PrecisePostRequestBody.ts | 2 +- .../erf_Precise/erf_PreciseRequestBuilder.ts | 2 +- .../error_Type/error_TypePostRequestBody.ts | 2 +- .../error_Type/error_TypeRequestBuilder.ts | 2 +- .../functions/even/evenPostRequestBody.ts | 2 +- .../functions/even/evenRequestBuilder.ts | 2 +- .../functions/exact/exactPostRequestBody.ts | 4 +- .../functions/exact/exactRequestBuilder.ts | 2 +- .../functions/exp/expPostRequestBody.ts | 2 +- .../functions/exp/expRequestBuilder.ts | 2 +- .../expon_Dist/expon_DistPostRequestBody.ts | 6 +- .../expon_Dist/expon_DistRequestBuilder.ts | 2 +- .../functions/f_Dist/f_DistPostRequestBody.ts | 8 +- .../functions/f_Dist/f_DistRequestBuilder.ts | 2 +- .../f_Dist_RT/f_Dist_RTPostRequestBody.ts | 6 +- .../f_Dist_RT/f_Dist_RTRequestBuilder.ts | 2 +- .../functions/f_Inv/f_InvPostRequestBody.ts | 6 +- .../functions/f_Inv/f_InvRequestBuilder.ts | 2 +- .../f_Inv_RT/f_Inv_RTPostRequestBody.ts | 6 +- .../f_Inv_RT/f_Inv_RTRequestBuilder.ts | 2 +- .../functions/fact/factPostRequestBody.ts | 2 +- .../functions/fact/factRequestBuilder.ts | 2 +- .../factDouble/factDoublePostRequestBody.ts | 2 +- .../factDouble/factDoubleRequestBuilder.ts | 2 +- .../falseEscaped/falseRequestBuilder.ts | 2 +- .../functions/find/findPostRequestBody.ts | 6 +- .../functions/find/findRequestBuilder.ts | 2 +- .../functions/findB/findBPostRequestBody.ts | 6 +- .../functions/findB/findBRequestBuilder.ts | 2 +- .../functions/fisher/fisherPostRequestBody.ts | 2 +- .../functions/fisher/fisherRequestBuilder.ts | 2 +- .../fisherInv/fisherInvPostRequestBody.ts | 2 +- .../fisherInv/fisherInvRequestBuilder.ts | 2 +- .../functions/fixed/fixedPostRequestBody.ts | 6 +- .../functions/fixed/fixedRequestBuilder.ts | 2 +- .../floor_Math/floor_MathPostRequestBody.ts | 6 +- .../floor_Math/floor_MathRequestBuilder.ts | 2 +- .../floor_PrecisePostRequestBody.ts | 4 +- .../floor_PreciseRequestBuilder.ts | 2 +- .../functions/functionsRequestBuilder.ts | 6 +- .../functions/fv/fvPostRequestBody.ts | 10 +- .../workbook/functions/fv/fvRequestBuilder.ts | 2 +- .../fvschedule/fvschedulePostRequestBody.ts | 4 +- .../fvschedule/fvscheduleRequestBuilder.ts | 2 +- .../functions/gamma/gammaPostRequestBody.ts | 2 +- .../functions/gamma/gammaRequestBuilder.ts | 2 +- .../gammaLn/gammaLnPostRequestBody.ts | 2 +- .../gammaLn/gammaLnRequestBuilder.ts | 2 +- .../gammaLn_PrecisePostRequestBody.ts | 2 +- .../gammaLn_PreciseRequestBuilder.ts | 2 +- .../gamma_Dist/gamma_DistPostRequestBody.ts | 8 +- .../gamma_Dist/gamma_DistRequestBuilder.ts | 2 +- .../gamma_Inv/gamma_InvPostRequestBody.ts | 6 +- .../gamma_Inv/gamma_InvRequestBuilder.ts | 2 +- .../functions/gauss/gaussPostRequestBody.ts | 2 +- .../functions/gauss/gaussRequestBuilder.ts | 2 +- .../functions/gcd/gcdPostRequestBody.ts | 2 +- .../functions/gcd/gcdRequestBuilder.ts | 2 +- .../functions/geStep/geStepPostRequestBody.ts | 4 +- .../functions/geStep/geStepRequestBuilder.ts | 2 +- .../geoMean/geoMeanPostRequestBody.ts | 2 +- .../geoMean/geoMeanRequestBuilder.ts | 2 +- .../harMean/harMeanPostRequestBody.ts | 2 +- .../harMean/harMeanRequestBuilder.ts | 2 +- .../hex2Bin/hex2BinPostRequestBody.ts | 4 +- .../hex2Bin/hex2BinRequestBuilder.ts | 2 +- .../hex2Dec/hex2DecPostRequestBody.ts | 2 +- .../hex2Dec/hex2DecRequestBuilder.ts | 2 +- .../hex2Oct/hex2OctPostRequestBody.ts | 4 +- .../hex2Oct/hex2OctRequestBuilder.ts | 2 +- .../hlookup/hlookupPostRequestBody.ts | 8 +- .../hlookup/hlookupRequestBuilder.ts | 2 +- .../functions/hour/hourPostRequestBody.ts | 2 +- .../functions/hour/hourRequestBuilder.ts | 2 +- .../hypGeom_DistPostRequestBody.ts | 10 +- .../hypGeom_DistRequestBuilder.ts | 2 +- .../hyperlink/hyperlinkPostRequestBody.ts | 4 +- .../hyperlink/hyperlinkRequestBuilder.ts | 2 +- .../functions/ifEscaped/ifPostRequestBody.ts | 6 +- .../functions/ifEscaped/ifRequestBuilder.ts | 2 +- .../functions/imAbs/imAbsPostRequestBody.ts | 2 +- .../functions/imAbs/imAbsRequestBuilder.ts | 2 +- .../imArgument/imArgumentPostRequestBody.ts | 2 +- .../imArgument/imArgumentRequestBuilder.ts | 2 +- .../imConjugate/imConjugatePostRequestBody.ts | 2 +- .../imConjugate/imConjugateRequestBuilder.ts | 2 +- .../functions/imCos/imCosPostRequestBody.ts | 2 +- .../functions/imCos/imCosRequestBuilder.ts | 2 +- .../functions/imCosh/imCoshPostRequestBody.ts | 2 +- .../functions/imCosh/imCoshRequestBuilder.ts | 2 +- .../functions/imCot/imCotPostRequestBody.ts | 2 +- .../functions/imCot/imCotRequestBuilder.ts | 2 +- .../functions/imCsc/imCscPostRequestBody.ts | 2 +- .../functions/imCsc/imCscRequestBuilder.ts | 2 +- .../functions/imCsch/imCschPostRequestBody.ts | 2 +- .../functions/imCsch/imCschRequestBuilder.ts | 2 +- .../functions/imDiv/imDivPostRequestBody.ts | 4 +- .../functions/imDiv/imDivRequestBuilder.ts | 2 +- .../functions/imExp/imExpPostRequestBody.ts | 2 +- .../functions/imExp/imExpRequestBuilder.ts | 2 +- .../functions/imLn/imLnPostRequestBody.ts | 2 +- .../functions/imLn/imLnRequestBuilder.ts | 2 +- .../imLog10/imLog10PostRequestBody.ts | 2 +- .../imLog10/imLog10RequestBuilder.ts | 2 +- .../functions/imLog2/imLog2PostRequestBody.ts | 2 +- .../functions/imLog2/imLog2RequestBuilder.ts | 2 +- .../imPower/imPowerPostRequestBody.ts | 4 +- .../imPower/imPowerRequestBuilder.ts | 2 +- .../imProduct/imProductPostRequestBody.ts | 2 +- .../imProduct/imProductRequestBuilder.ts | 2 +- .../functions/imReal/imRealPostRequestBody.ts | 2 +- .../functions/imReal/imRealRequestBuilder.ts | 2 +- .../functions/imSec/imSecPostRequestBody.ts | 2 +- .../functions/imSec/imSecRequestBuilder.ts | 2 +- .../functions/imSech/imSechPostRequestBody.ts | 2 +- .../functions/imSech/imSechRequestBuilder.ts | 2 +- .../functions/imSin/imSinPostRequestBody.ts | 2 +- .../functions/imSin/imSinRequestBuilder.ts | 2 +- .../functions/imSinh/imSinhPostRequestBody.ts | 2 +- .../functions/imSinh/imSinhRequestBuilder.ts | 2 +- .../functions/imSqrt/imSqrtPostRequestBody.ts | 2 +- .../functions/imSqrt/imSqrtRequestBuilder.ts | 2 +- .../functions/imSub/imSubPostRequestBody.ts | 4 +- .../functions/imSub/imSubRequestBuilder.ts | 2 +- .../functions/imSum/imSumPostRequestBody.ts | 2 +- .../functions/imSum/imSumRequestBuilder.ts | 2 +- .../functions/imTan/imTanPostRequestBody.ts | 2 +- .../functions/imTan/imTanRequestBuilder.ts | 2 +- .../imaginary/imaginaryPostRequestBody.ts | 2 +- .../imaginary/imaginaryRequestBuilder.ts | 2 +- .../functions/int/intPostRequestBody.ts | 2 +- .../functions/int/intRequestBuilder.ts | 2 +- .../intRate/intRatePostRequestBody.ts | 10 +- .../intRate/intRateRequestBuilder.ts | 2 +- .../functions/ipmt/ipmtPostRequestBody.ts | 12 +- .../functions/ipmt/ipmtRequestBuilder.ts | 2 +- .../functions/irr/irrPostRequestBody.ts | 4 +- .../functions/irr/irrRequestBuilder.ts | 2 +- .../functions/isErr/isErrPostRequestBody.ts | 2 +- .../functions/isErr/isErrRequestBuilder.ts | 2 +- .../isError/isErrorPostRequestBody.ts | 2 +- .../isError/isErrorRequestBuilder.ts | 2 +- .../functions/isEven/isEvenPostRequestBody.ts | 2 +- .../functions/isEven/isEvenRequestBuilder.ts | 2 +- .../isFormula/isFormulaPostRequestBody.ts | 2 +- .../isFormula/isFormulaRequestBuilder.ts | 2 +- .../isLogical/isLogicalPostRequestBody.ts | 2 +- .../isLogical/isLogicalRequestBuilder.ts | 2 +- .../functions/isNA/isNAPostRequestBody.ts | 2 +- .../functions/isNA/isNARequestBuilder.ts | 2 +- .../isNonText/isNonTextPostRequestBody.ts | 2 +- .../isNonText/isNonTextRequestBuilder.ts | 2 +- .../isNumber/isNumberPostRequestBody.ts | 2 +- .../isNumber/isNumberRequestBuilder.ts | 2 +- .../functions/isOdd/isOddPostRequestBody.ts | 2 +- .../functions/isOdd/isOddRequestBuilder.ts | 2 +- .../functions/isText/isTextPostRequestBody.ts | 2 +- .../functions/isText/isTextRequestBuilder.ts | 2 +- .../isoWeekNum/isoWeekNumPostRequestBody.ts | 2 +- .../isoWeekNum/isoWeekNumRequestBuilder.ts | 2 +- .../iso_Ceiling/iso_CeilingPostRequestBody.ts | 4 +- .../iso_Ceiling/iso_CeilingRequestBuilder.ts | 2 +- .../functions/ispmt/ispmtPostRequestBody.ts | 8 +- .../functions/ispmt/ispmtRequestBuilder.ts | 2 +- .../functions/isref/isrefPostRequestBody.ts | 2 +- .../functions/isref/isrefRequestBuilder.ts | 2 +- .../functions/kurt/kurtPostRequestBody.ts | 2 +- .../functions/kurt/kurtRequestBuilder.ts | 2 +- .../functions/large/largePostRequestBody.ts | 4 +- .../functions/large/largeRequestBuilder.ts | 2 +- .../functions/lcm/lcmPostRequestBody.ts | 2 +- .../functions/lcm/lcmRequestBuilder.ts | 2 +- .../functions/left/leftPostRequestBody.ts | 4 +- .../functions/left/leftRequestBuilder.ts | 2 +- .../functions/leftb/leftbPostRequestBody.ts | 4 +- .../functions/leftb/leftbRequestBuilder.ts | 2 +- .../functions/len/lenPostRequestBody.ts | 2 +- .../functions/len/lenRequestBuilder.ts | 2 +- .../functions/lenb/lenbPostRequestBody.ts | 2 +- .../functions/lenb/lenbRequestBuilder.ts | 2 +- .../functions/ln/lnPostRequestBody.ts | 2 +- .../workbook/functions/ln/lnRequestBuilder.ts | 2 +- .../functions/log/logPostRequestBody.ts | 4 +- .../functions/log/logRequestBuilder.ts | 2 +- .../functions/log10/log10PostRequestBody.ts | 2 +- .../functions/log10/log10RequestBuilder.ts | 2 +- .../logNorm_DistPostRequestBody.ts | 8 +- .../logNorm_DistRequestBuilder.ts | 2 +- .../logNorm_Inv/logNorm_InvPostRequestBody.ts | 6 +- .../logNorm_Inv/logNorm_InvRequestBuilder.ts | 2 +- .../functions/lookup/lookupPostRequestBody.ts | 6 +- .../functions/lookup/lookupRequestBuilder.ts | 2 +- .../functions/lower/lowerPostRequestBody.ts | 2 +- .../functions/lower/lowerRequestBuilder.ts | 2 +- .../functions/match/matchPostRequestBody.ts | 6 +- .../functions/match/matchRequestBuilder.ts | 2 +- .../functions/max/maxPostRequestBody.ts | 2 +- .../functions/max/maxRequestBuilder.ts | 2 +- .../functions/maxA/maxAPostRequestBody.ts | 2 +- .../functions/maxA/maxARequestBuilder.ts | 2 +- .../mduration/mdurationPostRequestBody.ts | 12 +- .../mduration/mdurationRequestBuilder.ts | 2 +- .../functions/median/medianPostRequestBody.ts | 2 +- .../functions/median/medianRequestBuilder.ts | 2 +- .../functions/mid/midPostRequestBody.ts | 6 +- .../functions/mid/midRequestBuilder.ts | 2 +- .../functions/midb/midbPostRequestBody.ts | 6 +- .../functions/midb/midbRequestBuilder.ts | 2 +- .../functions/min/minPostRequestBody.ts | 2 +- .../functions/min/minRequestBuilder.ts | 2 +- .../functions/minA/minAPostRequestBody.ts | 2 +- .../functions/minA/minARequestBuilder.ts | 2 +- .../functions/minute/minutePostRequestBody.ts | 2 +- .../functions/minute/minuteRequestBuilder.ts | 2 +- .../functions/mirr/mirrPostRequestBody.ts | 6 +- .../functions/mirr/mirrRequestBuilder.ts | 2 +- .../functions/mod/modPostRequestBody.ts | 4 +- .../functions/mod/modRequestBuilder.ts | 2 +- .../functions/month/monthPostRequestBody.ts | 2 +- .../functions/month/monthRequestBuilder.ts | 2 +- .../functions/mround/mroundPostRequestBody.ts | 4 +- .../functions/mround/mroundRequestBuilder.ts | 2 +- .../multiNomial/multiNomialPostRequestBody.ts | 2 +- .../multiNomial/multiNomialRequestBuilder.ts | 2 +- .../workbook/functions/n/nPostRequestBody.ts | 2 +- .../workbook/functions/n/nRequestBuilder.ts | 2 +- .../workbook/functions/na/naRequestBuilder.ts | 2 +- .../negBinom_DistPostRequestBody.ts | 8 +- .../negBinom_DistRequestBuilder.ts | 2 +- .../networkDays/networkDaysPostRequestBody.ts | 6 +- .../networkDays/networkDaysRequestBuilder.ts | 2 +- .../networkDays_IntlPostRequestBody.ts | 8 +- .../networkDays_IntlRequestBuilder.ts | 2 +- .../nominal/nominalPostRequestBody.ts | 4 +- .../nominal/nominalRequestBuilder.ts | 2 +- .../norm_Dist/norm_DistPostRequestBody.ts | 8 +- .../norm_Dist/norm_DistRequestBuilder.ts | 2 +- .../norm_Inv/norm_InvPostRequestBody.ts | 6 +- .../norm_Inv/norm_InvRequestBuilder.ts | 2 +- .../norm_S_Dist/norm_S_DistPostRequestBody.ts | 4 +- .../norm_S_Dist/norm_S_DistRequestBuilder.ts | 2 +- .../norm_S_Inv/norm_S_InvPostRequestBody.ts | 2 +- .../norm_S_Inv/norm_S_InvRequestBuilder.ts | 2 +- .../functions/not/notPostRequestBody.ts | 2 +- .../functions/not/notRequestBuilder.ts | 2 +- .../functions/now/nowRequestBuilder.ts | 2 +- .../functions/nper/nperPostRequestBody.ts | 10 +- .../functions/nper/nperRequestBuilder.ts | 2 +- .../functions/npv/npvPostRequestBody.ts | 4 +- .../functions/npv/npvRequestBuilder.ts | 2 +- .../numberValue/numberValuePostRequestBody.ts | 6 +- .../numberValue/numberValueRequestBuilder.ts | 2 +- .../oct2Bin/oct2BinPostRequestBody.ts | 4 +- .../oct2Bin/oct2BinRequestBuilder.ts | 2 +- .../oct2Dec/oct2DecPostRequestBody.ts | 2 +- .../oct2Dec/oct2DecRequestBuilder.ts | 2 +- .../oct2Hex/oct2HexPostRequestBody.ts | 4 +- .../oct2Hex/oct2HexRequestBuilder.ts | 2 +- .../functions/odd/oddPostRequestBody.ts | 2 +- .../functions/odd/oddRequestBuilder.ts | 2 +- .../oddFPrice/oddFPricePostRequestBody.ts | 18 +- .../oddFPrice/oddFPriceRequestBuilder.ts | 2 +- .../oddFYield/oddFYieldPostRequestBody.ts | 18 +- .../oddFYield/oddFYieldRequestBuilder.ts | 2 +- .../oddLPrice/oddLPricePostRequestBody.ts | 16 +- .../oddLPrice/oddLPriceRequestBuilder.ts | 2 +- .../oddLYield/oddLYieldPostRequestBody.ts | 16 +- .../oddLYield/oddLYieldRequestBuilder.ts | 2 +- .../functions/or/orPostRequestBody.ts | 2 +- .../workbook/functions/or/orRequestBuilder.ts | 2 +- .../pduration/pdurationPostRequestBody.ts | 6 +- .../pduration/pdurationRequestBuilder.ts | 2 +- .../percentRank_ExcPostRequestBody.ts | 6 +- .../percentRank_ExcRequestBuilder.ts | 2 +- .../percentRank_IncPostRequestBody.ts | 6 +- .../percentRank_IncRequestBuilder.ts | 2 +- .../percentile_ExcPostRequestBody.ts | 4 +- .../percentile_ExcRequestBuilder.ts | 2 +- .../percentile_IncPostRequestBody.ts | 4 +- .../percentile_IncRequestBuilder.ts | 2 +- .../functions/permut/permutPostRequestBody.ts | 4 +- .../functions/permut/permutRequestBuilder.ts | 2 +- .../permutationaPostRequestBody.ts | 4 +- .../permutationaRequestBuilder.ts | 2 +- .../functions/phi/phiPostRequestBody.ts | 2 +- .../functions/phi/phiRequestBuilder.ts | 2 +- .../workbook/functions/pi/piRequestBuilder.ts | 2 +- .../functions/pmt/pmtPostRequestBody.ts | 10 +- .../functions/pmt/pmtRequestBuilder.ts | 2 +- .../poisson_DistPostRequestBody.ts | 6 +- .../poisson_DistRequestBuilder.ts | 2 +- .../functions/power/powerPostRequestBody.ts | 4 +- .../functions/power/powerRequestBuilder.ts | 2 +- .../functions/ppmt/ppmtPostRequestBody.ts | 12 +- .../functions/ppmt/ppmtRequestBuilder.ts | 2 +- .../functions/price/pricePostRequestBody.ts | 14 +- .../functions/price/priceRequestBuilder.ts | 2 +- .../priceDisc/priceDiscPostRequestBody.ts | 10 +- .../priceDisc/priceDiscRequestBuilder.ts | 2 +- .../priceMat/priceMatPostRequestBody.ts | 12 +- .../priceMat/priceMatRequestBuilder.ts | 2 +- .../product/productPostRequestBody.ts | 2 +- .../product/productRequestBuilder.ts | 2 +- .../functions/proper/properPostRequestBody.ts | 2 +- .../functions/proper/properRequestBuilder.ts | 2 +- .../functions/pv/pvPostRequestBody.ts | 10 +- .../workbook/functions/pv/pvRequestBuilder.ts | 2 +- .../quartile_ExcPostRequestBody.ts | 4 +- .../quartile_ExcRequestBuilder.ts | 2 +- .../quartile_IncPostRequestBody.ts | 4 +- .../quartile_IncRequestBuilder.ts | 2 +- .../quotient/quotientPostRequestBody.ts | 4 +- .../quotient/quotientRequestBuilder.ts | 2 +- .../radians/radiansPostRequestBody.ts | 2 +- .../radians/radiansRequestBuilder.ts | 2 +- .../functions/rand/randRequestBuilder.ts | 2 +- .../randBetween/randBetweenPostRequestBody.ts | 4 +- .../randBetween/randBetweenRequestBuilder.ts | 2 +- .../rank_Avg/rank_AvgPostRequestBody.ts | 6 +- .../rank_Avg/rank_AvgRequestBuilder.ts | 2 +- .../rank_Eq/rank_EqPostRequestBody.ts | 6 +- .../rank_Eq/rank_EqRequestBuilder.ts | 2 +- .../functions/rate/ratePostRequestBody.ts | 12 +- .../functions/rate/rateRequestBuilder.ts | 2 +- .../received/receivedPostRequestBody.ts | 10 +- .../received/receivedRequestBuilder.ts | 2 +- .../replace/replacePostRequestBody.ts | 8 +- .../replace/replaceRequestBuilder.ts | 2 +- .../replaceB/replaceBPostRequestBody.ts | 8 +- .../replaceB/replaceBRequestBuilder.ts | 2 +- .../functions/rept/reptPostRequestBody.ts | 4 +- .../functions/rept/reptRequestBuilder.ts | 2 +- .../functions/right/rightPostRequestBody.ts | 4 +- .../functions/right/rightRequestBuilder.ts | 2 +- .../functions/rightb/rightbPostRequestBody.ts | 4 +- .../functions/rightb/rightbRequestBuilder.ts | 2 +- .../functions/roman/romanPostRequestBody.ts | 4 +- .../functions/roman/romanRequestBuilder.ts | 2 +- .../functions/round/roundPostRequestBody.ts | 4 +- .../functions/round/roundRequestBuilder.ts | 2 +- .../roundDown/roundDownPostRequestBody.ts | 4 +- .../roundDown/roundDownRequestBuilder.ts | 2 +- .../roundUp/roundUpPostRequestBody.ts | 4 +- .../roundUp/roundUpRequestBuilder.ts | 2 +- .../functions/rows/rowsPostRequestBody.ts | 2 +- .../functions/rows/rowsRequestBuilder.ts | 2 +- .../functions/rri/rriPostRequestBody.ts | 6 +- .../functions/rri/rriRequestBuilder.ts | 2 +- .../functions/sec/secPostRequestBody.ts | 2 +- .../functions/sec/secRequestBuilder.ts | 2 +- .../functions/sech/sechPostRequestBody.ts | 2 +- .../functions/sech/sechRequestBuilder.ts | 2 +- .../functions/second/secondPostRequestBody.ts | 2 +- .../functions/second/secondRequestBuilder.ts | 2 +- .../seriesSum/seriesSumPostRequestBody.ts | 8 +- .../seriesSum/seriesSumRequestBuilder.ts | 2 +- .../functions/sheet/sheetPostRequestBody.ts | 2 +- .../functions/sheet/sheetRequestBuilder.ts | 2 +- .../functions/sheets/sheetsPostRequestBody.ts | 2 +- .../functions/sheets/sheetsRequestBuilder.ts | 2 +- .../functions/sign/signPostRequestBody.ts | 2 +- .../functions/sign/signRequestBuilder.ts | 2 +- .../functions/sin/sinPostRequestBody.ts | 2 +- .../functions/sin/sinRequestBuilder.ts | 2 +- .../functions/sinh/sinhPostRequestBody.ts | 2 +- .../functions/sinh/sinhRequestBuilder.ts | 2 +- .../functions/skew/skewPostRequestBody.ts | 2 +- .../functions/skew/skewRequestBuilder.ts | 2 +- .../functions/skew_p/skew_pPostRequestBody.ts | 2 +- .../functions/skew_p/skew_pRequestBuilder.ts | 2 +- .../functions/sln/slnPostRequestBody.ts | 6 +- .../functions/sln/slnRequestBuilder.ts | 2 +- .../functions/small/smallPostRequestBody.ts | 4 +- .../functions/small/smallRequestBuilder.ts | 2 +- .../functions/sqrt/sqrtPostRequestBody.ts | 2 +- .../functions/sqrt/sqrtRequestBuilder.ts | 2 +- .../functions/sqrtPi/sqrtPiPostRequestBody.ts | 2 +- .../functions/sqrtPi/sqrtPiRequestBuilder.ts | 2 +- .../functions/stDevA/stDevAPostRequestBody.ts | 2 +- .../functions/stDevA/stDevARequestBuilder.ts | 2 +- .../stDevPA/stDevPAPostRequestBody.ts | 2 +- .../stDevPA/stDevPARequestBuilder.ts | 2 +- .../stDev_P/stDev_PPostRequestBody.ts | 2 +- .../stDev_P/stDev_PRequestBuilder.ts | 2 +- .../stDev_S/stDev_SPostRequestBody.ts | 2 +- .../stDev_S/stDev_SRequestBuilder.ts | 2 +- .../standardize/standardizePostRequestBody.ts | 6 +- .../standardize/standardizeRequestBuilder.ts | 2 +- .../substitute/substitutePostRequestBody.ts | 8 +- .../substitute/substituteRequestBuilder.ts | 2 +- .../subtotal/subtotalPostRequestBody.ts | 4 +- .../subtotal/subtotalRequestBuilder.ts | 2 +- .../functions/sum/sumPostRequestBody.ts | 2 +- .../functions/sum/sumRequestBuilder.ts | 2 +- .../functions/sumIf/sumIfPostRequestBody.ts | 6 +- .../functions/sumIf/sumIfRequestBuilder.ts | 2 +- .../functions/sumIfs/sumIfsPostRequestBody.ts | 4 +- .../functions/sumIfs/sumIfsRequestBuilder.ts | 2 +- .../functions/sumSq/sumSqPostRequestBody.ts | 2 +- .../functions/sumSq/sumSqRequestBuilder.ts | 2 +- .../functions/syd/sydPostRequestBody.ts | 8 +- .../functions/syd/sydRequestBuilder.ts | 2 +- .../workbook/functions/t/tPostRequestBody.ts | 2 +- .../workbook/functions/t/tRequestBuilder.ts | 2 +- .../functions/t_Dist/t_DistPostRequestBody.ts | 6 +- .../functions/t_Dist/t_DistRequestBuilder.ts | 2 +- .../t_Dist_2T/t_Dist_2TPostRequestBody.ts | 4 +- .../t_Dist_2T/t_Dist_2TRequestBuilder.ts | 2 +- .../t_Dist_RT/t_Dist_RTPostRequestBody.ts | 4 +- .../t_Dist_RT/t_Dist_RTRequestBuilder.ts | 2 +- .../functions/t_Inv/t_InvPostRequestBody.ts | 4 +- .../functions/t_Inv/t_InvRequestBuilder.ts | 2 +- .../t_Inv_2T/t_Inv_2TPostRequestBody.ts | 4 +- .../t_Inv_2T/t_Inv_2TRequestBuilder.ts | 2 +- .../functions/tan/tanPostRequestBody.ts | 2 +- .../functions/tan/tanRequestBuilder.ts | 2 +- .../functions/tanh/tanhPostRequestBody.ts | 2 +- .../functions/tanh/tanhRequestBuilder.ts | 2 +- .../tbillEq/tbillEqPostRequestBody.ts | 6 +- .../tbillEq/tbillEqRequestBuilder.ts | 2 +- .../tbillPrice/tbillPricePostRequestBody.ts | 6 +- .../tbillPrice/tbillPriceRequestBuilder.ts | 2 +- .../tbillYield/tbillYieldPostRequestBody.ts | 6 +- .../tbillYield/tbillYieldRequestBuilder.ts | 2 +- .../functions/text/textPostRequestBody.ts | 4 +- .../functions/text/textRequestBuilder.ts | 2 +- .../functions/time/timePostRequestBody.ts | 6 +- .../functions/time/timeRequestBuilder.ts | 2 +- .../timevalue/timevaluePostRequestBody.ts | 2 +- .../timevalue/timevalueRequestBuilder.ts | 2 +- .../functions/today/todayRequestBuilder.ts | 2 +- .../functions/trim/trimPostRequestBody.ts | 2 +- .../functions/trim/trimRequestBuilder.ts | 2 +- .../trimMean/trimMeanPostRequestBody.ts | 4 +- .../trimMean/trimMeanRequestBuilder.ts | 2 +- .../trueEscaped/trueRequestBuilder.ts | 2 +- .../functions/trunc/truncPostRequestBody.ts | 4 +- .../functions/trunc/truncRequestBuilder.ts | 2 +- .../functions/type/typePostRequestBody.ts | 2 +- .../functions/type/typeRequestBuilder.ts | 2 +- .../unichar/unicharPostRequestBody.ts | 2 +- .../unichar/unicharRequestBuilder.ts | 2 +- .../unicode/unicodePostRequestBody.ts | 2 +- .../unicode/unicodeRequestBuilder.ts | 2 +- .../functions/upper/upperPostRequestBody.ts | 2 +- .../functions/upper/upperRequestBuilder.ts | 2 +- .../usdollar/usdollarPostRequestBody.ts | 4 +- .../usdollar/usdollarRequestBuilder.ts | 2 +- .../functions/value/valuePostRequestBody.ts | 2 +- .../functions/value/valueRequestBuilder.ts | 2 +- .../functions/varA/varAPostRequestBody.ts | 2 +- .../functions/varA/varARequestBuilder.ts | 2 +- .../functions/varPA/varPAPostRequestBody.ts | 2 +- .../functions/varPA/varPARequestBuilder.ts | 2 +- .../functions/var_P/var_PPostRequestBody.ts | 2 +- .../functions/var_P/var_PRequestBuilder.ts | 2 +- .../functions/var_S/var_SPostRequestBody.ts | 2 +- .../functions/var_S/var_SRequestBuilder.ts | 2 +- .../functions/vdb/vdbPostRequestBody.ts | 14 +- .../functions/vdb/vdbRequestBuilder.ts | 2 +- .../vlookup/vlookupPostRequestBody.ts | 8 +- .../vlookup/vlookupRequestBuilder.ts | 2 +- .../weekNum/weekNumPostRequestBody.ts | 4 +- .../weekNum/weekNumRequestBuilder.ts | 2 +- .../weekday/weekdayPostRequestBody.ts | 4 +- .../weekday/weekdayRequestBuilder.ts | 2 +- .../weibull_DistPostRequestBody.ts | 8 +- .../weibull_DistRequestBuilder.ts | 2 +- .../workDay/workDayPostRequestBody.ts | 6 +- .../workDay/workDayRequestBuilder.ts | 2 +- .../workDay_IntlPostRequestBody.ts | 8 +- .../workDay_IntlRequestBuilder.ts | 2 +- .../functions/xirr/xirrPostRequestBody.ts | 6 +- .../functions/xirr/xirrRequestBuilder.ts | 2 +- .../functions/xnpv/xnpvPostRequestBody.ts | 6 +- .../functions/xnpv/xnpvRequestBuilder.ts | 2 +- .../functions/xor/xorPostRequestBody.ts | 2 +- .../functions/xor/xorRequestBuilder.ts | 2 +- .../functions/year/yearPostRequestBody.ts | 2 +- .../functions/year/yearRequestBuilder.ts | 2 +- .../yearFrac/yearFracPostRequestBody.ts | 6 +- .../yearFrac/yearFracRequestBuilder.ts | 2 +- .../functions/yield/yieldPostRequestBody.ts | 14 +- .../functions/yield/yieldRequestBuilder.ts | 2 +- .../yieldDisc/yieldDiscPostRequestBody.ts | 10 +- .../yieldDisc/yieldDiscRequestBuilder.ts | 2 +- .../yieldMat/yieldMatPostRequestBody.ts | 12 +- .../yieldMat/yieldMatRequestBuilder.ts | 2 +- .../functions/z_Test/z_TestPostRequestBody.ts | 6 +- .../functions/z_Test/z_TestRequestBuilder.ts | 2 +- .../workbook/names/add/addPostRequestBody.ts | 2 +- .../workbook/names/add/addRequestBuilder.ts | 2 +- .../addFormulaLocalRequestBuilder.ts | 2 +- .../names/item/range/rangeRequestBuilder.ts | 2 +- .../workbookNamedItemItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../workbook/names/namesRequestBuilder.ts | 4 +- .../workbookOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../refreshSessionRequestBuilder.ts | 2 +- ...essionInfoResourceWithKeyRequestBuilder.ts | 2 +- ...RowOperationResultWithKeyRequestBuilder.ts | 2 +- .../workbook/tables/add/addRequestBuilder.ts | 8 +- .../tables/count/countRequestBuilder.ts | 2 +- .../clearFiltersRequestBuilder.ts | 2 +- .../item/columns/add/addPostRequestBody.ts | 2 +- .../item/columns/add/addRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../item/columns/count/countRequestBuilder.ts | 2 +- .../dataBodyRangeRequestBuilder.ts | 2 +- .../item/filter/apply/applyPostRequestBody.ts | 2 +- .../item/filter/apply/applyRequestBuilder.ts | 2 +- .../applyBottomItemsFilterRequestBuilder.ts | 2 +- .../applyBottomPercentFilterRequestBuilder.ts | 2 +- .../applyCellColorFilterRequestBuilder.ts | 2 +- .../applyCustomFilterRequestBuilder.ts | 2 +- .../applyDynamicFilterRequestBuilder.ts | 2 +- .../applyFontColorFilterRequestBuilder.ts | 2 +- .../applyIconFilterPostRequestBody.ts | 2 +- .../applyIconFilterRequestBuilder.ts | 2 +- .../applyTopItemsFilterRequestBuilder.ts | 2 +- .../applyTopPercentFilterRequestBuilder.ts | 2 +- .../applyValuesFilterPostRequestBody.ts | 2 +- .../applyValuesFilterRequestBuilder.ts | 2 +- .../item/filter/clear/clearRequestBuilder.ts | 2 +- .../item/filter/filterRequestBuilder.ts | 6 +- .../headerRowRangeRequestBuilder.ts | 2 +- .../columns/item/range/rangeRequestBuilder.ts | 2 +- .../totalRowRangeRequestBuilder.ts | 2 +- .../workbookTableColumnItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../convertToRangeRequestBuilder.ts | 2 +- .../dataBodyRangeRequestBuilder.ts | 2 +- .../headerRowRangeRequestBuilder.ts | 2 +- .../tables/item/range/rangeRequestBuilder.ts | 2 +- .../reapplyFiltersRequestBuilder.ts | 2 +- .../item/rows/add/addPostRequestBody.ts | 2 +- .../tables/item/rows/add/addRequestBuilder.ts | 2 +- .../item/rows/count/countRequestBuilder.ts | 2 +- .../rows/item/range/rangeRequestBuilder.ts | 2 +- .../workbookTableRowItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../tables/item/rows/rowsRequestBuilder.ts | 6 +- .../item/sort/apply/applyPostRequestBody.ts | 2 +- .../item/sort/apply/applyRequestBuilder.ts | 2 +- .../item/sort/clear/clearRequestBuilder.ts | 2 +- .../sort/reapply/reapplyRequestBuilder.ts | 2 +- .../tables/item/sort/sortRequestBuilder.ts | 6 +- .../totalRowRangeRequestBuilder.ts | 2 +- .../item/workbookTableItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../workbook/tables/tablesRequestBuilder.ts | 4 +- .../item/workbook/workbookRequestBuilder.ts | 10 +- .../worksheets/add/addRequestBuilder.ts | 2 +- .../cellWithRowWithColumnRequestBuilder.ts | 2 +- .../item/charts/add/addPostRequestBody.ts | 2 +- .../item/charts/add/addRequestBuilder.ts | 2 +- .../item/charts/chartsRequestBuilder.ts | 4 +- .../item/charts/count/countRequestBuilder.ts | 2 +- .../charts/item/axes/axesRequestBuilder.ts | 6 +- .../categoryAxisRequestBuilder.ts | 6 +- .../format/font/fontRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../majorGridlinesRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../minorGridlinesRequestBuilder.ts | 6 +- .../title/format/font/fontRequestBuilder.ts | 6 +- .../title/format/formatRequestBuilder.ts | 6 +- .../categoryAxis/title/titleRequestBuilder.ts | 6 +- .../format/font/fontRequestBuilder.ts | 6 +- .../seriesAxis/format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../majorGridlinesRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../minorGridlinesRequestBuilder.ts | 6 +- .../seriesAxis/seriesAxisRequestBuilder.ts | 6 +- .../title/format/font/fontRequestBuilder.ts | 6 +- .../title/format/formatRequestBuilder.ts | 6 +- .../seriesAxis/title/titleRequestBuilder.ts | 6 +- .../format/font/fontRequestBuilder.ts | 6 +- .../valueAxis/format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../majorGridlinesRequestBuilder.ts | 6 +- .../format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../format/line/lineRequestBuilder.ts | 6 +- .../minorGridlinesRequestBuilder.ts | 6 +- .../title/format/font/fontRequestBuilder.ts | 6 +- .../title/format/formatRequestBuilder.ts | 6 +- .../valueAxis/title/titleRequestBuilder.ts | 6 +- .../axes/valueAxis/valueAxisRequestBuilder.ts | 6 +- .../dataLabels/dataLabelsRequestBuilder.ts | 6 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../format/font/fontRequestBuilder.ts | 6 +- .../dataLabels/format/formatRequestBuilder.ts | 6 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../item/format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../item/format/font/fontRequestBuilder.ts | 6 +- .../item/format/formatRequestBuilder.ts | 6 +- .../charts/item/image/imageRequestBuilder.ts | 2 +- .../imageWithWidthRequestBuilder.ts | 2 +- .../imageWithWidthWithHeightRequestBuilder.ts | 2 +- ...WithHeightWithFittingModeRequestBuilder.ts | 2 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../legend/format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../legend/format/font/fontRequestBuilder.ts | 6 +- .../legend/format/formatRequestBuilder.ts | 6 +- .../item/legend/legendRequestBuilder.ts | 6 +- .../item/series/count/countRequestBuilder.ts | 2 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../item/format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../item/format/formatRequestBuilder.ts | 6 +- .../format/line/clear/clearRequestBuilder.ts | 2 +- .../item/format/line/lineRequestBuilder.ts | 6 +- .../item/points/count/countRequestBuilder.ts | 2 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../item/format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../item/format/formatRequestBuilder.ts | 6 +- .../workbookChartPointItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../item/points/pointsRequestBuilder.ts | 10 +- .../workbookChartSeriesItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../item/series/seriesRequestBuilder.ts | 6 +- .../item/setData/setDataPostRequestBody.ts | 2 +- .../item/setData/setDataRequestBuilder.ts | 2 +- .../setPosition/setPositionPostRequestBody.ts | 4 +- .../setPosition/setPositionRequestBuilder.ts | 2 +- .../format/fill/clear/clearRequestBuilder.ts | 2 +- .../title/format/fill/fillRequestBuilder.ts | 6 +- .../setSolidColorRequestBuilder.ts | 2 +- .../title/format/font/fontRequestBuilder.ts | 6 +- .../item/title/format/formatRequestBuilder.ts | 6 +- .../charts/item/title/titleRequestBuilder.ts | 6 +- .../item/workbookChartItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../itemWithNameRequestBuilder.ts | 2 +- .../item/names/add/addPostRequestBody.ts | 2 +- .../item/names/add/addRequestBuilder.ts | 2 +- .../addFormulaLocalRequestBuilder.ts | 2 +- .../names/item/range/rangeRequestBuilder.ts | 2 +- .../workbookNamedItemItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../item/names/namesRequestBuilder.ts | 4 +- .../item/refresh/refreshRequestBuilder.ts | 2 +- .../workbookPivotTableItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../pivotTables/pivotTablesRequestBuilder.ts | 4 +- .../refreshAll/refreshAllRequestBuilder.ts | 2 +- .../protect/protectPostRequestBody.ts | 2 +- .../protect/protectRequestBuilder.ts | 2 +- .../protection/protectionRequestBuilder.ts | 6 +- .../unprotect/unprotectRequestBuilder.ts | 2 +- .../item/range/rangeRequestBuilder.ts | 2 +- .../rangeWithAddressRequestBuilder.ts | 2 +- .../item/tables/add/addRequestBuilder.ts | 8 +- .../item/tables/count/countRequestBuilder.ts | 2 +- .../clearFiltersRequestBuilder.ts | 2 +- .../item/columns/add/addPostRequestBody.ts | 2 +- .../item/columns/add/addRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../item/columns/count/countRequestBuilder.ts | 2 +- .../dataBodyRangeRequestBuilder.ts | 2 +- .../item/filter/apply/applyPostRequestBody.ts | 2 +- .../item/filter/apply/applyRequestBuilder.ts | 2 +- .../applyBottomItemsFilterRequestBuilder.ts | 2 +- .../applyBottomPercentFilterRequestBuilder.ts | 2 +- .../applyCellColorFilterRequestBuilder.ts | 2 +- .../applyCustomFilterRequestBuilder.ts | 2 +- .../applyDynamicFilterRequestBuilder.ts | 2 +- .../applyFontColorFilterRequestBuilder.ts | 2 +- .../applyIconFilterPostRequestBody.ts | 2 +- .../applyIconFilterRequestBuilder.ts | 2 +- .../applyTopItemsFilterRequestBuilder.ts | 2 +- .../applyTopPercentFilterRequestBuilder.ts | 2 +- .../applyValuesFilterPostRequestBody.ts | 2 +- .../applyValuesFilterRequestBuilder.ts | 2 +- .../item/filter/clear/clearRequestBuilder.ts | 2 +- .../item/filter/filterRequestBuilder.ts | 6 +- .../headerRowRangeRequestBuilder.ts | 2 +- .../columns/item/range/rangeRequestBuilder.ts | 2 +- .../totalRowRangeRequestBuilder.ts | 2 +- .../workbookTableColumnItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../convertToRangeRequestBuilder.ts | 2 +- .../dataBodyRangeRequestBuilder.ts | 2 +- .../headerRowRangeRequestBuilder.ts | 2 +- .../tables/item/range/rangeRequestBuilder.ts | 2 +- .../reapplyFiltersRequestBuilder.ts | 2 +- .../item/rows/add/addPostRequestBody.ts | 2 +- .../tables/item/rows/add/addRequestBuilder.ts | 2 +- .../item/rows/count/countRequestBuilder.ts | 2 +- .../rows/item/range/rangeRequestBuilder.ts | 2 +- .../workbookTableRowItemRequestBuilder.ts | 6 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../tables/item/rows/rowsRequestBuilder.ts | 6 +- .../item/sort/apply/applyPostRequestBody.ts | 2 +- .../item/sort/apply/applyRequestBuilder.ts | 2 +- .../item/sort/clear/clearRequestBuilder.ts | 2 +- .../sort/reapply/reapplyRequestBuilder.ts | 2 +- .../tables/item/sort/sortRequestBuilder.ts | 6 +- .../totalRowRangeRequestBuilder.ts | 2 +- .../item/workbookTableItemRequestBuilder.ts | 6 +- .../item/worksheet/worksheetRequestBuilder.ts | 2 +- .../itemAtWithIndexRequestBuilder.ts | 2 +- .../item/tables/tablesRequestBuilder.ts | 4 +- .../item/usedRange/usedRangeRequestBuilder.ts | 2 +- .../usedRangeWithValuesOnlyRequestBuilder.ts | 2 +- .../workbookWorksheetItemRequestBuilder.ts | 6 +- .../worksheets/worksheetsRequestBuilder.ts | 6 +- src/drives/item/items/itemsRequestBuilder.ts | 4 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../list/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 2 +- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/list/drive/driveRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../documentSetVersionsRequestBuilder.ts | 4 +- .../documentSetVersionItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../items/item/fields/fieldsRequestBuilder.ts | 6 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../items/item/listItemItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/listItemVersionItemRequestBuilder.ts | 6 +- .../restoreVersionRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../item/list/items/itemsRequestBuilder.ts | 4 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/drives/item/list/listRequestBuilder.ts | 6 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- src/drives/item/recent/recentGetResponse.ts | 2 +- .../item/recent/recentRequestBuilder.ts | 2 +- .../root/content/contentRequestBuilder.ts | 4 +- src/drives/item/root/rootRequestBuilder.ts | 2 +- .../searchWithQ/searchWithQGetResponse.ts | 2 +- .../searchWithQ/searchWithQRequestBuilder.ts | 2 +- .../sharedWithMe/sharedWithMeGetResponse.ts | 2 +- .../sharedWithMeRequestBuilder.ts | 2 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/driveItemItemRequestBuilder.ts | 2 +- .../item/special/specialRequestBuilder.ts | 2 +- .../classes/classesRequestBuilder.ts | 4 +- .../classes/delta/deltaGetResponse.ts | 2 +- .../classes/delta/deltaRequestBuilder.ts | 2 +- .../assignmentCategoriesRequestBuilder.ts | 4 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../educationCategoryItemRequestBuilder.ts | 6 +- .../assignmentDefaultsRequestBuilder.ts | 6 +- .../assignmentSettingsRequestBuilder.ts | 6 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../assignments/delta/deltaGetResponse.ts | 2 +- .../assignments/delta/deltaRequestBuilder.ts | 2 +- .../categories/categoriesRequestBuilder.ts | 4 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../categories/delta/deltaRequestBuilder.ts | 2 +- .../categories/item/ref/refRequestBuilder.ts | 2 +- .../item/categories/ref/refRequestBuilder.ts | 4 +- .../educationAssignmentItemRequestBuilder.ts | 6 +- .../item/publish/publishRequestBuilder.ts | 2 +- ...ionAssignmentResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../item/rubric/ref/refRequestBuilder.ts | 6 +- .../item/rubric/rubricRequestBuilder.ts | 6 +- ...UpFeedbackResourcesFolderRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../educationSubmissionItemRequestBuilder.ts | 6 +- .../educationOutcomeItemRequestBuilder.ts | 6 +- .../item/outcomes/outcomesRequestBuilder.ts | 4 +- .../item/reassign/reassignRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../returnEscaped/returnRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../item/submit/submitRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../submittedResourcesRequestBuilder.ts | 4 +- .../item/unsubmit/unsubmitRequestBuilder.ts | 2 +- .../submissions/submissionsRequestBuilder.ts | 4 +- .../item/educationClassItemRequestBuilder.ts | 6 +- .../classes/item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../members/item/ref/refRequestBuilder.ts | 2 +- .../item/members/membersRequestBuilder.ts | 2 +- .../item/members/ref/refRequestBuilder.ts | 4 +- .../item/educationSchoolItemRequestBuilder.ts | 2 +- .../item/schools/schoolsRequestBuilder.ts | 2 +- .../teachers/item/ref/refRequestBuilder.ts | 2 +- .../item/teachers/ref/refRequestBuilder.ts | 4 +- .../item/teachers/teachersRequestBuilder.ts | 2 +- src/education/educationRequestBuilder.ts | 4 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../me/assignments/delta/deltaGetResponse.ts | 2 +- .../assignments/delta/deltaRequestBuilder.ts | 2 +- .../categories/categoriesRequestBuilder.ts | 4 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../categories/delta/deltaRequestBuilder.ts | 2 +- .../categories/item/ref/refRequestBuilder.ts | 2 +- .../item/categories/ref/refRequestBuilder.ts | 4 +- .../educationAssignmentItemRequestBuilder.ts | 6 +- .../item/publish/publishRequestBuilder.ts | 2 +- ...ionAssignmentResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../item/rubric/ref/refRequestBuilder.ts | 6 +- .../item/rubric/rubricRequestBuilder.ts | 6 +- ...UpFeedbackResourcesFolderRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../educationSubmissionItemRequestBuilder.ts | 6 +- .../educationOutcomeItemRequestBuilder.ts | 6 +- .../item/outcomes/outcomesRequestBuilder.ts | 4 +- .../item/reassign/reassignRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../returnEscaped/returnRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../item/submit/submitRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../submittedResourcesRequestBuilder.ts | 4 +- .../item/unsubmit/unsubmitRequestBuilder.ts | 2 +- .../submissions/submissionsRequestBuilder.ts | 4 +- .../me/classes/classesRequestBuilder.ts | 2 +- .../item/educationClassItemRequestBuilder.ts | 2 +- src/education/me/meRequestBuilder.ts | 6 +- .../item/educationRubricItemRequestBuilder.ts | 6 +- .../me/rubrics/rubricsRequestBuilder.ts | 4 +- .../item/educationSchoolItemRequestBuilder.ts | 2 +- .../me/schools/schoolsRequestBuilder.ts | 2 +- .../item/educationClassItemRequestBuilder.ts | 2 +- .../taughtClassesRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/education/me/user/userRequestBuilder.ts | 2 +- .../schools/delta/deltaGetResponse.ts | 2 +- .../schools/delta/deltaRequestBuilder.ts | 2 +- .../administrativeUnitRequestBuilder.ts | 4 +- .../item/classes/classesRequestBuilder.ts | 2 +- .../classes/item/ref/refRequestBuilder.ts | 2 +- .../item/classes/ref/refRequestBuilder.ts | 4 +- .../item/educationSchoolItemRequestBuilder.ts | 6 +- .../item/users/item/ref/refRequestBuilder.ts | 2 +- .../item/users/ref/refRequestBuilder.ts | 4 +- .../schools/item/users/usersRequestBuilder.ts | 2 +- .../schools/schoolsRequestBuilder.ts | 4 +- src/education/users/delta/deltaGetResponse.ts | 2 +- .../users/delta/deltaRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../assignments/delta/deltaGetResponse.ts | 2 +- .../assignments/delta/deltaRequestBuilder.ts | 2 +- .../categories/categoriesRequestBuilder.ts | 4 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../categories/delta/deltaRequestBuilder.ts | 2 +- .../categories/item/ref/refRequestBuilder.ts | 2 +- .../item/categories/ref/refRequestBuilder.ts | 4 +- .../educationAssignmentItemRequestBuilder.ts | 6 +- .../item/publish/publishRequestBuilder.ts | 2 +- ...ionAssignmentResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../item/rubric/ref/refRequestBuilder.ts | 6 +- .../item/rubric/rubricRequestBuilder.ts | 6 +- ...UpFeedbackResourcesFolderRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../educationSubmissionItemRequestBuilder.ts | 6 +- .../educationOutcomeItemRequestBuilder.ts | 6 +- .../item/outcomes/outcomesRequestBuilder.ts | 4 +- .../item/reassign/reassignRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../returnEscaped/returnRequestBuilder.ts | 2 +- .../setUpResourcesFolderRequestBuilder.ts | 2 +- .../item/submit/submitRequestBuilder.ts | 2 +- ...ionSubmissionResourceItemRequestBuilder.ts | 6 +- .../submittedResourcesRequestBuilder.ts | 4 +- .../item/unsubmit/unsubmitRequestBuilder.ts | 2 +- .../submissions/submissionsRequestBuilder.ts | 4 +- .../item/classes/classesRequestBuilder.ts | 2 +- .../item/educationClassItemRequestBuilder.ts | 2 +- .../item/educationUserItemRequestBuilder.ts | 6 +- .../item/educationRubricItemRequestBuilder.ts | 6 +- .../item/rubrics/rubricsRequestBuilder.ts | 4 +- .../item/educationSchoolItemRequestBuilder.ts | 2 +- .../item/schools/schoolsRequestBuilder.ts | 2 +- .../item/educationClassItemRequestBuilder.ts | 2 +- .../taughtClassesRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../users/item/user/userRequestBuilder.ts | 2 +- src/education/users/usersRequestBuilder.ts | 4 +- .../employeeExperienceRequestBuilder.ts | 4 +- ...earningCourseActivityItemRequestBuilder.ts | 6 +- .../learningCourseActivitiesRequestBuilder.ts | 4 +- .../item/learningContentItemRequestBuilder.ts | 6 +- .../learningContentsRequestBuilder.ts | 4 +- ...earningCourseActivityItemRequestBuilder.ts | 6 +- .../learningCourseActivitiesRequestBuilder.ts | 4 +- .../learningProviderItemRequestBuilder.ts | 6 +- .../learningProvidersRequestBuilder.ts | 4 +- .../connections/connectionsRequestBuilder.ts | 4 +- .../externalConnectionItemRequestBuilder.ts | 6 +- .../item/groups/groupsRequestBuilder.ts | 4 +- .../item/externalGroupItemRequestBuilder.ts | 6 +- .../item/identityItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../externalActivityItemRequestBuilder.ts | 6 +- .../performedBy/performedByRequestBuilder.ts | 2 +- .../item/externalItemItemRequestBuilder.ts | 6 +- .../addActivitiesPostRequestBody.ts | 2 +- .../addActivitiesPostResponse.ts | 2 +- ...alConnectorsAddActivitiesRequestBuilder.ts | 2 +- .../item/items/itemsRequestBuilder.ts | 4 +- .../connectionOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/schema/schemaRequestBuilder.ts | 4 +- src/external/externalRequestBuilder.ts | 4 +- .../filterOperatorsRequestBuilder.ts | 4 +- .../filterOperatorSchemaItemRequestBuilder.ts | 6 +- src/functions/functionsRequestBuilder.ts | 4 +- ...MappingFunctionSchemaItemRequestBuilder.ts | 6 +- .../groupLifecyclePoliciesRequestBuilder.ts | 4 +- .../item/addGroup/addGroupRequestBuilder.ts | 2 +- .../groupLifecyclePolicyItemRequestBuilder.ts | 6 +- .../removeGroup/removeGroupRequestBuilder.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../groupSettingTemplatesRequestBuilder.ts | 4 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../groupSettingTemplateItemRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../groupSettingsRequestBuilder.ts | 4 +- .../item/groupSettingItemRequestBuilder.ts | 6 +- src/groups/delta/deltaGetResponse.ts | 2 +- src/groups/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- src/groups/getByIds/getByIdsPostResponse.ts | 2 +- src/groups/getByIds/getByIdsRequestBuilder.ts | 2 +- src/groups/groupsRequestBuilder.ts | 4 +- .../acceptedSendersRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../acceptedSenders/ref/refRequestBuilder.ts | 4 +- .../addFavorite/addFavoriteRequestBuilder.ts | 2 +- .../appRoleAssignmentsRequestBuilder.ts | 4 +- .../appRoleAssignmentItemRequestBuilder.ts | 6 +- .../assignLicensePostRequestBody.ts | 2 +- .../assignLicenseRequestBuilder.ts | 2 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../events/delta/deltaRequestBuilder.ts | 2 +- .../calendar/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- ...eckGrantedPermissionsForAppPostResponse.ts | 2 +- ...kGrantedPermissionsForAppRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../conversationsRequestBuilder.ts | 10 +- .../item/conversationItemRequestBuilder.ts | 16 +- .../conversationThreadItemRequestBuilder.ts | 6 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../forward/forwardPostRequestBody.ts | 2 +- .../forward/forwardRequestBuilder.ts | 2 +- .../item/inReplyTo/inReplyToRequestBuilder.ts | 2 +- .../inReplyTo/reply/replyPostRequestBody.ts | 2 +- .../inReplyTo/reply/replyRequestBuilder.ts | 8 +- .../item/posts/item/postItemRequestBuilder.ts | 2 +- .../posts/item/reply/replyPostRequestBody.ts | 2 +- .../posts/item/reply/replyRequestBuilder.ts | 8 +- .../threads/item/posts/postsRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../threads/item/reply/replyRequestBuilder.ts | 8 +- .../item/threads/threadsRequestBuilder.ts | 4 +- .../createdOnBehalfOfRequestBuilder.ts | 2 +- src/groups/item/drive/driveRequestBuilder.ts | 2 +- .../item/drives/drivesRequestBuilder.ts | 2 +- .../drives/item/driveItemRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- .../item/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- src/groups/item/groupItemRequestBuilder.ts | 6 +- .../groupLifecyclePoliciesRequestBuilder.ts | 4 +- .../item/addGroup/addGroupRequestBuilder.ts | 2 +- .../groupLifecyclePolicyItemRequestBuilder.ts | 6 +- .../removeGroup/removeGroupRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/memberOf/memberOfRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../members/item/ref/refRequestBuilder.ts | 2 +- .../item/members/membersRequestBuilder.ts | 2 +- .../item/members/ref/refRequestBuilder.ts | 4 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../membersWithLicenseErrorsRequestBuilder.ts | 2 +- .../getNotebookFromWebUrlRequestBuilder.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- ...hIncludePersonalNotebooksRequestBuilder.ts | 2 +- .../copyNotebookRequestBuilder.ts | 2 +- .../item/notebookItemRequestBuilder.ts | 6 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../notebooks/notebooksRequestBuilder.ts | 4 +- .../item/onenote/onenoteRequestBuilder.ts | 6 +- .../onenoteOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/onenote/pages/pagesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/onenoteResourceItemRequestBuilder.ts | 6 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../sections/sectionsRequestBuilder.ts | 4 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/owners/item/ref/refRequestBuilder.ts | 2 +- .../item/owners/ownersRequestBuilder.ts | 2 +- .../item/owners/ref/refRequestBuilder.ts | 4 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- src/groups/item/photo/photoRequestBuilder.ts | 6 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../item/profilePhotoItemRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/photos/photosRequestBuilder.ts | 15 +- .../item/planner/plannerRequestBuilder.ts | 6 +- .../item/buckets/bucketsRequestBuilder.ts | 4 +- .../item/plannerBucketItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../buckets/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerPlanItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../plans/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/planner/plans/plansRequestBuilder.ts | 4 +- .../item/ref/refRequestBuilder.ts | 2 +- .../rejectedSenders/ref/refRequestBuilder.ts | 4 +- .../rejectedSendersRequestBuilder.ts | 2 +- .../removeFavoriteRequestBuilder.ts | 2 +- src/groups/item/renew/renewRequestBuilder.ts | 2 +- .../resetUnseenCountRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../retryServiceProvisioningRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/groupSettingItemRequestBuilder.ts | 6 +- .../item/settings/settingsRequestBuilder.ts | 4 +- .../item/sites/add/addPostRequestBody.ts | 2 +- src/groups/item/sites/add/addPostResponse.ts | 2 +- .../item/sites/add/addRequestBuilder.ts | 2 +- .../item/sites/delta/deltaGetResponse.ts | 2 +- .../item/sites/delta/deltaRequestBuilder.ts | 2 +- .../getAllSites/getAllSitesGetResponse.ts | 2 +- .../getAllSites/getAllSitesRequestBuilder.ts | 2 +- .../allTime/allTimeRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 6 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../item/itemActivityItemRequestBuilder.ts | 6 +- .../itemActivityStatItemRequestBuilder.ts | 6 +- .../itemActivityStatsRequestBuilder.ts | 4 +- .../lastSevenDaysRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 2 +- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../sites/item/drive/driveRequestBuilder.ts | 2 +- .../sites/item/drives/drivesRequestBuilder.ts | 2 +- .../drives/item/driveItemRequestBuilder.ts | 2 +- .../externalColumnsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- ...ontentTypesForListWithListIdGetResponse.ts | 2 +- ...entTypesForListWithListIdRequestBuilder.ts | 2 +- .../getByPathWithPathRequestBuilder.ts | 2 +- .../items/item/baseItemItemRequestBuilder.ts | 2 +- .../sites/item/items/itemsRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 37 +--- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../lists/item/drive/driveRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../documentSetVersionsRequestBuilder.ts | 4 +- .../documentSetVersionItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../items/item/fields/fieldsRequestBuilder.ts | 6 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../items/item/listItemItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/listItemVersionItemRequestBuilder.ts | 6 +- .../restoreVersionRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../lists/item/items/itemsRequestBuilder.ts | 4 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/lists/item/listItemRequestBuilder.ts | 12 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- .../sites/item/lists/listsRequestBuilder.ts | 4 +- .../getNotebookFromWebUrlRequestBuilder.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- ...hIncludePersonalNotebooksRequestBuilder.ts | 2 +- .../copyNotebookRequestBuilder.ts | 2 +- .../item/notebookItemRequestBuilder.ts | 6 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../notebooks/notebooksRequestBuilder.ts | 4 +- .../item/onenote/onenoteRequestBuilder.ts | 6 +- .../onenoteOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/onenote/pages/pagesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/onenoteResourceItemRequestBuilder.ts | 6 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../sections/sectionsRequestBuilder.ts | 4 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- .../item/grant/grantRequestBuilder.ts | 2 +- .../item/permissionItemRequestBuilder.ts | 6 +- .../permissions/permissionsRequestBuilder.ts | 4 +- .../item/sites/item/siteItemRequestBuilder.ts | 4 +- .../item/sites/item/siteItemRequestBuilder.ts | 2 +- .../sites/item/sites/sitesRequestBuilder.ts | 2 +- .../termStore/groups/groupsRequestBuilder.ts | 4 +- .../groups/item/groupItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../groups/item/sets/setsRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../parentGroup/sets/setsRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../item/termStore/sets/setsRequestBuilder.ts | 4 +- .../item/termStore/termStoreRequestBuilder.ts | 6 +- .../item/groups/groupsRequestBuilder.ts | 4 +- .../groups/item/groupItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../groups/item/sets/setsRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../parentGroup/sets/setsRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../item/sets/setsRequestBuilder.ts | 4 +- .../item/storeItemRequestBuilder.ts | 6 +- .../termStores/termStoresRequestBuilder.ts | 4 +- .../sites/remove/removePostRequestBody.ts | 2 +- .../item/sites/remove/removePostResponse.ts | 2 +- .../item/sites/remove/removeRequestBuilder.ts | 2 +- src/groups/item/sites/sitesRequestBuilder.ts | 2 +- .../subscribeByMailRequestBuilder.ts | 2 +- .../allChannels/allChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 2 +- .../team/archive/archiveRequestBuilder.ts | 2 +- .../team/channels/channelsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 6 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../channels/item/tabs/tabsRequestBuilder.ts | 4 +- .../item/team/clone/cloneRequestBuilder.ts | 2 +- .../completeMigrationRequestBuilder.ts | 2 +- .../item/team/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../incomingChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 4 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../team/members/add/addPostRequestBody.ts | 2 +- .../item/team/members/add/addPostResponse.ts | 2 +- .../team/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../team/members/membersRequestBuilder.ts | 4 +- .../teamsAsyncOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/team/photo/photoRequestBuilder.ts | 8 +- .../team/photo/value/contentRequestBuilder.ts | 4 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../members/membersRequestBuilder.ts | 4 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../messages/messagesRequestBuilder.ts | 4 +- .../primaryChannelRequestBuilder.ts | 6 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../primaryChannel/tabs/tabsRequestBuilder.ts | 4 +- .../offerShiftRequestItemRequestBuilder.ts | 6 +- .../offerShiftRequestsRequestBuilder.ts | 4 +- ...penShiftChangeRequestItemRequestBuilder.ts | 6 +- .../openShiftChangeRequestsRequestBuilder.ts | 4 +- .../item/openShiftItemRequestBuilder.ts | 6 +- .../openShifts/openShiftsRequestBuilder.ts | 4 +- .../team/schedule/scheduleRequestBuilder.ts | 6 +- .../item/schedulingGroupItemRequestBuilder.ts | 6 +- .../schedulingGroupsRequestBuilder.ts | 4 +- .../schedule/share/shareRequestBuilder.ts | 2 +- .../shifts/item/shiftItemRequestBuilder.ts | 6 +- .../schedule/shifts/shiftsRequestBuilder.ts | 4 +- ...apShiftsChangeRequestItemRequestBuilder.ts | 6 +- .../swapShiftsChangeRequestsRequestBuilder.ts | 4 +- .../item/timeOffReasonItemRequestBuilder.ts | 6 +- .../timeOffReasonsRequestBuilder.ts | 4 +- .../item/timeOffRequestItemRequestBuilder.ts | 6 +- .../timeOffRequestsRequestBuilder.ts | 4 +- .../item/timeOffItemRequestBuilder.ts | 6 +- .../timesOff/timesOffRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../teamworkTagMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/teamworkTagItemRequestBuilder.ts | 6 +- .../item/team/tags/tagsRequestBuilder.ts | 4 +- src/groups/item/team/teamRequestBuilder.ts | 6 +- .../team/template/templateRequestBuilder.ts | 2 +- .../team/unarchive/unarchiveRequestBuilder.ts | 2 +- .../conversationThreadItemRequestBuilder.ts | 18 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../forward/forwardPostRequestBody.ts | 2 +- .../forward/forwardRequestBuilder.ts | 2 +- .../item/inReplyTo/inReplyToRequestBuilder.ts | 2 +- .../inReplyTo/reply/replyPostRequestBody.ts | 2 +- .../inReplyTo/reply/replyRequestBuilder.ts | 8 +- .../item/posts/item/postItemRequestBuilder.ts | 2 +- .../posts/item/reply/replyPostRequestBody.ts | 2 +- .../posts/item/reply/replyRequestBuilder.ts | 8 +- .../threads/item/posts/postsRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../threads/item/reply/replyRequestBuilder.ts | 8 +- .../item/threads/threadsRequestBuilder.ts | 4 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 6 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 6 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../transitiveMembersRequestBuilder.ts | 2 +- .../unsubscribeByMailRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../apiConnectorsRequestBuilder.ts | 4 +- .../identityApiConnectorItemRequestBuilder.ts | 6 +- .../uploadClientCertificateRequestBuilder.ts | 2 +- .../b2xUserFlowsRequestBuilder.ts | 4 +- ...apiConnectorConfigurationRequestBuilder.ts | 2 +- .../postAttributeCollectionRequestBuilder.ts | 6 +- .../ref/refRequestBuilder.ts | 6 +- .../uploadClientCertificateRequestBuilder.ts | 2 +- .../postFederationSignupRequestBuilder.ts | 6 +- .../ref/refRequestBuilder.ts | 6 +- .../uploadClientCertificateRequestBuilder.ts | 2 +- .../b2xIdentityUserFlowItemRequestBuilder.ts | 6 +- .../identityProvidersRequestBuilder.ts | 2 +- .../identityProviderItemRequestBuilder.ts | 4 +- .../defaultPagesRequestBuilder.ts | 4 +- .../userFlowLanguagePageItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../userFlowLanguagePageItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../overridesPagesRequestBuilder.ts | 4 +- ...LanguageConfigurationItemRequestBuilder.ts | 6 +- .../item/languages/languagesRequestBuilder.ts | 4 +- .../getOrder/getOrderRequestBuilder.ts | 2 +- ...owAttributeAssignmentItemRequestBuilder.ts | 6 +- .../userAttributeRequestBuilder.ts | 2 +- .../setOrder/setOrderPostRequestBody.ts | 2 +- .../setOrder/setOrderRequestBuilder.ts | 2 +- .../userAttributeAssignmentsRequestBuilder.ts | 4 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- ...userFlowIdentityProvidersRequestBuilder.ts | 2 +- ...ionContextClassReferencesRequestBuilder.ts | 4 +- ...ContextClassReferenceItemRequestBuilder.ts | 6 +- ...authenticationMethodModesRequestBuilder.ts | 4 +- ...ationMethodModeDetailItemRequestBuilder.ts | 6 +- .../authenticationStrengthRequestBuilder.ts | 6 +- ...icationStrengthPolicyItemRequestBuilder.ts | 6 +- ...combinationConfigurationsRequestBuilder.ts | 4 +- ...binationConfigurationItemRequestBuilder.ts | 6 +- ...updateAllowedCombinationsRequestBuilder.ts | 2 +- .../item/usage/usageRequestBuilder.ts | 2 +- .../policies/policiesRequestBuilder.ts | 4 +- .../conditionalAccessRequestBuilder.ts | 6 +- .../item/namedLocationItemRequestBuilder.ts | 24 +-- .../namedLocationsRequestBuilder.ts | 4 +- ...nditionalAccessPolicyItemRequestBuilder.ts | 6 +- .../policies/policiesRequestBuilder.ts | 4 +- ...itionalAccessTemplateItemRequestBuilder.ts | 2 +- .../templates/templatesRequestBuilder.ts | 2 +- .../availableProviderTypesRequestBuilder.ts | 2 +- .../identityProvidersRequestBuilder.ts | 4 +- .../identityProviderBaseItemRequestBuilder.ts | 6 +- src/identity/identityRequestBuilder.ts | 4 +- ...tityUserFlowAttributeItemRequestBuilder.ts | 6 +- .../userFlowAttributesRequestBuilder.ts | 4 +- .../accessReviewsRequestBuilder.ts | 6 +- .../definitions/definitionsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- ...iewScheduleDefinitionItemRequestBuilder.ts | 6 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 4 +- .../acceptRecommendationsRequestBuilder.ts | 2 +- .../accessReviewInstanceItemRequestBuilder.ts | 6 +- .../applyDecisionsRequestBuilder.ts | 2 +- .../batchRecordDecisionsRequestBuilder.ts | 2 +- .../contactedReviewersRequestBuilder.ts | 4 +- .../accessReviewReviewerItemRequestBuilder.ts | 6 +- .../item/decisions/decisionsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- ...wInstanceDecisionItemItemRequestBuilder.ts | 6 +- .../item/insights/insightsRequestBuilder.ts | 4 +- .../governanceInsightItemRequestBuilder.ts | 6 +- .../resetDecisionsRequestBuilder.ts | 2 +- .../sendReminderRequestBuilder.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../accessReviewStageItemRequestBuilder.ts | 6 +- .../item/decisions/decisionsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- ...wInstanceDecisionItemItemRequestBuilder.ts | 6 +- .../item/insights/insightsRequestBuilder.ts | 4 +- .../governanceInsightItemRequestBuilder.ts | 6 +- .../stages/item/stop/stopRequestBuilder.ts | 2 +- .../item/stages/stagesRequestBuilder.ts | 4 +- .../instances/item/stop/stopRequestBuilder.ts | 2 +- .../item/stop/stopRequestBuilder.ts | 2 +- .../historyDefinitionsRequestBuilder.ts | 4 +- ...viewHistoryDefinitionItemRequestBuilder.ts | 6 +- .../item/instances/instancesRequestBuilder.ts | 4 +- ...ReviewHistoryInstanceItemRequestBuilder.ts | 6 +- .../generateDownloadUriRequestBuilder.ts | 2 +- .../appConsent/appConsentRequestBuilder.ts | 6 +- .../appConsentRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../appConsentRequestItemRequestBuilder.ts | 6 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/approval/approvalRequestBuilder.ts | 6 +- .../item/approvalStageItemRequestBuilder.ts | 6 +- .../approval/stages/stagesRequestBuilder.ts | 4 +- .../userConsentRequestItemRequestBuilder.ts | 6 +- .../userConsentRequestsRequestBuilder.ts | 4 +- ...ackageAssignmentApprovalsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/approvalItemRequestBuilder.ts | 6 +- .../item/approvalStageItemRequestBuilder.ts | 6 +- .../item/stages/stagesRequestBuilder.ts | 4 +- .../accessPackagesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/accessPackageItemRequestBuilder.ts | 6 +- ...sPackagesIncompatibleWithRequestBuilder.ts | 2 +- .../item/accessPackageItemRequestBuilder.ts | 2 +- .../assignmentPoliciesRequestBuilder.ts | 4 +- .../accessPackageRequestBuilder.ts | 2 +- ...ckageAssignmentPolicyItemRequestBuilder.ts | 6 +- .../item/catalog/catalogRequestBuilder.ts | 2 +- ...tomExtensionStageSettingsRequestBuilder.ts | 4 +- .../customExtensionRequestBuilder.ts | 2 +- ...ExtensionStageSettingItemRequestBuilder.ts | 6 +- ...accessPackageQuestionItemRequestBuilder.ts | 6 +- .../item/questions/questionsRequestBuilder.ts | 4 +- .../item/catalog/catalogRequestBuilder.ts | 2 +- ...pplicablePolicyRequirementsPostResponse.ts | 2 +- ...licablePolicyRequirementsRequestBuilder.ts | 2 +- ...ncompatibleAccessPackagesRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../incompatibleGroupsRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- ...kageResourceRoleScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../role/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/role/roleRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../scope/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/scope/scopeRequestBuilder.ts | 6 +- .../resourceRoleScopesRequestBuilder.ts | 4 +- .../assignmentPoliciesRequestBuilder.ts | 4 +- .../accessPackageRequestBuilder.ts | 2 +- ...ckageAssignmentPolicyItemRequestBuilder.ts | 6 +- .../item/catalog/catalogRequestBuilder.ts | 2 +- ...tomExtensionStageSettingsRequestBuilder.ts | 4 +- .../customExtensionRequestBuilder.ts | 2 +- ...ExtensionStageSettingItemRequestBuilder.ts | 6 +- ...accessPackageQuestionItemRequestBuilder.ts | 6 +- .../item/questions/questionsRequestBuilder.ts | 4 +- .../assignmentRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../accessPackageRequestBuilder.ts | 2 +- ...kageAssignmentRequestItemRequestBuilder.ts | 6 +- .../assignment/assignmentRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/reprocess/reprocessRequestBuilder.ts | 2 +- .../item/requestor/requestorRequestBuilder.ts | 2 +- .../item/resume/resumePostRequestBody.ts | 2 +- .../item/resume/resumeRequestBuilder.ts | 2 +- .../additionalAccessGetResponse.ts | 2 +- .../additionalAccessRequestBuilder.ts | 2 +- ...hIncompatibleAccessPackageIdGetResponse.ts | 2 +- ...compatibleAccessPackageIdRequestBuilder.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../accessPackageRequestBuilder.ts | 2 +- ...cessPackageAssignmentItemRequestBuilder.ts | 6 +- .../assignmentPolicyRequestBuilder.ts | 2 +- .../item/reprocess/reprocessRequestBuilder.ts | 2 +- .../item/target/targetRequestBuilder.ts | 2 +- .../catalogs/catalogsRequestBuilder.ts | 4 +- .../accessPackageCatalogItemRequestBuilder.ts | 6 +- .../accessPackagesRequestBuilder.ts | 2 +- .../item/accessPackageItemRequestBuilder.ts | 2 +- .../customWorkflowExtensionsRequestBuilder.ts | 4 +- ...ustomCalloutExtensionItemRequestBuilder.ts | 18 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resourceRolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resourceScopesRequestBuilder.ts | 4 +- ...accessPackageResourceItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../item/scopes/scopesRequestBuilder.ts | 4 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../connectedOrganizationsRequestBuilder.ts | 4 +- ...connectedOrganizationItemRequestBuilder.ts | 6 +- .../externalSponsorsRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../externalSponsors/ref/refRequestBuilder.ts | 4 +- .../internalSponsorsRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../internalSponsors/ref/refRequestBuilder.ts | 4 +- .../entitlementManagementRequestBuilder.ts | 6 +- ...geResourceEnvironmentItemRequestBuilder.ts | 6 +- ...accessPackageResourceItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../item/scopes/scopesRequestBuilder.ts | 4 +- .../item/resources/resourcesRequestBuilder.ts | 4 +- .../resourceEnvironmentsRequestBuilder.ts | 4 +- ...ackageResourceRequestItemRequestBuilder.ts | 6 +- .../accessPackagesRequestBuilder.ts | 2 +- .../item/accessPackageItemRequestBuilder.ts | 2 +- .../item/catalog/catalogRequestBuilder.ts | 6 +- .../customWorkflowExtensionsRequestBuilder.ts | 4 +- ...ustomCalloutExtensionItemRequestBuilder.ts | 18 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resourceRolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resourceScopesRequestBuilder.ts | 4 +- ...accessPackageResourceItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../item/scopes/scopesRequestBuilder.ts | 4 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resourceRequestsRequestBuilder.ts | 8 +- ...kageResourceRoleScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../role/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/role/roleRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../scope/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/scope/scopeRequestBuilder.ts | 6 +- .../resourceRoleScopesRequestBuilder.ts | 4 +- ...accessPackageResourceItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/scopes/scopesRequestBuilder.ts | 4 +- .../item/roles/rolesRequestBuilder.ts | 4 +- ...sPackageResourceScopeItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- ...ssPackageResourceRoleItemRequestBuilder.ts | 6 +- .../environment/environmentRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 6 +- .../resource/roles/rolesRequestBuilder.ts | 4 +- .../item/scopes/scopesRequestBuilder.ts | 4 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../settings/settingsRequestBuilder.ts | 6 +- .../identityGovernanceRequestBuilder.ts | 4 +- .../customTaskExtensionsRequestBuilder.ts | 4 +- .../item/createdBy/createdByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../customTaskExtensionItemRequestBuilder.ts | 6 +- .../lastModifiedByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../deletedItemsRequestBuilder.ts | 4 +- .../item/createdBy/createdByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../executionScopeRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- .../lastModifiedByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../activatePostRequestBody.ts | 2 +- ...dentityGovernanceActivateRequestBuilder.ts | 2 +- .../createNewVersionPostRequestBody.ts | 2 +- ...overnanceCreateNewVersionRequestBuilder.ts | 2 +- ...IdentityGovernanceRestoreRequestBuilder.ts | 2 +- .../item/runs/item/runItemRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../userProcessingResultsRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../workflows/item/runs/runsRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskDefinitionRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/taskReportItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../taskReports/taskReportsRequestBuilder.ts | 2 +- .../item/tasks/item/taskItemRequestBuilder.ts | 6 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 4 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../userProcessingResultsRequestBuilder.ts | 2 +- .../item/createdBy/createdByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../lastModifiedByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/tasks/item/taskItemRequestBuilder.ts | 6 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 4 +- ...wVersionVersionNumberItemRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 2 +- .../item/workflowItemRequestBuilder.ts | 4 +- .../workflows/workflowsRequestBuilder.ts | 2 +- .../lifecycleWorkflowsRequestBuilder.ts | 6 +- .../settings/settingsRequestBuilder.ts | 4 +- .../item/taskDefinitionItemRequestBuilder.ts | 2 +- .../taskDefinitionsRequestBuilder.ts | 2 +- .../item/tasks/item/taskItemRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 2 +- .../workflowTemplateItemRequestBuilder.ts | 2 +- .../workflowTemplatesRequestBuilder.ts | 2 +- .../item/createdBy/createdByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../executionScopeRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- .../lastModifiedByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../activatePostRequestBody.ts | 2 +- ...dentityGovernanceActivateRequestBuilder.ts | 2 +- .../createNewVersionPostRequestBody.ts | 2 +- ...overnanceCreateNewVersionRequestBuilder.ts | 2 +- ...IdentityGovernanceRestoreRequestBuilder.ts | 2 +- .../item/runs/item/runItemRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../userProcessingResultsRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../workflows/item/runs/runsRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskDefinitionRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/taskReportItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../taskReports/taskReportsRequestBuilder.ts | 2 +- .../item/tasks/item/taskItemRequestBuilder.ts | 6 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 4 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../userProcessingResultItemRequestBuilder.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- .../userProcessingResultsRequestBuilder.ts | 2 +- .../item/createdBy/createdByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../lastModifiedByRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/tasks/item/taskItemRequestBuilder.ts | 6 +- ...hIdentityGovernanceResumeRequestBuilder.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/subject/subjectRequestBuilder.ts | 2 +- .../item/task/taskRequestBuilder.ts | 2 +- .../taskProcessingResultItemRequestBuilder.ts | 2 +- .../taskProcessingResultsRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 4 +- ...wVersionVersionNumberItemRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 2 +- .../item/workflowItemRequestBuilder.ts | 6 +- .../workflows/workflowsRequestBuilder.ts | 4 +- .../assignmentApprovalsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/approvalItemRequestBuilder.ts | 6 +- .../item/approvalStageItemRequestBuilder.ts | 6 +- .../item/stages/stagesRequestBuilder.ts | 4 +- ...signmentScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...nmentScheduleInstanceItemRequestBuilder.ts | 6 +- ...ssignmentScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...gnmentScheduleRequestItemRequestBuilder.ts | 6 +- .../targetScheduleRequestBuilder.ts | 2 +- .../assignmentSchedulesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...oupAssignmentScheduleItemRequestBuilder.ts | 6 +- ...gibilityScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...ilityScheduleInstanceItemRequestBuilder.ts | 6 +- ...igibilityScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...bilityScheduleRequestItemRequestBuilder.ts | 6 +- .../targetScheduleRequestBuilder.ts | 2 +- .../eligibilitySchedulesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- ...upEligibilityScheduleItemRequestBuilder.ts | 6 +- .../group/groupRequestBuilder.ts | 6 +- .../privilegedAccessRequestBuilder.ts | 6 +- .../agreementAcceptancesRequestBuilder.ts | 4 +- .../agreementAcceptanceItemRequestBuilder.ts | 6 +- .../agreements/agreementsRequestBuilder.ts | 4 +- .../acceptances/acceptancesRequestBuilder.ts | 4 +- .../agreementAcceptanceItemRequestBuilder.ts | 6 +- .../item/agreementItemRequestBuilder.ts | 12 +- .../item/file/fileRequestBuilder.ts | 6 +- ...ementFileLocalizationItemRequestBuilder.ts | 6 +- .../agreementFileVersionItemRequestBuilder.ts | 6 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../localizationsRequestBuilder.ts | 4 +- .../item/files/filesRequestBuilder.ts | 4 +- ...ementFileLocalizationItemRequestBuilder.ts | 6 +- .../agreementFileVersionItemRequestBuilder.ts | 6 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../termsOfUse/termsOfUseRequestBuilder.ts | 6 +- .../identityProtectionRequestBuilder.ts | 4 +- .../item/riskDetectionItemRequestBuilder.ts | 6 +- .../riskDetectionsRequestBuilder.ts | 4 +- .../confirmCompromisedRequestBuilder.ts | 2 +- .../dismiss/dismissRequestBuilder.ts | 2 +- .../item/history/historyRequestBuilder.ts | 4 +- ...ePrincipalHistoryItemItemRequestBuilder.ts | 6 +- ...riskyServicePrincipalItemRequestBuilder.ts | 6 +- .../riskyServicePrincipalsRequestBuilder.ts | 4 +- .../confirmCompromisedRequestBuilder.ts | 2 +- .../dismiss/dismissRequestBuilder.ts | 2 +- .../item/history/historyRequestBuilder.ts | 10 +- .../riskyUserHistoryItemItemRequestBuilder.ts | 6 +- .../item/riskyUserItemRequestBuilder.ts | 6 +- .../riskyUsers/riskyUsersRequestBuilder.ts | 4 +- ...rincipalRiskDetectionItemRequestBuilder.ts | 6 +- ...cePrincipalRiskDetectionsRequestBuilder.ts | 4 +- .../availableProviderTypesRequestBuilder.ts | 2 +- .../identityProvidersRequestBuilder.ts | 4 +- .../identityProviderItemRequestBuilder.ts | 6 +- .../bitlocker/bitlockerRequestBuilder.ts | 2 +- .../bitlockerRecoveryKeyItemRequestBuilder.ts | 2 +- .../recoveryKeysRequestBuilder.ts | 2 +- .../informationProtectionRequestBuilder.ts | 4 +- ...hreatAssessmentResultItemRequestBuilder.ts | 6 +- .../item/results/resultsRequestBuilder.ts | 4 +- ...reatAssessmentRequestItemRequestBuilder.ts | 6 +- .../threatAssessmentRequestsRequestBuilder.ts | 4 +- src/invitations/invitationsRequestBuilder.ts | 4 +- .../item/invitationItemRequestBuilder.ts | 6 +- .../invitedUser/invitedUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/kiota-lock.json | 8 +- src/me/activities/activitiesRequestBuilder.ts | 4 +- .../historyItemsRequestBuilder.ts | 4 +- .../item/activity/activityRequestBuilder.ts | 2 +- .../activityHistoryItemItemRequestBuilder.ts | 6 +- .../item/userActivityItemRequestBuilder.ts | 6 +- src/me/activities/recent/recentGetResponse.ts | 2 +- .../activities/recent/recentRequestBuilder.ts | 2 +- .../agreementAcceptancesRequestBuilder.ts | 2 +- .../agreementAcceptanceItemRequestBuilder.ts | 2 +- .../appRoleAssignmentsRequestBuilder.ts | 4 +- .../appRoleAssignmentItemRequestBuilder.ts | 6 +- .../assignLicensePostRequestBody.ts | 2 +- .../assignLicenseRequestBuilder.ts | 2 +- .../authenticationRequestBuilder.ts | 6 +- .../emailMethodsRequestBuilder.ts | 4 +- ...lAuthenticationMethodItemRequestBuilder.ts | 6 +- .../fido2MethodsRequestBuilder.ts | 2 +- ...2AuthenticationMethodItemRequestBuilder.ts | 4 +- .../authenticationMethodItemRequestBuilder.ts | 4 +- .../resetPasswordRequestBuilder.ts | 2 +- .../methods/methodsRequestBuilder.ts | 4 +- .../item/device/deviceRequestBuilder.ts | 2 +- ...rAuthenticationMethodItemRequestBuilder.ts | 4 +- ...osoftAuthenticatorMethodsRequestBuilder.ts | 2 +- .../longRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...dAuthenticationMethodItemRequestBuilder.ts | 2 +- .../passwordMethodsRequestBuilder.ts | 4 +- .../disableSmsSignInRequestBuilder.ts | 2 +- .../enableSmsSignInRequestBuilder.ts | 2 +- ...eAuthenticationMethodItemRequestBuilder.ts | 6 +- .../phoneMethodsRequestBuilder.ts | 4 +- ...hAuthenticationMethodItemRequestBuilder.ts | 4 +- .../softwareOathMethodsRequestBuilder.ts | 2 +- ...sAuthenticationMethodItemRequestBuilder.ts | 4 +- ...emporaryAccessPassMethodsRequestBuilder.ts | 4 +- .../item/device/deviceRequestBuilder.ts | 2 +- ...sAuthenticationMethodItemRequestBuilder.ts | 4 +- ...wsHelloForBusinessMethodsRequestBuilder.ts | 2 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- src/me/calendar/calendarRequestBuilder.ts | 4 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../events/delta/deltaRequestBuilder.ts | 2 +- .../calendar/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../calendarGroupsRequestBuilder.ts | 4 +- .../item/calendarGroupItemRequestBuilder.ts | 6 +- .../item/calendars/calendarsRequestBuilder.ts | 4 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../item/calendarItemRequestBuilder.ts | 6 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- .../item/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../calendarViewRequestBuilder.ts | 2 +- src/me/calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- src/me/calendars/calendarsRequestBuilder.ts | 4 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../item/calendarItemRequestBuilder.ts | 6 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- .../item/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../changePasswordRequestBuilder.ts | 2 +- src/me/chats/chatsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- src/me/chats/item/chatItemRequestBuilder.ts | 6 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../hideForUser/hideForUserRequestBuilder.ts | 2 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../lastMessagePreviewRequestBuilder.ts | 6 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatReadForUserRequestBuilder.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../chats/item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 10 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/message/messageRequestBuilder.ts | 2 +- ...pinnedChatMessageInfoItemRequestBuilder.ts | 6 +- .../pinnedMessagesRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- src/me/chats/item/tabs/tabsRequestBuilder.ts | 4 +- .../unhideForUserPostRequestBody.ts | 2 +- .../unhideForUserRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../contactFoldersRequestBuilder.ts | 4 +- .../contactFolders/delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../childFoldersRequestBuilder.ts | 4 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaRequestBuilder.ts | 2 +- .../item/contactFolderItemRequestBuilder.ts | 6 +- .../item/contacts/contactsRequestBuilder.ts | 4 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../item/contactFolderItemRequestBuilder.ts | 6 +- .../item/contacts/contactsRequestBuilder.ts | 4 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- src/me/contacts/contactsRequestBuilder.ts | 4 +- src/me/contacts/delta/deltaGetResponse.ts | 2 +- src/me/contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../createdObjectsRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- ...mentTroubleshootingEventsRequestBuilder.ts | 4 +- ...tTroubleshootingEventItemRequestBuilder.ts | 6 +- .../directReportsRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- src/me/drive/driveRequestBuilder.ts | 2 +- src/me/drives/drivesRequestBuilder.ts | 2 +- src/me/drives/item/driveItemRequestBuilder.ts | 2 +- .../employeeExperienceRequestBuilder.ts | 6 +- ...earningCourseActivityItemRequestBuilder.ts | 2 +- .../learningCourseActivitiesRequestBuilder.ts | 2 +- src/me/events/delta/deltaGetResponse.ts | 2 +- src/me/events/delta/deltaRequestBuilder.ts | 2 +- src/me/events/eventsRequestBuilder.ts | 10 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- src/me/events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- ...eviceAndAppManagementDataRequestBuilder.ts | 2 +- ...gementDataWithSkipWithTopRequestBuilder.ts | 2 +- .../exportPersonalDataRequestBuilder.ts | 2 +- src/me/extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../findMeetingTimesPostRequestBody.ts | 6 +- .../findMeetingTimesRequestBuilder.ts | 2 +- .../followedSitesRequestBuilder.ts | 2 +- .../item/siteItemRequestBuilder.ts | 2 +- src/me/getMailTips/getMailTipsPostResponse.ts | 2 +- .../getMailTips/getMailTipsRequestBuilder.ts | 2 +- ...ManagedAppDiagnosticStatusesGetResponse.ts | 2 +- ...agedAppDiagnosticStatusesRequestBuilder.ts | 2 +- .../getManagedAppPoliciesGetResponse.ts | 2 +- .../getManagedAppPoliciesRequestBuilder.ts | 2 +- ...gedDevicesWithAppFailuresRequestBuilder.ts | 2 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../inferenceClassificationRequestBuilder.ts | 4 +- ...lassificationOverrideItemRequestBuilder.ts | 6 +- .../overrides/overridesRequestBuilder.ts | 4 +- src/me/insights/insightsRequestBuilder.ts | 6 +- .../lastSharedMethodRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/sharedInsightItemRequestBuilder.ts | 6 +- .../insights/shared/sharedRequestBuilder.ts | 4 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/trendingItemRequestBuilder.ts | 6 +- .../trending/trendingRequestBuilder.ts | 4 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/usedInsightItemRequestBuilder.ts | 6 +- src/me/insights/used/usedRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../allChannels/allChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 2 +- .../item/archive/archiveRequestBuilder.ts | 2 +- .../item/channels/channelsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 6 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../channels/item/tabs/tabsRequestBuilder.ts | 4 +- .../item/clone/cloneRequestBuilder.ts | 2 +- .../completeMigrationRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../incomingChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 4 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../teamsAsyncOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/photo/photoRequestBuilder.ts | 8 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../members/membersRequestBuilder.ts | 4 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../messages/messagesRequestBuilder.ts | 4 +- .../primaryChannelRequestBuilder.ts | 6 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../primaryChannel/tabs/tabsRequestBuilder.ts | 4 +- .../offerShiftRequestItemRequestBuilder.ts | 6 +- .../offerShiftRequestsRequestBuilder.ts | 4 +- ...penShiftChangeRequestItemRequestBuilder.ts | 6 +- .../openShiftChangeRequestsRequestBuilder.ts | 4 +- .../item/openShiftItemRequestBuilder.ts | 6 +- .../openShifts/openShiftsRequestBuilder.ts | 4 +- .../item/schedule/scheduleRequestBuilder.ts | 6 +- .../item/schedulingGroupItemRequestBuilder.ts | 6 +- .../schedulingGroupsRequestBuilder.ts | 4 +- .../schedule/share/shareRequestBuilder.ts | 2 +- .../shifts/item/shiftItemRequestBuilder.ts | 6 +- .../schedule/shifts/shiftsRequestBuilder.ts | 4 +- ...apShiftsChangeRequestItemRequestBuilder.ts | 6 +- .../swapShiftsChangeRequestsRequestBuilder.ts | 4 +- .../item/timeOffReasonItemRequestBuilder.ts | 6 +- .../timeOffReasonsRequestBuilder.ts | 4 +- .../item/timeOffRequestItemRequestBuilder.ts | 6 +- .../timeOffRequestsRequestBuilder.ts | 4 +- .../item/timeOffItemRequestBuilder.ts | 6 +- .../timesOff/timesOffRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../teamworkTagMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/teamworkTagItemRequestBuilder.ts | 6 +- .../item/tags/tagsRequestBuilder.ts | 4 +- .../item/teamItemRequestBuilder.ts | 6 +- .../item/template/templateRequestBuilder.ts | 2 +- .../item/unarchive/unarchiveRequestBuilder.ts | 2 +- .../joinedTeams/joinedTeamsRequestBuilder.ts | 4 +- .../item/licenseDetailsItemRequestBuilder.ts | 6 +- .../licenseDetailsRequestBuilder.ts | 4 +- src/me/mailFolders/delta/deltaGetResponse.ts | 2 +- .../mailFolders/delta/deltaRequestBuilder.ts | 2 +- .../childFoldersRequestBuilder.ts | 10 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaRequestBuilder.ts | 2 +- .../item/copy/copyRequestBuilder.ts | 2 +- .../item/mailFolderItemRequestBuilder.ts | 6 +- .../item/messageRuleItemRequestBuilder.ts | 6 +- .../messageRulesRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 6 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../item/move/moveRequestBuilder.ts | 2 +- .../item/copy/copyRequestBuilder.ts | 2 +- .../item/mailFolderItemRequestBuilder.ts | 6 +- .../item/messageRuleItemRequestBuilder.ts | 6 +- .../messageRulesRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 6 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../item/move/moveRequestBuilder.ts | 2 +- .../mailFolders/mailFoldersRequestBuilder.ts | 4 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...anagedAppRegistrationItemRequestBuilder.ts | 2 +- .../managedAppRegistrationsRequestBuilder.ts | 2 +- .../bypassActivationLockRequestBuilder.ts | 2 +- .../cleanWindowsDeviceRequestBuilder.ts | 2 +- ...UserFromSharedAppleDeviceRequestBuilder.ts | 2 +- .../deviceCategoryRequestBuilder.ts | 6 +- ...iceCompliancePolicyStatesRequestBuilder.ts | 4 +- ...CompliancePolicyStateItemRequestBuilder.ts | 6 +- ...deviceConfigurationStatesRequestBuilder.ts | 4 +- ...iceConfigurationStateItemRequestBuilder.ts | 6 +- .../disableLostModeRequestBuilder.ts | 2 +- .../locateDeviceRequestBuilder.ts | 2 +- .../createDownloadUrlRequestBuilder.ts | 2 +- ...LogCollectionResponseItemRequestBuilder.ts | 6 +- .../logCollectionRequestsRequestBuilder.ts | 4 +- ...aredAppleDeviceActiveUserRequestBuilder.ts | 2 +- .../item/managedDeviceItemRequestBuilder.ts | 6 +- .../item/rebootNow/rebootNowRequestBuilder.ts | 2 +- .../recoverPasscodeRequestBuilder.ts | 2 +- .../remoteLock/remoteLockRequestBuilder.ts | 2 +- .../requestRemoteAssistanceRequestBuilder.ts | 2 +- .../resetPasscodeRequestBuilder.ts | 2 +- .../item/retire/retireRequestBuilder.ts | 2 +- .../item/shutDown/shutDownRequestBuilder.ts | 2 +- .../syncDevice/syncDeviceRequestBuilder.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- ...pdateWindowsDeviceAccountRequestBuilder.ts | 2 +- .../item/users/usersRequestBuilder.ts | 2 +- .../windowsDefenderScanRequestBuilder.ts | 2 +- ...sDefenderUpdateSignaturesRequestBuilder.ts | 2 +- .../detectedMalwareStateRequestBuilder.ts | 4 +- ...owsDeviceMalwareStateItemRequestBuilder.ts | 6 +- .../windowsProtectionStateRequestBuilder.ts | 6 +- .../item/wipe/wipeRequestBuilder.ts | 2 +- .../managedDevicesRequestBuilder.ts | 4 +- src/me/manager/managerRequestBuilder.ts | 4 +- src/me/manager/ref/refRequestBuilder.ts | 6 +- src/me/meRequestBuilder.ts | 10 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- src/me/memberOf/memberOfRequestBuilder.ts | 2 +- src/me/messages/delta/deltaGetResponse.ts | 2 +- src/me/messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 14 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- src/me/messages/messagesRequestBuilder.ts | 10 +- ...oAuth2PermissionGrantItemRequestBuilder.ts | 2 +- .../oauth2PermissionGrantsRequestBuilder.ts | 2 +- .../getNotebookFromWebUrlRequestBuilder.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- ...hIncludePersonalNotebooksRequestBuilder.ts | 2 +- .../copyNotebookRequestBuilder.ts | 2 +- .../item/notebookItemRequestBuilder.ts | 6 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../notebooks/notebooksRequestBuilder.ts | 4 +- src/me/onenote/onenoteRequestBuilder.ts | 6 +- .../onenoteOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- src/me/onenote/pages/pagesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/onenoteResourceItemRequestBuilder.ts | 6 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../sections/sectionsRequestBuilder.ts | 4 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../createOrGet/createOrGetRequestBuilder.ts | 2 +- .../attendanceReportsRequestBuilder.ts | 13 +- .../attendanceRecordsRequestBuilder.ts | 4 +- .../attendanceRecordItemRequestBuilder.ts | 6 +- ...etingAttendanceReportItemRequestBuilder.ts | 13 +- .../attendeeReportRequestBuilder.ts | 4 +- ...tualAppointmentJoinWebUrlRequestBuilder.ts | 2 +- .../item/onlineMeetingItemRequestBuilder.ts | 15 +- .../recordings/count/countRequestBuilder.ts | 88 ++++++++ .../item/recordings}/count/index.ts | 0 .../onlineMeetings/item/recordings/index.ts | 1 + .../item/callRecordingItemRequestBuilder.ts | 184 ++++++++++++++++ .../item/content/contentRequestBuilder.ts | 121 +++++++++++ .../item/recordings/item/content/index.ts | 1 + .../item/recordings/item/index.ts | 1 + .../recordings/recordingsRequestBuilder.ts | 180 ++++++++++++++++ .../item/callTranscriptItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../metadataContentRequestBuilder.ts | 4 +- .../transcripts/transcriptsRequestBuilder.ts | 4 +- .../onlineMeetingsRequestBuilder.ts | 4 +- .../item/outlookCategoryItemRequestBuilder.ts | 6 +- .../masterCategoriesRequestBuilder.ts | 4 +- src/me/outlook/outlookRequestBuilder.ts | 2 +- .../supportedLanguagesGetResponse.ts | 2 +- .../supportedLanguagesRequestBuilder.ts | 2 +- .../supportedTimeZonesGetResponse.ts | 2 +- .../supportedTimeZonesRequestBuilder.ts | 2 +- ...imeZonesWithTimeZoneStandardGetResponse.ts | 2 +- ...ZonesWithTimeZoneStandardRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../ownedDevicesRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../ownedObjectsRequestBuilder.ts | 2 +- .../people/item/personItemRequestBuilder.ts | 2 +- src/me/people/peopleRequestBuilder.ts | 2 +- src/me/photo/photoRequestBuilder.ts | 10 +- src/me/photo/value/contentRequestBuilder.ts | 4 +- .../item/profilePhotoItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- src/me/photos/photosRequestBuilder.ts | 19 +- src/me/planner/plannerRequestBuilder.ts | 6 +- .../item/buckets/bucketsRequestBuilder.ts | 4 +- .../item/plannerBucketItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../buckets/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerPlanItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../plans/item/tasks/tasksRequestBuilder.ts | 4 +- src/me/planner/plans/plansRequestBuilder.ts | 4 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- src/me/planner/tasks/tasksRequestBuilder.ts | 4 +- .../clearPresenceRequestBuilder.ts | 2 +- ...learUserPreferredPresenceRequestBuilder.ts | 2 +- src/me/presence/presenceRequestBuilder.ts | 6 +- .../setPresence/setPresenceRequestBuilder.ts | 2 +- .../setStatusMessagePostRequestBody.ts | 2 +- .../setStatusMessageRequestBuilder.ts | 2 +- .../setUserPreferredPresenceRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../registeredDevicesRequestBuilder.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- ...eAllDevicesFromManagementRequestBuilder.ts | 2 +- ...eprocessLicenseAssignmentRequestBuilder.ts | 2 +- src/me/restore/restoreRequestBuilder.ts | 2 +- .../retryServiceProvisioningRequestBuilder.ts | 2 +- .../revokeSignInSessionsRequestBuilder.ts | 2 +- .../scopedRoleMembershipItemRequestBuilder.ts | 6 +- .../scopedRoleMemberOfRequestBuilder.ts | 4 +- src/me/sendMail/sendMailPostRequestBody.ts | 2 +- src/me/sendMail/sendMailRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/me/settings/settingsRequestBuilder.ts | 6 +- .../shiftPreferencesRequestBuilder.ts | 6 +- .../associatedTeamsRequestBuilder.ts | 4 +- .../associatedTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/chat/chatRequestBuilder.ts | 2 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- ...eTeamsAppInstallationItemRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 6 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- src/me/teamwork/teamworkRequestBuilder.ts | 6 +- src/me/todo/lists/delta/deltaGetResponse.ts | 2 +- .../todo/lists/delta/deltaRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/tasks/delta/deltaGetResponse.ts | 2 +- .../item/tasks/delta/deltaRequestBuilder.ts | 2 +- .../attachmentSessionsRequestBuilder.ts | 2 +- .../attachmentSessionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentBaseItemRequestBuilder.ts | 4 +- .../item/value/contentRequestBuilder.ts | 4 +- .../checklistItemsRequestBuilder.ts | 4 +- .../item/checklistItemItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/linkedResourceItemRequestBuilder.ts | 6 +- .../linkedResourcesRequestBuilder.ts | 4 +- .../tasks/item/todoTaskItemRequestBuilder.ts | 6 +- .../lists/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/todoTaskListItemRequestBuilder.ts | 6 +- src/me/todo/lists/listsRequestBuilder.ts | 4 +- src/me/todo/todoRequestBuilder.ts | 6 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 2 +- .../translateExchangeIdsPostResponse.ts | 2 +- .../translateExchangeIdsRequestBuilder.ts | 2 +- ...pRegistrationsByDeviceTagRequestBuilder.ts | 2 +- src/models/aadUserConversationMember.ts | 2 +- src/models/accessPackage.ts | 12 +- src/models/accessPackageAnswer.ts | 2 +- src/models/accessPackageAnswerChoice.ts | 2 +- src/models/accessPackageApprovalStage.ts | 8 +- src/models/accessPackageAssignment.ts | 10 +- ...accessPackageAssignmentApprovalSettings.ts | 2 +- ...cessPackageAssignmentCollectionResponse.ts | 2 +- src/models/accessPackageAssignmentPolicy.ts | 20 +- ...ckageAssignmentPolicyCollectionResponse.ts | 2 +- src/models/accessPackageAssignmentRequest.ts | 12 +- ...kageAssignmentRequestCollectionResponse.ts | 2 +- ...essPackageAssignmentRequestRequirements.ts | 4 +- ...ckageAssignmentRequestWorkflowExtension.ts | 2 +- ...ccessPackageAssignmentRequestorSettings.ts | 2 +- .../accessPackageAssignmentReviewSettings.ts | 6 +- ...ccessPackageAssignmentWorkflowExtension.ts | 2 +- src/models/accessPackageCatalog.ts | 10 +- .../accessPackageCatalogCollectionResponse.ts | 2 +- src/models/accessPackageCollectionResponse.ts | 2 +- .../accessPackageMultipleChoiceQuestion.ts | 2 +- src/models/accessPackageQuestion.ts | 2 +- ...accessPackageQuestionCollectionResponse.ts | 2 +- src/models/accessPackageResource.ts | 6 +- ...accessPackageResourceCollectionResponse.ts | 2 +- .../accessPackageResourceEnvironment.ts | 2 +- ...geResourceEnvironmentCollectionResponse.ts | 2 +- src/models/accessPackageResourceRequest.ts | 4 +- ...ackageResourceRequestCollectionResponse.ts | 2 +- src/models/accessPackageResourceRole.ts | 2 +- ...ssPackageResourceRoleCollectionResponse.ts | 2 +- src/models/accessPackageResourceRoleScope.ts | 4 +- ...kageResourceRoleScopeCollectionResponse.ts | 2 +- src/models/accessPackageResourceScope.ts | 2 +- ...sPackageResourceScopeCollectionResponse.ts | 2 +- src/models/accessPackageSubject.ts | 2 +- src/models/accessReviewHistoryDefinition.ts | 8 +- ...viewHistoryDefinitionCollectionResponse.ts | 2 +- ...ReviewHistoryInstanceCollectionResponse.ts | 2 +- .../accessReviewHistoryScheduleSettings.ts | 2 +- src/models/accessReviewInstance.ts | 12 +- .../accessReviewInstanceCollectionResponse.ts | 2 +- .../accessReviewInstanceDecisionItem.ts | 10 +- ...ewInstanceDecisionItemAzureRoleResource.ts | 2 +- ...wInstanceDecisionItemCollectionResponse.ts | 2 +- .../accessReviewNotificationRecipientItem.ts | 2 +- .../accessReviewReviewerCollectionResponse.ts | 2 +- src/models/accessReviewScheduleDefinition.ts | 18 +- ...iewScheduleDefinitionCollectionResponse.ts | 2 +- src/models/accessReviewScheduleSettings.ts | 6 +- src/models/accessReviewSet.ts | 4 +- src/models/accessReviewStage.ts | 6 +- .../accessReviewStageCollectionResponse.ts | 2 +- src/models/accessReviewStageSettings.ts | 6 +- src/models/accountTargetContent.ts | 2 +- src/models/actionResultPart.ts | 2 +- ...ityBasedTimeoutPolicyCollectionResponse.ts | 2 +- src/models/activityHistoryItem.ts | 2 +- .../activityHistoryItemCollectionResponse.ts | 2 +- src/models/addIn.ts | 2 +- src/models/addressBookAccountTargetContent.ts | 2 +- src/models/admin.ts | 10 +- src/models/adminConsentRequestPolicy.ts | 2 +- src/models/administrativeUnit.ts | 6 +- .../administrativeUnitCollectionResponse.ts | 2 +- src/models/aggregationOption.ts | 2 +- src/models/agreement.ts | 8 +- .../agreementAcceptanceCollectionResponse.ts | 2 +- src/models/agreementCollectionResponse.ts | 2 +- src/models/agreementFile.ts | 2 +- src/models/agreementFileLocalization.ts | 2 +- ...ementFileLocalizationCollectionResponse.ts | 2 +- src/models/agreementFileProperties.ts | 2 +- .../agreementFileVersionCollectionResponse.ts | 2 +- src/models/alert.ts | 34 +-- src/models/alertCollectionResponse.ts | 2 +- src/models/allowedValueCollectionResponse.ts | 2 +- src/models/alterationResponse.ts | 2 +- src/models/androidCustomConfiguration.ts | 2 +- .../androidGeneralDeviceConfiguration.ts | 10 +- src/models/androidLobApp.ts | 2 +- src/models/androidLobAppCollectionResponse.ts | 2 +- src/models/androidManagedAppProtection.ts | 4 +- ...dManagedAppProtectionCollectionResponse.ts | 2 +- src/models/androidStoreApp.ts | 2 +- .../androidStoreAppCollectionResponse.ts | 2 +- .../androidWorkProfileCustomConfiguration.ts | 2 +- src/models/apiApplication.ts | 4 +- src/models/appCatalogs.ts | 2 +- src/models/appConsentApprovalRoute.ts | 2 +- src/models/appConsentRequest.ts | 4 +- .../appConsentRequestCollectionResponse.ts | 2 +- ...pLogCollectionRequestCollectionResponse.ts | 2 +- src/models/appManagementConfiguration.ts | 4 +- src/models/appManagementPolicy.ts | 4 +- .../appManagementPolicyCollectionResponse.ts | 2 +- .../appRoleAssignmentCollectionResponse.ts | 2 +- src/models/application.ts | 50 ++--- src/models/applicationCollectionResponse.ts | 2 +- src/models/applicationServicePrincipal.ts | 4 +- .../applicationTemplateCollectionResponse.ts | 2 +- src/models/approval.ts | 2 +- src/models/approvalCollectionResponse.ts | 2 +- src/models/approvalSettings.ts | 2 +- src/models/approvalStage.ts | 2 +- src/models/approvalStageCollectionResponse.ts | 2 +- src/models/archivedPrintJob.ts | 2 +- .../associatedTeamInfoCollectionResponse.ts | 2 +- .../attachmentBaseCollectionResponse.ts | 2 +- src/models/attachmentCollectionResponse.ts | 2 +- .../attachmentSessionCollectionResponse.ts | 2 +- src/models/attackSimulationOperation.ts | 6 +- ...ckSimulationOperationCollectionResponse.ts | 2 +- src/models/attackSimulationRepeatOffender.ts | 2 +- src/models/attackSimulationRoot.ts | 28 +-- .../attackSimulationSimulationUserCoverage.ts | 2 +- .../attackSimulationTrainingUserCoverage.ts | 4 +- src/models/attendanceRecord.ts | 4 +- .../attendanceRecordCollectionResponse.ts | 2 +- src/models/attendee.ts | 4 +- src/models/attendeeAvailability.ts | 2 +- src/models/attributeDefinition.ts | 6 +- src/models/attributeMapping.ts | 2 +- src/models/attributeMappingFunctionSchema.ts | 2 +- ...MappingFunctionSchemaCollectionResponse.ts | 2 +- src/models/attributeMappingSource.ts | 2 +- src/models/attributeSetCollectionResponse.ts | 2 +- .../audioRoutingGroupCollectionResponse.ts | 2 +- src/models/auditActivityInitiator.ts | 4 +- src/models/auditEvent.ts | 4 +- src/models/auditEventCollectionResponse.ts | 2 +- src/models/auditLogRoot.ts | 6 +- src/models/auditResource.ts | 2 +- src/models/authentication.ts | 20 +- ...binationConfigurationCollectionResponse.ts | 2 +- ...ContextClassReferenceCollectionResponse.ts | 2 +- src/models/authenticationFlowsPolicy.ts | 2 +- .../authenticationMethodCollectionResponse.ts | 2 +- .../authenticationMethodConfiguration.ts | 2 +- ...onMethodConfigurationCollectionResponse.ts | 2 +- ...uthenticationMethodFeatureConfiguration.ts | 4 +- ...ationMethodModeDetailCollectionResponse.ts | 2 +- src/models/authenticationMethodsPolicy.ts | 4 +- ...thenticationMethodsRegistrationCampaign.ts | 4 +- src/models/authenticationMethodsRoot.ts | 2 +- src/models/authenticationStrengthPolicy.ts | 2 +- ...icationStrengthPolicyCollectionResponse.ts | 2 +- src/models/authenticationStrengthRoot.ts | 4 +- src/models/authenticationStrengthUsage.ts | 4 +- src/models/authoredNote.ts | 4 +- src/models/authoredNoteCollectionResponse.ts | 2 +- src/models/authorizationPolicy.ts | 4 +- src/models/automaticRepliesMailTips.ts | 6 +- src/models/automaticRepliesSetting.ts | 4 +- src/models/availabilityItem.ts | 4 +- .../azureCommunicationServicesUserIdentity.ts | 2 +- src/models/b2xIdentityUserFlow.ts | 10 +- .../b2xIdentityUserFlowCollectionResponse.ts | 2 +- .../baseCollectionPaginationCountResponse.ts | 7 + src/models/baseEndUserNotification.ts | 4 +- src/models/baseItem.ts | 10 +- src/models/baseItemCollectionResponse.ts | 2 +- src/models/baseItemVersion.ts | 4 +- src/models/bitlocker.ts | 2 +- .../bitlockerRecoveryKeyCollectionResponse.ts | 2 +- src/models/bookingAppointment.ts | 10 +- .../bookingAppointmentCollectionResponse.ts | 2 +- src/models/bookingBusiness.ts | 18 +- .../bookingBusinessCollectionResponse.ts | 2 +- .../bookingCurrencyCollectionResponse.ts | 2 +- ...bookingCustomQuestionCollectionResponse.ts | 2 +- src/models/bookingCustomer.ts | 4 +- .../bookingCustomerBaseCollectionResponse.ts | 2 +- src/models/bookingCustomerInformation.ts | 4 +- src/models/bookingService.ts | 8 +- .../bookingServiceCollectionResponse.ts | 2 +- src/models/bookingStaffMember.ts | 2 +- ...ookingStaffMemberBaseCollectionResponse.ts | 2 +- src/models/bookingWorkHours.ts | 2 +- src/models/broadcastMeetingSettings.ts | 2 +- src/models/browserSharedCookie.ts | 4 +- .../browserSharedCookieCollectionResponse.ts | 2 +- src/models/browserSharedCookieHistory.ts | 2 +- src/models/browserSite.ts | 4 +- src/models/browserSiteCollectionResponse.ts | 2 +- src/models/browserSiteHistory.ts | 2 +- src/models/browserSiteList.ts | 8 +- .../browserSiteListCollectionResponse.ts | 2 +- src/models/bucketAggregationDefinition.ts | 2 +- src/models/bundle.ts | 2 +- src/models/calendar.ts | 12 +- src/models/calendarCollectionResponse.ts | 2 +- src/models/calendarGroup.ts | 2 +- src/models/calendarGroupCollectionResponse.ts | 2 +- src/models/calendarPermission.ts | 2 +- .../calendarPermissionCollectionResponse.ts | 2 +- src/models/calendarSharingMessage.ts | 4 +- src/models/call.ts | 32 +-- src/models/callCollectionResponse.ts | 2 +- src/models/callEndedEventMessageDetail.ts | 4 +- src/models/callParticipantInfo.ts | 2 +- src/models/callRecording.ts | 53 +++++ src/models/callRecordingCollectionResponse.ts | 29 +++ src/models/callRecordingEventMessageDetail.ts | 4 +- src/models/callRecords/callRecord.ts | 6 +- .../callRecordCollectionResponse.ts | 2 +- src/models/callRecords/endpoint.ts | 2 +- src/models/callRecords/media.ts | 10 +- src/models/callRecords/networkInfo.ts | 2 +- src/models/callRecords/participantEndpoint.ts | 4 +- src/models/callRecords/segment.ts | 8 +- .../callRecords/segmentCollectionResponse.ts | 2 +- src/models/callRecords/session.ts | 8 +- .../callRecords/sessionCollectionResponse.ts | 2 +- src/models/callRecords/userFeedback.ts | 2 +- src/models/callRoute.ts | 4 +- src/models/callStartedEventMessageDetail.ts | 2 +- src/models/callTranscript.ts | 2 +- .../callTranscriptCollectionResponse.ts | 2 +- .../callTranscriptEventMessageDetail.ts | 2 +- .../certificateBasedAuthConfiguration.ts | 2 +- ...asedAuthConfigurationCollectionResponse.ts | 2 +- src/models/channel.ts | 17 +- src/models/channelAddedEventMessageDetail.ts | 2 +- src/models/channelCollectionResponse.ts | 2 +- .../channelDeletedEventMessageDetail.ts | 2 +- ...nelDescriptionUpdatedEventMessageDetail.ts | 2 +- .../channelRenamedEventMessageDetail.ts | 2 +- ...etAsFavoriteByDefaultEventMessageDetail.ts | 2 +- src/models/channelSummary.ts | 54 +++++ ...etAsFavoriteByDefaultEventMessageDetail.ts | 2 +- src/models/chat.ts | 18 +- src/models/chatCollectionResponse.ts | 2 +- src/models/chatMessage.ts | 22 +- src/models/chatMessageCollectionResponse.ts | 2 +- src/models/chatMessageHistoryItem.ts | 2 +- ...tMessageHostedContentCollectionResponse.ts | 2 +- src/models/chatMessageInfo.ts | 6 +- src/models/chatMessageMention.ts | 2 +- src/models/chatMessageMentionedIdentitySet.ts | 2 +- src/models/chatMessagePolicyViolation.ts | 2 +- src/models/chatMessageReaction.ts | 2 +- src/models/chatRenamedEventMessageDetail.ts | 2 +- src/models/checklistItemCollectionResponse.ts | 2 +- .../claimsMappingPolicyCollectionResponse.ts | 2 +- src/models/clientCertificateAuthentication.ts | 2 +- src/models/cloudCommunications.ts | 8 +- src/models/coachmarkLocation.ts | 6 +- src/models/columnDefinition.ts | 36 ++-- .../columnDefinitionCollectionResponse.ts | 2 +- src/models/columnLinkCollectionResponse.ts | 2 +- src/models/columnValidation.ts | 2 +- src/models/commsOperation.ts | 2 +- .../commsOperationCollectionResponse.ts | 2 +- .../communicationsApplicationIdentity.ts | 4 +- ...mmunicationsApplicationInstanceIdentity.ts | 4 +- src/models/communicationsIdentitySet.ts | 30 +-- src/models/communicationsUserIdentity.ts | 2 +- src/models/complianceInformation.ts | 2 +- src/models/complianceManagementPartner.ts | 6 +- .../complianceManagementPartnerAssignment.ts | 2 +- ...anceManagementPartnerCollectionResponse.ts | 2 +- src/models/conditionalAccessApplications.ts | 2 +- .../conditionalAccessClientApplications.ts | 2 +- src/models/conditionalAccessConditionSet.ts | 12 +- src/models/conditionalAccessDevices.ts | 2 +- src/models/conditionalAccessGrantControls.ts | 2 +- .../conditionalAccessGuestsOrExternalUsers.ts | 2 +- src/models/conditionalAccessPolicy.ts | 6 +- ...nditionalAccessPolicyCollectionResponse.ts | 2 +- src/models/conditionalAccessPolicyDetail.ts | 6 +- src/models/conditionalAccessRoot.ts | 10 +- .../conditionalAccessSessionControls.ts | 8 +- src/models/conditionalAccessTemplate.ts | 2 +- ...itionalAccessTemplateCollectionResponse.ts | 2 +- src/models/conditionalAccessUsers.ts | 4 +- src/models/connectedOrganization.ts | 6 +- ...connectedOrganizationCollectionResponse.ts | 2 +- src/models/contact.ts | 16 +- src/models/contactCollectionResponse.ts | 2 +- src/models/contactFolder.ts | 8 +- src/models/contactFolderCollectionResponse.ts | 2 +- ...contentSharingSessionCollectionResponse.ts | 2 +- src/models/contentType.ts | 18 +- src/models/contentTypeCollectionResponse.ts | 2 +- src/models/contractCollectionResponse.ts | 2 +- src/models/conversation.ts | 2 +- src/models/conversationCollectionResponse.ts | 2 +- .../conversationMemberCollectionResponse.ts | 2 +- ...tionMemberRoleUpdatedEventMessageDetail.ts | 4 +- src/models/conversationThread.ts | 6 +- .../conversationThreadCollectionResponse.ts | 2 +- src/models/convertIdResult.ts | 2 +- src/models/copyNotebookModel.ts | 6 +- src/models/crossTenantAccessPolicy.ts | 4 +- .../crossTenantAccessPolicyB2BSetting.ts | 4 +- ...sTenantAccessPolicyConfigurationDefault.ts | 12 +- ...sTenantAccessPolicyConfigurationPartner.ts | 14 +- ...yConfigurationPartnerCollectionResponse.ts | 2 +- ...ssTenantAccessPolicyTargetConfiguration.ts | 2 +- .../crossTenantIdentitySyncPolicyPartner.ts | 2 +- src/models/customCalloutExtension.ts | 6 +- ...ustomCalloutExtensionCollectionResponse.ts | 2 +- src/models/customExtensionStageSetting.ts | 2 +- ...ExtensionStageSettingCollectionResponse.ts | 2 +- .../customSecurityAttributeDefinition.ts | 2 +- ...tyAttributeDefinitionCollectionResponse.ts | 2 +- src/models/customTimeZone.ts | 4 +- src/models/customTrainingSetting.ts | 10 +- .../dataPolicyOperationCollectionResponse.ts | 2 +- src/models/defaultManagedAppProtection.ts | 6 +- ...tManagedAppProtectionCollectionResponse.ts | 2 +- src/models/delegatedAdminAccessAssignment.ts | 4 +- ...AdminAccessAssignmentCollectionResponse.ts | 2 +- src/models/delegatedAdminAccessDetails.ts | 2 +- src/models/delegatedAdminCustomer.ts | 2 +- ...elegatedAdminCustomerCollectionResponse.ts | 2 +- src/models/delegatedAdminRelationship.ts | 12 +- ...atedAdminRelationshipCollectionResponse.ts | 2 +- ...RelationshipOperationCollectionResponse.ts | 2 +- ...inRelationshipRequestCollectionResponse.ts | 2 +- ...rviceManagementDetailCollectionResponse.ts | 2 +- ...missionClassificationCollectionResponse.ts | 2 +- src/models/deletedItemContainer.ts | 2 +- src/models/deletedTeam.ts | 2 +- src/models/deletedTeamCollectionResponse.ts | 2 +- src/models/detectedApp.ts | 2 +- src/models/detectedAppCollectionResponse.ts | 2 +- src/models/device.ts | 12 +- ...agementRoleAssignmentCollectionResponse.ts | 2 +- src/models/deviceAppManagement.ts | 28 +-- .../deviceCategoryCollectionResponse.ts | 2 +- src/models/deviceCollectionResponse.ts | 2 +- ...eComplianceActionItemCollectionResponse.ts | 2 +- ...omplianceDeviceStatusCollectionResponse.ts | 2 +- src/models/deviceCompliancePolicy.ts | 14 +- .../deviceCompliancePolicyAssignment.ts | 2 +- ...iancePolicyAssignmentCollectionResponse.ts | 2 +- ...eviceCompliancePolicyCollectionResponse.ts | 2 +- .../deviceCompliancePolicySettingState.ts | 2 +- ...viceCompliancePolicySettingStateSummary.ts | 2 +- ...cySettingStateSummaryCollectionResponse.ts | 2 +- src/models/deviceCompliancePolicyState.ts | 2 +- ...CompliancePolicyStateCollectionResponse.ts | 2 +- .../deviceComplianceScheduledActionForRule.ts | 2 +- ...cheduledActionForRuleCollectionResponse.ts | 2 +- ...omplianceSettingStateCollectionResponse.ts | 2 +- ...eComplianceUserStatusCollectionResponse.ts | 2 +- src/models/deviceConfiguration.ts | 12 +- src/models/deviceConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- .../deviceConfigurationCollectionResponse.ts | 2 +- ...igurationDeviceStatusCollectionResponse.ts | 2 +- src/models/deviceConfigurationSettingState.ts | 2 +- src/models/deviceConfigurationState.ts | 2 +- ...iceConfigurationStateCollectionResponse.ts | 2 +- ...nfigurationUserStatusCollectionResponse.ts | 2 +- src/models/deviceEnrollmentConfiguration.ts | 2 +- ...rollmentConfigurationCollectionResponse.ts | 2 +- ...llmentPlatformRestrictionsConfiguration.ts | 10 +- .../deviceInstallStateCollectionResponse.ts | 2 +- src/models/deviceLocalCredential.ts | 46 ++++ src/models/deviceLocalCredentialInfo.ts | 47 ++++ ...ceLocalCredentialInfoCollectionResponse.ts | 29 +++ ...LogCollectionResponseCollectionResponse.ts | 2 +- src/models/deviceManagement.ts | 124 +++++------ ...mentExchangeConnectorCollectionResponse.ts | 2 +- ...ceManagementExportJobCollectionResponse.ts | 2 +- src/models/deviceManagementPartner.ts | 2 +- .../deviceManagementPartnerAssignment.ts | 2 +- ...viceManagementPartnerCollectionResponse.ts | 2 +- src/models/deviceManagementReports.ts | 2 +- ...tTroubleshootingEventCollectionResponse.ts | 2 +- src/models/directory.ts | 19 +- src/models/directoryAudit.ts | 6 +- .../directoryAuditCollectionResponse.ts | 2 +- src/models/directoryDefinition.ts | 2 +- .../directoryDefinitionCollectionResponse.ts | 2 +- .../directoryObjectCollectionResponse.ts | 2 +- src/models/directoryRole.ts | 4 +- src/models/directoryRoleCollectionResponse.ts | 2 +- ...directoryRoleTemplateCollectionResponse.ts | 2 +- src/models/documentSet.ts | 8 +- src/models/documentSetContent.ts | 2 +- src/models/documentSetVersion.ts | 4 +- .../documentSetVersionCollectionResponse.ts | 2 +- src/models/domain.ts | 10 +- src/models/domainCollectionResponse.ts | 2 +- .../domainDnsRecordCollectionResponse.ts | 2 +- src/models/drive.ts | 20 +- src/models/driveCollectionResponse.ts | 2 +- src/models/driveItem.ts | 73 ++++--- src/models/driveItemCollectionResponse.ts | 2 +- src/models/driveItemUploadableProperties.ts | 2 +- .../driveItemVersionCollectionResponse.ts | 2 +- src/models/edge.ts | 2 +- src/models/educationAssignment.ts | 14 +- .../educationAssignmentCollectionResponse.ts | 2 +- src/models/educationAssignmentGrade.ts | 2 +- src/models/educationAssignmentResource.ts | 2 +- ...ionAssignmentResourceCollectionResponse.ts | 2 +- .../educationCategoryCollectionResponse.ts | 2 +- src/models/educationClass.ts | 22 +- .../educationClassCollectionResponse.ts | 2 +- src/models/educationFeedback.ts | 4 +- src/models/educationFeedbackOutcome.ts | 4 +- .../educationFeedbackResourceOutcome.ts | 2 +- src/models/educationOutcome.ts | 2 +- .../educationOutcomeCollectionResponse.ts | 2 +- src/models/educationPointsOutcome.ts | 4 +- src/models/educationRoot.ts | 8 +- src/models/educationRubric.ts | 8 +- .../educationRubricCollectionResponse.ts | 2 +- src/models/educationRubricOutcome.ts | 8 +- src/models/educationSchool.ts | 10 +- .../educationSchoolCollectionResponse.ts | 2 +- src/models/educationSubmission.ts | 8 +- .../educationSubmissionCollectionResponse.ts | 2 +- src/models/educationSubmissionResource.ts | 2 +- ...ionSubmissionResourceCollectionResponse.ts | 2 +- src/models/educationUser.ts | 34 +-- src/models/educationUserCollectionResponse.ts | 2 +- ...lAuthenticationMethodCollectionResponse.ts | 2 +- .../emailAuthenticationMethodConfiguration.ts | 2 +- src/models/emailPayloadDetail.ts | 8 +- src/models/employeeExperience.ts | 4 +- src/models/employeeExperienceUser.ts | 2 +- src/models/endUserNotification.ts | 26 +-- .../endUserNotificationCollectionResponse.ts | 2 +- src/models/endUserNotificationDetail.ts | 12 +- ...serNotificationDetailCollectionResponse.ts | 2 +- src/models/endUserNotificationSetting.ts | 8 +- src/models/endpointCollectionResponse.ts | 2 +- .../enrollmentConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- src/models/entitlementManagement.ts | 24 +-- src/models/entitlementManagementSchedule.ts | 4 +- src/models/entity.ts | 38 +++- src/models/event.ts | 32 +-- src/models/eventCollectionResponse.ts | 2 +- src/models/eventMessage.ts | 10 +- src/models/eventMessageRequest.ts | 6 +- src/models/eventMessageResponse.ts | 2 +- src/models/expressionInputObject.ts | 4 +- src/models/extensionCollectionResponse.ts | 2 +- src/models/extensionProperty.ts | 6 + .../extensionPropertyCollectionResponse.ts | 2 +- .../externalConnectors/activitySettings.ts | 2 +- .../externalConnectors/connectionOperation.ts | 2 +- .../connectionOperationCollectionResponse.ts | 2 +- .../externalConnectors/displayTemplate.ts | 4 +- src/models/externalConnectors/external.ts | 2 +- .../externalConnectors/externalActivity.ts | 2 +- .../externalActivityCollectionResponse.ts | 2 +- .../externalActivityResult.ts | 2 +- .../externalConnectors/externalConnection.ts | 20 +- .../externalConnectionCollectionResponse.ts | 2 +- .../externalConnectors/externalGroup.ts | 2 +- .../externalGroupCollectionResponse.ts | 2 +- src/models/externalConnectors/externalItem.ts | 8 +- .../externalItemCollectionResponse.ts | 2 +- .../identityCollectionResponse.ts | 2 +- .../externalConnectors/itemIdResolver.ts | 2 +- src/models/externalConnectors/schema.ts | 2 +- .../externalConnectors/searchSettings.ts | 2 +- src/models/extractSensitivityLabelsResult.ts | 2 +- src/models/featureRolloutPolicy.ts | 2 +- .../featureRolloutPolicyCollectionResponse.ts | 2 +- ...tedIdentityCredentialCollectionResponse.ts | 2 +- ...2AuthenticationMethodCollectionResponse.ts | 2 +- .../fido2AuthenticationMethodConfiguration.ts | 4 +- src/models/file.ts | 2 +- src/models/fileSecurityState.ts | 2 +- src/models/filter.ts | 6 +- src/models/filterClause.ts | 2 +- src/models/filterGroup.ts | 2 +- .../filterOperatorSchemaCollectionResponse.ts | 2 +- src/models/folder.ts | 2 +- src/models/followupFlag.ts | 6 +- .../governanceInsightCollectionResponse.ts | 2 +- src/models/group.ts | 98 ++++----- src/models/groupCollectionResponse.ts | 2 +- .../groupLifecyclePolicyCollectionResponse.ts | 2 +- src/models/groupSetting.ts | 2 +- src/models/groupSettingCollectionResponse.ts | 2 +- src/models/groupSettingTemplate.ts | 2 +- .../groupSettingTemplateCollectionResponse.ts | 2 +- ...eRealmDiscoveryPolicyCollectionResponse.ts | 2 +- src/models/identityApiConnector.ts | 2 +- .../identityApiConnectorCollectionResponse.ts | 2 +- src/models/identityContainer.ts | 10 +- src/models/identityGovernance.ts | 12 +- .../identityGovernance/customTaskExtension.ts | 6 +- ...ustomTaskExtensionCallbackConfiguration.ts | 2 +- .../customTaskExtensionCalloutData.ts | 8 +- .../customTaskExtensionCollectionResponse.ts | 2 +- .../lifecycleManagementSettings.ts | 2 +- .../lifecycleWorkflowsContainer.ts | 12 +- src/models/identityGovernance/run.ts | 4 +- .../runCollectionResponse.ts | 2 +- src/models/identityGovernance/task.ts | 4 +- .../taskCollectionResponse.ts | 2 +- .../identityGovernance/taskDefinition.ts | 2 +- .../taskDefinitionCollectionResponse.ts | 2 +- .../taskProcessingResult.ts | 4 +- .../taskProcessingResultCollectionResponse.ts | 2 +- src/models/identityGovernance/taskReport.ts | 6 +- .../taskReportCollectionResponse.ts | 2 +- .../triggerAndScopeBasedConditions.ts | 4 +- .../userProcessingResult.ts | 4 +- .../userProcessingResultCollectionResponse.ts | 2 +- src/models/identityGovernance/workflow.ts | 10 +- src/models/identityGovernance/workflowBase.ts | 8 +- .../workflowCollectionResponse.ts | 2 +- .../identityGovernance/workflowTemplate.ts | 4 +- .../workflowTemplateCollectionResponse.ts | 2 +- .../workflowVersionCollectionResponse.ts | 2 +- src/models/identityProtectionRoot.ts | 8 +- .../identityProviderBaseCollectionResponse.ts | 2 +- .../identityProviderCollectionResponse.ts | 2 +- src/models/identitySet.ts | 6 +- .../identityUserFlowAttributeAssignment.ts | 4 +- ...owAttributeAssignmentCollectionResponse.ts | 2 +- ...tityUserFlowAttributeCollectionResponse.ts | 2 +- .../importedWindowsAutopilotDeviceIdentity.ts | 2 +- ...topilotDeviceIdentityCollectionResponse.ts | 2 +- ...tedWindowsAutopilotDeviceIdentityUpload.ts | 2 +- src/models/incomingContext.ts | 4 +- src/models/index.ts | 22 ++ src/models/inferenceClassification.ts | 2 +- src/models/inferenceClassificationOverride.ts | 2 +- ...lassificationOverrideCollectionResponse.ts | 2 +- src/models/informationProtection.ts | 4 +- src/models/internalDomainFederation.ts | 6 +- ...ernalDomainFederationCollectionResponse.ts | 2 +- src/models/internetExplorerMode.ts | 2 +- src/models/intuneBrand.ts | 6 +- src/models/invitation.ts | 4 +- src/models/invitationCollectionResponse.ts | 2 +- src/models/invitationParticipantInfo.ts | 2 +- src/models/inviteParticipantsOperation.ts | 2 +- src/models/invitedUserMessageInfo.ts | 2 +- src/models/iosDeviceFeaturesConfiguration.ts | 6 +- src/models/iosGeneralDeviceConfiguration.ts | 26 +-- src/models/iosHomeScreenFolder.ts | 2 +- src/models/iosHomeScreenFolderPage.ts | 2 +- src/models/iosHomeScreenPage.ts | 2 +- src/models/iosLobApp.ts | 4 +- src/models/iosLobAppCollectionResponse.ts | 2 +- ...bAppProvisioningConfigurationAssignment.ts | 2 +- src/models/iosManagedAppProtection.ts | 4 +- ...sManagedAppProtectionCollectionResponse.ts | 2 +- src/models/iosMobileAppConfiguration.ts | 2 +- src/models/iosNetworkUsageRule.ts | 2 +- src/models/iosStoreApp.ts | 4 +- src/models/iosStoreAppCollectionResponse.ts | 2 +- ...iosUpdateDeviceStatusCollectionResponse.ts | 2 +- src/models/iosVppApp.ts | 4 +- src/models/iosVppAppCollectionResponse.ts | 2 +- src/models/ipNamedLocation.ts | 2 +- src/models/itemActivity.ts | 6 +- src/models/itemActivityCollectionResponse.ts | 2 +- src/models/itemActivityStat.ts | 14 +- .../itemActivityStatCollectionResponse.ts | 2 +- src/models/itemAnalytics.ts | 6 +- src/models/itemAttachment.ts | 2 +- src/models/itemReference.ts | 2 +- src/models/itemRetentionLabel.ts | 54 +++++ src/models/landingPage.ts | 28 +-- src/models/landingPageCollectionResponse.ts | 2 +- src/models/landingPageDetail.ts | 6 +- .../landingPageDetailCollectionResponse.ts | 2 +- src/models/learningAssignment.ts | 4 +- .../learningContentCollectionResponse.ts | 2 +- ...earningCourseActivityCollectionResponse.ts | 2 +- src/models/learningProvider.ts | 4 +- .../learningProviderCollectionResponse.ts | 2 +- src/models/licenseDetails.ts | 2 +- .../licenseDetailsCollectionResponse.ts | 2 +- .../linkedResourceCollectionResponse.ts | 2 +- src/models/list.ts | 18 +- src/models/listCollectionResponse.ts | 2 +- src/models/listItem.ts | 14 +- src/models/listItemCollectionResponse.ts | 2 +- src/models/listItemVersion.ts | 2 +- .../listItemVersionCollectionResponse.ts | 2 +- ...edNotificationMessageCollectionResponse.ts | 2 +- src/models/locateDeviceActionResult.ts | 2 +- src/models/location.ts | 4 +- src/models/locationConstraint.ts | 2 +- src/models/loginPage.ts | 24 +-- src/models/loginPageCollectionResponse.ts | 2 +- .../longRunningOperationCollectionResponse.ts | 2 +- src/models/macOSDmgApp.ts | 4 +- src/models/macOSDmgAppCollectionResponse.ts | 2 +- src/models/macOSGeneralDeviceConfiguration.ts | 2 +- src/models/macOSLobApp.ts | 4 +- src/models/macOSLobAppCollectionResponse.ts | 2 +- src/models/mailFolder.ts | 10 +- src/models/mailFolderCollectionResponse.ts | 2 +- src/models/mailTips.ts | 8 +- src/models/mailboxSettings.ts | 6 +- ...StateForWindowsDeviceCollectionResponse.ts | 2 +- src/models/managedAndroidLobApp.ts | 2 +- .../managedAndroidLobAppCollectionResponse.ts | 2 +- src/models/managedAndroidStoreApp.ts | 2 +- src/models/managedAppConfiguration.ts | 2 +- .../managedAppOperationCollectionResponse.ts | 2 +- .../managedAppPolicyCollectionResponse.ts | 2 +- .../managedAppPolicyDeploymentSummary.ts | 2 +- ...managedAppPolicyDeploymentSummaryPerApp.ts | 2 +- src/models/managedAppRegistration.ts | 8 +- ...anagedAppRegistrationCollectionResponse.ts | 2 +- .../managedAppStatusCollectionResponse.ts | 2 +- src/models/managedAppStatusRaw.ts | 2 +- src/models/managedDevice.ts | 12 +- src/models/managedDeviceCollectionResponse.ts | 2 +- .../managedDeviceMobileAppConfiguration.ts | 10 +- ...dDeviceMobileAppConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- ...obileAppConfigurationCollectionResponse.ts | 2 +- ...igurationDeviceStatusCollectionResponse.ts | 2 +- ...nfigurationUserStatusCollectionResponse.ts | 2 +- src/models/managedDeviceOverview.ts | 4 +- src/models/managedEBook.ts | 10 +- src/models/managedEBookAssignment.ts | 2 +- ...anagedEBookAssignmentCollectionResponse.ts | 2 +- src/models/managedEBookCollectionResponse.ts | 2 +- src/models/managedIOSLobApp.ts | 4 +- .../managedIOSLobAppCollectionResponse.ts | 2 +- src/models/managedIOSStoreApp.ts | 4 +- src/models/managedMobileApp.ts | 2 +- .../managedMobileAppCollectionResponse.ts | 2 +- src/models/managedMobileLobApp.ts | 2 +- .../managedMobileLobAppCollectionResponse.ts | 2 +- ...ationProtectionPolicyCollectionResponse.ts | 2 +- src/models/mediaPrompt.ts | 2 +- src/models/meetingAttendanceReport.ts | 2 +- ...etingAttendanceReportCollectionResponse.ts | 2 +- src/models/meetingAudience.ts | 7 + src/models/meetingParticipantInfo.ts | 2 +- src/models/meetingParticipants.ts | 4 +- .../meetingPolicyUpdatedEventMessageDetail.ts | 2 +- src/models/meetingTimeSuggestion.ts | 6 +- src/models/meetingTimeSuggestionsResult.ts | 2 +- src/models/membersAddedEventMessageDetail.ts | 4 +- .../membersDeletedEventMessageDetail.ts | 4 +- src/models/membersJoinedEventMessageDetail.ts | 4 +- src/models/membersLeftEventMessageDetail.ts | 4 +- src/models/membershipOutlierInsight.ts | 6 +- src/models/message.ts | 28 +-- src/models/messageCollectionResponse.ts | 2 +- src/models/messagePinnedEventMessageDetail.ts | 2 +- src/models/messageRule.ts | 6 +- src/models/messageRuleActions.ts | 6 +- src/models/messageRuleCollectionResponse.ts | 2 +- src/models/messageRulePredicates.ts | 6 +- .../messageUnpinnedEventMessageDetail.ts | 2 +- ...rosoftAuthenticatorAuthenticationMethod.ts | 2 +- ...rAuthenticationMethodCollectionResponse.ts | 2 +- ...icatorAuthenticationMethodConfiguration.ts | 4 +- .../microsoftAuthenticatorFeatureSettings.ts | 4 +- src/models/microsoftCustomTrainingSetting.ts | 8 +- src/models/microsoftManagedTrainingSetting.ts | 4 +- ...ftStoreForBusinessAppCollectionResponse.ts | 2 +- .../microsoftTrainingAssignmentMapping.ts | 4 +- src/models/mobileApp.ts | 6 +- src/models/mobileAppAssignment.ts | 4 +- .../mobileAppAssignmentCollectionResponse.ts | 2 +- .../mobileAppCategoryCollectionResponse.ts | 2 +- src/models/mobileAppCollectionResponse.ts | 2 +- src/models/mobileAppContent.ts | 4 +- .../mobileAppContentCollectionResponse.ts | 2 +- .../mobileAppContentFileCollectionResponse.ts | 2 +- src/models/mobileAppTroubleshootingEvent.ts | 2 +- ...pTroubleshootingEventCollectionResponse.ts | 2 +- .../mobileContainedAppCollectionResponse.ts | 2 +- src/models/mobileLobApp.ts | 2 +- ...hreatDefenseConnectorCollectionResponse.ts | 2 +- src/models/namedLocationCollectionResponse.ts | 2 +- src/models/noTrainingNotificationSetting.ts | 4 +- src/models/notebook.ts | 6 +- src/models/notebookCollectionResponse.ts | 2 +- src/models/notebookLinks.ts | 4 +- src/models/notificationMessageTemplate.ts | 2 +- ...cationMessageTemplateCollectionResponse.ts | 2 +- ...oAuth2PermissionGrantCollectionResponse.ts | 2 +- src/models/oAuthConsentAppDetail.ts | 6 +- src/models/oDataErrors/mainError.ts | 4 +- src/models/oDataErrors/oDataError.ts | 2 +- src/models/objectDefinition.ts | 4 +- src/models/objectMapping.ts | 6 +- .../offerShiftRequestCollectionResponse.ts | 2 +- src/models/officeGraphInsights.ts | 6 +- .../onPremisesDirectorySynchronization.ts | 4 +- ...ectorySynchronizationCollectionResponse.ts | 2 +- ...esDirectorySynchronizationConfiguration.ts | 2 +- src/models/onenote.ts | 12 +- src/models/onenoteEntityHierarchyModel.ts | 4 +- src/models/onenoteOperation.ts | 2 +- .../onenoteOperationCollectionResponse.ts | 2 +- src/models/onenotePage.ts | 6 +- src/models/onenotePageCollectionResponse.ts | 2 +- src/models/onenotePagePreview.ts | 2 +- src/models/onenotePagePreviewLinks.ts | 2 +- .../onenoteResourceCollectionResponse.ts | 2 +- src/models/onenoteSection.ts | 8 +- .../onenoteSectionCollectionResponse.ts | 2 +- src/models/onlineMeeting.ts | 141 ++---------- src/models/onlineMeetingBase.ts | 161 ++++++++++++++ src/models/onlineMeetingCollectionResponse.ts | 2 +- src/models/onlineMeetingInfo.ts | 2 +- src/models/openShift.ts | 4 +- ...penShiftChangeRequestCollectionResponse.ts | 2 +- src/models/openShiftCollectionResponse.ts | 2 +- src/models/optionalClaims.ts | 6 +- src/models/orgContact.ts | 16 +- src/models/orgContactCollectionResponse.ts | 2 +- src/models/organization.ts | 14 +- src/models/organizationCollectionResponse.ts | 2 +- src/models/organizationalBranding.ts | 2 +- ...lBrandingLocalizationCollectionResponse.ts | 2 +- .../organizationalBrandingProperties.ts | 4 +- src/models/organizerMeetingInfo.ts | 2 +- .../outlookCategoryCollectionResponse.ts | 2 +- src/models/outlookUser.ts | 2 +- src/models/pageLinks.ts | 4 +- src/models/parseExpressionResponse.ts | 4 +- src/models/participant.ts | 8 +- src/models/participantCollectionResponse.ts | 2 +- src/models/participantInfo.ts | 2 +- src/models/participantJoiningNotification.ts | 2 +- src/models/participantLeftNotification.ts | 2 +- ...dAuthenticationMethodCollectionResponse.ts | 2 +- src/models/patternedRecurrence.ts | 4 +- src/models/payload.ts | 48 ++--- src/models/payloadCoachmark.ts | 14 +- src/models/payloadCollectionResponse.ts | 2 +- src/models/payloadDetail.ts | 8 +- src/models/pendingOperations.ts | 2 +- src/models/peopleAdminSettings.ts | 4 +- src/models/permission.ts | 14 +- src/models/permissionCollectionResponse.ts | 2 +- ...sionGrantConditionSetCollectionResponse.ts | 2 +- src/models/permissionGrantPolicy.ts | 4 +- ...permissionGrantPolicyCollectionResponse.ts | 2 +- src/models/person.ts | 10 +- src/models/personCollectionResponse.ts | 2 +- ...eAuthenticationMethodCollectionResponse.ts | 2 +- src/models/pinnedChatMessageInfo.ts | 2 +- ...pinnedChatMessageInfoCollectionResponse.ts | 2 +- src/models/place.ts | 4 +- src/models/planner.ts | 6 +- .../plannerAssignedToTaskBoardTaskFormat.ts | 2 +- src/models/plannerBucket.ts | 2 +- src/models/plannerBucketCollectionResponse.ts | 2 +- src/models/plannerGroup.ts | 2 +- src/models/plannerPlan.ts | 10 +- src/models/plannerPlanCollectionResponse.ts | 2 +- src/models/plannerPlanDetails.ts | 4 +- src/models/plannerTask.ts | 16 +- src/models/plannerTaskCollectionResponse.ts | 2 +- src/models/plannerTaskDetails.ts | 4 +- src/models/plannerUser.ts | 4 +- src/models/policyRoot.ts | 38 ++-- .../positiveReinforcementNotification.ts | 2 +- src/models/post.ts | 18 +- src/models/postCollectionResponse.ts | 2 +- src/models/presence.ts | 2 +- src/models/presenceCollectionResponse.ts | 2 +- src/models/presenceStatusMessage.ts | 4 +- .../principalResourceMembershipsScope.ts | 4 +- src/models/print.ts | 14 +- src/models/printConnector.ts | 2 +- .../printConnectorCollectionResponse.ts | 2 +- src/models/printDocumentCollectionResponse.ts | 2 +- src/models/printJob.ts | 10 +- src/models/printJobCollectionResponse.ts | 2 +- src/models/printJobConfiguration.ts | 4 +- src/models/printOperation.ts | 2 +- .../printOperationCollectionResponse.ts | 2 +- src/models/printService.ts | 2 +- src/models/printServiceCollectionResponse.ts | 2 +- .../printServiceEndpointCollectionResponse.ts | 2 +- src/models/printTask.ts | 6 +- src/models/printTaskCollectionResponse.ts | 2 +- src/models/printTaskDefinition.ts | 4 +- .../printTaskDefinitionCollectionResponse.ts | 2 +- src/models/printTaskTrigger.ts | 2 +- .../printTaskTriggerCollectionResponse.ts | 2 +- .../printUsageByPrinterCollectionResponse.ts | 2 +- .../printUsageByUserCollectionResponse.ts | 2 +- src/models/printer.ts | 6 +- src/models/printerBase.ts | 10 +- src/models/printerCapabilities.ts | 2 +- src/models/printerCollectionResponse.ts | 2 +- src/models/printerCreateOperation.ts | 2 +- src/models/printerShare.ts | 8 +- src/models/printerShareCollectionResponse.ts | 2 +- src/models/privacy.ts | 2 +- src/models/privilegedAccessGroup.ts | 14 +- ...privilegedAccessGroupAssignmentSchedule.ts | 6 +- ...oupAssignmentScheduleCollectionResponse.ts | 2 +- ...edAccessGroupAssignmentScheduleInstance.ts | 6 +- ...nmentScheduleInstanceCollectionResponse.ts | 2 +- ...gedAccessGroupAssignmentScheduleRequest.ts | 8 +- ...gnmentScheduleRequestCollectionResponse.ts | 2 +- ...rivilegedAccessGroupEligibilitySchedule.ts | 4 +- ...upEligibilityScheduleCollectionResponse.ts | 2 +- ...dAccessGroupEligibilityScheduleInstance.ts | 4 +- ...ilityScheduleInstanceCollectionResponse.ts | 2 +- ...edAccessGroupEligibilityScheduleRequest.ts | 6 +- ...bilityScheduleRequestCollectionResponse.ts | 2 +- src/models/privilegedAccessRoot.ts | 2 +- src/models/privilegedAccessSchedule.ts | 2 +- src/models/privilegedAccessScheduleRequest.ts | 4 +- src/models/process.ts | 2 +- src/models/profileCardAnnotation.ts | 6 +- src/models/profileCardProperty.ts | 6 +- .../profileCardPropertyCollectionResponse.ts | 2 +- src/models/profilePhotoCollectionResponse.ts | 2 +- src/models/provisionedIdentity.ts | 2 +- src/models/provisioningObjectSummary.ts | 18 +- ...isioningObjectSummaryCollectionResponse.ts | 2 +- src/models/provisioningStatusInfo.ts | 2 +- src/models/provisioningStep.ts | 2 +- src/models/provisioningSystem.ts | 2 +- src/models/publicError.ts | 4 +- src/models/publicInnerError.ts | 2 +- src/models/publicationFacet.ts | 2 +- src/models/quota.ts | 2 +- src/models/rbacApplication.ts | 18 +- src/models/recentNotebook.ts | 2 +- src/models/recentNotebookLinks.ts | 4 +- src/models/recipient.ts | 2 +- src/models/recordingInfo.ts | 2 +- src/models/registrationEnforcement.ts | 2 +- src/models/reminder.ts | 8 +- ...moteAssistancePartnerCollectionResponse.ts | 2 +- .../remoteDesktopSecurityConfiguration.ts | 6 +- src/models/remoteItem.ts | 24 +-- src/models/reportRoot.ts | 12 +- src/models/request.ts | 2 +- src/models/requestSchedule.ts | 4 +- src/models/requiredResourceAccess.ts | 2 +- .../resourceOperationCollectionResponse.ts | 2 +- ...ecificPermissionGrantCollectionResponse.ts | 2 +- src/models/retentionLabelSettings.ts | 67 ++++++ src/models/richLongRunningOperation.ts | 2 +- ...hLongRunningOperationCollectionResponse.ts | 2 +- src/models/riskDetection.ts | 2 +- src/models/riskDetectionCollectionResponse.ts | 2 +- src/models/riskyServicePrincipal.ts | 2 +- ...riskyServicePrincipalCollectionResponse.ts | 2 +- .../riskyServicePrincipalHistoryItem.ts | 2 +- ...ePrincipalHistoryItemCollectionResponse.ts | 2 +- src/models/riskyUser.ts | 5 +- src/models/riskyUserCollectionResponse.ts | 2 +- src/models/riskyUserHistoryItem.ts | 2 +- .../riskyUserHistoryItemCollectionResponse.ts | 2 +- src/models/roleAssignment.ts | 2 +- .../roleAssignmentCollectionResponse.ts | 2 +- src/models/roleDefinition.ts | 4 +- .../roleDefinitionCollectionResponse.ts | 2 +- src/models/roleManagement.ts | 4 +- src/models/rolePermission.ts | 2 +- src/models/roomCollectionResponse.ts | 2 +- src/models/roomList.ts | 2 +- src/models/roomListCollectionResponse.ts | 2 +- src/models/rubricCriterion.ts | 2 +- src/models/rubricLevel.ts | 4 +- src/models/rubricQuality.ts | 4 +- src/models/rubricQualityFeedbackModel.ts | 2 +- .../samlOrWsFedExternalDomainFederation.ts | 2 +- src/models/schedule.ts | 18 +- src/models/scheduleInformation.ts | 6 +- src/models/scheduleItem.ts | 4 +- .../schedulingGroupCollectionResponse.ts | 2 +- src/models/schemaExtension.ts | 2 +- .../schemaExtensionCollectionResponse.ts | 2 +- src/models/scopedRoleMembership.ts | 2 +- .../scopedRoleMembershipCollectionResponse.ts | 2 +- src/models/searchAggregation.ts | 2 +- src/models/searchAlteration.ts | 2 +- src/models/searchHit.ts | 2 +- src/models/searchHitsContainer.ts | 4 +- src/models/searchRequest.ts | 14 +- src/models/searchResponse.ts | 6 +- src/models/sectionGroup.ts | 8 +- src/models/sectionGroupCollectionResponse.ts | 2 +- src/models/sectionLinks.ts | 4 +- src/models/secureScore.ts | 6 +- src/models/secureScoreCollectionResponse.ts | 2 +- src/models/secureScoreControlProfile.ts | 6 +- ...reScoreControlProfileCollectionResponse.ts | 2 +- src/models/security.ts | 22 +- src/models/security/alert.ts | 6 +- .../security/alertCollectionResponse.ts | 2 +- .../security/analyzedMessageEvidence.ts | 4 +- src/models/security/article.ts | 6 +- .../security/articleCollectionResponse.ts | 2 +- .../articleIndicatorCollectionResponse.ts | 2 +- .../security/behaviorDuringRetentionPeriod.ts | 9 + src/models/security/blobContainerEvidence.ts | 2 +- src/models/security/blobEvidence.ts | 4 +- src/models/security/caseEscaped.ts | 2 +- src/models/security/caseOperation.ts | 4 +- .../caseOperationCollectionResponse.ts | 2 +- src/models/security/casesRoot.ts | 2 +- src/models/security/containerEvidence.ts | 4 +- src/models/security/containerImageEvidence.ts | 4 +- src/models/security/dataSet.ts | 2 +- src/models/security/dataSource.ts | 2 +- .../security/dataSourceCollectionResponse.ts | 2 +- src/models/security/detectionSource.ts | 11 + src/models/security/deviceEvidence.ts | 4 +- .../ediscoveryAddToReviewSetOperation.ts | 4 +- src/models/security/ediscoveryCase.ts | 16 +- .../ediscoveryCaseCollectionResponse.ts | 2 +- src/models/security/ediscoveryCaseSettings.ts | 6 +- src/models/security/ediscoveryCustodian.ts | 8 +- .../ediscoveryCustodianCollectionResponse.ts | 2 +- .../security/ediscoveryEstimateOperation.ts | 2 +- .../security/ediscoveryExportOperation.ts | 6 +- .../ediscoveryNoncustodialDataSource.ts | 4 +- ...oncustodialDataSourceCollectionResponse.ts | 2 +- src/models/security/ediscoveryReviewSet.ts | 2 +- .../ediscoveryReviewSetCollectionResponse.ts | 2 +- ...scoveryReviewSetQueryCollectionResponse.ts | 2 +- src/models/security/ediscoveryReviewTag.ts | 4 +- .../ediscoveryReviewTagCollectionResponse.ts | 2 +- src/models/security/ediscoverySearch.ts | 10 +- .../ediscoverySearchCollectionResponse.ts | 2 +- src/models/security/fileEvidence.ts | 2 +- src/models/security/host.ts | 31 +-- src/models/security/hostCollectionResponse.ts | 2 +- src/models/security/hostComponent.ts | 2 +- .../hostComponentCollectionResponse.ts | 2 +- src/models/security/hostCookie.ts | 2 +- .../security/hostCookieCollectionResponse.ts | 2 +- src/models/security/hostPair.ts | 4 +- .../security/hostPairCollectionResponse.ts | 2 +- src/models/security/hostPort.ts | 94 ++++++++ src/models/security/hostPortBanner.ts | 60 ++++++ .../security/hostPortCollectionResponse.ts | 29 +++ src/models/security/hostPortComponent.ts | 55 +++++ src/models/security/hostPortProtocol.ts | 7 + src/models/security/hostPortStatus.ts | 8 + src/models/security/hostReputation.ts | 2 +- src/models/security/hostSslCertificate.ts | 6 +- .../hostSslCertificateCollectionResponse.ts | 2 +- src/models/security/hostTracker.ts | 2 +- .../security/hostTrackerCollectionResponse.ts | 2 +- src/models/security/huntingQueryResults.ts | 4 +- src/models/security/incident.ts | 4 +- .../security/incidentCollectionResponse.ts | 2 +- src/models/security/index.ts | 7 + src/models/security/indicator.ts | 2 +- src/models/security/intelligenceProfile.ts | 10 +- .../intelligenceProfileCollectionResponse.ts | 2 +- ...genceProfileIndicatorCollectionResponse.ts | 2 +- src/models/security/ipAddress.ts | 2 +- .../security/kubernetesClusterEvidence.ts | 2 +- .../security/kubernetesControllerEvidence.ts | 4 +- .../security/kubernetesNamespaceEvidence.ts | 4 +- src/models/security/kubernetesPodEvidence.ts | 16 +- .../security/kubernetesSecretEvidence.ts | 2 +- .../kubernetesServiceAccountEvidence.ts | 2 +- .../security/kubernetesServiceEvidence.ts | 12 +- src/models/security/mailboxEvidence.ts | 2 +- src/models/security/passiveDnsRecord.ts | 4 +- .../passiveDnsRecordCollectionResponse.ts | 2 +- src/models/security/processEvidence.ts | 6 +- src/models/security/retentionEvent.ts | 12 +- .../retentionEventCollectionResponse.ts | 2 +- src/models/security/retentionEventStatus.ts | 2 +- src/models/security/retentionEventType.ts | 4 +- .../retentionEventTypeCollectionResponse.ts | 2 +- src/models/security/search.ts | 4 +- src/models/security/siteSource.ts | 2 +- .../security/siteSourceCollectionResponse.ts | 2 +- src/models/security/sslCertificate.ts | 6 +- .../sslCertificateCollectionResponse.ts | 2 +- src/models/security/sslCertificateEntity.ts | 2 +- src/models/security/subdomain.ts | 2 +- .../security/subdomainCollectionResponse.ts | 2 +- src/models/security/tag.ts | 2 +- src/models/security/threatIntelligence.ts | 39 ++-- src/models/security/triggerTypesRoot.ts | 2 +- src/models/security/triggersRoot.ts | 2 +- src/models/security/unifiedGroupSource.ts | 2 +- .../unifiedGroupSourceCollectionResponse.ts | 2 +- src/models/security/userEvidence.ts | 2 +- .../security/userSourceCollectionResponse.ts | 2 +- src/models/security/vulnerability.ts | 16 +- .../vulnerabilityCollectionResponse.ts | 2 +- ...ulnerabilityComponentCollectionResponse.ts | 2 +- src/models/security/whoisBaseRecord.ts | 20 +- src/models/security/whoisContact.ts | 2 +- .../whoisHistoryRecordCollectionResponse.ts | 2 +- src/models/security/whoisNameserver.ts | 2 +- src/models/security/whoisRecord.ts | 2 +- .../security/whoisRecordCollectionResponse.ts | 2 +- src/models/serviceAnnouncement.ts | 6 +- ...nnouncementAttachmentCollectionResponse.ts | 2 +- src/models/serviceAnnouncementBase.ts | 2 +- src/models/serviceHealth.ts | 2 +- src/models/serviceHealthCollectionResponse.ts | 2 +- src/models/serviceHealthIssue.ts | 2 +- .../serviceHealthIssueCollectionResponse.ts | 2 +- src/models/serviceHealthIssuePost.ts | 2 +- src/models/serviceHostedMediaConfig.ts | 2 +- src/models/servicePrincipal.ts | 58 ++--- .../servicePrincipalCollectionResponse.ts | 2 +- src/models/servicePrincipalRiskDetection.ts | 2 +- ...rincipalRiskDetectionCollectionResponse.ts | 2 +- ...viceProvisioningErrorCollectionResponse.ts | 2 +- src/models/serviceUpdateMessage.ts | 6 +- .../serviceUpdateMessageCollectionResponse.ts | 2 +- ...ingStateDeviceSummaryCollectionResponse.ts | 2 +- src/models/sharePointIdentitySet.ts | 6 +- src/models/shared.ts | 4 +- src/models/sharedDriveItem.ts | 16 +- .../sharedDriveItemCollectionResponse.ts | 2 +- src/models/sharedInsight.ts | 8 +- src/models/sharedInsightCollectionResponse.ts | 2 +- src/models/sharedPCConfiguration.ts | 2 +- src/models/sharedWithChannelTeamInfo.ts | 2 +- ...edWithChannelTeamInfoCollectionResponse.ts | 2 +- src/models/sharepoint.ts | 2 +- src/models/sharepointSettings.ts | 2 +- src/models/sharingDetail.ts | 2 +- src/models/sharingInvitation.ts | 2 +- src/models/sharingLink.ts | 2 +- src/models/shift.ts | 4 +- src/models/shiftAvailability.ts | 4 +- src/models/shiftCollectionResponse.ts | 2 +- src/models/shiftItem.ts | 2 +- src/models/shiftPreferences.ts | 2 +- src/models/signIn.ts | 10 +- src/models/signInCollectionResponse.ts | 2 +- src/models/signInLocation.ts | 2 +- src/models/simulation.ts | 42 ++-- src/models/simulationAutomation.ts | 6 +- .../simulationAutomationCollectionResponse.ts | 2 +- ...mulationAutomationRunCollectionResponse.ts | 2 +- src/models/simulationCollectionResponse.ts | 2 +- src/models/simulationEventsContent.ts | 2 +- src/models/simulationNotification.ts | 2 +- src/models/simulationReport.ts | 4 +- src/models/simulationReportOverview.ts | 6 +- src/models/site.ts | 36 ++-- src/models/siteCollection.ts | 2 +- src/models/siteCollectionResponse.ts | 2 +- .../smsAuthenticationMethodConfiguration.ts | 2 +- ...hAuthenticationMethodCollectionResponse.ts | 2 +- ...reOathAuthenticationMethodConfiguration.ts | 2 +- src/models/solutionsRoot.ts | 11 +- src/models/staffAvailabilityItem.ts | 2 +- ...tringKeyAttributeMappingSourceValuePair.ts | 2 +- src/models/stsPolicy.ts | 2 +- src/models/subjectRightsRequest.ts | 26 +-- .../subjectRightsRequestCollectionResponse.ts | 2 +- src/models/subjectRightsRequestDetail.ts | 4 +- src/models/subjectRightsRequestHistory.ts | 2 +- src/models/subjectRightsRequestStageDetail.ts | 2 +- src/models/subscribedSku.ts | 4 +- src/models/subscribedSkuCollectionResponse.ts | 2 +- src/models/subscriptionCollectionResponse.ts | 2 +- ...apShiftsChangeRequestCollectionResponse.ts | 2 +- src/models/synchronization.ts | 6 +- src/models/synchronizationJob.ts | 8 +- ...synchronizationJobApplicationParameters.ts | 2 +- .../synchronizationJobCollectionResponse.ts | 2 +- src/models/synchronizationJobSubject.ts | 2 +- src/models/synchronizationLinkedObjects.ts | 6 +- src/models/synchronizationQuarantine.ts | 2 +- src/models/synchronizationRule.ts | 8 +- src/models/synchronizationSchema.ts | 4 +- src/models/synchronizationStatus.ts | 12 +- src/models/synchronizationTaskExecution.ts | 2 +- src/models/synchronizationTemplate.ts | 4 +- ...nchronizationTemplateCollectionResponse.ts | 2 +- src/models/tabUpdatedEventMessageDetail.ts | 2 +- src/models/targetDeviceGroup.ts | 2 +- .../targetDeviceGroupCollectionResponse.ts | 2 +- src/models/targetResource.ts | 2 +- src/models/targetedManagedAppConfiguration.ts | 6 +- ...nagedAppConfigurationCollectionResponse.ts | 2 +- .../targetedManagedAppPolicyAssignment.ts | 2 +- ...edAppPolicyAssignmentCollectionResponse.ts | 2 +- src/models/targetedManagedAppProtection.ts | 2 +- src/models/team.ts | 36 ++-- src/models/teamArchivedEventMessageDetail.ts | 2 +- src/models/teamCollectionResponse.ts | 2 +- src/models/teamCreatedEventMessageDetail.ts | 2 +- ...eamDescriptionUpdatedEventMessageDetail.ts | 2 +- src/models/teamInfo.ts | 2 +- .../teamJoiningDisabledEventMessageDetail.ts | 2 +- .../teamJoiningEnabledEventMessageDetail.ts | 2 +- src/models/teamRenamedEventMessageDetail.ts | 2 +- .../teamUnarchivedEventMessageDetail.ts | 2 +- src/models/teamsApp.ts | 2 +- src/models/teamsAppAuthorization.ts | 2 +- src/models/teamsAppCollectionResponse.ts | 2 +- src/models/teamsAppDefinition.ts | 6 +- .../teamsAppDefinitionCollectionResponse.ts | 2 +- src/models/teamsAppInstallation.ts | 6 +- .../teamsAppInstallationCollectionResponse.ts | 2 +- .../teamsAppInstalledEventMessageDetail.ts | 2 +- src/models/teamsAppPermissionSet.ts | 2 +- .../teamsAppRemovedEventMessageDetail.ts | 2 +- .../teamsAppUpgradedEventMessageDetail.ts | 2 +- src/models/teamsAsyncOperation.ts | 2 +- .../teamsAsyncOperationCollectionResponse.ts | 2 +- src/models/teamsTab.ts | 4 +- src/models/teamsTabCollectionResponse.ts | 2 +- src/models/teamsTemplateCollectionResponse.ts | 2 +- src/models/teamwork.ts | 6 +- src/models/teamworkOnlineMeetingInfo.ts | 2 +- src/models/teamworkTag.ts | 2 +- src/models/teamworkTagCollectionResponse.ts | 2 +- .../teamworkTagMemberCollectionResponse.ts | 2 +- ...enseManagementPartnerCollectionResponse.ts | 2 +- src/models/teleconferenceDeviceQuality.ts | 2 +- ...sAuthenticationMethodCollectionResponse.ts | 2 +- ...ssPassAuthenticationMethodConfiguration.ts | 2 +- src/models/tenantAppManagementPolicy.ts | 4 +- src/models/tenantRelationship.ts | 4 +- src/models/termColumn.ts | 4 +- src/models/termStore/group.ts | 2 +- .../termStore/groupCollectionResponse.ts | 2 +- src/models/termStore/relation.ts | 6 +- .../termStore/relationCollectionResponse.ts | 2 +- src/models/termStore/set.ts | 12 +- src/models/termStore/setCollectionResponse.ts | 2 +- src/models/termStore/store.ts | 4 +- .../termStore/storeCollectionResponse.ts | 2 +- src/models/termStore/term.ts | 12 +- .../termStore/termCollectionResponse.ts | 2 +- src/models/termsAndConditions.ts | 4 +- .../termsAndConditionsAcceptanceStatus.ts | 2 +- ...tionsAcceptanceStatusCollectionResponse.ts | 2 +- src/models/termsAndConditionsAssignment.ts | 2 +- ...dConditionsAssignmentCollectionResponse.ts | 2 +- .../termsAndConditionsCollectionResponse.ts | 2 +- src/models/termsOfUseContainer.ts | 4 +- src/models/threatAssessmentRequest.ts | 4 +- ...reatAssessmentRequestCollectionResponse.ts | 2 +- ...hreatAssessmentResultCollectionResponse.ts | 2 +- src/models/thumbnailSet.ts | 8 +- src/models/thumbnailSetCollectionResponse.ts | 2 +- src/models/timeConstraint.ts | 2 +- src/models/timeOff.ts | 4 +- src/models/timeOffCollectionResponse.ts | 2 +- src/models/timeOffReasonCollectionResponse.ts | 2 +- .../timeOffRequestCollectionResponse.ts | 2 +- src/models/timeSlot.ts | 4 +- src/models/todo.ts | 2 +- src/models/todoTask.ts | 22 +- src/models/todoTaskCollectionResponse.ts | 2 +- src/models/todoTaskList.ts | 4 +- src/models/todoTaskListCollectionResponse.ts | 2 +- .../tokenIssuancePolicyCollectionResponse.ts | 2 +- .../tokenLifetimePolicyCollectionResponse.ts | 2 +- src/models/training.ts | 34 +-- src/models/trainingCollectionResponse.ts | 2 +- src/models/trainingEventsContent.ts | 2 +- src/models/trainingLanguageDetail.ts | 22 +- ...rainingLanguageDetailCollectionResponse.ts | 2 +- src/models/trainingNotificationSetting.ts | 8 +- src/models/trainingReminderNotification.ts | 2 +- src/models/trainingSetting.ts | 2 +- src/models/trending.ts | 2 +- src/models/trendingCollectionResponse.ts | 2 +- src/models/unifiedApprovalStage.ts | 4 +- ...iedRbacResourceActionCollectionResponse.ts | 2 +- src/models/unifiedRbacResourceNamespace.ts | 2 +- ...RbacResourceNamespaceCollectionResponse.ts | 2 +- src/models/unifiedRoleAssignment.ts | 8 +- ...unifiedRoleAssignmentCollectionResponse.ts | 2 +- src/models/unifiedRoleAssignmentSchedule.ts | 4 +- ...oleAssignmentScheduleCollectionResponse.ts | 2 +- .../unifiedRoleAssignmentScheduleInstance.ts | 2 +- ...nmentScheduleInstanceCollectionResponse.ts | 2 +- .../unifiedRoleAssignmentScheduleRequest.ts | 16 +- ...gnmentScheduleRequestCollectionResponse.ts | 2 +- src/models/unifiedRoleDefinition.ts | 4 +- ...unifiedRoleDefinitionCollectionResponse.ts | 2 +- src/models/unifiedRoleEligibilitySchedule.ts | 2 +- ...leEligibilityScheduleCollectionResponse.ts | 2 +- ...ilityScheduleInstanceCollectionResponse.ts | 2 +- .../unifiedRoleEligibilityScheduleRequest.ts | 14 +- ...bilityScheduleRequestCollectionResponse.ts | 2 +- src/models/unifiedRoleManagementPolicy.ts | 6 +- ...unifiedRoleManagementPolicyApprovalRule.ts | 2 +- .../unifiedRoleManagementPolicyAssignment.ts | 2 +- ...ementPolicyAssignmentCollectionResponse.ts | 2 +- ...dRoleManagementPolicyCollectionResponse.ts | 2 +- src/models/unifiedRoleManagementPolicyRule.ts | 2 +- ...eManagementPolicyRuleCollectionResponse.ts | 2 +- .../unifiedRoleManagementPolicyRuleTarget.ts | 2 +- src/models/unifiedRoleScheduleBase.ts | 8 +- src/models/unifiedRoleScheduleInstanceBase.ts | 8 +- ...dateWindowsDeviceAccountActionParameter.ts | 2 +- src/models/usedInsight.ts | 4 +- src/models/usedInsightCollectionResponse.ts | 2 +- src/models/user.ts | 126 +++++------ src/models/userActivity.ts | 6 +- src/models/userActivityCollectionResponse.ts | 2 +- src/models/userCollectionResponse.ts | 2 +- src/models/userConsentRequest.ts | 2 +- .../userConsentRequestCollectionResponse.ts | 2 +- ...ceByAppVersionDetailsCollectionResponse.ts | 2 +- ...eByAppVersionDeviceIdCollectionResponse.ts | 2 +- ...erformanceByOSVersionCollectionResponse.ts | 2 +- ...pplicationPerformanceCollectionResponse.ts | 2 +- ...eviceModelPerformanceCollectionResponse.ts | 2 +- ...althDevicePerformanceCollectionResponse.ts | 2 +- ...icePerformanceDetailsCollectionResponse.ts | 2 +- ...hOSVersionPerformanceCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsBaseline.ts | 14 +- ...enceAnalyticsBaselineCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsCategory.ts | 4 +- ...enceAnalyticsCategoryCollectionResponse.ts | 2 +- ...ticsDevicePerformanceCollectionResponse.ts | 2 +- ...AnalyticsDeviceScoresCollectionResponse.ts | 2 +- ...sDeviceStartupHistoryCollectionResponse.ts | 2 +- ...sDeviceStartupProcessCollectionResponse.ts | 2 +- ...tupProcessPerformanceCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsInsight.ts | 2 +- ...rienceAnalyticsMetricCollectionResponse.ts | 2 +- ...nalyticsMetricHistoryCollectionResponse.ts | 2 +- ...eAnalyticsModelScoresCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsOverview.ts | 2 +- ...AnalyticsScoreHistoryCollectionResponse.ts | 2 +- ...orkFromAnywhereDeviceCollectionResponse.ts | 2 +- ...AnalyticsWorkFromAnywhereDevicesSummary.ts | 8 +- ...perienceAnalyticsWorkFromAnywhereMetric.ts | 2 +- ...orkFromAnywhereMetricCollectionResponse.ts | 2 +- ...whereModelPerformanceCollectionResponse.ts | 2 +- .../userFlowApiConnectorConfiguration.ts | 4 +- src/models/userFlowLanguageConfiguration.ts | 4 +- ...LanguageConfigurationCollectionResponse.ts | 2 +- .../userFlowLanguagePageCollectionResponse.ts | 2 +- src/models/userInstallStateSummary.ts | 2 +- ...erInstallStateSummaryCollectionResponse.ts | 2 +- src/models/userPrint.ts | 2 +- ...erRegistrationDetailsCollectionResponse.ts | 2 +- src/models/userRegistrationFeatureSummary.ts | 2 +- src/models/userRegistrationMethodSummary.ts | 2 +- src/models/userScopeTeamsAppInstallation.ts | 2 +- ...eTeamsAppInstallationCollectionResponse.ts | 2 +- src/models/userSettings.ts | 2 +- src/models/userSimulationDetails.ts | 6 +- src/models/userTeamwork.ts | 4 +- src/models/userTrainingEventInfo.ts | 6 +- src/models/virtualEvent.ts | 81 +++++++ .../virtualEventAttendeeRegistrationStatus.ts | 10 + src/models/virtualEventCollectionResponse.ts | 29 +++ src/models/virtualEventRegistration.ts | 72 +++++++ ...tualEventRegistrationCollectionResponse.ts | 29 +++ .../virtualEventRegistrationQuestionAnswer.ts | 60 ++++++ src/models/virtualEventSession.ts | 35 +++ .../virtualEventSessionCollectionResponse.ts | 29 +++ src/models/virtualEventStatus.ts | 8 + src/models/virtualEventWebinar.ts | 43 ++++ .../virtualEventWebinarCollectionResponse.ts | 29 +++ src/models/virtualEventsRoot.ts | 36 ++++ src/models/visualInfo.ts | 4 +- .../voiceAuthenticationMethodConfiguration.ts | 2 +- src/models/vppTokenCollectionResponse.ts | 2 +- src/models/webApplication.ts | 4 +- src/models/win32LobApp.ts | 8 +- src/models/win32LobAppAssignmentSettings.ts | 4 +- src/models/win32LobAppCollectionResponse.ts | 2 +- src/models/windows10CustomConfiguration.ts | 2 +- ...indows10EndpointProtectionConfiguration.ts | 8 +- src/models/windows10GeneralConfiguration.ts | 6 +- src/models/windowsAppX.ts | 2 +- src/models/windowsAppXCollectionResponse.ts | 2 +- ...topilotDeviceIdentityCollectionResponse.ts | 2 +- ...owsDeviceMalwareStateCollectionResponse.ts | 2 +- ...owsHelloForBusinessAuthenticationMethod.ts | 2 +- ...sAuthenticationMethodCollectionResponse.ts | 2 +- src/models/windowsInformationProtection.ts | 28 +-- ...ionAppLearningSummaryCollectionResponse.ts | 2 +- ...otectionAppLockerFileCollectionResponse.ts | 2 +- ...sInformationProtectionIPRangeCollection.ts | 2 +- ...etworkLearningSummaryCollectionResponse.ts | 2 +- ...ationProtectionPolicyCollectionResponse.ts | 2 +- ...mationProtectionProxiedDomainCollection.ts | 2 +- src/models/windowsMalwareInformation.ts | 2 +- ...owsMalwareInformationCollectionResponse.ts | 2 +- src/models/windowsMalwareOverview.ts | 12 +- .../windowsMobileMSICollectionResponse.ts | 2 +- .../windowsPhone81CustomConfiguration.ts | 2 +- .../windowsPhone81GeneralConfiguration.ts | 2 +- src/models/windowsProtectionState.ts | 2 +- src/models/windowsUniversalAppX.ts | 4 +- .../windowsUniversalAppXCollectionResponse.ts | 2 +- .../windowsUpdateForBusinessConfiguration.ts | 2 +- src/models/windowsWebAppCollectionResponse.ts | 2 +- src/models/workbook.ts | 14 +- src/models/workbookChart.ts | 14 +- src/models/workbookChartAreaFormat.ts | 4 +- src/models/workbookChartAxes.ts | 6 +- src/models/workbookChartAxis.ts | 16 +- src/models/workbookChartAxisFormat.ts | 4 +- src/models/workbookChartAxisTitle.ts | 2 +- src/models/workbookChartAxisTitleFormat.ts | 2 +- src/models/workbookChartCollectionResponse.ts | 2 +- src/models/workbookChartDataLabelFormat.ts | 4 +- src/models/workbookChartDataLabels.ts | 2 +- src/models/workbookChartGridlines.ts | 2 +- src/models/workbookChartGridlinesFormat.ts | 2 +- src/models/workbookChartLegend.ts | 2 +- src/models/workbookChartLegendFormat.ts | 4 +- src/models/workbookChartPoint.ts | 4 +- .../workbookChartPointCollectionResponse.ts | 2 +- src/models/workbookChartPointFormat.ts | 2 +- src/models/workbookChartSeries.ts | 4 +- .../workbookChartSeriesCollectionResponse.ts | 2 +- src/models/workbookChartSeriesFormat.ts | 4 +- src/models/workbookChartTitle.ts | 2 +- src/models/workbookChartTitleFormat.ts | 4 +- src/models/workbookComment.ts | 2 +- .../workbookCommentCollectionResponse.ts | 2 +- .../workbookCommentReplyCollectionResponse.ts | 2 +- src/models/workbookFilter.ts | 2 +- src/models/workbookFilterCriteria.ts | 4 +- src/models/workbookFunctionResult.ts | 2 +- src/models/workbookNamedItem.ts | 4 +- .../workbookNamedItemCollectionResponse.ts | 2 +- src/models/workbookOperation.ts | 2 +- .../workbookOperationCollectionResponse.ts | 2 +- src/models/workbookOperationError.ts | 2 +- src/models/workbookPivotTable.ts | 2 +- .../workbookPivotTableCollectionResponse.ts | 2 +- src/models/workbookRange.ts | 20 +- src/models/workbookRangeFormat.ts | 8 +- src/models/workbookRangeView.ts | 18 +- src/models/workbookSortField.ts | 2 +- src/models/workbookTable.ts | 8 +- src/models/workbookTableCollectionResponse.ts | 2 +- src/models/workbookTableColumn.ts | 4 +- .../workbookTableColumnCollectionResponse.ts | 2 +- src/models/workbookTableRow.ts | 2 +- .../workbookTableRowCollectionResponse.ts | 2 +- src/models/workbookTableSort.ts | 2 +- src/models/workbookWorksheet.ts | 10 +- .../workbookWorksheetCollectionResponse.ts | 2 +- src/models/workbookWorksheetProtection.ts | 2 +- src/models/workforceIntegration.ts | 2 +- .../workforceIntegrationCollectionResponse.ts | 2 +- src/models/workingHours.ts | 2 +- ...ficateAuthenticationMethodConfiguration.ts | 6 +- ...tificateAuthenticationModeConfiguration.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- ...oAuth2PermissionGrantItemRequestBuilder.ts | 6 +- .../oauth2PermissionGrantsRequestBuilder.ts | 4 +- src/organization/delta/deltaGetResponse.ts | 2 +- src/organization/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../backgroundImageRequestBuilder.ts | 16 +- .../bannerLogo/bannerLogoRequestBuilder.ts | 16 +- .../item/branding/brandingRequestBuilder.ts | 6 +- .../customCSS/customCSSRequestBuilder.ts | 16 +- .../branding/favicon/faviconRequestBuilder.ts | 16 +- .../headerLogo/headerLogoRequestBuilder.ts | 16 +- .../backgroundImageRequestBuilder.ts | 16 +- .../bannerLogo/bannerLogoRequestBuilder.ts | 16 +- .../item/customCSS/customCSSRequestBuilder.ts | 16 +- .../item/favicon/faviconRequestBuilder.ts | 16 +- .../headerLogo/headerLogoRequestBuilder.ts | 16 +- ...lBrandingLocalizationItemRequestBuilder.ts | 6 +- .../squareLogo/squareLogoRequestBuilder.ts | 16 +- .../squareLogoDarkRequestBuilder.ts | 16 +- .../localizationsRequestBuilder.ts | 4 +- .../squareLogo/squareLogoRequestBuilder.ts | 16 +- .../squareLogoDarkRequestBuilder.ts | 16 +- ...ateBasedAuthConfigurationRequestBuilder.ts | 4 +- ...asedAuthConfigurationItemRequestBuilder.ts | 4 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../item/organizationItemRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- ...DeviceManagementAuthorityRequestBuilder.ts | 2 +- .../organizationRequestBuilder.ts | 4 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../validatePropertiesRequestBuilder.ts | 2 +- .../graphRoom/graphRoomRequestBuilder.ts | 2 +- .../graphRoomListRequestBuilder.ts | 2 +- .../item/graphRoom/graphRoomRequestBuilder.ts | 2 +- .../graphRoomListRequestBuilder.ts | 2 +- .../rooms/item/roomItemRequestBuilder.ts | 6 +- .../rooms/roomsRequestBuilder.ts | 4 +- src/places/item/placeItemRequestBuilder.ts | 4 +- src/planner/buckets/bucketsRequestBuilder.ts | 4 +- .../item/plannerBucketItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../buckets/item/tasks/tasksRequestBuilder.ts | 4 +- src/planner/plannerRequestBuilder.ts | 4 +- .../item/buckets/bucketsRequestBuilder.ts | 4 +- .../item/plannerBucketItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../buckets/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerPlanItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../plans/item/tasks/tasksRequestBuilder.ts | 4 +- src/planner/plans/plansRequestBuilder.ts | 4 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- src/planner/tasks/tasksRequestBuilder.ts | 4 +- ...ivityBasedTimeoutPoliciesRequestBuilder.ts | 4 +- ...ityBasedTimeoutPolicyItemRequestBuilder.ts | 6 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- ...adminConsentRequestPolicyRequestBuilder.ts | 6 +- .../appManagementPoliciesRequestBuilder.ts | 4 +- .../appManagementPolicyItemRequestBuilder.ts | 6 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- ...authenticationFlowsPolicyRequestBuilder.ts | 6 +- ...ationMethodConfigurationsRequestBuilder.ts | 4 +- ...onMethodConfigurationItemRequestBuilder.ts | 6 +- ...thenticationMethodsPolicyRequestBuilder.ts | 6 +- ...nticationStrengthPoliciesRequestBuilder.ts | 4 +- ...icationStrengthPolicyItemRequestBuilder.ts | 6 +- ...combinationConfigurationsRequestBuilder.ts | 4 +- ...binationConfigurationItemRequestBuilder.ts | 6 +- ...updateAllowedCombinationsRequestBuilder.ts | 2 +- .../item/usage/usageRequestBuilder.ts | 2 +- .../authorizationPolicyRequestBuilder.ts | 6 +- .../claimsMappingPoliciesRequestBuilder.ts | 4 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../claimsMappingPolicyItemRequestBuilder.ts | 6 +- ...conditionalAccessPoliciesRequestBuilder.ts | 4 +- ...nditionalAccessPolicyItemRequestBuilder.ts | 6 +- .../crossTenantAccessPolicyRequestBuilder.ts | 6 +- .../defaultEscaped/defaultRequestBuilder.ts | 6 +- .../resetToSystemDefaultRequestBuilder.ts | 2 +- ...gurationPartnerTenantItemRequestBuilder.ts | 6 +- .../identitySynchronizationRequestBuilder.ts | 6 +- .../partners/partnersRequestBuilder.ts | 4 +- ...efaultAppManagementPolicyRequestBuilder.ts | 6 +- .../featureRolloutPoliciesRequestBuilder.ts | 4 +- .../item/appliesTo/appliesToRequestBuilder.ts | 4 +- .../appliesTo/item/ref/refRequestBuilder.ts | 2 +- .../item/appliesTo/ref/refRequestBuilder.ts | 4 +- .../featureRolloutPolicyItemRequestBuilder.ts | 6 +- ...omeRealmDiscoveryPoliciesRequestBuilder.ts | 4 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- ...eRealmDiscoveryPolicyItemRequestBuilder.ts | 6 +- ...DefaultsEnforcementPolicyRequestBuilder.ts | 6 +- .../item/excludes/excludesRequestBuilder.ts | 4 +- ...sionGrantConditionSetItemRequestBuilder.ts | 6 +- .../item/includes/includesRequestBuilder.ts | 4 +- ...sionGrantConditionSetItemRequestBuilder.ts | 6 +- ...permissionGrantPolicyItemRequestBuilder.ts | 6 +- .../permissionGrantPoliciesRequestBuilder.ts | 4 +- src/policies/policiesRequestBuilder.ts | 4 +- .../effectiveRulesRequestBuilder.ts | 4 +- ...eManagementPolicyRuleItemRequestBuilder.ts | 6 +- ...eManagementPolicyRuleItemRequestBuilder.ts | 6 +- .../item/rules/rulesRequestBuilder.ts | 4 +- ...dRoleManagementPolicyItemRequestBuilder.ts | 6 +- .../roleManagementPoliciesRequestBuilder.ts | 4 +- .../item/policy/policyRequestBuilder.ts | 2 +- ...ementPolicyAssignmentItemRequestBuilder.ts | 6 +- ...nagementPolicyAssignmentsRequestBuilder.ts | 4 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../tokenIssuancePolicyItemRequestBuilder.ts | 6 +- .../tokenIssuancePoliciesRequestBuilder.ts | 4 +- .../item/appliesTo/appliesToRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../tokenLifetimePolicyItemRequestBuilder.ts | 6 +- .../tokenLifetimePoliciesRequestBuilder.ts | 4 +- .../connectors/connectorsRequestBuilder.ts | 4 +- .../item/printConnectorItemRequestBuilder.ts | 6 +- .../item/printOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- src/print/printRequestBuilder.ts | 4 +- .../printers/create/createPostRequestBody.ts | 2 +- .../printers/create/createRequestBuilder.ts | 2 +- .../connectors/connectorsRequestBuilder.ts | 2 +- .../item/printConnectorItemRequestBuilder.ts | 2 +- .../jobs/item/abort/abortRequestBuilder.ts | 2 +- .../jobs/item/cancel/cancelRequestBuilder.ts | 2 +- .../item/documents/documentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/printDocumentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../jobs/item/printJobItemRequestBuilder.ts | 6 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- .../item/redirect/redirectRequestBuilder.ts | 2 +- .../jobs/item/start/startRequestBuilder.ts | 2 +- .../definition/definitionRequestBuilder.ts | 2 +- .../tasks/item/printTaskItemRequestBuilder.ts | 6 +- .../item/trigger/triggerRequestBuilder.ts | 2 +- .../jobs/item/tasks/tasksRequestBuilder.ts | 4 +- .../printers/item/jobs/jobsRequestBuilder.ts | 4 +- .../item/printerItemRequestBuilder.ts | 6 +- .../restoreFactoryDefaultsRequestBuilder.ts | 2 +- .../item/printerShareItemRequestBuilder.ts | 2 +- .../item/shares/sharesRequestBuilder.ts | 2 +- .../definition/definitionRequestBuilder.ts | 2 +- .../printTaskTriggerItemRequestBuilder.ts | 6 +- .../taskTriggersRequestBuilder.ts | 4 +- src/print/printers/printersRequestBuilder.ts | 4 +- .../item/endpoints/endpointsRequestBuilder.ts | 4 +- .../printServiceEndpointItemRequestBuilder.ts | 6 +- .../item/printServiceItemRequestBuilder.ts | 6 +- src/print/services/servicesRequestBuilder.ts | 4 +- .../allowedGroupsRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../allowedGroups/ref/refRequestBuilder.ts | 4 +- .../allowedUsersRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- .../item/ref/refRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../allowedUsers/ref/refRequestBuilder.ts | 4 +- .../jobs/item/abort/abortRequestBuilder.ts | 2 +- .../jobs/item/cancel/cancelRequestBuilder.ts | 2 +- .../item/documents/documentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/printDocumentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../jobs/item/printJobItemRequestBuilder.ts | 6 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- .../item/redirect/redirectRequestBuilder.ts | 2 +- .../jobs/item/start/startRequestBuilder.ts | 2 +- .../definition/definitionRequestBuilder.ts | 2 +- .../tasks/item/printTaskItemRequestBuilder.ts | 6 +- .../item/trigger/triggerRequestBuilder.ts | 2 +- .../jobs/item/tasks/tasksRequestBuilder.ts | 4 +- .../shares/item/jobs/jobsRequestBuilder.ts | 4 +- .../item/printer/printerRequestBuilder.ts | 2 +- .../item/printerShareItemRequestBuilder.ts | 6 +- src/print/shares/sharesRequestBuilder.ts | 4 +- .../printTaskDefinitionItemRequestBuilder.ts | 6 +- .../definition/definitionRequestBuilder.ts | 2 +- .../tasks/item/printTaskItemRequestBuilder.ts | 6 +- .../item/trigger/triggerRequestBuilder.ts | 2 +- .../item/tasks/tasksRequestBuilder.ts | 4 +- .../taskDefinitionsRequestBuilder.ts | 4 +- src/privacy/privacyRequestBuilder.ts | 4 +- .../item/approvers/approversRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../approvers/item/userItemRequestBuilder.ts | 2 +- .../collaboratorsRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/userItemRequestBuilder.ts | 2 +- .../getFinalAttachmentRequestBuilder.ts | 2 +- .../getFinalReportRequestBuilder.ts | 2 +- .../item/authoredNoteItemRequestBuilder.ts | 6 +- .../item/notes/notesRequestBuilder.ts | 4 +- .../subjectRightsRequestItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../subjectRightsRequestsRequestBuilder.ts | 4 +- .../authenticationMethodsRequestBuilder.ts | 6 +- ...erRegistrationDetailsItemRequestBuilder.ts | 6 +- .../userRegistrationDetailsRequestBuilder.ts | 4 +- .../usersRegisteredByFeatureRequestBuilder.ts | 2 +- ...ypesWithIncludedUserRolesRequestBuilder.ts | 2 +- .../usersRegisteredByMethodRequestBuilder.ts | 2 +- ...ypesWithIncludedUserRolesRequestBuilder.ts | 2 +- .../dailyPrintUsageByPrinterRequestBuilder.ts | 4 +- .../printUsageByPrinterItemRequestBuilder.ts | 6 +- .../dailyPrintUsageByUserRequestBuilder.ts | 4 +- .../printUsageByUserItemRequestBuilder.ts | 6 +- ...nfigurationDeviceActivityRequestBuilder.ts | 2 +- ...ConfigurationUserActivityRequestBuilder.ts | 2 +- ...lActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...eAppsUserCountsWithPeriodRequestBuilder.ts | 2 +- ...UsageUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ppUsageUserDetailWithDateRequestBuilder.ts | 2 +- ...UsageUserDetailWithPeriodRequestBuilder.ts | 2 +- ...sionsUserCountsWithPeriodRequestBuilder.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- ...tformUserCountsWithPeriodRequestBuilder.ts | 2 +- ...65AppUserCountsWithPeriodRequestBuilder.ts | 2 +- ...M365AppUserDetailWithDateRequestBuilder.ts | 2 +- ...65AppUserDetailWithPeriodRequestBuilder.ts | 2 +- ...lboxUsageDetailWithPeriodRequestBuilder.ts | 2 +- ...geMailboxCountsWithPeriodRequestBuilder.ts | 2 +- ...usMailboxCountsWithPeriodRequestBuilder.ts | 2 +- ...boxUsageStorageWithPeriodRequestBuilder.ts | 2 +- ...Office365ActivationCountsRequestBuilder.ts | 2 +- ...e365ActivationsUserCountsRequestBuilder.ts | 2 +- ...e365ActivationsUserDetailRequestBuilder.ts | 2 +- ...ctiveUserCountsWithPeriodRequestBuilder.ts | 2 +- ...5ActiveUserDetailWithDateRequestBuilder.ts | 2 +- ...ctiveUserDetailWithPeriodRequestBuilder.ts | 2 +- ...sActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...upsActivityDetailWithDateRequestBuilder.ts | 2 +- ...sActivityDetailWithPeriodRequestBuilder.ts | 2 +- ...ivityFileCountsWithPeriodRequestBuilder.ts | 2 +- ...vityGroupCountsWithPeriodRequestBuilder.ts | 2 +- ...ActivityStorageWithPeriodRequestBuilder.ts | 2 +- ...vicesUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityFileCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...geAccountCountsWithPeriodRequestBuilder.ts | 2 +- ...sageAccountDetailWithDateRequestBuilder.ts | 2 +- ...geAccountDetailWithPeriodRequestBuilder.ts | 2 +- ...UsageFileCountsWithPeriodRequestBuilder.ts | 2 +- ...iveUsageStorageWithPeriodRequestBuilder.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- ...ivityFileCountsWithPeriodRequestBuilder.ts | 2 +- ...ntActivityPagesWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...ntSiteUsageDetailWithDateRequestBuilder.ts | 2 +- ...SiteUsageDetailWithPeriodRequestBuilder.ts | 2 +- ...UsageFileCountsWithPeriodRequestBuilder.ts | 2 +- ...tSiteUsagePagesWithPeriodRequestBuilder.ts | 2 +- ...UsageSiteCountsWithPeriodRequestBuilder.ts | 2 +- ...iteUsageStorageWithPeriodRequestBuilder.ts | 2 +- ...sActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...utionUserCountsWithPeriodRequestBuilder.ts | 2 +- ...UsageUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ceUsageUserDetailWithDateRequestBuilder.ts | 2 +- ...UsageUserDetailWithPeriodRequestBuilder.ts | 2 +- ...rActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ityMinuteCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...tActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ityMinuteCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...rActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ityMinuteCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...utionUserCountsWithPeriodRequestBuilder.ts | 2 +- ...UsageUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ceUsageUserDetailWithDateRequestBuilder.ts | 2 +- ...UsageUserDetailWithPeriodRequestBuilder.ts | 2 +- ...mActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...eamActivityDetailWithDateRequestBuilder.ts | 2 +- ...mActivityDetailWithPeriodRequestBuilder.ts | 2 +- ...tributionCountsWithPeriodRequestBuilder.ts | 2 +- ...TeamsTeamCountsWithPeriodRequestBuilder.ts | 2 +- ...rActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- ...rActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...ivityUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ctivityUserDetailWithDateRequestBuilder.ts | 2 +- ...ivityUserDetailWithPeriodRequestBuilder.ts | 2 +- ...utionUserCountsWithPeriodRequestBuilder.ts | 2 +- ...UsageUserCountsWithPeriodRequestBuilder.ts | 2 +- ...ceUsageUserDetailWithDateRequestBuilder.ts | 2 +- ...UsageUserDetailWithPeriodRequestBuilder.ts | 2 +- ...sActivityCountsWithPeriodRequestBuilder.ts | 2 +- ...upsActivityDetailWithDateRequestBuilder.ts | 2 +- ...sActivityDetailWithPeriodRequestBuilder.ts | 2 +- ...vityGroupCountsWithPeriodRequestBuilder.ts | 2 +- ...eEnrollmentFailureDetailsRequestBuilder.ts | 2 +- ...opWithFilterWithSkipTokenRequestBuilder.ts | 2 +- ...viceEnrollmentTopFailuresRequestBuilder.ts | 2 +- ...mentTopFailuresWithPeriodRequestBuilder.ts | 2 +- .../printUsageByPrinterItemRequestBuilder.ts | 6 +- ...onthlyPrintUsageByPrinterRequestBuilder.ts | 4 +- .../printUsageByUserItemRequestBuilder.ts | 6 +- .../monthlyPrintUsageByUserRequestBuilder.ts | 4 +- src/reports/reportsRequestBuilder.ts | 4 +- ...ackSimulationRepeatOffendersGetResponse.ts | 2 +- ...SimulationRepeatOffendersRequestBuilder.ts | 2 +- ...lationSimulationUserCoverageGetResponse.ts | 2 +- ...ionSimulationUserCoverageRequestBuilder.ts | 2 +- ...mulationTrainingUserCoverageGetResponse.ts | 2 +- ...ationTrainingUserCoverageRequestBuilder.ts | 2 +- .../security/securityRequestBuilder.ts | 6 +- .../directory/directoryRequestBuilder.ts | 6 +- ...iedRbacResourceActionItemRequestBuilder.ts | 6 +- .../resourceActionsRequestBuilder.ts | 4 +- ...RbacResourceNamespaceItemRequestBuilder.ts | 6 +- .../resourceNamespacesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...nmentScheduleInstanceItemRequestBuilder.ts | 6 +- ...signmentScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../targetScheduleRequestBuilder.ts | 2 +- ...gnmentScheduleRequestItemRequestBuilder.ts | 6 +- ...ssignmentScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...oleAssignmentScheduleItemRequestBuilder.ts | 6 +- .../roleAssignmentSchedulesRequestBuilder.ts | 4 +- .../item/appScope/appScopeRequestBuilder.ts | 6 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...unifiedRoleAssignmentItemRequestBuilder.ts | 6 +- .../roleAssignmentsRequestBuilder.ts | 4 +- .../inheritsPermissionsFromRequestBuilder.ts | 4 +- ...unifiedRoleDefinitionItemRequestBuilder.ts | 6 +- ...unifiedRoleDefinitionItemRequestBuilder.ts | 6 +- .../roleDefinitionsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...ilityScheduleInstanceItemRequestBuilder.ts | 6 +- ...gibilityScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../targetScheduleRequestBuilder.ts | 2 +- ...bilityScheduleRequestItemRequestBuilder.ts | 6 +- ...igibilityScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...leEligibilityScheduleItemRequestBuilder.ts | 6 +- .../roleEligibilitySchedulesRequestBuilder.ts | 4 +- .../entitlementManagementRequestBuilder.ts | 6 +- ...iedRbacResourceActionItemRequestBuilder.ts | 6 +- .../resourceActionsRequestBuilder.ts | 4 +- ...RbacResourceNamespaceItemRequestBuilder.ts | 6 +- .../resourceNamespacesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...nmentScheduleInstanceItemRequestBuilder.ts | 6 +- ...signmentScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../targetScheduleRequestBuilder.ts | 2 +- ...gnmentScheduleRequestItemRequestBuilder.ts | 6 +- ...ssignmentScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../activatedUsingRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...oleAssignmentScheduleItemRequestBuilder.ts | 6 +- .../roleAssignmentSchedulesRequestBuilder.ts | 4 +- .../item/appScope/appScopeRequestBuilder.ts | 6 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...unifiedRoleAssignmentItemRequestBuilder.ts | 6 +- .../roleAssignmentsRequestBuilder.ts | 4 +- .../inheritsPermissionsFromRequestBuilder.ts | 4 +- ...unifiedRoleDefinitionItemRequestBuilder.ts | 6 +- ...unifiedRoleDefinitionItemRequestBuilder.ts | 6 +- .../roleDefinitionsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...ilityScheduleInstanceItemRequestBuilder.ts | 6 +- ...gibilityScheduleInstancesRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- .../targetScheduleRequestBuilder.ts | 2 +- ...bilityScheduleRequestItemRequestBuilder.ts | 6 +- ...igibilityScheduleRequestsRequestBuilder.ts | 4 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...filterByCurrentUserWithOnRequestBuilder.ts | 2 +- .../item/appScope/appScopeRequestBuilder.ts | 2 +- .../directoryScopeRequestBuilder.ts | 2 +- .../item/principal/principalRequestBuilder.ts | 2 +- .../roleDefinitionRequestBuilder.ts | 2 +- ...leEligibilityScheduleItemRequestBuilder.ts | 6 +- .../roleEligibilitySchedulesRequestBuilder.ts | 4 +- .../roleManagementRequestBuilder.ts | 4 +- .../item/schemaExtensionItemRequestBuilder.ts | 6 +- .../schemaExtensionsRequestBuilder.ts | 4 +- .../scopedRoleMembershipItemRequestBuilder.ts | 6 +- .../scopedRoleMembershipsRequestBuilder.ts | 4 +- src/search/query/queryPostRequestBody.ts | 2 +- src/search/query/queryPostResponse.ts | 2 +- src/search/query/queryRequestBuilder.ts | 2 +- src/search/searchRequestBuilder.ts | 4 +- src/security/alerts/alertsRequestBuilder.ts | 4 +- .../alerts/item/alertItemRequestBuilder.ts | 4 +- .../alerts_v2/alerts_v2RequestBuilder.ts | 4 +- .../alerts_v2/item/alertItemRequestBuilder.ts | 6 +- .../item/comments/commentsRequestBuilder.ts | 2 +- .../attackSimulationRequestBuilder.ts | 6 +- .../endUserNotificationsRequestBuilder.ts | 9 +- .../item/details/detailsRequestBuilder.ts | 4 +- ...serNotificationDetailItemRequestBuilder.ts | 6 +- .../endUserNotificationItemRequestBuilder.ts | 10 +- .../item/details/detailsRequestBuilder.ts | 8 +- .../landingPageDetailItemRequestBuilder.ts | 10 +- .../item/landingPageItemRequestBuilder.ts | 10 +- .../landingPagesRequestBuilder.ts | 9 +- .../item/loginPageItemRequestBuilder.ts | 10 +- .../loginPages/loginPagesRequestBuilder.ts | 9 +- ...ckSimulationOperationItemRequestBuilder.ts | 11 +- .../operations/operationsRequestBuilder.ts | 8 +- .../item/payloadItemRequestBuilder.ts | 10 +- .../payloads/payloadsRequestBuilder.ts | 9 +- ...mulationAutomationRunItemRequestBuilder.ts | 6 +- .../item/runs/runsRequestBuilder.ts | 4 +- .../simulationAutomationItemRequestBuilder.ts | 6 +- .../simulationAutomationsRequestBuilder.ts | 4 +- .../landingPage/landingPageRequestBuilder.ts | 6 +- .../item/loginPage/loginPageRequestBuilder.ts | 6 +- .../item/payload/payloadRequestBuilder.ts | 6 +- .../item/simulationItemRequestBuilder.ts | 16 +- .../simulations/simulationsRequestBuilder.ts | 9 +- ...rainingLanguageDetailItemRequestBuilder.ts | 10 +- .../languageDetailsRequestBuilder.ts | 8 +- .../item/trainingItemRequestBuilder.ts | 10 +- .../trainings/trainingsRequestBuilder.ts | 9 +- src/security/cases/casesRequestBuilder.ts | 6 +- .../ediscoveryCasesRequestBuilder.ts | 4 +- .../custodians/custodiansRequestBuilder.ts | 4 +- .../ediscoveryCustodianItemRequestBuilder.ts | 6 +- .../lastIndexOperationRequestBuilder.ts | 2 +- ...softGraphSecurityActivateRequestBuilder.ts | 2 +- ...oftGraphSecurityApplyHoldRequestBuilder.ts | 2 +- ...osoftGraphSecurityReleaseRequestBuilder.ts | 2 +- ...ftGraphSecurityRemoveHoldRequestBuilder.ts | 2 +- ...tGraphSecurityUpdateIndexRequestBuilder.ts | 2 +- .../item/site/siteRequestBuilder.ts | 2 +- .../item/siteSourceItemRequestBuilder.ts | 6 +- .../siteSources/siteSourcesRequestBuilder.ts | 4 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../unifiedGroupSourceItemRequestBuilder.ts | 6 +- .../unifiedGroupSourcesRequestBuilder.ts | 4 +- .../item/userSourceItemRequestBuilder.ts | 6 +- .../userSources/userSourcesRequestBuilder.ts | 4 +- ...oftGraphSecurityApplyHoldRequestBuilder.ts | 2 +- ...ftGraphSecurityRemoveHoldRequestBuilder.ts | 2 +- .../item/ediscoveryCaseItemRequestBuilder.ts | 6 +- ...crosoftGraphSecurityCloseRequestBuilder.ts | 2 +- ...rosoftGraphSecurityReopenRequestBuilder.ts | 2 +- .../dataSource/dataSourceRequestBuilder.ts | 6 +- ...oncustodialDataSourceItemRequestBuilder.ts | 6 +- .../lastIndexOperationRequestBuilder.ts | 2 +- ...oftGraphSecurityApplyHoldRequestBuilder.ts | 2 +- ...osoftGraphSecurityReleaseRequestBuilder.ts | 2 +- ...ftGraphSecurityRemoveHoldRequestBuilder.ts | 2 +- ...tGraphSecurityUpdateIndexRequestBuilder.ts | 2 +- ...oftGraphSecurityApplyHoldRequestBuilder.ts | 2 +- ...ftGraphSecurityRemoveHoldRequestBuilder.ts | 2 +- .../noncustodialDataSourcesRequestBuilder.ts | 4 +- .../item/caseOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../ediscoveryReviewSetItemRequestBuilder.ts | 6 +- .../addToReviewSetPostRequestBody.ts | 2 +- ...aphSecurityAddToReviewSetRequestBuilder.ts | 2 +- ...rosoftGraphSecurityExportRequestBuilder.ts | 2 +- ...scoveryReviewSetQueryItemRequestBuilder.ts | 6 +- .../applyTagsPostRequestBody.ts | 4 +- ...oftGraphSecurityApplyTagsRequestBuilder.ts | 2 +- ...rosoftGraphSecurityExportRequestBuilder.ts | 2 +- .../item/queries/queriesRequestBuilder.ts | 4 +- .../reviewSets/reviewSetsRequestBuilder.ts | 4 +- .../addToReviewSetOperationRequestBuilder.ts | 2 +- .../additionalSourcesRequestBuilder.ts | 4 +- .../item/dataSourceItemRequestBuilder.ts | 6 +- .../custodianSourcesRequestBuilder.ts | 2 +- .../item/dataSourceItemRequestBuilder.ts | 4 +- .../ediscoverySearchItemRequestBuilder.ts | 6 +- ...timateStatisticsOperationRequestBuilder.ts | 2 +- ...ecurityEstimateStatisticsRequestBuilder.ts | 2 +- ...oftGraphSecurityPurgeDataRequestBuilder.ts | 2 +- ...oncustodialDataSourceItemRequestBuilder.ts | 4 +- .../noncustodialSourcesRequestBuilder.ts | 2 +- .../item/searches/searchesRequestBuilder.ts | 4 +- ...aphSecurityResetToDefaultRequestBuilder.ts | 2 +- .../item/settings/settingsRequestBuilder.ts | 6 +- .../item/childTags/childTagsRequestBuilder.ts | 2 +- .../ediscoveryReviewTagItemRequestBuilder.ts | 2 +- .../ediscoveryReviewTagItemRequestBuilder.ts | 6 +- .../tags/item/parent/parentRequestBuilder.ts | 2 +- .../asHierarchyGetResponse.ts | 2 +- ...tGraphSecurityAsHierarchyRequestBuilder.ts | 2 +- .../item/tags/tagsRequestBuilder.ts | 4 +- .../incidents/incidentsRequestBuilder.ts | 4 +- .../item/alerts/alertsRequestBuilder.ts | 2 +- .../alerts/item/alertItemRequestBuilder.ts | 2 +- .../item/comments/commentsRequestBuilder.ts | 2 +- .../item/incidentItemRequestBuilder.ts | 6 +- ...phSecurityRunHuntingQueryRequestBuilder.ts | 2 +- ...reScoreControlProfileItemRequestBuilder.ts | 6 +- ...ecureScoreControlProfilesRequestBuilder.ts | 4 +- .../item/secureScoreItemRequestBuilder.ts | 6 +- .../secureScoresRequestBuilder.ts | 4 +- src/security/securityRequestBuilder.ts | 4 +- .../item/approvers/approversRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../approvers/item/userItemRequestBuilder.ts | 2 +- .../collaboratorsRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/userItemRequestBuilder.ts | 2 +- .../getFinalAttachmentRequestBuilder.ts | 2 +- .../getFinalReportRequestBuilder.ts | 2 +- .../item/authoredNoteItemRequestBuilder.ts | 6 +- .../item/notes/notesRequestBuilder.ts | 4 +- .../subjectRightsRequestItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../subjectRightsRequestsRequestBuilder.ts | 4 +- .../articleIndicatorsRequestBuilder.ts | 4 +- .../articleIndicatorItemRequestBuilder.ts | 6 +- .../item/artifact/artifactRequestBuilder.ts | 2 +- .../articles/articlesRequestBuilder.ts | 4 +- .../item/articleItemRequestBuilder.ts | 6 +- .../indicators/indicatorsRequestBuilder.ts | 2 +- .../articleIndicatorItemRequestBuilder.ts | 2 +- .../hostComponentsRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../item/hostComponentItemRequestBuilder.ts | 6 +- .../hostCookies/hostCookiesRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../item/hostCookieItemRequestBuilder.ts | 6 +- .../hostPairs/hostPairsRequestBuilder.ts | 4 +- .../item/childHost/childHostRequestBuilder.ts | 2 +- .../item/hostPairItemRequestBuilder.ts | 6 +- .../parentHost/parentHostRequestBuilder.ts | 2 +- .../hostPorts/count/countRequestBuilder.ts | 88 ++++++++ .../hostPorts/count/index.ts | 1 + .../hostPorts/hostPortsRequestBuilder.ts | 180 ++++++++++++++++ .../threatIntelligence/hostPorts/index.ts | 1 + .../hostPorts/item/host/hostRequestBuilder.ts | 90 ++++++++ .../hostPorts/item/host/index.ts | 1 + .../item/hostPortItemRequestBuilder.ts | 191 +++++++++++++++++ .../hostPorts/item/index.ts | 1 + .../item/mostRecentSslCertificate/index.ts | 1 + .../mostRecentSslCertificateRequestBuilder.ts | 90 ++++++++ .../hostSslCertificatesRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../hostSslCertificateItemRequestBuilder.ts | 6 +- .../sslCertificateRequestBuilder.ts | 2 +- .../hostTrackersRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../item/hostTrackerItemRequestBuilder.ts | 6 +- .../hosts/hostsRequestBuilder.ts | 4 +- .../childHostPairsRequestBuilder.ts | 2 +- .../item/hostPairItemRequestBuilder.ts | 2 +- .../components/componentsRequestBuilder.ts | 2 +- .../item/hostComponentItemRequestBuilder.ts | 2 +- .../item/cookies/cookiesRequestBuilder.ts | 2 +- .../item/hostCookieItemRequestBuilder.ts | 2 +- .../hosts/item/hostItemRequestBuilder.ts | 13 +- .../item/hostPairs/hostPairsRequestBuilder.ts | 2 +- .../item/hostPairItemRequestBuilder.ts | 2 +- .../item/hostPairItemRequestBuilder.ts | 2 +- .../parentHostPairsRequestBuilder.ts | 2 +- .../passiveDnsRecordItemRequestBuilder.ts | 2 +- .../passiveDns/passiveDnsRequestBuilder.ts | 2 +- .../passiveDnsRecordItemRequestBuilder.ts | 2 +- .../passiveDnsReverseRequestBuilder.ts | 2 +- .../item/ports/count/countRequestBuilder.ts | 88 ++++++++ .../hosts/item/ports/count/index.ts | 1 + .../hosts/item/ports/index.ts | 1 + .../ports/item/hostPortItemRequestBuilder.ts | 90 ++++++++ .../hosts/item/ports/item/index.ts | 1 + .../hosts/item/ports/portsRequestBuilder.ts | 134 ++++++++++++ .../reputation/reputationRequestBuilder.ts | 6 +- .../hostSslCertificateItemRequestBuilder.ts | 2 +- .../sslCertificatesRequestBuilder.ts | 2 +- .../item/subdomainItemRequestBuilder.ts | 2 +- .../subdomains/subdomainsRequestBuilder.ts | 2 +- .../item/hostTrackerItemRequestBuilder.ts | 2 +- .../item/trackers/trackersRequestBuilder.ts | 2 +- .../hosts/item/whois/whoisRequestBuilder.ts | 2 +- .../intelProfilesRequestBuilder.ts | 4 +- .../indicators/indicatorsRequestBuilder.ts | 2 +- ...genceProfileIndicatorItemRequestBuilder.ts | 2 +- .../intelligenceProfileItemRequestBuilder.ts | 6 +- ...lligenceProfileIndicatorsRequestBuilder.ts | 4 +- .../item/artifact/artifactRequestBuilder.ts | 2 +- ...genceProfileIndicatorItemRequestBuilder.ts | 6 +- .../item/artifact/artifactRequestBuilder.ts | 2 +- .../parentHost/parentHostRequestBuilder.ts | 2 +- .../passiveDnsRecordItemRequestBuilder.ts | 6 +- .../passiveDnsRecordsRequestBuilder.ts | 4 +- .../item/hostItemRequestBuilder.ts | 2 +- .../relatedHostsRequestBuilder.ts | 2 +- .../item/sslCertificateItemRequestBuilder.ts | 6 +- .../sslCertificatesRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../item/subdomainItemRequestBuilder.ts | 6 +- .../subdomains/subdomainsRequestBuilder.ts | 4 +- .../threatIntelligenceRequestBuilder.ts | 13 +- .../item/articles/articlesRequestBuilder.ts | 2 +- .../item/articleItemRequestBuilder.ts | 2 +- .../components/componentsRequestBuilder.ts | 4 +- ...ulnerabilityComponentItemRequestBuilder.ts | 6 +- .../item/vulnerabilityItemRequestBuilder.ts | 6 +- .../vulnerabilitiesRequestBuilder.ts | 4 +- .../item/host/hostRequestBuilder.ts | 2 +- .../whoisHistoryRecordItemRequestBuilder.ts | 6 +- .../whoisHistoryRecordsRequestBuilder.ts | 4 +- .../item/history/historyRequestBuilder.ts | 2 +- .../whoisHistoryRecordItemRequestBuilder.ts | 2 +- .../item/host/hostRequestBuilder.ts | 2 +- .../item/whoisRecordItemRequestBuilder.ts | 6 +- .../whoisRecordsRequestBuilder.ts | 4 +- .../retentionEventTypeItemRequestBuilder.ts | 6 +- .../retentionEventTypesRequestBuilder.ts | 4 +- .../triggerTypesRequestBuilder.ts | 6 +- .../item/retentionEventItemRequestBuilder.ts | 6 +- .../retentionEventTypeRequestBuilder.ts | 2 +- .../retentionEventsRequestBuilder.ts | 4 +- .../triggers/triggersRequestBuilder.ts | 6 +- .../delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../getByIds/getByIdsRequestBuilder.ts | 2 +- .../item/addKey/addKeyPostRequestBody.ts | 4 +- .../item/addKey/addKeyRequestBuilder.ts | 2 +- .../addPassword/addPasswordPostRequestBody.ts | 2 +- .../addPassword/addPasswordRequestBuilder.ts | 2 +- ...ddTokenSigningCertificateRequestBuilder.ts | 2 +- .../appManagementPoliciesRequestBuilder.ts | 2 +- .../appManagementPolicyItemRequestBuilder.ts | 4 +- .../appRoleAssignedToRequestBuilder.ts | 4 +- .../appRoleAssignmentItemRequestBuilder.ts | 6 +- .../appRoleAssignmentsRequestBuilder.ts | 4 +- .../appRoleAssignmentItemRequestBuilder.ts | 6 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../claimsMappingPoliciesRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../createdObjectsRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- ...PermissionClassificationsRequestBuilder.ts | 4 +- ...missionClassificationItemRequestBuilder.ts | 6 +- .../item/endpoints/endpointsRequestBuilder.ts | 4 +- .../item/endpointItemRequestBuilder.ts | 6 +- ...eratedIdentityCredentialsRequestBuilder.ts | 4 +- ...tedIdentityCredentialItemRequestBuilder.ts | 6 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- ...omeRealmDiscoveryPoliciesRequestBuilder.ts | 2 +- .../item/ref/refRequestBuilder.ts | 2 +- .../ref/refRequestBuilder.ts | 4 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/memberOf/memberOfRequestBuilder.ts | 2 +- ...oAuth2PermissionGrantItemRequestBuilder.ts | 2 +- .../oauth2PermissionGrantsRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../ownedObjectsRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- .../item/owners/item/ref/refRequestBuilder.ts | 2 +- .../item/owners/ownersRequestBuilder.ts | 2 +- .../item/owners/ref/refRequestBuilder.ts | 4 +- ...ktopSecurityConfigurationRequestBuilder.ts | 21 +- .../targetDeviceGroupItemRequestBuilder.ts | 21 +- .../targetDeviceGroupsRequestBuilder.ts | 14 +- .../item/removeKey/removeKeyRequestBuilder.ts | 2 +- .../removePasswordRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../servicePrincipalItemRequestBuilder.ts | 6 +- .../acquireAccessTokenPostRequestBody.ts | 2 +- .../acquireAccessTokenRequestBuilder.ts | 2 +- .../jobs/item/pause/pauseRequestBuilder.ts | 2 +- .../provisionOnDemandPostRequestBody.ts | 2 +- .../provisionOnDemandRequestBuilder.ts | 2 +- .../item/restart/restartPostRequestBody.ts | 2 +- .../item/restart/restartRequestBuilder.ts | 2 +- .../directories/directoriesRequestBuilder.ts | 4 +- .../directoryDefinitionItemRequestBuilder.ts | 6 +- .../item/discover/discoverRequestBuilder.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../filterOperatorsRequestBuilder.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../functions/functionsRequestBuilder.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../parseExpressionRequestBuilder.ts | 2 +- .../jobs/item/schema/schemaRequestBuilder.ts | 6 +- .../jobs/item/start/startRequestBuilder.ts | 2 +- .../synchronizationJobItemRequestBuilder.ts | 6 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsRequestBuilder.ts | 2 +- .../jobs/jobsRequestBuilder.ts | 4 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsRequestBuilder.ts | 2 +- .../secrets/secretsRequestBuilder.ts | 2 +- .../synchronizationRequestBuilder.ts | 6 +- .../directories/directoriesRequestBuilder.ts | 4 +- .../directoryDefinitionItemRequestBuilder.ts | 6 +- .../item/discover/discoverRequestBuilder.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../filterOperatorsRequestBuilder.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../functions/functionsRequestBuilder.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../parseExpressionRequestBuilder.ts | 2 +- .../item/schema/schemaRequestBuilder.ts | 6 +- ...nchronizationTemplateItemRequestBuilder.ts | 6 +- .../templates/templatesRequestBuilder.ts | 4 +- .../tokenIssuancePolicyItemRequestBuilder.ts | 2 +- .../tokenIssuancePoliciesRequestBuilder.ts | 2 +- .../tokenLifetimePolicyItemRequestBuilder.ts | 2 +- .../tokenLifetimePoliciesRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 2 +- .../servicePrincipalsRequestBuilder.ts | 4 +- .../validatePropertiesRequestBuilder.ts | 2 +- ...ervicePrincipalsWithAppIdRequestBuilder.ts | 6 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../item/content/contentRequestBuilder.ts | 4 +- .../items/item/driveItemItemRequestBuilder.ts | 2 +- src/shares/item/items/itemsRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../list/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 2 +- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/list/drive/driveRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../documentSetVersionsRequestBuilder.ts | 4 +- .../documentSetVersionItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../items/item/fields/fieldsRequestBuilder.ts | 6 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../items/item/listItemItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/listItemVersionItemRequestBuilder.ts | 6 +- .../restoreVersionRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../item/list/items/itemsRequestBuilder.ts | 4 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/shares/item/list/listRequestBuilder.ts | 6 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- .../item/listItem/listItemRequestBuilder.ts | 2 +- .../permission/grant/grantPostRequestBody.ts | 2 +- .../permission/grant/grantPostResponse.ts | 2 +- .../permission/grant/grantRequestBuilder.ts | 2 +- .../permission/permissionRequestBuilder.ts | 6 +- .../root/content/contentRequestBuilder.ts | 4 +- src/shares/item/root/rootRequestBuilder.ts | 2 +- .../item/sharedDriveItemItemRequestBuilder.ts | 6 +- src/shares/item/site/siteRequestBuilder.ts | 2 +- src/shares/sharesRequestBuilder.ts | 4 +- src/sites/add/addPostRequestBody.ts | 2 +- src/sites/add/addPostResponse.ts | 2 +- src/sites/add/addRequestBuilder.ts | 2 +- src/sites/delta/deltaGetResponse.ts | 2 +- src/sites/delta/deltaRequestBuilder.ts | 2 +- .../getAllSites/getAllSitesGetResponse.ts | 2 +- .../getAllSites/getAllSitesRequestBuilder.ts | 2 +- .../allTime/allTimeRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 6 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../item/itemActivityItemRequestBuilder.ts | 6 +- .../itemActivityStatItemRequestBuilder.ts | 6 +- .../itemActivityStatsRequestBuilder.ts | 4 +- .../lastSevenDaysRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 2 +- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- src/sites/item/drive/driveRequestBuilder.ts | 2 +- src/sites/item/drives/drivesRequestBuilder.ts | 2 +- .../drives/item/driveItemRequestBuilder.ts | 2 +- .../externalColumnsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- ...ontentTypesForListWithListIdGetResponse.ts | 2 +- ...entTypesForListWithListIdRequestBuilder.ts | 2 +- .../getByPathWithPathRequestBuilder.ts | 2 +- .../items/item/baseItemItemRequestBuilder.ts | 2 +- src/sites/item/items/itemsRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../addCopy/addCopyRequestBuilder.ts | 2 +- ...addCopyFromContentTypeHubRequestBuilder.ts | 2 +- .../contentTypesRequestBuilder.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...CompatibleHubContentTypesRequestBuilder.ts | 2 +- .../associateWithHubSitesRequestBuilder.ts | 2 +- .../item/base/baseRequestBuilderEscaped.ts | 37 +--- .../item/baseTypes/baseTypesRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 2 +- .../columnLinks/columnLinksRequestBuilder.ts | 4 +- .../item/columnLinkItemRequestBuilder.ts | 6 +- .../columnPositionsRequestBuilder.ts | 2 +- .../columnDefinitionItemRequestBuilder.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 4 +- .../columnDefinitionItemRequestBuilder.ts | 6 +- .../sourceColumnRequestBuilder.ts | 2 +- .../item/contentTypeItemRequestBuilder.ts | 6 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- ...yToDefaultContentLocationRequestBuilder.ts | 2 +- .../isPublished/isPublishedRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../lists/item/drive/driveRequestBuilder.ts | 2 +- .../item/analytics/analyticsRequestBuilder.ts | 2 +- .../createdByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../documentSetVersionsRequestBuilder.ts | 4 +- .../documentSetVersionItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../item/driveItem/driveItemRequestBuilder.ts | 2 +- .../items/item/fields/fieldsRequestBuilder.ts | 6 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- .../getActivitiesByIntervalRequestBuilder.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...thEndDateTimeWithIntervalRequestBuilder.ts | 2 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../items/item/listItemItemRequestBuilder.ts | 6 +- .../item/fields/fieldsRequestBuilder.ts | 6 +- .../item/listItemVersionItemRequestBuilder.ts | 6 +- .../restoreVersionRequestBuilder.ts | 2 +- .../item/versions/versionsRequestBuilder.ts | 4 +- .../lists/item/items/itemsRequestBuilder.ts | 4 +- .../lastModifiedByUserRequestBuilder.ts | 2 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/lists/item/listItemRequestBuilder.ts | 12 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- src/sites/item/lists/listsRequestBuilder.ts | 4 +- .../getNotebookFromWebUrlRequestBuilder.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- ...hIncludePersonalNotebooksRequestBuilder.ts | 2 +- .../copyNotebookRequestBuilder.ts | 2 +- .../item/notebookItemRequestBuilder.ts | 6 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../notebooks/notebooksRequestBuilder.ts | 4 +- .../item/onenote/onenoteRequestBuilder.ts | 6 +- .../onenoteOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/onenote/pages/pagesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/onenoteResourceItemRequestBuilder.ts | 6 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../sections/sectionsRequestBuilder.ts | 4 +- ...hLongRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- .../item/grant/grantRequestBuilder.ts | 2 +- .../item/permissionItemRequestBuilder.ts | 6 +- .../permissions/permissionsRequestBuilder.ts | 4 +- src/sites/item/siteItemRequestBuilder.ts | 4 +- .../item/sites/item/siteItemRequestBuilder.ts | 2 +- src/sites/item/sites/sitesRequestBuilder.ts | 2 +- .../termStore/groups/groupsRequestBuilder.ts | 4 +- .../groups/item/groupItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../groups/item/sets/setsRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../parentGroup/sets/setsRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../item/termStore/sets/setsRequestBuilder.ts | 4 +- .../item/termStore/termStoreRequestBuilder.ts | 6 +- .../item/groups/groupsRequestBuilder.ts | 4 +- .../groups/item/groupItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../groups/item/sets/setsRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../parentGroup/parentGroupRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../parentGroup/sets/setsRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/sets/item/setItemRequestBuilder.ts | 6 +- .../item/children/childrenRequestBuilder.ts | 4 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../children/item/set/setRequestBuilder.ts | 2 +- .../children/item/termItemRequestBuilder.ts | 6 +- .../item/fromTerm/fromTermRequestBuilder.ts | 2 +- .../item/relationItemRequestBuilder.ts | 6 +- .../relations/item/set/setRequestBuilder.ts | 2 +- .../item/toTerm/toTermRequestBuilder.ts | 2 +- .../item/relations/relationsRequestBuilder.ts | 4 +- .../item/terms/item/set/setRequestBuilder.ts | 2 +- .../item/terms/item/termItemRequestBuilder.ts | 6 +- .../sets/item/terms/termsRequestBuilder.ts | 4 +- .../item/sets/setsRequestBuilder.ts | 4 +- .../item/storeItemRequestBuilder.ts | 6 +- .../termStores/termStoresRequestBuilder.ts | 4 +- src/sites/remove/removePostRequestBody.ts | 2 +- src/sites/remove/removePostResponse.ts | 2 +- src/sites/remove/removeRequestBuilder.ts | 2 +- src/sites/sitesRequestBuilder.ts | 8 +- .../bookingBusinessesRequestBuilder.ts | 4 +- .../appointmentsRequestBuilder.ts | 4 +- .../bookingAppointmentItemRequestBuilder.ts | 6 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/bookingBusinessItemRequestBuilder.ts | 6 +- .../calendarViewRequestBuilder.ts | 4 +- .../bookingAppointmentItemRequestBuilder.ts | 6 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../customQuestionsRequestBuilder.ts | 4 +- ...bookingCustomQuestionItemRequestBuilder.ts | 6 +- .../item/customers/customersRequestBuilder.ts | 4 +- .../bookingCustomerBaseItemRequestBuilder.ts | 6 +- .../getStaffAvailabilityPostRequestBody.ts | 4 +- .../getStaffAvailabilityPostResponse.ts | 2 +- .../getStaffAvailabilityRequestBuilder.ts | 2 +- .../item/publish/publishRequestBuilder.ts | 2 +- .../item/bookingServiceItemRequestBuilder.ts | 6 +- .../item/services/servicesRequestBuilder.ts | 4 +- ...ookingStaffMemberBaseItemRequestBuilder.ts | 6 +- .../staffMembersRequestBuilder.ts | 4 +- .../item/unpublish/unpublishRequestBuilder.ts | 2 +- .../bookingCurrenciesRequestBuilder.ts | 4 +- .../item/bookingCurrencyItemRequestBuilder.ts | 6 +- src/solutions/solutionsRequestBuilder.ts | 11 +- .../events}/count/countRequestBuilder.ts | 6 +- .../virtualEvents/events/count/index.ts | 1 + .../events/eventsRequestBuilder.ts | 180 ++++++++++++++++ src/solutions/virtualEvents/events/index.ts | 1 + .../virtualEvents/events/item/index.ts | 1 + .../sessions/count/countRequestBuilder.ts | 88 ++++++++ .../events/item/sessions/count/index.ts | 1 + .../events/item/sessions/index.ts | 1 + .../attendanceReportsRequestBuilder.ts | 180 ++++++++++++++++ .../count/countRequestBuilder.ts | 88 ++++++++ .../item/attendanceReports/count/index.ts | 1 + .../sessions/item/attendanceReports/index.ts | 1 + .../attendanceRecordsRequestBuilder.ts | 181 ++++++++++++++++ .../count/countRequestBuilder.ts | 88 ++++++++ .../item/attendanceRecords/count/index.ts | 1 + .../item/attendanceRecords/index.ts | 1 + .../attendanceRecordItemRequestBuilder.ts | 176 +++++++++++++++ .../item/attendanceRecords/item/index.ts | 1 + .../item/attendanceReports/item/index.ts | 1 + ...etingAttendanceReportItemRequestBuilder.ts | 183 ++++++++++++++++ .../events/item/sessions/item/index.ts | 1 + .../virtualEventSessionItemRequestBuilder.ts | 183 ++++++++++++++++ .../item/sessions/sessionsRequestBuilder.ts | 180 ++++++++++++++++ .../item/virtualEventItemRequestBuilder.ts | 183 ++++++++++++++++ src/solutions/virtualEvents/index.ts | 1 + .../virtualEventsRequestBuilder.ts | 190 ++++++++++++++++ .../webinars}/count/countRequestBuilder.ts | 6 +- .../virtualEvents/webinars/count/index.ts | 1 + ...rIdAndRoleWithUserIdWithRoleGetResponse.ts | 29 +++ ...AndRoleWithUserIdWithRoleRequestBuilder.ts | 114 ++++++++++ .../index.ts | 2 + .../getByUserRoleWithRoleGetResponse.ts | 29 +++ .../getByUserRoleWithRoleRequestBuilder.ts | 112 ++++++++++ .../webinars/getByUserRoleWithRole/index.ts | 2 + src/solutions/virtualEvents/webinars/index.ts | 1 + .../virtualEvents/webinars/item/index.ts | 1 + .../count/countRequestBuilder.ts | 88 ++++++++ .../item/registrations/count/index.ts | 1 + .../webinars/item/registrations/index.ts | 1 + .../webinars/item/registrations/item/index.ts | 1 + ...tualEventRegistrationItemRequestBuilder.ts | 176 +++++++++++++++ .../registrationsRequestBuilder.ts | 180 ++++++++++++++++ .../sessions/count/countRequestBuilder.ts | 88 ++++++++ .../webinars/item/sessions/count/index.ts | 1 + .../webinars/item/sessions/index.ts | 1 + .../attendanceReportsRequestBuilder.ts | 180 ++++++++++++++++ .../count/countRequestBuilder.ts | 88 ++++++++ .../item/attendanceReports/count/index.ts | 1 + .../sessions/item/attendanceReports/index.ts | 1 + .../attendanceRecordsRequestBuilder.ts | 181 ++++++++++++++++ .../count/countRequestBuilder.ts | 88 ++++++++ .../item/attendanceRecords/count/index.ts | 1 + .../item/attendanceRecords/index.ts | 1 + .../attendanceRecordItemRequestBuilder.ts | 176 +++++++++++++++ .../item/attendanceRecords/item/index.ts | 1 + .../item/attendanceReports/item/index.ts | 1 + ...etingAttendanceReportItemRequestBuilder.ts | 183 ++++++++++++++++ .../webinars/item/sessions/item/index.ts | 1 + .../virtualEventSessionItemRequestBuilder.ts | 183 ++++++++++++++++ .../item/sessions/sessionsRequestBuilder.ts | 180 ++++++++++++++++ .../virtualEventWebinarItemRequestBuilder.ts | 190 ++++++++++++++++ .../webinars/webinarsRequestBuilder.ts | 202 ++++++++++++++++++ .../item/subscribedSkuItemRequestBuilder.ts | 6 +- .../subscribedSkusRequestBuilder.ts | 4 +- .../reauthorize/reauthorizeRequestBuilder.ts | 2 +- .../item/subscriptionItemRequestBuilder.ts | 6 +- .../subscriptionsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../allChannels/allChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 2 +- .../item/archive/archiveRequestBuilder.ts | 2 +- .../item/channels/channelsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 6 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../channels/item/tabs/tabsRequestBuilder.ts | 4 +- src/teams/item/clone/cloneRequestBuilder.ts | 2 +- .../completeMigrationRequestBuilder.ts | 2 +- src/teams/item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../incomingChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 4 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- src/teams/item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../teamsAsyncOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- src/teams/item/photo/photoRequestBuilder.ts | 8 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../members/membersRequestBuilder.ts | 4 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../messages/messagesRequestBuilder.ts | 4 +- .../primaryChannelRequestBuilder.ts | 6 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../primaryChannel/tabs/tabsRequestBuilder.ts | 4 +- .../offerShiftRequestItemRequestBuilder.ts | 6 +- .../offerShiftRequestsRequestBuilder.ts | 4 +- ...penShiftChangeRequestItemRequestBuilder.ts | 6 +- .../openShiftChangeRequestsRequestBuilder.ts | 4 +- .../item/openShiftItemRequestBuilder.ts | 6 +- .../openShifts/openShiftsRequestBuilder.ts | 4 +- .../item/schedule/scheduleRequestBuilder.ts | 6 +- .../item/schedulingGroupItemRequestBuilder.ts | 6 +- .../schedulingGroupsRequestBuilder.ts | 4 +- .../schedule/share/shareRequestBuilder.ts | 2 +- .../shifts/item/shiftItemRequestBuilder.ts | 6 +- .../schedule/shifts/shiftsRequestBuilder.ts | 4 +- ...apShiftsChangeRequestItemRequestBuilder.ts | 6 +- .../swapShiftsChangeRequestsRequestBuilder.ts | 4 +- .../item/timeOffReasonItemRequestBuilder.ts | 6 +- .../timeOffReasonsRequestBuilder.ts | 4 +- .../item/timeOffRequestItemRequestBuilder.ts | 6 +- .../timeOffRequestsRequestBuilder.ts | 4 +- .../item/timeOffItemRequestBuilder.ts | 6 +- .../timesOff/timesOffRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../teamworkTagMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/teamworkTagItemRequestBuilder.ts | 6 +- src/teams/item/tags/tagsRequestBuilder.ts | 4 +- src/teams/item/teamItemRequestBuilder.ts | 6 +- .../item/template/templateRequestBuilder.ts | 2 +- .../item/unarchive/unarchiveRequestBuilder.ts | 2 +- src/teams/teamsRequestBuilder.ts | 4 +- .../item/teamsTemplateItemRequestBuilder.ts | 6 +- .../teamsTemplatesRequestBuilder.ts | 4 +- .../deletedTeamsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channels/channelsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 6 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../channels/item/tabs/tabsRequestBuilder.ts | 4 +- .../item/deletedTeamItemRequestBuilder.ts | 6 +- ...NotificationToRecipientsPostRequestBody.ts | 8 +- ...yNotificationToRecipientsRequestBuilder.ts | 2 +- .../teamsAppSettingsRequestBuilder.ts | 6 +- src/teamwork/teamworkRequestBuilder.ts | 4 +- .../workforceIntegrationItemRequestBuilder.ts | 6 +- .../workforceIntegrationsRequestBuilder.ts | 4 +- .../delegatedAdminCustomersRequestBuilder.ts | 4 +- ...elegatedAdminCustomerItemRequestBuilder.ts | 6 +- ...rviceManagementDetailItemRequestBuilder.ts | 6 +- .../serviceManagementDetailsRequestBuilder.ts | 4 +- ...legatedAdminRelationshipsRequestBuilder.ts | 4 +- .../accessAssignmentsRequestBuilder.ts | 4 +- ...AdminAccessAssignmentItemRequestBuilder.ts | 6 +- ...atedAdminRelationshipItemRequestBuilder.ts | 10 +- ...RelationshipOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...inRelationshipRequestItemRequestBuilder.ts | 6 +- .../item/requests/requestsRequestBuilder.ts | 4 +- ...yDomainNameWithDomainNameRequestBuilder.ts | 2 +- ...ionByTenantIdWithTenantIdRequestBuilder.ts | 2 +- .../tenantRelationshipsRequestBuilder.ts | 4 +- src/users/delta/deltaGetResponse.ts | 2 +- src/users/delta/deltaRequestBuilder.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- ...ilableExtensionPropertiesRequestBuilder.ts | 2 +- src/users/getByIds/getByIdsPostResponse.ts | 2 +- src/users/getByIds/getByIdsRequestBuilder.ts | 2 +- .../activities/activitiesRequestBuilder.ts | 4 +- .../historyItemsRequestBuilder.ts | 4 +- .../item/activity/activityRequestBuilder.ts | 2 +- .../activityHistoryItemItemRequestBuilder.ts | 6 +- .../item/userActivityItemRequestBuilder.ts | 6 +- .../activities/recent/recentGetResponse.ts | 2 +- .../activities/recent/recentRequestBuilder.ts | 2 +- .../agreementAcceptancesRequestBuilder.ts | 2 +- .../agreementAcceptanceItemRequestBuilder.ts | 2 +- .../appRoleAssignmentsRequestBuilder.ts | 4 +- .../appRoleAssignmentItemRequestBuilder.ts | 6 +- .../assignLicensePostRequestBody.ts | 2 +- .../assignLicenseRequestBuilder.ts | 2 +- .../authenticationRequestBuilder.ts | 6 +- .../emailMethodsRequestBuilder.ts | 4 +- ...lAuthenticationMethodItemRequestBuilder.ts | 6 +- .../fido2MethodsRequestBuilder.ts | 2 +- ...2AuthenticationMethodItemRequestBuilder.ts | 4 +- .../authenticationMethodItemRequestBuilder.ts | 4 +- .../resetPasswordRequestBuilder.ts | 2 +- .../methods/methodsRequestBuilder.ts | 4 +- .../item/device/deviceRequestBuilder.ts | 2 +- ...rAuthenticationMethodItemRequestBuilder.ts | 4 +- ...osoftAuthenticatorMethodsRequestBuilder.ts | 2 +- .../longRunningOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...dAuthenticationMethodItemRequestBuilder.ts | 2 +- .../passwordMethodsRequestBuilder.ts | 4 +- .../disableSmsSignInRequestBuilder.ts | 2 +- .../enableSmsSignInRequestBuilder.ts | 2 +- ...eAuthenticationMethodItemRequestBuilder.ts | 6 +- .../phoneMethodsRequestBuilder.ts | 4 +- ...hAuthenticationMethodItemRequestBuilder.ts | 4 +- .../softwareOathMethodsRequestBuilder.ts | 2 +- ...sAuthenticationMethodItemRequestBuilder.ts | 4 +- ...emporaryAccessPassMethodsRequestBuilder.ts | 4 +- .../item/device/deviceRequestBuilder.ts | 2 +- ...sAuthenticationMethodItemRequestBuilder.ts | 4 +- ...wsHelloForBusinessMethodsRequestBuilder.ts | 2 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../item/calendar/calendarRequestBuilder.ts | 4 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../events/delta/deltaRequestBuilder.ts | 2 +- .../calendar/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../calendarGroupsRequestBuilder.ts | 4 +- .../item/calendarGroupItemRequestBuilder.ts | 6 +- .../item/calendars/calendarsRequestBuilder.ts | 4 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../item/calendarItemRequestBuilder.ts | 6 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- .../item/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../item/calendars/calendarsRequestBuilder.ts | 4 +- ...endarSharingRolesWithUserRequestBuilder.ts | 2 +- .../item/calendarItemRequestBuilder.ts | 6 +- .../calendarPermissionsRequestBuilder.ts | 4 +- .../calendarPermissionItemRequestBuilder.ts | 6 +- .../calendarViewRequestBuilder.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../calendarView/delta/deltaRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- .../item/events/eventsRequestBuilder.ts | 4 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getSchedule/getScheduleRequestBuilder.ts | 2 +- .../changePasswordRequestBuilder.ts | 2 +- src/users/item/chats/chatsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/chats/item/chatItemRequestBuilder.ts | 6 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../hideForUser/hideForUserRequestBuilder.ts | 2 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../lastMessagePreviewRequestBuilder.ts | 6 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatReadForUserRequestBuilder.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../chats/item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 10 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/message/messageRequestBuilder.ts | 2 +- ...pinnedChatMessageInfoItemRequestBuilder.ts | 6 +- .../pinnedMessagesRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../chats/item/tabs/tabsRequestBuilder.ts | 4 +- .../unhideForUserPostRequestBody.ts | 2 +- .../unhideForUserRequestBuilder.ts | 2 +- .../checkMemberGroupsRequestBuilder.ts | 2 +- .../checkMemberObjectsRequestBuilder.ts | 2 +- .../contactFoldersRequestBuilder.ts | 4 +- .../contactFolders/delta/deltaGetResponse.ts | 2 +- .../delta/deltaRequestBuilder.ts | 2 +- .../childFoldersRequestBuilder.ts | 4 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaRequestBuilder.ts | 2 +- .../item/contactFolderItemRequestBuilder.ts | 6 +- .../item/contacts/contactsRequestBuilder.ts | 4 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../item/contactFolderItemRequestBuilder.ts | 6 +- .../item/contacts/contactsRequestBuilder.ts | 4 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../item/contacts/contactsRequestBuilder.ts | 4 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../contacts/delta/deltaRequestBuilder.ts | 2 +- .../item/contactItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/photo/photoRequestBuilder.ts | 4 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../createdObjectsRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- ...mentTroubleshootingEventsRequestBuilder.ts | 4 +- ...tTroubleshootingEventItemRequestBuilder.ts | 6 +- .../directReportsRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../graphUser/graphUserRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphOrgContactRequestBuilder.ts | 2 +- .../item/graphUser/graphUserRequestBuilder.ts | 2 +- src/users/item/drive/driveRequestBuilder.ts | 2 +- src/users/item/drives/drivesRequestBuilder.ts | 2 +- .../drives/item/driveItemRequestBuilder.ts | 2 +- .../employeeExperienceRequestBuilder.ts | 6 +- ...earningCourseActivityItemRequestBuilder.ts | 2 +- .../learningCourseActivitiesRequestBuilder.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaRequestBuilder.ts | 2 +- src/users/item/events/eventsRequestBuilder.ts | 10 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../events/item/eventItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../instances/delta/deltaRequestBuilder.ts | 2 +- .../item/instances/instancesRequestBuilder.ts | 2 +- .../item/accept/acceptRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 10 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../item/calendar/calendarRequestBuilder.ts | 2 +- .../item/cancel/cancelRequestBuilder.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/decline/declineRequestBuilder.ts | 2 +- .../dismissReminderRequestBuilder.ts | 2 +- .../instances/item/eventItemRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../snoozeReminderRequestBuilder.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../tentativelyAcceptRequestBuilder.ts | 2 +- ...eviceAndAppManagementDataRequestBuilder.ts | 2 +- ...gementDataWithSkipWithTopRequestBuilder.ts | 2 +- .../exportPersonalDataRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../findMeetingTimesPostRequestBody.ts | 6 +- .../findMeetingTimesRequestBuilder.ts | 2 +- .../followedSitesRequestBuilder.ts | 2 +- .../item/siteItemRequestBuilder.ts | 2 +- .../getMailTips/getMailTipsPostResponse.ts | 2 +- .../getMailTips/getMailTipsRequestBuilder.ts | 2 +- ...ManagedAppDiagnosticStatusesGetResponse.ts | 2 +- ...agedAppDiagnosticStatusesRequestBuilder.ts | 2 +- .../getManagedAppPoliciesGetResponse.ts | 2 +- .../getManagedAppPoliciesRequestBuilder.ts | 2 +- ...gedDevicesWithAppFailuresRequestBuilder.ts | 2 +- .../getMemberGroupsRequestBuilder.ts | 2 +- .../getMemberObjectsRequestBuilder.ts | 2 +- .../inferenceClassificationRequestBuilder.ts | 4 +- ...lassificationOverrideItemRequestBuilder.ts | 6 +- .../overrides/overridesRequestBuilder.ts | 4 +- .../item/insights/insightsRequestBuilder.ts | 6 +- .../lastSharedMethodRequestBuilder.ts | 2 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/sharedInsightItemRequestBuilder.ts | 6 +- .../insights/shared/sharedRequestBuilder.ts | 4 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/trendingItemRequestBuilder.ts | 6 +- .../trending/trendingRequestBuilder.ts | 4 +- .../item/resource/resourceRequestBuilder.ts | 2 +- .../item/usedInsightItemRequestBuilder.ts | 6 +- .../item/insights/used/usedRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../allChannels/allChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 2 +- .../item/archive/archiveRequestBuilder.ts | 2 +- .../item/channels/channelsRequestBuilder.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 6 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../channels/item/tabs/tabsRequestBuilder.ts | 4 +- .../item/clone/cloneRequestBuilder.ts | 2 +- .../completeMigrationRequestBuilder.ts | 2 +- .../item/group/groupRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../incomingChannelsRequestBuilder.ts | 2 +- .../item/channelItemRequestBuilder.ts | 4 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- .../teamsAppInstallationItemRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/upgrade/upgradeRequestBuilder.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../item/members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../teamsAsyncOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- ...ecificPermissionGrantItemRequestBuilder.ts | 6 +- .../permissionGrantsRequestBuilder.ts | 4 +- .../item/photo/photoRequestBuilder.ts | 8 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../completeMigrationRequestBuilder.ts | 2 +- ...ipalNameUserPrincipalNameRequestBuilder.ts | 2 +- .../content/contentRequestBuilder.ts | 4 +- .../filesFolder/filesFolderRequestBuilder.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../members/add/addRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 12 +- .../members/membersRequestBuilder.ts | 4 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../item/replies/delta/deltaRequestBuilder.ts | 2 +- .../item/chatMessageItemRequestBuilder.ts | 6 +- .../hostedContentsRequestBuilder.ts | 8 +- ...tMessageHostedContentItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../item/replies/repliesRequestBuilder.ts | 4 +- .../setReaction/setReactionRequestBuilder.ts | 2 +- .../softDelete/softDeleteRequestBuilder.ts | 2 +- .../undoSoftDeleteRequestBuilder.ts | 2 +- .../unsetReactionRequestBuilder.ts | 2 +- .../messages/messagesRequestBuilder.ts | 4 +- .../primaryChannelRequestBuilder.ts | 6 +- .../provisionEmailRequestBuilder.ts | 2 +- .../removeEmail/removeEmailRequestBuilder.ts | 2 +- .../allowedMembersRequestBuilder.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 2 +- ...edWithChannelTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../sharedWithTeamsRequestBuilder.ts | 4 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../tabs/item/teamsTabItemRequestBuilder.ts | 6 +- .../primaryChannel/tabs/tabsRequestBuilder.ts | 4 +- .../offerShiftRequestItemRequestBuilder.ts | 6 +- .../offerShiftRequestsRequestBuilder.ts | 4 +- ...penShiftChangeRequestItemRequestBuilder.ts | 6 +- .../openShiftChangeRequestsRequestBuilder.ts | 4 +- .../item/openShiftItemRequestBuilder.ts | 6 +- .../openShifts/openShiftsRequestBuilder.ts | 4 +- .../item/schedule/scheduleRequestBuilder.ts | 6 +- .../item/schedulingGroupItemRequestBuilder.ts | 6 +- .../schedulingGroupsRequestBuilder.ts | 4 +- .../schedule/share/shareRequestBuilder.ts | 2 +- .../shifts/item/shiftItemRequestBuilder.ts | 6 +- .../schedule/shifts/shiftsRequestBuilder.ts | 4 +- ...apShiftsChangeRequestItemRequestBuilder.ts | 6 +- .../swapShiftsChangeRequestsRequestBuilder.ts | 4 +- .../item/timeOffReasonItemRequestBuilder.ts | 6 +- .../timeOffReasonsRequestBuilder.ts | 4 +- .../item/timeOffRequestItemRequestBuilder.ts | 6 +- .../timeOffRequestsRequestBuilder.ts | 4 +- .../item/timeOffItemRequestBuilder.ts | 6 +- .../timesOff/timesOffRequestBuilder.ts | 4 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../teamworkTagMemberItemRequestBuilder.ts | 6 +- .../item/members/membersRequestBuilder.ts | 4 +- .../item/teamworkTagItemRequestBuilder.ts | 6 +- .../item/tags/tagsRequestBuilder.ts | 4 +- .../item/teamItemRequestBuilder.ts | 6 +- .../item/template/templateRequestBuilder.ts | 2 +- .../item/unarchive/unarchiveRequestBuilder.ts | 2 +- .../joinedTeams/joinedTeamsRequestBuilder.ts | 4 +- .../item/licenseDetailsItemRequestBuilder.ts | 6 +- .../licenseDetailsRequestBuilder.ts | 4 +- .../mailFolders/delta/deltaGetResponse.ts | 2 +- .../mailFolders/delta/deltaRequestBuilder.ts | 2 +- .../childFoldersRequestBuilder.ts | 10 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaRequestBuilder.ts | 2 +- .../item/copy/copyRequestBuilder.ts | 2 +- .../item/mailFolderItemRequestBuilder.ts | 6 +- .../item/messageRuleItemRequestBuilder.ts | 6 +- .../messageRulesRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 6 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../item/move/moveRequestBuilder.ts | 2 +- .../item/copy/copyRequestBuilder.ts | 2 +- .../item/mailFolderItemRequestBuilder.ts | 6 +- .../item/messageRuleItemRequestBuilder.ts | 6 +- .../messageRulesRequestBuilder.ts | 4 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 6 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/messages/messagesRequestBuilder.ts | 4 +- .../item/move/moveRequestBuilder.ts | 2 +- .../mailFolders/mailFoldersRequestBuilder.ts | 4 +- .../mailboxSettingsRequestBuilder.ts | 4 +- ...anagedAppRegistrationItemRequestBuilder.ts | 2 +- .../managedAppRegistrationsRequestBuilder.ts | 2 +- .../bypassActivationLockRequestBuilder.ts | 2 +- .../cleanWindowsDeviceRequestBuilder.ts | 2 +- ...UserFromSharedAppleDeviceRequestBuilder.ts | 2 +- .../deviceCategoryRequestBuilder.ts | 6 +- ...iceCompliancePolicyStatesRequestBuilder.ts | 4 +- ...CompliancePolicyStateItemRequestBuilder.ts | 6 +- ...deviceConfigurationStatesRequestBuilder.ts | 4 +- ...iceConfigurationStateItemRequestBuilder.ts | 6 +- .../disableLostModeRequestBuilder.ts | 2 +- .../locateDeviceRequestBuilder.ts | 2 +- .../createDownloadUrlRequestBuilder.ts | 2 +- ...LogCollectionResponseItemRequestBuilder.ts | 6 +- .../logCollectionRequestsRequestBuilder.ts | 4 +- ...aredAppleDeviceActiveUserRequestBuilder.ts | 2 +- .../item/managedDeviceItemRequestBuilder.ts | 6 +- .../item/rebootNow/rebootNowRequestBuilder.ts | 2 +- .../recoverPasscodeRequestBuilder.ts | 2 +- .../remoteLock/remoteLockRequestBuilder.ts | 2 +- .../requestRemoteAssistanceRequestBuilder.ts | 2 +- .../resetPasscodeRequestBuilder.ts | 2 +- .../item/retire/retireRequestBuilder.ts | 2 +- .../item/shutDown/shutDownRequestBuilder.ts | 2 +- .../syncDevice/syncDeviceRequestBuilder.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- ...pdateWindowsDeviceAccountRequestBuilder.ts | 2 +- .../item/users/usersRequestBuilder.ts | 2 +- .../windowsDefenderScanRequestBuilder.ts | 2 +- ...sDefenderUpdateSignaturesRequestBuilder.ts | 2 +- .../detectedMalwareStateRequestBuilder.ts | 4 +- ...owsDeviceMalwareStateItemRequestBuilder.ts | 6 +- .../windowsProtectionStateRequestBuilder.ts | 6 +- .../item/wipe/wipeRequestBuilder.ts | 2 +- .../managedDevicesRequestBuilder.ts | 4 +- .../item/manager/managerRequestBuilder.ts | 4 +- .../item/manager/ref/refRequestBuilder.ts | 6 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/memberOf/memberOfRequestBuilder.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../messages/delta/deltaRequestBuilder.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentItemRequestBuilder.ts | 4 +- .../messages/item/copy/copyRequestBuilder.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createForwardRequestBuilder.ts | 2 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReply/createReplyRequestBuilder.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../createReplyAllRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/forward/forwardRequestBuilder.ts | 2 +- .../item/messageItemRequestBuilder.ts | 14 +- .../messages/item/move/moveRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyRequestBuilder.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/replyAll/replyAllRequestBuilder.ts | 2 +- .../messages/item/send/sendRequestBuilder.ts | 2 +- .../item/value/contentRequestBuilder.ts | 4 +- .../item/messages/messagesRequestBuilder.ts | 10 +- ...oAuth2PermissionGrantItemRequestBuilder.ts | 2 +- .../oauth2PermissionGrantsRequestBuilder.ts | 2 +- .../getNotebookFromWebUrlRequestBuilder.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- ...hIncludePersonalNotebooksRequestBuilder.ts | 2 +- .../copyNotebookRequestBuilder.ts | 2 +- .../item/notebookItemRequestBuilder.ts | 6 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../notebooks/notebooksRequestBuilder.ts | 4 +- .../item/onenote/onenoteRequestBuilder.ts | 6 +- .../onenoteOperationItemRequestBuilder.ts | 6 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/onenote/pages/pagesRequestBuilder.ts | 4 +- .../item/content/contentRequestBuilder.ts | 4 +- .../item/onenoteResourceItemRequestBuilder.ts | 6 +- .../resources/resourcesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sectionGroupItemRequestBuilder.ts | 6 +- .../item/sectionGroupItemRequestBuilder.ts | 2 +- .../sectionGroupsRequestBuilder.ts | 2 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../item/sections/sectionsRequestBuilder.ts | 4 +- .../sectionGroupsRequestBuilder.ts | 4 +- .../copyToNotebookRequestBuilder.ts | 2 +- .../copyToSectionGroupRequestBuilder.ts | 2 +- .../item/onenoteSectionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../copyToSectionRequestBuilder.ts | 2 +- .../item/onenotePageItemRequestBuilder.ts | 6 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentRequestBuilder.ts | 2 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionRequestBuilder.ts | 2 +- .../item/preview/previewRequestBuilder.ts | 2 +- .../item/pages/pagesRequestBuilder.ts | 4 +- .../parentNotebookRequestBuilder.ts | 2 +- .../parentSectionGroupRequestBuilder.ts | 2 +- .../sections/sectionsRequestBuilder.ts | 4 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../createOrGet/createOrGetRequestBuilder.ts | 2 +- .../attendanceReportsRequestBuilder.ts | 13 +- .../attendanceRecordsRequestBuilder.ts | 4 +- .../attendanceRecordItemRequestBuilder.ts | 6 +- ...etingAttendanceReportItemRequestBuilder.ts | 13 +- .../attendeeReportRequestBuilder.ts | 4 +- ...tualAppointmentJoinWebUrlRequestBuilder.ts | 2 +- .../item/onlineMeetingItemRequestBuilder.ts | 15 +- .../recordings/count/countRequestBuilder.ts | 88 ++++++++ .../item/recordings/count/index.ts | 1 + .../onlineMeetings/item/recordings/index.ts | 1 + .../item/callRecordingItemRequestBuilder.ts | 184 ++++++++++++++++ .../item/content/contentRequestBuilder.ts | 121 +++++++++++ .../item/recordings/item/content/index.ts | 1 + .../item/recordings/item/index.ts | 1 + .../recordings/recordingsRequestBuilder.ts | 180 ++++++++++++++++ .../item/callTranscriptItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../metadataContentRequestBuilder.ts | 4 +- .../transcripts/transcriptsRequestBuilder.ts | 4 +- .../onlineMeetingsRequestBuilder.ts | 4 +- .../item/outlookCategoryItemRequestBuilder.ts | 6 +- .../masterCategoriesRequestBuilder.ts | 4 +- .../item/outlook/outlookRequestBuilder.ts | 2 +- .../supportedLanguagesGetResponse.ts | 2 +- .../supportedLanguagesRequestBuilder.ts | 2 +- .../supportedTimeZonesGetResponse.ts | 2 +- .../supportedTimeZonesRequestBuilder.ts | 2 +- ...imeZonesWithTimeZoneStandardGetResponse.ts | 2 +- ...ZonesWithTimeZoneStandardRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../ownedDevicesRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphApplicationRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../graphServicePrincipalRequestBuilder.ts | 2 +- .../ownedObjectsRequestBuilder.ts | 2 +- .../people/item/personItemRequestBuilder.ts | 2 +- src/users/item/people/peopleRequestBuilder.ts | 2 +- src/users/item/photo/photoRequestBuilder.ts | 10 +- .../item/photo/value/contentRequestBuilder.ts | 4 +- .../item/profilePhotoItemRequestBuilder.ts | 6 +- .../item/value/contentRequestBuilder.ts | 4 +- src/users/item/photos/photosRequestBuilder.ts | 19 +- .../item/planner/plannerRequestBuilder.ts | 6 +- .../item/buckets/bucketsRequestBuilder.ts | 4 +- .../item/plannerBucketItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../buckets/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerPlanItemRequestBuilder.ts | 6 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../plans/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/planner/plans/plansRequestBuilder.ts | 4 +- ...assignedToTaskBoardFormatRequestBuilder.ts | 6 +- .../bucketTaskBoardFormatRequestBuilder.ts | 6 +- .../item/details/detailsRequestBuilder.ts | 6 +- .../item/plannerTaskItemRequestBuilder.ts | 6 +- .../progressTaskBoardFormatRequestBuilder.ts | 6 +- .../item/planner/tasks/tasksRequestBuilder.ts | 4 +- .../clearPresenceRequestBuilder.ts | 2 +- ...learUserPreferredPresenceRequestBuilder.ts | 2 +- .../item/presence/presenceRequestBuilder.ts | 6 +- .../setPresence/setPresenceRequestBuilder.ts | 2 +- .../setStatusMessagePostRequestBody.ts | 2 +- .../setStatusMessageRequestBuilder.ts | 2 +- .../setUserPreferredPresenceRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAppRoleAssignmentRequestBuilder.ts | 2 +- .../graphDevice/graphDeviceRequestBuilder.ts | 2 +- .../graphEndpointRequestBuilder.ts | 2 +- .../registeredDevicesRequestBuilder.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...rtDateTimeWithEndDateTimeRequestBuilder.ts | 2 +- ...eAllDevicesFromManagementRequestBuilder.ts | 2 +- ...eprocessLicenseAssignmentRequestBuilder.ts | 2 +- .../item/restore/restoreRequestBuilder.ts | 2 +- .../retryServiceProvisioningRequestBuilder.ts | 2 +- .../revokeSignInSessionsRequestBuilder.ts | 2 +- .../scopedRoleMembershipItemRequestBuilder.ts | 6 +- .../scopedRoleMemberOfRequestBuilder.ts | 4 +- .../item/sendMail/sendMailPostRequestBody.ts | 2 +- .../item/sendMail/sendMailRequestBuilder.ts | 2 +- ...serviceProvisioningErrorsRequestBuilder.ts | 2 +- .../item/settings/settingsRequestBuilder.ts | 6 +- .../shiftPreferencesRequestBuilder.ts | 6 +- .../associatedTeamsRequestBuilder.ts | 4 +- .../associatedTeamInfoItemRequestBuilder.ts | 6 +- .../item/team/teamRequestBuilder.ts | 2 +- .../installedAppsRequestBuilder.ts | 4 +- .../item/chat/chatRequestBuilder.ts | 2 +- .../item/teamsApp/teamsAppRequestBuilder.ts | 2 +- .../teamsAppDefinitionRequestBuilder.ts | 2 +- ...eTeamsAppInstallationItemRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 6 +- .../sendActivityNotificationRequestBuilder.ts | 2 +- .../item/teamwork/teamworkRequestBuilder.ts | 6 +- .../item/todo/lists/delta/deltaGetResponse.ts | 2 +- .../todo/lists/delta/deltaRequestBuilder.ts | 2 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/tasks/delta/deltaGetResponse.ts | 2 +- .../item/tasks/delta/deltaRequestBuilder.ts | 2 +- .../attachmentSessionsRequestBuilder.ts | 2 +- .../attachmentSessionItemRequestBuilder.ts | 6 +- .../item/content/contentRequestBuilder.ts | 4 +- .../attachments/attachmentsRequestBuilder.ts | 4 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createUploadSessionRequestBuilder.ts | 2 +- .../item/attachmentBaseItemRequestBuilder.ts | 4 +- .../item/value/contentRequestBuilder.ts | 4 +- .../checklistItemsRequestBuilder.ts | 4 +- .../item/checklistItemItemRequestBuilder.ts | 6 +- .../extensions/extensionsRequestBuilder.ts | 4 +- .../item/extensionItemRequestBuilder.ts | 6 +- .../item/linkedResourceItemRequestBuilder.ts | 6 +- .../linkedResourcesRequestBuilder.ts | 4 +- .../tasks/item/todoTaskItemRequestBuilder.ts | 6 +- .../lists/item/tasks/tasksRequestBuilder.ts | 4 +- .../item/todoTaskListItemRequestBuilder.ts | 6 +- .../item/todo/lists/listsRequestBuilder.ts | 4 +- src/users/item/todo/todoRequestBuilder.ts | 6 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../item/directoryObjectItemRequestBuilder.ts | 2 +- .../graphAdministrativeUnitRequestBuilder.ts | 2 +- .../graphDirectoryRoleRequestBuilder.ts | 2 +- .../graphGroup/graphGroupRequestBuilder.ts | 2 +- .../transitiveMemberOfRequestBuilder.ts | 2 +- .../translateExchangeIdsPostResponse.ts | 2 +- .../translateExchangeIdsRequestBuilder.ts | 2 +- src/users/item/userItemRequestBuilder.ts | 12 +- ...pRegistrationsByDeviceTagRequestBuilder.ts | 2 +- src/users/usersRequestBuilder.ts | 12 +- .../validatePropertiesRequestBuilder.ts | 2 +- 9543 files changed, 26017 insertions(+), 17100 deletions(-) create mode 100644 src/communications/onlineMeetings/item/recordings/count/countRequestBuilder.ts rename src/{groups/item/photos => communications/onlineMeetings/item/recordings}/count/index.ts (100%) create mode 100644 src/communications/onlineMeetings/item/recordings/index.ts create mode 100644 src/communications/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts create mode 100644 src/communications/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts create mode 100644 src/communications/onlineMeetings/item/recordings/item/content/index.ts create mode 100644 src/communications/onlineMeetings/item/recordings/item/index.ts create mode 100644 src/communications/onlineMeetings/item/recordings/recordingsRequestBuilder.ts rename src/{me/photos => directory/deviceLocalCredentials}/count/countRequestBuilder.ts (94%) rename src/{me/photos => directory/deviceLocalCredentials}/count/index.ts (100%) create mode 100644 src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts create mode 100644 src/directory/deviceLocalCredentials/index.ts create mode 100644 src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts create mode 100644 src/directory/deviceLocalCredentials/item/index.ts create mode 100644 src/drives/item/items/item/retentionLabel/index.ts create mode 100644 src/drives/item/items/item/retentionLabel/retentionLabelRequestBuilder.ts create mode 100644 src/me/onlineMeetings/item/recordings/count/countRequestBuilder.ts rename src/{users/item/photos => me/onlineMeetings/item/recordings}/count/index.ts (100%) create mode 100644 src/me/onlineMeetings/item/recordings/index.ts create mode 100644 src/me/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts create mode 100644 src/me/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts create mode 100644 src/me/onlineMeetings/item/recordings/item/content/index.ts create mode 100644 src/me/onlineMeetings/item/recordings/item/index.ts create mode 100644 src/me/onlineMeetings/item/recordings/recordingsRequestBuilder.ts create mode 100644 src/models/callRecording.ts create mode 100644 src/models/callRecordingCollectionResponse.ts create mode 100644 src/models/channelSummary.ts create mode 100644 src/models/deviceLocalCredential.ts create mode 100644 src/models/deviceLocalCredentialInfo.ts create mode 100644 src/models/deviceLocalCredentialInfoCollectionResponse.ts create mode 100644 src/models/itemRetentionLabel.ts create mode 100644 src/models/meetingAudience.ts create mode 100644 src/models/onlineMeetingBase.ts create mode 100644 src/models/retentionLabelSettings.ts create mode 100644 src/models/security/behaviorDuringRetentionPeriod.ts create mode 100644 src/models/security/hostPort.ts create mode 100644 src/models/security/hostPortBanner.ts create mode 100644 src/models/security/hostPortCollectionResponse.ts create mode 100644 src/models/security/hostPortComponent.ts create mode 100644 src/models/security/hostPortProtocol.ts create mode 100644 src/models/security/hostPortStatus.ts create mode 100644 src/models/virtualEvent.ts create mode 100644 src/models/virtualEventAttendeeRegistrationStatus.ts create mode 100644 src/models/virtualEventCollectionResponse.ts create mode 100644 src/models/virtualEventRegistration.ts create mode 100644 src/models/virtualEventRegistrationCollectionResponse.ts create mode 100644 src/models/virtualEventRegistrationQuestionAnswer.ts create mode 100644 src/models/virtualEventSession.ts create mode 100644 src/models/virtualEventSessionCollectionResponse.ts create mode 100644 src/models/virtualEventStatus.ts create mode 100644 src/models/virtualEventWebinar.ts create mode 100644 src/models/virtualEventWebinarCollectionResponse.ts create mode 100644 src/models/virtualEventsRoot.ts create mode 100644 src/security/threatIntelligence/hostPorts/count/countRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/count/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/hostPortsRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/host/hostRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/host/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/hostPortItemRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/count/countRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/count/index.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/index.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/item/hostPortItemRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/item/index.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/portsRequestBuilder.ts rename src/{groups/item/photos => solutions/virtualEvents/events}/count/countRequestBuilder.ts (94%) create mode 100644 src/solutions/virtualEvents/events/count/index.ts create mode 100644 src/solutions/virtualEvents/events/eventsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/index.ts create mode 100644 src/solutions/virtualEvents/events/item/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/count/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/attendanceReportsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/index.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/item/virtualEventSessionItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/sessions/sessionsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/events/item/virtualEventItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/index.ts create mode 100644 src/solutions/virtualEvents/virtualEventsRequestBuilder.ts rename src/{users/item/photos => solutions/virtualEvents/webinars}/count/countRequestBuilder.ts (94%) create mode 100644 src/solutions/virtualEvents/webinars/count/index.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/getByUserIdAndRoleWithUserIdWithRoleGetResponse.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/getByUserIdAndRoleWithUserIdWithRoleRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserRoleWithRole/getByUserRoleWithRoleGetResponse.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserRoleWithRole/getByUserRoleWithRoleRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.ts create mode 100644 src/solutions/virtualEvents/webinars/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/count/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/item/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/item/virtualEventRegistrationItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/registrations/registrationsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/count/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/attendanceReportsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/countRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/index.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/item/virtualEventSessionItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/sessions/sessionsRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/item/virtualEventWebinarItemRequestBuilder.ts create mode 100644 src/solutions/virtualEvents/webinars/webinarsRequestBuilder.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/count/countRequestBuilder.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/count/index.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/index.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/item/content/index.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/item/index.ts create mode 100644 src/users/item/onlineMeetings/item/recordings/recordingsRequestBuilder.ts diff --git a/src/admin/adminRequestBuilder.ts b/src/admin/adminRequestBuilder.ts index 98afda5e953..5427bf5ded4 100644 --- a/src/admin/adminRequestBuilder.ts +++ b/src/admin/adminRequestBuilder.ts @@ -126,7 +126,7 @@ export class AdminRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class AdminRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAdmin); return requestInfo; }; diff --git a/src/admin/edge/edgeRequestBuilder.ts b/src/admin/edge/edgeRequestBuilder.ts index 0373de745c0..c9359693242 100644 --- a/src/admin/edge/edgeRequestBuilder.ts +++ b/src/admin/edge/edgeRequestBuilder.ts @@ -128,7 +128,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEdge); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/internetExplorerModeRequestBuilder.ts b/src/admin/edge/internetExplorerMode/internetExplorerModeRequestBuilder.ts index ac7fa67441d..803b04ff8c3 100644 --- a/src/admin/edge/internetExplorerMode/internetExplorerModeRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/internetExplorerModeRequestBuilder.ts @@ -128,7 +128,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInternetExplorerMode); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/browserSiteListItemRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/browserSiteListItemRequestBuilder.ts index 8533e04cebf..0db584d62f3 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/browserSiteListItemRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/browserSiteListItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSiteList); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts index 1d3d8f6fd0c..34a1413318e 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts @@ -36,8 +36,8 @@ export interface PublishPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializePublishPostRequestBody(writer: SerializationWriter, publishPostRequestBody: PublishPostRequestBody | undefined = {} as PublishPostRequestBody) : void { writer.writeStringValue("revision", publishPostRequestBody.revision); - writer.writeCollectionOfObjectValues("sharedCookies", publishPostRequestBody.sharedCookies, ); - writer.writeCollectionOfObjectValues("sites", publishPostRequestBody.sites, ); + writer.writeCollectionOfObjectValues("sharedCookies", publishPostRequestBody.sharedCookies, serializeBrowserSharedCookie); + writer.writeCollectionOfObjectValues("sites", publishPostRequestBody.sites, serializeBrowserSite); writer.writeAdditionalData(publishPostRequestBody.additionalData); } // tslint:enable diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishRequestBuilder.ts index 342d6fefb05..ed3bf52d9c9 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishRequestBuilder.ts @@ -62,7 +62,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePublishPostRequestBody); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/browserSharedCookieItemRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/browserSharedCookieItemRequestBuilder.ts index 24b71824742..83b9e300860 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/browserSharedCookieItemRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/browserSharedCookieItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSharedCookie); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/sharedCookiesRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/sharedCookiesRequestBuilder.ts index 3f0c29e575b..5366338d8da 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/sharedCookiesRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/sharedCookiesRequestBuilder.ts @@ -145,7 +145,7 @@ export class SharedCookiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SharedCookiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSharedCookie); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/sites/item/browserSiteItemRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/sites/item/browserSiteItemRequestBuilder.ts index 268bae12a27..08488feb096 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/sites/item/browserSiteItemRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/sites/item/browserSiteItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSite); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/sites/sitesRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/item/sites/sitesRequestBuilder.ts index 7e2692c34de..d733070a0a1 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/sites/sitesRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/sites/sitesRequestBuilder.ts @@ -145,7 +145,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSite); return requestInfo; }; diff --git a/src/admin/edge/internetExplorerMode/siteLists/siteListsRequestBuilder.ts b/src/admin/edge/internetExplorerMode/siteLists/siteListsRequestBuilder.ts index 1d3fcc01c5b..7c56601406a 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/siteListsRequestBuilder.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/siteListsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SiteListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SiteListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSiteList); return requestInfo; }; diff --git a/src/admin/people/peopleRequestBuilder.ts b/src/admin/people/peopleRequestBuilder.ts index 38cabf67e2c..13c486fa0d0 100644 --- a/src/admin/people/peopleRequestBuilder.ts +++ b/src/admin/people/peopleRequestBuilder.ts @@ -60,9 +60,10 @@ export class PeopleRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/admin/people{?%24select,%24expand}"); }; /** - * Get people from admin + * Retrieve the properties and relationships of a peopleAdminSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of PeopleAdminSettings + * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PeopleRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -91,7 +92,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createPeopleAdminSettingsFromDiscriminatorValue, errorMapping); }; /** - * Get people from admin + * Retrieve the properties and relationships of a peopleAdminSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -105,7 +106,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -124,7 +125,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePeopleAdminSettings); return requestInfo; }; diff --git a/src/admin/people/profileCardProperties/item/profileCardPropertyItemRequestBuilder.ts b/src/admin/people/profileCardProperties/item/profileCardPropertyItemRequestBuilder.ts index 7cbb0edd3b7..73c415cb671 100644 --- a/src/admin/people/profileCardProperties/item/profileCardPropertyItemRequestBuilder.ts +++ b/src/admin/people/profileCardProperties/item/profileCardPropertyItemRequestBuilder.ts @@ -63,8 +63,9 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}"); }; /** - * Delete navigation property profileCardProperties for admin + * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,9 +78,10 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get profileCardProperties from admin + * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfileCardProperty + * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ProfileCardPropertyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -92,10 +94,11 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping); }; /** - * Update the navigation property profileCardProperties in admin + * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfileCardProperty + * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-1.0|Find more info here} */ public patch(body: ProfileCardProperty, requestConfiguration?: ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -108,7 +111,7 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping); }; /** - * Delete navigation property profileCardProperties for admin + * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -121,11 +124,11 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get profileCardProperties from admin + * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -139,11 +142,11 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the navigation property profileCardProperties in admin + * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -158,7 +161,7 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfileCardProperty); return requestInfo; }; diff --git a/src/admin/people/profileCardProperties/profileCardPropertiesRequestBuilder.ts b/src/admin/people/profileCardProperties/profileCardPropertiesRequestBuilder.ts index d81f5f1d5f5..a215254cbd4 100644 --- a/src/admin/people/profileCardProperties/profileCardPropertiesRequestBuilder.ts +++ b/src/admin/people/profileCardProperties/profileCardPropertiesRequestBuilder.ts @@ -98,9 +98,10 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/admin/people/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get profileCardProperties from admin + * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfileCardPropertyCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ProfileCardPropertiesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -113,10 +114,11 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfileCardPropertyCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create new navigation property to profileCardProperties for admin + * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfileCardProperty + * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0|Find more info here} */ public post(body: ProfileCardProperty, requestConfiguration?: ProfileCardPropertiesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -129,7 +131,7 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping); }; /** - * Get profileCardProperties from admin + * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -143,11 +145,11 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create new navigation property to profileCardProperties for admin + * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -162,7 +164,7 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfileCardProperty); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/healthOverviews/healthOverviewsRequestBuilder.ts b/src/admin/serviceAnnouncement/healthOverviews/healthOverviewsRequestBuilder.ts index d2164210683..ab362e005b9 100644 --- a/src/admin/serviceAnnouncement/healthOverviews/healthOverviewsRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/healthOverviews/healthOverviewsRequestBuilder.ts @@ -144,7 +144,7 @@ export class HealthOverviewsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HealthOverviewsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealth); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/healthOverviews/item/issues/issuesRequestBuilder.ts b/src/admin/serviceAnnouncement/healthOverviews/item/issues/issuesRequestBuilder.ts index 998ac9b2a30..dcdb7bac728 100644 --- a/src/admin/serviceAnnouncement/healthOverviews/item/issues/issuesRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/healthOverviews/item/issues/issuesRequestBuilder.ts @@ -143,7 +143,7 @@ export class IssuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class IssuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealthIssue); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/incidentReportRequestBuilder.ts b/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/incidentReportRequestBuilder.ts index 5ff7e0e9a11..d52302272a7 100644 --- a/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/incidentReportRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/incidentReportRequestBuilder.ts @@ -56,7 +56,7 @@ export class IncidentReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** diff --git a/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/serviceHealthIssueItemRequestBuilder.ts b/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/serviceHealthIssueItemRequestBuilder.ts index 49d01ecabbd..bfa1c34ef43 100644 --- a/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/serviceHealthIssueItemRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/healthOverviews/item/issues/item/serviceHealthIssueItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealthIssue); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/healthOverviews/item/serviceHealthItemRequestBuilder.ts b/src/admin/serviceAnnouncement/healthOverviews/item/serviceHealthItemRequestBuilder.ts index 04702c8454a..a8b53911913 100644 --- a/src/admin/serviceAnnouncement/healthOverviews/item/serviceHealthItemRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/healthOverviews/item/serviceHealthItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ServiceHealthItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ServiceHealthItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ServiceHealthItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealth); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/issues/issuesRequestBuilder.ts b/src/admin/serviceAnnouncement/issues/issuesRequestBuilder.ts index 8cd9ea55f4c..8db9f97a41f 100644 --- a/src/admin/serviceAnnouncement/issues/issuesRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/issues/issuesRequestBuilder.ts @@ -144,7 +144,7 @@ export class IssuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class IssuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealthIssue); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/issues/item/incidentReport/incidentReportRequestBuilder.ts b/src/admin/serviceAnnouncement/issues/item/incidentReport/incidentReportRequestBuilder.ts index a007f4a8051..044bb1f9be3 100644 --- a/src/admin/serviceAnnouncement/issues/item/incidentReport/incidentReportRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/issues/item/incidentReport/incidentReportRequestBuilder.ts @@ -56,7 +56,7 @@ export class IncidentReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** diff --git a/src/admin/serviceAnnouncement/issues/item/serviceHealthIssueItemRequestBuilder.ts b/src/admin/serviceAnnouncement/issues/item/serviceHealthIssueItemRequestBuilder.ts index eee0ad7428e..e1936fcf118 100644 --- a/src/admin/serviceAnnouncement/issues/item/serviceHealthIssueItemRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/issues/item/serviceHealthIssueItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceHealthIssue); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/archive/archiveRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/archive/archiveRequestBuilder.ts index 674f907edc8..78fd4ea7f1c 100644 --- a/src/admin/serviceAnnouncement/messages/archive/archiveRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/archive/archiveRequestBuilder.ts @@ -62,7 +62,7 @@ export class ArchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeArchivePostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/favorite/favoriteRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/favorite/favoriteRequestBuilder.ts index 31f831710d7..d8dee279c43 100644 --- a/src/admin/serviceAnnouncement/messages/favorite/favoriteRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/favorite/favoriteRequestBuilder.ts @@ -62,7 +62,7 @@ export class FavoriteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFavoritePostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/item/attachments/attachmentsRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/item/attachments/attachmentsRequestBuilder.ts index ff2ab8d0716..8f6cad97ae3 100644 --- a/src/admin/serviceAnnouncement/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/item/attachments/attachmentsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceAnnouncementAttachment); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/item/attachments/item/content/contentRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/item/attachments/item/content/contentRequestBuilder.ts index d5b7fe2b35b..d2b94580a0f 100644 --- a/src/admin/serviceAnnouncement/messages/item/attachments/item/content/contentRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/item/attachments/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/item/attachments/item/serviceAnnouncementAttachmentItemRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/item/attachments/item/serviceAnnouncementAttachmentItemRequestBuilder.ts index 059d3e1ebeb..ff1ae15bb7f 100644 --- a/src/admin/serviceAnnouncement/messages/item/attachments/item/serviceAnnouncementAttachmentItemRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/item/attachments/item/serviceAnnouncementAttachmentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ServiceAnnouncementAttachmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ServiceAnnouncementAttachmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ServiceAnnouncementAttachmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceAnnouncementAttachment); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/item/attachmentsArchive/attachmentsArchiveRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/item/attachmentsArchive/attachmentsArchiveRequestBuilder.ts index 59b2526cfd1..2dbc2d42c54 100644 --- a/src/admin/serviceAnnouncement/messages/item/attachmentsArchive/attachmentsArchiveRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/item/attachmentsArchive/attachmentsArchiveRequestBuilder.ts @@ -83,7 +83,7 @@ export class AttachmentsArchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class AttachmentsArchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/item/serviceUpdateMessageItemRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/item/serviceUpdateMessageItemRequestBuilder.ts index 90c3a2485db..69057bed52c 100644 --- a/src/admin/serviceAnnouncement/messages/item/serviceUpdateMessageItemRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/item/serviceUpdateMessageItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceUpdateMessage); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/markRead/markReadRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/markRead/markReadRequestBuilder.ts index 666614e5d21..c5753cf84db 100644 --- a/src/admin/serviceAnnouncement/messages/markRead/markReadRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/markRead/markReadRequestBuilder.ts @@ -62,7 +62,7 @@ export class MarkReadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkReadPostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/markUnread/markUnreadRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/markUnread/markUnreadRequestBuilder.ts index 5d782a727e7..b114de2c54b 100644 --- a/src/admin/serviceAnnouncement/messages/markUnread/markUnreadRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/markUnread/markUnreadRequestBuilder.ts @@ -62,7 +62,7 @@ export class MarkUnreadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkUnreadPostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/messagesRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/messagesRequestBuilder.ts index b9276813282..2f2a5875418 100644 --- a/src/admin/serviceAnnouncement/messages/messagesRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/messagesRequestBuilder.ts @@ -186,7 +186,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -205,7 +205,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceUpdateMessage); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/unarchive/unarchiveRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/unarchive/unarchiveRequestBuilder.ts index c18cfdb9b27..c2ebfd30c8f 100644 --- a/src/admin/serviceAnnouncement/messages/unarchive/unarchiveRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/unarchive/unarchiveRequestBuilder.ts @@ -62,7 +62,7 @@ export class UnarchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnarchivePostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/messages/unfavorite/unfavoriteRequestBuilder.ts b/src/admin/serviceAnnouncement/messages/unfavorite/unfavoriteRequestBuilder.ts index c51fbb258e4..1a887ef62b6 100644 --- a/src/admin/serviceAnnouncement/messages/unfavorite/unfavoriteRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/messages/unfavorite/unfavoriteRequestBuilder.ts @@ -62,7 +62,7 @@ export class UnfavoriteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnfavoritePostRequestBody); return requestInfo; }; diff --git a/src/admin/serviceAnnouncement/serviceAnnouncementRequestBuilder.ts b/src/admin/serviceAnnouncement/serviceAnnouncementRequestBuilder.ts index 949c0afd756..c0e4b6eaba2 100644 --- a/src/admin/serviceAnnouncement/serviceAnnouncementRequestBuilder.ts +++ b/src/admin/serviceAnnouncement/serviceAnnouncementRequestBuilder.ts @@ -142,7 +142,7 @@ export class ServiceAnnouncementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ServiceAnnouncementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ServiceAnnouncementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServiceAnnouncement); return requestInfo; }; diff --git a/src/admin/sharepoint/settings/settingsRequestBuilder.ts b/src/admin/sharepoint/settings/settingsRequestBuilder.ts index db14402dcfd..3a8803f241c 100644 --- a/src/admin/sharepoint/settings/settingsRequestBuilder.ts +++ b/src/admin/sharepoint/settings/settingsRequestBuilder.ts @@ -123,7 +123,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharepointSettings); return requestInfo; }; diff --git a/src/admin/sharepoint/sharepointRequestBuilder.ts b/src/admin/sharepoint/sharepointRequestBuilder.ts index 7205a26272a..e6293ddf78d 100644 --- a/src/admin/sharepoint/sharepointRequestBuilder.ts +++ b/src/admin/sharepoint/sharepointRequestBuilder.ts @@ -128,7 +128,7 @@ export class SharepointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class SharepointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class SharepointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharepoint); return requestInfo; }; diff --git a/src/agreementAcceptances/agreementAcceptancesRequestBuilder.ts b/src/agreementAcceptances/agreementAcceptancesRequestBuilder.ts index 3b2f5fcb851..6dba1ef5be4 100644 --- a/src/agreementAcceptances/agreementAcceptancesRequestBuilder.ts +++ b/src/agreementAcceptances/agreementAcceptancesRequestBuilder.ts @@ -112,7 +112,7 @@ export class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -131,7 +131,7 @@ export class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts b/src/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts index 8c1142614a4..48c6fa050d1 100644 --- a/src/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts +++ b/src/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts @@ -117,7 +117,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -135,7 +135,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/agreements/agreementsRequestBuilder.ts b/src/agreements/agreementsRequestBuilder.ts index b013bc85191..28c88d7ac7f 100644 --- a/src/agreements/agreementsRequestBuilder.ts +++ b/src/agreements/agreementsRequestBuilder.ts @@ -112,7 +112,7 @@ export class AgreementsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -131,7 +131,7 @@ export class AgreementsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreement); return requestInfo; }; diff --git a/src/agreements/item/acceptances/acceptancesRequestBuilder.ts b/src/agreements/item/acceptances/acceptancesRequestBuilder.ts index 0c13db78b7c..9aeba64d33a 100644 --- a/src/agreements/item/acceptances/acceptancesRequestBuilder.ts +++ b/src/agreements/item/acceptances/acceptancesRequestBuilder.ts @@ -144,7 +144,7 @@ export class AcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts b/src/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts index 8b4683a0bc0..d2d80b20d0e 100644 --- a/src/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts +++ b/src/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/agreements/item/agreementItemRequestBuilder.ts b/src/agreements/item/agreementItemRequestBuilder.ts index 7bb71ee68ed..e28ab67931a 100644 --- a/src/agreements/item/agreementItemRequestBuilder.ts +++ b/src/agreements/item/agreementItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreement); return requestInfo; }; diff --git a/src/agreements/item/file/fileRequestBuilder.ts b/src/agreements/item/file/fileRequestBuilder.ts index 0e393c1483a..2be4888bd0e 100644 --- a/src/agreements/item/file/fileRequestBuilder.ts +++ b/src/agreements/item/file/fileRequestBuilder.ts @@ -129,7 +129,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFile); return requestInfo; }; diff --git a/src/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts b/src/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts index 9a944bf61a6..20dad131728 100644 --- a/src/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts +++ b/src/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts b/src/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts index f985e03bc54..ac668d3c7e4 100644 --- a/src/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts +++ b/src/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts b/src/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts index 7fd36885ba9..ac52f72be44 100644 --- a/src/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts +++ b/src/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/agreements/item/file/localizations/localizationsRequestBuilder.ts b/src/agreements/item/file/localizations/localizationsRequestBuilder.ts index d167b95da2b..22c28a3a195 100644 --- a/src/agreements/item/file/localizations/localizationsRequestBuilder.ts +++ b/src/agreements/item/file/localizations/localizationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class LocalizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LocalizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/agreements/item/files/filesRequestBuilder.ts b/src/agreements/item/files/filesRequestBuilder.ts index 9e68ea33a83..5264496537c 100644 --- a/src/agreements/item/files/filesRequestBuilder.ts +++ b/src/agreements/item/files/filesRequestBuilder.ts @@ -144,7 +144,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts b/src/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts index db35e830763..7d1a777ea64 100644 --- a/src/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts +++ b/src/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts b/src/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts index 71f208c6c2d..4d6c9ab88e2 100644 --- a/src/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts +++ b/src/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/agreements/item/files/item/versions/versionsRequestBuilder.ts b/src/agreements/item/files/item/versions/versionsRequestBuilder.ts index 06acbac779f..fcd34b7af13 100644 --- a/src/agreements/item/files/item/versions/versionsRequestBuilder.ts +++ b/src/agreements/item/files/item/versions/versionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/appCatalogs/appCatalogsRequestBuilder.ts b/src/appCatalogs/appCatalogsRequestBuilder.ts index 97f87818e06..0022d5a315c 100644 --- a/src/appCatalogs/appCatalogsRequestBuilder.ts +++ b/src/appCatalogs/appCatalogsRequestBuilder.ts @@ -105,7 +105,7 @@ export class AppCatalogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -124,7 +124,7 @@ export class AppCatalogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppCatalogs); return requestInfo; }; diff --git a/src/appCatalogs/teamsApps/item/appDefinitions/appDefinitionsRequestBuilder.ts b/src/appCatalogs/teamsApps/item/appDefinitions/appDefinitionsRequestBuilder.ts index 0b9d6a92b4a..91caf89d2bb 100644 --- a/src/appCatalogs/teamsApps/item/appDefinitions/appDefinitionsRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/item/appDefinitions/appDefinitionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AppDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AppDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppDefinition); return requestInfo; }; diff --git a/src/appCatalogs/teamsApps/item/appDefinitions/item/bot/botRequestBuilder.ts b/src/appCatalogs/teamsApps/item/appDefinitions/item/bot/botRequestBuilder.ts index d89a09588c4..24320c5ff16 100644 --- a/src/appCatalogs/teamsApps/item/appDefinitions/item/bot/botRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/item/appDefinitions/item/bot/botRequestBuilder.ts @@ -122,7 +122,7 @@ export class BotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class BotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class BotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkBot); return requestInfo; }; diff --git a/src/appCatalogs/teamsApps/item/appDefinitions/item/teamsAppDefinitionItemRequestBuilder.ts b/src/appCatalogs/teamsApps/item/appDefinitions/item/teamsAppDefinitionItemRequestBuilder.ts index 5ef1e42c79d..1f6cfc2f5a9 100644 --- a/src/appCatalogs/teamsApps/item/appDefinitions/item/teamsAppDefinitionItemRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/item/appDefinitions/item/teamsAppDefinitionItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class TeamsAppDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class TeamsAppDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class TeamsAppDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppDefinition); return requestInfo; }; diff --git a/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts b/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts index ba65273acfb..3613ea0f259 100644 --- a/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts @@ -70,7 +70,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}"); }; /** - * This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @see {@link https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0|Find more info here} */ @@ -116,7 +116,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createTeamsAppFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -129,7 +129,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsApp); return requestInfo; }; diff --git a/src/appCatalogs/teamsApps/teamsAppsRequestBuilder.ts b/src/appCatalogs/teamsApps/teamsAppsRequestBuilder.ts index 610ce70f2e1..c97748b56f1 100644 --- a/src/appCatalogs/teamsApps/teamsAppsRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/teamsAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TeamsAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TeamsAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsApp); return requestInfo; }; diff --git a/src/applicationTemplates/applicationTemplatesRequestBuilder.ts b/src/applicationTemplates/applicationTemplatesRequestBuilder.ts index ebf13cb1a00..4a9020072b6 100644 --- a/src/applicationTemplates/applicationTemplatesRequestBuilder.ts +++ b/src/applicationTemplates/applicationTemplatesRequestBuilder.ts @@ -117,7 +117,7 @@ export class ApplicationTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applicationTemplates/item/applicationTemplateItemRequestBuilder.ts b/src/applicationTemplates/item/applicationTemplateItemRequestBuilder.ts index 84845f9c97a..f62cb1629b9 100644 --- a/src/applicationTemplates/item/applicationTemplateItemRequestBuilder.ts +++ b/src/applicationTemplates/item/applicationTemplateItemRequestBuilder.ts @@ -81,7 +81,7 @@ export class ApplicationTemplateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applicationTemplates/item/instantiate/instantiateRequestBuilder.ts b/src/applicationTemplates/item/instantiate/instantiateRequestBuilder.ts index 2e0ad3edbae..9f89fe6b3fd 100644 --- a/src/applicationTemplates/item/instantiate/instantiateRequestBuilder.ts +++ b/src/applicationTemplates/item/instantiate/instantiateRequestBuilder.ts @@ -62,7 +62,7 @@ export class InstantiateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInstantiatePostRequestBody); return requestInfo; }; diff --git a/src/applications/applicationsRequestBuilder.ts b/src/applications/applicationsRequestBuilder.ts index 5068c2a1884..40e418b5c53 100644 --- a/src/applications/applicationsRequestBuilder.ts +++ b/src/applications/applicationsRequestBuilder.ts @@ -173,7 +173,7 @@ export class ApplicationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -192,7 +192,7 @@ export class ApplicationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplication); return requestInfo; }; diff --git a/src/applications/delta/deltaGetResponse.ts b/src/applications/delta/deltaGetResponse.ts index 262e86b6362..4c60f05df48 100644 --- a/src/applications/delta/deltaGetResponse.ts +++ b/src/applications/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeApplication); } // tslint:enable // eslint-enable diff --git a/src/applications/delta/deltaRequestBuilder.ts b/src/applications/delta/deltaRequestBuilder.ts index 1d21a440d8d..a5d4b5deb01 100644 --- a/src/applications/delta/deltaRequestBuilder.ts +++ b/src/applications/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 376395a9d56..3b5bbb7a9a3 100644 --- a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/applications/getByIds/getByIdsPostResponse.ts b/src/applications/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/applications/getByIds/getByIdsPostResponse.ts +++ b/src/applications/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/applications/getByIds/getByIdsRequestBuilder.ts b/src/applications/getByIds/getByIdsRequestBuilder.ts index 030e12f7ad0..17deebfc79a 100644 --- a/src/applications/getByIds/getByIdsRequestBuilder.ts +++ b/src/applications/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/addKey/addKeyPostRequestBody.ts b/src/applications/item/addKey/addKeyPostRequestBody.ts index 1a77fd375c5..d2cbc28f0af 100644 --- a/src/applications/item/addKey/addKeyPostRequestBody.ts +++ b/src/applications/item/addKey/addKeyPostRequestBody.ts @@ -35,8 +35,8 @@ export function deserializeIntoAddKeyPostRequestBody(addKeyPostRequestBody: AddK } } export function serializeAddKeyPostRequestBody(writer: SerializationWriter, addKeyPostRequestBody: AddKeyPostRequestBody | undefined = {} as AddKeyPostRequestBody) : void { - writer.writeObjectValue("keyCredential", addKeyPostRequestBody.keyCredential, ); - writer.writeObjectValue("passwordCredential", addKeyPostRequestBody.passwordCredential, ); + writer.writeObjectValue("keyCredential", addKeyPostRequestBody.keyCredential, serializeKeyCredential); + writer.writeObjectValue("passwordCredential", addKeyPostRequestBody.passwordCredential, serializePasswordCredential); writer.writeStringValue("proof", addKeyPostRequestBody.proof); writer.writeAdditionalData(addKeyPostRequestBody.additionalData); } diff --git a/src/applications/item/addKey/addKeyRequestBuilder.ts b/src/applications/item/addKey/addKeyRequestBuilder.ts index 5f5a003bce1..d5598f7e215 100644 --- a/src/applications/item/addKey/addKeyRequestBuilder.ts +++ b/src/applications/item/addKey/addKeyRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddKeyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddKeyPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/addPassword/addPasswordPostRequestBody.ts b/src/applications/item/addPassword/addPasswordPostRequestBody.ts index 8a377435b68..ebbd02d2cba 100644 --- a/src/applications/item/addPassword/addPasswordPostRequestBody.ts +++ b/src/applications/item/addPassword/addPasswordPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPasswordPostRequestBody(addPasswordPostRequest } } export function serializeAddPasswordPostRequestBody(writer: SerializationWriter, addPasswordPostRequestBody: AddPasswordPostRequestBody | undefined = {} as AddPasswordPostRequestBody) : void { - writer.writeObjectValue("passwordCredential", addPasswordPostRequestBody.passwordCredential, ); + writer.writeObjectValue("passwordCredential", addPasswordPostRequestBody.passwordCredential, serializePasswordCredential); writer.writeAdditionalData(addPasswordPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/addPassword/addPasswordRequestBuilder.ts b/src/applications/item/addPassword/addPasswordRequestBuilder.ts index 12c39625573..49a961046ae 100644 --- a/src/applications/item/addPassword/addPasswordRequestBuilder.ts +++ b/src/applications/item/addPassword/addPasswordRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddPasswordRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPasswordPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/appManagementPolicies/appManagementPoliciesRequestBuilder.ts b/src/applications/item/appManagementPolicies/appManagementPoliciesRequestBuilder.ts index 4644b0fa8a4..2b451270efd 100644 --- a/src/applications/item/appManagementPolicies/appManagementPoliciesRequestBuilder.ts +++ b/src/applications/item/appManagementPolicies/appManagementPoliciesRequestBuilder.ts @@ -123,7 +123,7 @@ export class AppManagementPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/appManagementPolicies/item/ref/refRequestBuilder.ts b/src/applications/item/appManagementPolicies/item/ref/refRequestBuilder.ts index 9eb7ad184c5..750f8aadf4a 100644 --- a/src/applications/item/appManagementPolicies/item/ref/refRequestBuilder.ts +++ b/src/applications/item/appManagementPolicies/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/appManagementPolicies/ref/refRequestBuilder.ts b/src/applications/item/appManagementPolicies/ref/refRequestBuilder.ts index 4a060924c98..1b6cc75430f 100644 --- a/src/applications/item/appManagementPolicies/ref/refRequestBuilder.ts +++ b/src/applications/item/appManagementPolicies/ref/refRequestBuilder.ts @@ -116,7 +116,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -135,7 +135,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/applications/item/applicationItemRequestBuilder.ts b/src/applications/item/applicationItemRequestBuilder.ts index b2c6a155984..e7fb75bd44d 100644 --- a/src/applications/item/applicationItemRequestBuilder.ts +++ b/src/applications/item/applicationItemRequestBuilder.ts @@ -271,7 +271,7 @@ export class ApplicationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -289,7 +289,7 @@ export class ApplicationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -308,7 +308,7 @@ export class ApplicationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplication); return requestInfo; }; diff --git a/src/applications/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/applications/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 5f9e82a6d8d..b94b608f6bc 100644 --- a/src/applications/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/applications/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/applications/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 7f2b53e2628..706c0b3f4c1 100644 --- a/src/applications/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/applications/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts b/src/applications/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts index 05a84980713..28e167c1497 100644 --- a/src/applications/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts +++ b/src/applications/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts @@ -73,7 +73,7 @@ export class CreatedOnBehalfOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/extensionProperties/extensionPropertiesRequestBuilder.ts b/src/applications/item/extensionProperties/extensionPropertiesRequestBuilder.ts index bdc7f1f8e67..6b98324fa73 100644 --- a/src/applications/item/extensionProperties/extensionPropertiesRequestBuilder.ts +++ b/src/applications/item/extensionProperties/extensionPropertiesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ExtensionPropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ExtensionPropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtensionProperty); return requestInfo; }; diff --git a/src/applications/item/extensionProperties/item/extensionPropertyItemRequestBuilder.ts b/src/applications/item/extensionProperties/item/extensionPropertyItemRequestBuilder.ts index 93bbc4de533..cffaf9b1007 100644 --- a/src/applications/item/extensionProperties/item/extensionPropertyItemRequestBuilder.ts +++ b/src/applications/item/extensionProperties/item/extensionPropertyItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionPropertyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtensionProperty); return requestInfo; }; diff --git a/src/applications/item/federatedIdentityCredentials/federatedIdentityCredentialsRequestBuilder.ts b/src/applications/item/federatedIdentityCredentials/federatedIdentityCredentialsRequestBuilder.ts index 132bf7516f6..82380eef4f9 100644 --- a/src/applications/item/federatedIdentityCredentials/federatedIdentityCredentialsRequestBuilder.ts +++ b/src/applications/item/federatedIdentityCredentials/federatedIdentityCredentialsRequestBuilder.ts @@ -145,7 +145,7 @@ export class FederatedIdentityCredentialsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class FederatedIdentityCredentialsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFederatedIdentityCredential); return requestInfo; }; diff --git a/src/applications/item/federatedIdentityCredentials/item/federatedIdentityCredentialItemRequestBuilder.ts b/src/applications/item/federatedIdentityCredentials/item/federatedIdentityCredentialItemRequestBuilder.ts index 504db646648..f80a86abb1e 100644 --- a/src/applications/item/federatedIdentityCredentials/item/federatedIdentityCredentialItemRequestBuilder.ts +++ b/src/applications/item/federatedIdentityCredentials/item/federatedIdentityCredentialItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class FederatedIdentityCredentialItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class FederatedIdentityCredentialItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class FederatedIdentityCredentialItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFederatedIdentityCredential); return requestInfo; }; diff --git a/src/applications/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/applications/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index b8f61a1ffba..e23321a0008 100644 --- a/src/applications/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/applications/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/applications/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index b47e481da60..cd22d83f629 100644 --- a/src/applications/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/applications/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/homeRealmDiscoveryPolicies/homeRealmDiscoveryPoliciesRequestBuilder.ts b/src/applications/item/homeRealmDiscoveryPolicies/homeRealmDiscoveryPoliciesRequestBuilder.ts index d76a45656a4..286076f129b 100644 --- a/src/applications/item/homeRealmDiscoveryPolicies/homeRealmDiscoveryPoliciesRequestBuilder.ts +++ b/src/applications/item/homeRealmDiscoveryPolicies/homeRealmDiscoveryPoliciesRequestBuilder.ts @@ -116,7 +116,7 @@ export class HomeRealmDiscoveryPoliciesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/homeRealmDiscoveryPolicies/item/homeRealmDiscoveryPolicyItemRequestBuilder.ts b/src/applications/item/homeRealmDiscoveryPolicies/item/homeRealmDiscoveryPolicyItemRequestBuilder.ts index 5ea05cacdc4..12c6f34ede4 100644 --- a/src/applications/item/homeRealmDiscoveryPolicies/item/homeRealmDiscoveryPolicyItemRequestBuilder.ts +++ b/src/applications/item/homeRealmDiscoveryPolicies/item/homeRealmDiscoveryPolicyItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class HomeRealmDiscoveryPolicyItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/logo/logoRequestBuilder.ts b/src/applications/item/logo/logoRequestBuilder.ts index 93e9cca4ff5..d2800fa4dc3 100644 --- a/src/applications/item/logo/logoRequestBuilder.ts +++ b/src/applications/item/logo/logoRequestBuilder.ts @@ -82,7 +82,7 @@ export class LogoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class LogoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/applications/item/owners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/applications/item/owners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index e635a7d918c..2e24b5db7c0 100644 --- a/src/applications/item/owners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/applications/item/owners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/graphEndpoint/graphEndpointRequestBuilder.ts b/src/applications/item/owners/graphEndpoint/graphEndpointRequestBuilder.ts index 86a721cb60c..b0338e85cf5 100644 --- a/src/applications/item/owners/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/applications/item/owners/graphEndpoint/graphEndpointRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/applications/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 9aef27b0114..98bbceedab7 100644 --- a/src/applications/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/applications/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/graphUser/graphUserRequestBuilder.ts b/src/applications/item/owners/graphUser/graphUserRequestBuilder.ts index 1bf85bc8127..1c54154df88 100644 --- a/src/applications/item/owners/graphUser/graphUserRequestBuilder.ts +++ b/src/applications/item/owners/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/applications/item/owners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 1a4995936a0..053af9d30c0 100644 --- a/src/applications/item/owners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/applications/item/owners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/item/graphEndpoint/graphEndpointRequestBuilder.ts b/src/applications/item/owners/item/graphEndpoint/graphEndpointRequestBuilder.ts index 75adaf6ae33..12df94cde1e 100644 --- a/src/applications/item/owners/item/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/applications/item/owners/item/graphEndpoint/graphEndpointRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/applications/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 16f3174b7d5..7c3acb1ae3f 100644 --- a/src/applications/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/applications/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/item/graphUser/graphUserRequestBuilder.ts b/src/applications/item/owners/item/graphUser/graphUserRequestBuilder.ts index 9898bad1a81..7db9e440bf5 100644 --- a/src/applications/item/owners/item/graphUser/graphUserRequestBuilder.ts +++ b/src/applications/item/owners/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/item/ref/refRequestBuilder.ts b/src/applications/item/owners/item/ref/refRequestBuilder.ts index 5c83d0be536..0a851208994 100644 --- a/src/applications/item/owners/item/ref/refRequestBuilder.ts +++ b/src/applications/item/owners/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/ownersRequestBuilder.ts b/src/applications/item/owners/ownersRequestBuilder.ts index 6c7a11d8593..a3886c85774 100644 --- a/src/applications/item/owners/ownersRequestBuilder.ts +++ b/src/applications/item/owners/ownersRequestBuilder.ts @@ -152,7 +152,7 @@ export class OwnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/owners/ref/refRequestBuilder.ts b/src/applications/item/owners/ref/refRequestBuilder.ts index f09050b59db..272e32b2e17 100644 --- a/src/applications/item/owners/ref/refRequestBuilder.ts +++ b/src/applications/item/owners/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/applications/item/removeKey/removeKeyRequestBuilder.ts b/src/applications/item/removeKey/removeKeyRequestBuilder.ts index a6c21486ffb..0149545ca16 100644 --- a/src/applications/item/removeKey/removeKeyRequestBuilder.ts +++ b/src/applications/item/removeKey/removeKeyRequestBuilder.ts @@ -60,7 +60,7 @@ export class RemoveKeyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemoveKeyPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/removePassword/removePasswordRequestBuilder.ts b/src/applications/item/removePassword/removePasswordRequestBuilder.ts index cf3798d542d..85e9d2b4bc5 100644 --- a/src/applications/item/removePassword/removePasswordRequestBuilder.ts +++ b/src/applications/item/removePassword/removePasswordRequestBuilder.ts @@ -60,7 +60,7 @@ export class RemovePasswordRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemovePasswordPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/restore/restoreRequestBuilder.ts b/src/applications/item/restore/restoreRequestBuilder.ts index c38b1f21061..942c7304ab9 100644 --- a/src/applications/item/restore/restoreRequestBuilder.ts +++ b/src/applications/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/setVerifiedPublisher/setVerifiedPublisherRequestBuilder.ts b/src/applications/item/setVerifiedPublisher/setVerifiedPublisherRequestBuilder.ts index 9a6830feece..df93d929d49 100644 --- a/src/applications/item/setVerifiedPublisher/setVerifiedPublisherRequestBuilder.ts +++ b/src/applications/item/setVerifiedPublisher/setVerifiedPublisherRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetVerifiedPublisherRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetVerifiedPublisherPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts index fbdfbd19387..25fb1db63c3 100644 --- a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts +++ b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcquireAccessTokenPostRequestBody(acquireAccessTo } } export function serializeAcquireAccessTokenPostRequestBody(writer: SerializationWriter, acquireAccessTokenPostRequestBody: AcquireAccessTokenPostRequestBody | undefined = {} as AcquireAccessTokenPostRequestBody) : void { - writer.writeCollectionOfObjectValues("credentials", acquireAccessTokenPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", acquireAccessTokenPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeAdditionalData(acquireAccessTokenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenRequestBuilder.ts b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenRequestBuilder.ts index 6903fd8d7a4..c3615b6b972 100644 --- a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenRequestBuilder.ts +++ b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcquireAccessTokenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcquireAccessTokenPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/pause/pauseRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/pause/pauseRequestBuilder.ts index 1b1afe1a0ed..03b4ae0995e 100644 --- a/src/applications/item/synchronization/jobs/item/pause/pauseRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/pause/pauseRequestBuilder.ts @@ -56,7 +56,7 @@ export class PauseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts index 9e5ae39f6fb..f10d9c5a5c7 100644 --- a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProvisionOnDemandPostRequestBody extends AdditionalDataHolder, parameters?: SynchronizationJobApplicationParameters[]; } export function serializeProvisionOnDemandPostRequestBody(writer: SerializationWriter, provisionOnDemandPostRequestBody: ProvisionOnDemandPostRequestBody | undefined = {} as ProvisionOnDemandPostRequestBody) : void { - writer.writeCollectionOfObjectValues("parameters", provisionOnDemandPostRequestBody.parameters, ); + writer.writeCollectionOfObjectValues("parameters", provisionOnDemandPostRequestBody.parameters, serializeSynchronizationJobApplicationParameters); writer.writeAdditionalData(provisionOnDemandPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandRequestBuilder.ts index e416a59b4e4..23e068f7cdb 100644 --- a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandRequestBuilder.ts @@ -62,7 +62,7 @@ export class ProvisionOnDemandRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProvisionOnDemandPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts index b8bf79cd274..f94b41a94f5 100644 --- a/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RestartPostRequestBody extends AdditionalDataHolder, Parsable { criteria?: SynchronizationJobRestartCriteria; } export function serializeRestartPostRequestBody(writer: SerializationWriter, restartPostRequestBody: RestartPostRequestBody | undefined = {} as RestartPostRequestBody) : void { - writer.writeObjectValue("criteria", restartPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", restartPostRequestBody.criteria, serializeSynchronizationJobRestartCriteria); writer.writeAdditionalData(restartPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/restart/restartRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/restart/restartRequestBuilder.ts index 65e3dac112f..ec08513334b 100644 --- a/src/applications/item/synchronization/jobs/item/restart/restartRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/restart/restartRequestBuilder.ts @@ -60,7 +60,7 @@ export class RestartRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRestartPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/schema/directories/directoriesRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/directories/directoriesRequestBuilder.ts index 80c7bb7cd18..be005761bc4 100644 --- a/src/applications/item/synchronization/jobs/item/schema/directories/directoriesRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/directories/directoriesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DirectoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DirectoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryDefinition); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts index 9f67d1b4689..e53d1ba5463 100644 --- a/src/applications/item/synchronization/jobs/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryDefinition); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/schema/directories/item/discover/discoverRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/directories/item/discover/discoverRequestBuilder.ts index 06754f9c16f..ce728d210e1 100644 --- a/src/applications/item/synchronization/jobs/item/schema/directories/item/discover/discoverRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/directories/item/discover/discoverRequestBuilder.ts @@ -59,7 +59,7 @@ export class DiscoverRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts index c7d78736f9d..8fa6eb116bf 100644 --- a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts +++ b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterOperatorsGetResponse extends BaseCollectionPaginationCoun } export function serializeFilterOperatorsGetResponse(writer: SerializationWriter, filterOperatorsGetResponse: FilterOperatorsGetResponse | undefined = {} as FilterOperatorsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterOperatorsGetResponse) - writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, serializeFilterOperatorSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsRequestBuilder.ts index ece8b29cf40..51cf3fde55b 100644 --- a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsRequestBuilder.ts @@ -93,7 +93,7 @@ export class FilterOperatorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts b/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts index ccd60c27e77..f148bbc6447 100644 --- a/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts +++ b/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts @@ -23,7 +23,7 @@ export interface FunctionsGetResponse extends BaseCollectionPaginationCountRespo } export function serializeFunctionsGetResponse(writer: SerializationWriter, functionsGetResponse: FunctionsGetResponse | undefined = {} as FunctionsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, functionsGetResponse) - writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/jobs/item/schema/functions/functionsRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/functions/functionsRequestBuilder.ts index 91bc791bbff..b5f3deb5589 100644 --- a/src/applications/item/synchronization/jobs/item/schema/functions/functionsRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/functions/functionsRequestBuilder.ts @@ -93,7 +93,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts index 4af41530919..c065d642bfc 100644 --- a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ParseExpressionPostRequestBody extends AdditionalDataHolder, Pa } export function serializeParseExpressionPostRequestBody(writer: SerializationWriter, parseExpressionPostRequestBody: ParseExpressionPostRequestBody | undefined = {} as ParseExpressionPostRequestBody) : void { writer.writeStringValue("expression", parseExpressionPostRequestBody.expression); - writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, ); - writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, ); + writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, serializeAttributeDefinition); + writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, serializeExpressionInputObject); writer.writeAdditionalData(parseExpressionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionRequestBuilder.ts index 352c24ff393..5e767d4314f 100644 --- a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionRequestBuilder.ts @@ -62,7 +62,7 @@ export class ParseExpressionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeParseExpressionPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/schema/schemaRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/schema/schemaRequestBuilder.ts index 9efcc23a6ed..18ca727a351 100644 --- a/src/applications/item/synchronization/jobs/item/schema/schemaRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/schema/schemaRequestBuilder.ts @@ -151,7 +151,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -169,7 +169,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationSchema); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/start/startRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/start/startRequestBuilder.ts index 9b5f1861989..f256aa7c6aa 100644 --- a/src/applications/item/synchronization/jobs/item/start/startRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/start/startRequestBuilder.ts @@ -56,7 +56,7 @@ export class StartRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/jobs/item/synchronizationJobItemRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/synchronizationJobItemRequestBuilder.ts index 5b44f75f032..55665c44d9c 100644 --- a/src/applications/item/synchronization/jobs/item/synchronizationJobItemRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/synchronizationJobItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class SynchronizationJobItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class SynchronizationJobItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class SynchronizationJobItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationJob); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts index 8fc59079985..037bc031718 100644 --- a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts @@ -18,7 +18,7 @@ export function deserializeIntoValidateCredentialsPostRequestBody(validateCreden } export function serializeValidateCredentialsPostRequestBody(writer: SerializationWriter, validateCredentialsPostRequestBody: ValidateCredentialsPostRequestBody | undefined = {} as ValidateCredentialsPostRequestBody) : void { writer.writeStringValue("applicationIdentifier", validateCredentialsPostRequestBody.applicationIdentifier); - writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeStringValue("templateId", validateCredentialsPostRequestBody.templateId); writer.writeBooleanValue("useSavedCredentials", validateCredentialsPostRequestBody.useSavedCredentials); writer.writeAdditionalData(validateCredentialsPostRequestBody.additionalData); diff --git a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsRequestBuilder.ts b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsRequestBuilder.ts index 629c99dd842..5ef0dfa6aa8 100644 --- a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidateCredentialsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidateCredentialsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/jobsRequestBuilder.ts b/src/applications/item/synchronization/jobs/jobsRequestBuilder.ts index 5100953563f..3cf9854d038 100644 --- a/src/applications/item/synchronization/jobs/jobsRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/jobsRequestBuilder.ts @@ -152,7 +152,7 @@ export class JobsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class JobsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationJob); return requestInfo; }; diff --git a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts index 4c009dc4b28..3234fbe4d03 100644 --- a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts @@ -18,7 +18,7 @@ export function deserializeIntoValidateCredentialsPostRequestBody(validateCreden } export function serializeValidateCredentialsPostRequestBody(writer: SerializationWriter, validateCredentialsPostRequestBody: ValidateCredentialsPostRequestBody | undefined = {} as ValidateCredentialsPostRequestBody) : void { writer.writeStringValue("applicationIdentifier", validateCredentialsPostRequestBody.applicationIdentifier); - writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeStringValue("templateId", validateCredentialsPostRequestBody.templateId); writer.writeBooleanValue("useSavedCredentials", validateCredentialsPostRequestBody.useSavedCredentials); writer.writeAdditionalData(validateCredentialsPostRequestBody.additionalData); diff --git a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsRequestBuilder.ts b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsRequestBuilder.ts index 8aeb1410321..c1a52424313 100644 --- a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsRequestBuilder.ts +++ b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsRequestBuilder.ts @@ -59,7 +59,7 @@ export class ValidateCredentialsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidateCredentialsPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/secrets/secretsRequestBuilder.ts b/src/applications/item/synchronization/secrets/secretsRequestBuilder.ts index 2e962490eef..f78dde25727 100644 --- a/src/applications/item/synchronization/secrets/secretsRequestBuilder.ts +++ b/src/applications/item/synchronization/secrets/secretsRequestBuilder.ts @@ -67,7 +67,7 @@ export class SecretsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationSecretKeyStringValuePair); return requestInfo; }; diff --git a/src/applications/item/synchronization/synchronizationRequestBuilder.ts b/src/applications/item/synchronization/synchronizationRequestBuilder.ts index 7d08eab0fcb..bbfc3268b80 100644 --- a/src/applications/item/synchronization/synchronizationRequestBuilder.ts +++ b/src/applications/item/synchronization/synchronizationRequestBuilder.ts @@ -149,7 +149,7 @@ export class SynchronizationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SynchronizationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SynchronizationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronization); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/item/schema/directories/directoriesRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/directories/directoriesRequestBuilder.ts index 5c8fb0448a6..86a8ebc2964 100644 --- a/src/applications/item/synchronization/templates/item/schema/directories/directoriesRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/directories/directoriesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DirectoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DirectoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryDefinition); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts index 58485afe276..6638717e5a4 100644 --- a/src/applications/item/synchronization/templates/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/directories/item/directoryDefinitionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryDefinition); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/item/schema/directories/item/discover/discoverRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/directories/item/discover/discoverRequestBuilder.ts index 1f3e4f8ab29..92eba19929e 100644 --- a/src/applications/item/synchronization/templates/item/schema/directories/item/discover/discoverRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/directories/item/discover/discoverRequestBuilder.ts @@ -59,7 +59,7 @@ export class DiscoverRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts index c7d78736f9d..8fa6eb116bf 100644 --- a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts +++ b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterOperatorsGetResponse extends BaseCollectionPaginationCoun } export function serializeFilterOperatorsGetResponse(writer: SerializationWriter, filterOperatorsGetResponse: FilterOperatorsGetResponse | undefined = {} as FilterOperatorsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterOperatorsGetResponse) - writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, serializeFilterOperatorSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsRequestBuilder.ts index 721bfd7e55b..a5fdb958467 100644 --- a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsRequestBuilder.ts @@ -93,7 +93,7 @@ export class FilterOperatorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts b/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts index ccd60c27e77..f148bbc6447 100644 --- a/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts +++ b/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts @@ -23,7 +23,7 @@ export interface FunctionsGetResponse extends BaseCollectionPaginationCountRespo } export function serializeFunctionsGetResponse(writer: SerializationWriter, functionsGetResponse: FunctionsGetResponse | undefined = {} as FunctionsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, functionsGetResponse) - writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/templates/item/schema/functions/functionsRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/functions/functionsRequestBuilder.ts index 3f3486f08ec..dec25366c50 100644 --- a/src/applications/item/synchronization/templates/item/schema/functions/functionsRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/functions/functionsRequestBuilder.ts @@ -93,7 +93,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts index 4af41530919..c065d642bfc 100644 --- a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts +++ b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ParseExpressionPostRequestBody extends AdditionalDataHolder, Pa } export function serializeParseExpressionPostRequestBody(writer: SerializationWriter, parseExpressionPostRequestBody: ParseExpressionPostRequestBody | undefined = {} as ParseExpressionPostRequestBody) : void { writer.writeStringValue("expression", parseExpressionPostRequestBody.expression); - writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, ); - writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, ); + writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, serializeAttributeDefinition); + writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, serializeExpressionInputObject); writer.writeAdditionalData(parseExpressionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionRequestBuilder.ts index 1789be461ff..4cd617308b5 100644 --- a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionRequestBuilder.ts @@ -62,7 +62,7 @@ export class ParseExpressionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeParseExpressionPostRequestBody); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/item/schema/schemaRequestBuilder.ts b/src/applications/item/synchronization/templates/item/schema/schemaRequestBuilder.ts index 3409c5839e3..3208bb119b3 100644 --- a/src/applications/item/synchronization/templates/item/schema/schemaRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/schema/schemaRequestBuilder.ts @@ -149,7 +149,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationSchema); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/item/synchronizationTemplateItemRequestBuilder.ts b/src/applications/item/synchronization/templates/item/synchronizationTemplateItemRequestBuilder.ts index 30b39423d78..87d49c44eef 100644 --- a/src/applications/item/synchronization/templates/item/synchronizationTemplateItemRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/item/synchronizationTemplateItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class SynchronizationTemplateItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class SynchronizationTemplateItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class SynchronizationTemplateItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationTemplate); return requestInfo; }; diff --git a/src/applications/item/synchronization/templates/templatesRequestBuilder.ts b/src/applications/item/synchronization/templates/templatesRequestBuilder.ts index 825e1548f20..e7e185908df 100644 --- a/src/applications/item/synchronization/templates/templatesRequestBuilder.ts +++ b/src/applications/item/synchronization/templates/templatesRequestBuilder.ts @@ -144,7 +144,7 @@ export class TemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSynchronizationTemplate); return requestInfo; }; diff --git a/src/applications/item/tokenIssuancePolicies/item/ref/refRequestBuilder.ts b/src/applications/item/tokenIssuancePolicies/item/ref/refRequestBuilder.ts index a1d94306e20..36b8dbd891c 100644 --- a/src/applications/item/tokenIssuancePolicies/item/ref/refRequestBuilder.ts +++ b/src/applications/item/tokenIssuancePolicies/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/tokenIssuancePolicies/ref/refRequestBuilder.ts b/src/applications/item/tokenIssuancePolicies/ref/refRequestBuilder.ts index 2782fb76713..80d76f0ccdb 100644 --- a/src/applications/item/tokenIssuancePolicies/ref/refRequestBuilder.ts +++ b/src/applications/item/tokenIssuancePolicies/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/applications/item/tokenIssuancePolicies/tokenIssuancePoliciesRequestBuilder.ts b/src/applications/item/tokenIssuancePolicies/tokenIssuancePoliciesRequestBuilder.ts index 0f34dbddc9f..013e9bc579f 100644 --- a/src/applications/item/tokenIssuancePolicies/tokenIssuancePoliciesRequestBuilder.ts +++ b/src/applications/item/tokenIssuancePolicies/tokenIssuancePoliciesRequestBuilder.ts @@ -124,7 +124,7 @@ export class TokenIssuancePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/tokenLifetimePolicies/item/ref/refRequestBuilder.ts b/src/applications/item/tokenLifetimePolicies/item/ref/refRequestBuilder.ts index 5e04c656f6f..89729aaa914 100644 --- a/src/applications/item/tokenLifetimePolicies/item/ref/refRequestBuilder.ts +++ b/src/applications/item/tokenLifetimePolicies/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/tokenLifetimePolicies/ref/refRequestBuilder.ts b/src/applications/item/tokenLifetimePolicies/ref/refRequestBuilder.ts index b06632892b3..a4e36e4dd13 100644 --- a/src/applications/item/tokenLifetimePolicies/ref/refRequestBuilder.ts +++ b/src/applications/item/tokenLifetimePolicies/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/applications/item/tokenLifetimePolicies/tokenLifetimePoliciesRequestBuilder.ts b/src/applications/item/tokenLifetimePolicies/tokenLifetimePoliciesRequestBuilder.ts index f154d040f76..02b35ba9858 100644 --- a/src/applications/item/tokenLifetimePolicies/tokenLifetimePoliciesRequestBuilder.ts +++ b/src/applications/item/tokenLifetimePolicies/tokenLifetimePoliciesRequestBuilder.ts @@ -124,7 +124,7 @@ export class TokenLifetimePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/item/unsetVerifiedPublisher/unsetVerifiedPublisherRequestBuilder.ts b/src/applications/item/unsetVerifiedPublisher/unsetVerifiedPublisherRequestBuilder.ts index 94e0ffcb1b4..c26cfef2dd3 100644 --- a/src/applications/item/unsetVerifiedPublisher/unsetVerifiedPublisherRequestBuilder.ts +++ b/src/applications/item/unsetVerifiedPublisher/unsetVerifiedPublisherRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnsetVerifiedPublisherRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/applications/validateProperties/validatePropertiesRequestBuilder.ts b/src/applications/validateProperties/validatePropertiesRequestBuilder.ts index ca528661fc8..50739c28c70 100644 --- a/src/applications/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/applications/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/applicationsWithAppId/applicationsWithAppIdRequestBuilder.ts b/src/applicationsWithAppId/applicationsWithAppIdRequestBuilder.ts index 2a91e46aa84..1953c9bc2c5 100644 --- a/src/applicationsWithAppId/applicationsWithAppIdRequestBuilder.ts +++ b/src/applicationsWithAppId/applicationsWithAppIdRequestBuilder.ts @@ -126,7 +126,7 @@ export class ApplicationsWithAppIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -144,7 +144,7 @@ export class ApplicationsWithAppIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ApplicationsWithAppIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplication); return requestInfo; }; diff --git a/src/auditLogs/auditLogsRequestBuilder.ts b/src/auditLogs/auditLogsRequestBuilder.ts index a9ed3dec08c..52650989fd4 100644 --- a/src/auditLogs/auditLogsRequestBuilder.ts +++ b/src/auditLogs/auditLogsRequestBuilder.ts @@ -119,7 +119,7 @@ export class AuditLogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class AuditLogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuditLogRoot); return requestInfo; }; diff --git a/src/auditLogs/directoryAudits/directoryAuditsRequestBuilder.ts b/src/auditLogs/directoryAudits/directoryAuditsRequestBuilder.ts index 48bad79bace..93baec9fc50 100644 --- a/src/auditLogs/directoryAudits/directoryAuditsRequestBuilder.ts +++ b/src/auditLogs/directoryAudits/directoryAuditsRequestBuilder.ts @@ -144,7 +144,7 @@ export class DirectoryAuditsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class DirectoryAuditsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryAudit); return requestInfo; }; diff --git a/src/auditLogs/directoryAudits/item/directoryAuditItemRequestBuilder.ts b/src/auditLogs/directoryAudits/item/directoryAuditItemRequestBuilder.ts index c5483561b95..a2b7efae68e 100644 --- a/src/auditLogs/directoryAudits/item/directoryAuditItemRequestBuilder.ts +++ b/src/auditLogs/directoryAudits/item/directoryAuditItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class DirectoryAuditItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class DirectoryAuditItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class DirectoryAuditItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryAudit); return requestInfo; }; diff --git a/src/auditLogs/provisioning/item/provisioningObjectSummaryItemRequestBuilder.ts b/src/auditLogs/provisioning/item/provisioningObjectSummaryItemRequestBuilder.ts index f333e442937..77a2f37059b 100644 --- a/src/auditLogs/provisioning/item/provisioningObjectSummaryItemRequestBuilder.ts +++ b/src/auditLogs/provisioning/item/provisioningObjectSummaryItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ProvisioningObjectSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ProvisioningObjectSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ProvisioningObjectSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProvisioningObjectSummary); return requestInfo; }; diff --git a/src/auditLogs/provisioning/provisioningRequestBuilder.ts b/src/auditLogs/provisioning/provisioningRequestBuilder.ts index ddddf630022..41f99c24295 100644 --- a/src/auditLogs/provisioning/provisioningRequestBuilder.ts +++ b/src/auditLogs/provisioning/provisioningRequestBuilder.ts @@ -144,7 +144,7 @@ export class ProvisioningRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ProvisioningRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProvisioningObjectSummary); return requestInfo; }; diff --git a/src/auditLogs/signIns/item/signInItemRequestBuilder.ts b/src/auditLogs/signIns/item/signInItemRequestBuilder.ts index 0502bfe1092..3b041f8d2d7 100644 --- a/src/auditLogs/signIns/item/signInItemRequestBuilder.ts +++ b/src/auditLogs/signIns/item/signInItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class SignInItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class SignInItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class SignInItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSignIn); return requestInfo; }; diff --git a/src/auditLogs/signIns/signInsRequestBuilder.ts b/src/auditLogs/signIns/signInsRequestBuilder.ts index 049b86682a9..f719dc55f20 100644 --- a/src/auditLogs/signIns/signInsRequestBuilder.ts +++ b/src/auditLogs/signIns/signInsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SignInsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SignInsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSignIn); return requestInfo; }; diff --git a/src/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts b/src/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts index c2de2570efb..46bc2e478e7 100644 --- a/src/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts +++ b/src/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AuthenticationMethodConfigurationsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AuthenticationMethodConfigurationsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodConfiguration); return requestInfo; }; diff --git a/src/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts b/src/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts index 9ca5750cdd8..4196f4fe556 100644 --- a/src/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts +++ b/src/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodConfiguration); return requestInfo; }; diff --git a/src/authenticationMethodsPolicy/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts b/src/authenticationMethodsPolicy/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts index 00ad4c0ebea..dad274fc259 100644 --- a/src/authenticationMethodsPolicy/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts +++ b/src/authenticationMethodsPolicy/authenticationMethodConfigurations/authenticationMethodConfigurationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AuthenticationMethodConfigurationsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AuthenticationMethodConfigurationsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodConfiguration); return requestInfo; }; diff --git a/src/authenticationMethodsPolicy/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts b/src/authenticationMethodsPolicy/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts index 60c502ad7ed..ffe16bd9926 100644 --- a/src/authenticationMethodsPolicy/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts +++ b/src/authenticationMethodsPolicy/authenticationMethodConfigurations/item/authenticationMethodConfigurationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AuthenticationMethodConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodConfiguration); return requestInfo; }; diff --git a/src/authenticationMethodsPolicy/authenticationMethodsPolicyRequestBuilder.ts b/src/authenticationMethodsPolicy/authenticationMethodsPolicyRequestBuilder.ts index f4c5a4e84bb..4ba346ac09e 100644 --- a/src/authenticationMethodsPolicy/authenticationMethodsPolicyRequestBuilder.ts +++ b/src/authenticationMethodsPolicy/authenticationMethodsPolicyRequestBuilder.ts @@ -105,7 +105,7 @@ export class AuthenticationMethodsPolicyRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -124,7 +124,7 @@ export class AuthenticationMethodsPolicyRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodsPolicy); return requestInfo; }; diff --git a/src/certificateBasedAuthConfiguration/certificateBasedAuthConfigurationRequestBuilder.ts b/src/certificateBasedAuthConfiguration/certificateBasedAuthConfigurationRequestBuilder.ts index 7b6af487d7b..89b7d2f155c 100644 --- a/src/certificateBasedAuthConfiguration/certificateBasedAuthConfigurationRequestBuilder.ts +++ b/src/certificateBasedAuthConfiguration/certificateBasedAuthConfigurationRequestBuilder.ts @@ -143,7 +143,7 @@ export class CertificateBasedAuthConfigurationRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class CertificateBasedAuthConfigurationRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCertificateBasedAuthConfiguration); return requestInfo; }; diff --git a/src/certificateBasedAuthConfiguration/item/certificateBasedAuthConfigurationItemRequestBuilder.ts b/src/certificateBasedAuthConfiguration/item/certificateBasedAuthConfigurationItemRequestBuilder.ts index 21774c367dc..694a352abb3 100644 --- a/src/certificateBasedAuthConfiguration/item/certificateBasedAuthConfigurationItemRequestBuilder.ts +++ b/src/certificateBasedAuthConfiguration/item/certificateBasedAuthConfigurationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class CertificateBasedAuthConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class CertificateBasedAuthConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class CertificateBasedAuthConfigurationItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCertificateBasedAuthConfiguration); return requestInfo; }; diff --git a/src/chats/chatsRequestBuilder.ts b/src/chats/chatsRequestBuilder.ts index 2fa21195bbf..e4724b04b77 100644 --- a/src/chats/chatsRequestBuilder.ts +++ b/src/chats/chatsRequestBuilder.ts @@ -152,7 +152,7 @@ export class ChatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ChatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChat); return requestInfo; }; diff --git a/src/chats/getAllMessages/getAllMessagesGetResponse.ts b/src/chats/getAllMessages/getAllMessagesGetResponse.ts index 56174244437..69792178b8f 100644 --- a/src/chats/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/chats/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/getAllMessages/getAllMessagesRequestBuilder.ts b/src/chats/getAllMessages/getAllMessagesRequestBuilder.ts index 895b00fb9a6..70820f89256 100644 --- a/src/chats/getAllMessages/getAllMessagesRequestBuilder.ts +++ b/src/chats/getAllMessages/getAllMessagesRequestBuilder.ts @@ -97,7 +97,7 @@ export class GetAllMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/chatItemRequestBuilder.ts b/src/chats/item/chatItemRequestBuilder.ts index 83942093c38..a449dfe0cc2 100644 --- a/src/chats/item/chatItemRequestBuilder.ts +++ b/src/chats/item/chatItemRequestBuilder.ts @@ -207,7 +207,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -225,7 +225,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -244,7 +244,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChat); return requestInfo; }; diff --git a/src/chats/item/hideForUser/hideForUserPostRequestBody.ts b/src/chats/item/hideForUser/hideForUserPostRequestBody.ts index c38bdbd1377..596594190fe 100644 --- a/src/chats/item/hideForUser/hideForUserPostRequestBody.ts +++ b/src/chats/item/hideForUser/hideForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HideForUserPostRequestBody extends AdditionalDataHolder, Parsab user?: TeamworkUserIdentity; } export function serializeHideForUserPostRequestBody(writer: SerializationWriter, hideForUserPostRequestBody: HideForUserPostRequestBody | undefined = {} as HideForUserPostRequestBody) : void { - writer.writeObjectValue("user", hideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", hideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(hideForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/hideForUser/hideForUserRequestBuilder.ts b/src/chats/item/hideForUser/hideForUserRequestBuilder.ts index 65d2a7d9169..3664f59f6af 100644 --- a/src/chats/item/hideForUser/hideForUserRequestBuilder.ts +++ b/src/chats/item/hideForUser/hideForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class HideForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHideForUserPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/installedApps/installedAppsRequestBuilder.ts b/src/chats/item/installedApps/installedAppsRequestBuilder.ts index cd57a49e749..dfaf16a4b79 100644 --- a/src/chats/item/installedApps/installedAppsRequestBuilder.ts +++ b/src/chats/item/installedApps/installedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts b/src/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts index 9c5e51dcfee..79419222a33 100644 --- a/src/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts b/src/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts index 720207f0a96..3bc11e2b1b2 100644 --- a/src/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts +++ b/src/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts b/src/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts index 2ceb9d95170..618249f472c 100644 --- a/src/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts +++ b/src/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts index c710821920d..b49752a10b1 100644 --- a/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts b/src/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts index 5e22546b788..782a85ec6bf 100644 --- a/src/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts +++ b/src/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpgradeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpgradePostRequestBody); return requestInfo; }; diff --git a/src/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts b/src/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts index 8ca602c802e..a63eebaf684 100644 --- a/src/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts +++ b/src/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts @@ -121,7 +121,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageInfo); return requestInfo; }; diff --git a/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts b/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts index d626c641f04..052039c9ce4 100644 --- a/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts +++ b/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MarkChatReadForUserPostRequestBody extends AdditionalDataHolder user?: TeamworkUserIdentity; } export function serializeMarkChatReadForUserPostRequestBody(writer: SerializationWriter, markChatReadForUserPostRequestBody: MarkChatReadForUserPostRequestBody | undefined = {} as MarkChatReadForUserPostRequestBody) : void { - writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatReadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts b/src/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts index ee865e35b02..622710873be 100644 --- a/src/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts +++ b/src/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class MarkChatReadForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkChatReadForUserPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts index a1e9805c82d..a426c13dced 100644 --- a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts +++ b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts @@ -30,7 +30,7 @@ export interface MarkChatUnreadForUserPostRequestBody extends AdditionalDataHold } export function serializeMarkChatUnreadForUserPostRequestBody(writer: SerializationWriter, markChatUnreadForUserPostRequestBody: MarkChatUnreadForUserPostRequestBody | undefined = {} as MarkChatUnreadForUserPostRequestBody) : void { writer.writeDateValue("lastMessageReadDateTime", markChatUnreadForUserPostRequestBody.lastMessageReadDateTime); - writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatUnreadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts index 3a9fcb867a5..40cebf9e1fe 100644 --- a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts +++ b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class MarkChatUnreadForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkChatUnreadForUserPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/members/add/addPostRequestBody.ts b/src/chats/item/members/add/addPostRequestBody.ts index 091a2011283..9050cdc6f64 100644 --- a/src/chats/item/members/add/addPostRequestBody.ts +++ b/src/chats/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/members/add/addPostResponse.ts b/src/chats/item/members/add/addPostResponse.ts index 1d727a447fe..bdf1d7f33fb 100644 --- a/src/chats/item/members/add/addPostResponse.ts +++ b/src/chats/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/chats/item/members/add/addRequestBuilder.ts b/src/chats/item/members/add/addRequestBuilder.ts index 0ebec0e6d54..ababcdfa6cb 100644 --- a/src/chats/item/members/add/addRequestBuilder.ts +++ b/src/chats/item/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/members/item/conversationMemberItemRequestBuilder.ts b/src/chats/item/members/item/conversationMemberItemRequestBuilder.ts index b6e46fe235a..f200d1d94f3 100644 --- a/src/chats/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/chats/item/members/item/conversationMemberItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/chats/item/members/membersRequestBuilder.ts b/src/chats/item/members/membersRequestBuilder.ts index 70244dd85b9..21584a466cc 100644 --- a/src/chats/item/members/membersRequestBuilder.ts +++ b/src/chats/item/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/chats/item/messages/delta/deltaGetResponse.ts b/src/chats/item/messages/delta/deltaGetResponse.ts index 4d69d14c27b..7a8c7af670d 100644 --- a/src/chats/item/messages/delta/deltaGetResponse.ts +++ b/src/chats/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/item/messages/delta/deltaRequestBuilder.ts b/src/chats/item/messages/delta/deltaRequestBuilder.ts index 62a2a6ae288..68531f3df85 100644 --- a/src/chats/item/messages/delta/deltaRequestBuilder.ts +++ b/src/chats/item/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/chatMessageItemRequestBuilder.ts b/src/chats/item/messages/item/chatMessageItemRequestBuilder.ts index f8c52e3370d..b4eff6ba035 100644 --- a/src/chats/item/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/chats/item/messages/item/chatMessageItemRequestBuilder.ts @@ -164,7 +164,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -201,7 +201,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index aab09cd6ae3..7433f19eb63 100644 --- a/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index e1dbd77e83c..0e042c2a2b3 100644 --- a/src/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts index dfb84f92d05..b624910c698 100644 --- a/src/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts b/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts b/src/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts index 0dd404b7a89..f3a51e496d9 100644 --- a/src/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts index 28bb284d8f0..0e714cf0319 100644 --- a/src/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 04446a7e867..cc852289e27 100644 --- a/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index cbecec36646..3acfdc56ac7 100644 --- a/src/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index 11d393e2190..681fc02503e 100644 --- a/src/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index 4c742b1cf3e..b7e60a5226b 100644 --- a/src/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index e951e5a22cf..c88fc1e1c68 100644 --- a/src/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 6291e6270f5..6beb076b23a 100644 --- a/src/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 16065e6a65b..6b4e24c35a2 100644 --- a/src/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts index 8b079ce6b4c..992ce4c3224 100644 --- a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts b/src/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts index e8dfef8cb53..a3a84479248 100644 --- a/src/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts index d0648b3c721..aa7e03352a5 100644 --- a/src/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index d56f26ef1d9..b334766b21d 100644 --- a/src/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index 4bb39ec5d0d..54db0201769 100644 --- a/src/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/messages/messagesRequestBuilder.ts b/src/chats/item/messages/messagesRequestBuilder.ts index 608b8ebb7ab..306457064c4 100644 --- a/src/chats/item/messages/messagesRequestBuilder.ts +++ b/src/chats/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,11 +152,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts b/src/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts index 1ebe08c7d39..57328b4a407 100644 --- a/src/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts +++ b/src/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts b/src/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts index a4474b299e8..4a8a97746f7 100644 --- a/src/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts +++ b/src/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts b/src/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts index 65c0402d0d9..d7890278a3a 100644 --- a/src/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts +++ b/src/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts @@ -73,7 +73,7 @@ export class MessageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts b/src/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts index 5d1634b3e6d..2349056ecda 100644 --- a/src/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts +++ b/src/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePinnedChatMessageInfo); return requestInfo; }; diff --git a/src/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts b/src/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts index 81155e1aa57..069baf66cf4 100644 --- a/src/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts +++ b/src/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PinnedMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PinnedMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePinnedChatMessageInfo); return requestInfo; }; diff --git a/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index 89bfe22bfdb..c9b4e2546ed 100644 --- a/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts b/src/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts index f44b32934c8..10dc5a64ea3 100644 --- a/src/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts +++ b/src/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendActivityNotificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendActivityNotificationPostRequestBody); return requestInfo; }; diff --git a/src/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts index 8f7e0ffe323..398f7cd80c5 100644 --- a/src/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/chats/item/tabs/item/teamsTabItemRequestBuilder.ts b/src/chats/item/tabs/item/teamsTabItemRequestBuilder.ts index e61434885cf..23cb63a9fdb 100644 --- a/src/chats/item/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/chats/item/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/chats/item/tabs/tabsRequestBuilder.ts b/src/chats/item/tabs/tabsRequestBuilder.ts index 76dfafd6c89..e289b9ea1e9 100644 --- a/src/chats/item/tabs/tabsRequestBuilder.ts +++ b/src/chats/item/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts b/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts index b11b47b3faa..48de4e40ee9 100644 --- a/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts +++ b/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnhideForUserPostRequestBody(unhideForUserPostReq } } export function serializeUnhideForUserPostRequestBody(writer: SerializationWriter, unhideForUserPostRequestBody: UnhideForUserPostRequestBody | undefined = {} as UnhideForUserPostRequestBody) : void { - writer.writeObjectValue("user", unhideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", unhideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(unhideForUserPostRequestBody.additionalData); } export interface UnhideForUserPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/chats/item/unhideForUser/unhideForUserRequestBuilder.ts b/src/chats/item/unhideForUser/unhideForUserRequestBuilder.ts index 493a61312ca..b66110ce4d7 100644 --- a/src/chats/item/unhideForUser/unhideForUserRequestBuilder.ts +++ b/src/chats/item/unhideForUser/unhideForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class UnhideForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnhideForUserPostRequestBody); return requestInfo; }; diff --git a/src/communications/callRecords/callRecordsRequestBuilder.ts b/src/communications/callRecords/callRecordsRequestBuilder.ts index ca7a50d724d..0af4c8535dc 100644 --- a/src/communications/callRecords/callRecordsRequestBuilder.ts +++ b/src/communications/callRecords/callRecordsRequestBuilder.ts @@ -167,7 +167,7 @@ export class CallRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class CallRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecord); return requestInfo; }; diff --git a/src/communications/callRecords/item/callRecordItemRequestBuilder.ts b/src/communications/callRecords/item/callRecordItemRequestBuilder.ts index 74b37235e9f..9e6546f28ef 100644 --- a/src/communications/callRecords/item/callRecordItemRequestBuilder.ts +++ b/src/communications/callRecords/item/callRecordItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class CallRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class CallRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class CallRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecord); return requestInfo; }; diff --git a/src/communications/callRecords/item/sessions/item/segments/item/segmentItemRequestBuilder.ts b/src/communications/callRecords/item/sessions/item/segments/item/segmentItemRequestBuilder.ts index f8746ebe681..345b85ac6f6 100644 --- a/src/communications/callRecords/item/sessions/item/segments/item/segmentItemRequestBuilder.ts +++ b/src/communications/callRecords/item/sessions/item/segments/item/segmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class SegmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class SegmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class SegmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSegment); return requestInfo; }; diff --git a/src/communications/callRecords/item/sessions/item/segments/segmentsRequestBuilder.ts b/src/communications/callRecords/item/sessions/item/segments/segmentsRequestBuilder.ts index f3f5f14046f..515fe4503e8 100644 --- a/src/communications/callRecords/item/sessions/item/segments/segmentsRequestBuilder.ts +++ b/src/communications/callRecords/item/sessions/item/segments/segmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class SegmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class SegmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSegment); return requestInfo; }; diff --git a/src/communications/callRecords/item/sessions/item/sessionItemRequestBuilder.ts b/src/communications/callRecords/item/sessions/item/sessionItemRequestBuilder.ts index 0a44351cc72..d9766cf8ada 100644 --- a/src/communications/callRecords/item/sessions/item/sessionItemRequestBuilder.ts +++ b/src/communications/callRecords/item/sessions/item/sessionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class SessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class SessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class SessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSession); return requestInfo; }; diff --git a/src/communications/callRecords/item/sessions/sessionsRequestBuilder.ts b/src/communications/callRecords/item/sessions/sessionsRequestBuilder.ts index 86b71a1a88e..f03f2fcedb7 100644 --- a/src/communications/callRecords/item/sessions/sessionsRequestBuilder.ts +++ b/src/communications/callRecords/item/sessions/sessionsRequestBuilder.ts @@ -101,7 +101,7 @@ export class SessionsRequestBuilder extends BaseRequestBuilder { * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of SessionCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/callrecords-session-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: SessionsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -144,7 +144,7 @@ export class SessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSession); return requestInfo; }; diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts index 676429e2384..d75749668cf 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse } export function serializeGetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse(writer: SerializationWriter, getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse: GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse | undefined = {} as GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.value, serializeDirectRoutingLogRow); } // tslint:enable // eslint-enable diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts index 18a62ec8a7d..d1c5aca3aff 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts @@ -89,7 +89,7 @@ export class MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithT requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts index 526490fc27a..ff7e3ec665d 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse extends B } export function serializeGetPstnCallsWithFromDateTimeWithToDateTimeGetResponse(writer: SerializationWriter, getPstnCallsWithFromDateTimeWithToDateTimeGetResponse: GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse | undefined = {} as GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getPstnCallsWithFromDateTimeWithToDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.value, serializePstnCallLogRow); } // tslint:enable // eslint-enable diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts index 171b77e5820..7c5a77ab000 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.ts @@ -89,7 +89,7 @@ export class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/communications/calls/callsRequestBuilder.ts b/src/communications/calls/callsRequestBuilder.ts index 9452ed995da..4d5867e7c2f 100644 --- a/src/communications/calls/callsRequestBuilder.ts +++ b/src/communications/calls/callsRequestBuilder.ts @@ -151,7 +151,7 @@ export class CallsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class CallsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCall); return requestInfo; }; diff --git a/src/communications/calls/item/addLargeGalleryView/addLargeGalleryViewRequestBuilder.ts b/src/communications/calls/item/addLargeGalleryView/addLargeGalleryViewRequestBuilder.ts index 3039bac450d..ea5f633b544 100644 --- a/src/communications/calls/item/addLargeGalleryView/addLargeGalleryViewRequestBuilder.ts +++ b/src/communications/calls/item/addLargeGalleryView/addLargeGalleryViewRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddLargeGalleryViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddLargeGalleryViewPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/answer/answerPostRequestBody.ts b/src/communications/calls/item/answer/answerPostRequestBody.ts index a0ad54cf536..a8a74cfae91 100644 --- a/src/communications/calls/item/answer/answerPostRequestBody.ts +++ b/src/communications/calls/item/answer/answerPostRequestBody.ts @@ -49,8 +49,8 @@ export function serializeAnswerPostRequestBody(writer: SerializationWriter, answ if(answerPostRequestBody.acceptedModalities) writer.writeEnumValue("acceptedModalities", ...answerPostRequestBody.acceptedModalities); writer.writeStringValue("callbackUri", answerPostRequestBody.callbackUri); - writer.writeObjectValue("callOptions", answerPostRequestBody.callOptions, ); - writer.writeObjectValue("mediaConfig", answerPostRequestBody.mediaConfig, ); + writer.writeObjectValue("callOptions", answerPostRequestBody.callOptions, serializeIncomingCallOptions); + writer.writeObjectValue("mediaConfig", answerPostRequestBody.mediaConfig, serializeMediaConfig); writer.writeNumberValue("participantCapacity", answerPostRequestBody.participantCapacity); writer.writeAdditionalData(answerPostRequestBody.additionalData); } diff --git a/src/communications/calls/item/answer/answerRequestBuilder.ts b/src/communications/calls/item/answer/answerRequestBuilder.ts index 247c6c9734e..0804bace73f 100644 --- a/src/communications/calls/item/answer/answerRequestBuilder.ts +++ b/src/communications/calls/item/answer/answerRequestBuilder.ts @@ -60,7 +60,7 @@ export class AnswerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAnswerPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/audioRoutingGroups/audioRoutingGroupsRequestBuilder.ts b/src/communications/calls/item/audioRoutingGroups/audioRoutingGroupsRequestBuilder.ts index 4b2363b4896..d7afa1f8e3e 100644 --- a/src/communications/calls/item/audioRoutingGroups/audioRoutingGroupsRequestBuilder.ts +++ b/src/communications/calls/item/audioRoutingGroups/audioRoutingGroupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AudioRoutingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AudioRoutingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAudioRoutingGroup); return requestInfo; }; diff --git a/src/communications/calls/item/audioRoutingGroups/item/audioRoutingGroupItemRequestBuilder.ts b/src/communications/calls/item/audioRoutingGroups/item/audioRoutingGroupItemRequestBuilder.ts index 3a9a2592c5b..0ab1166b729 100644 --- a/src/communications/calls/item/audioRoutingGroups/item/audioRoutingGroupItemRequestBuilder.ts +++ b/src/communications/calls/item/audioRoutingGroups/item/audioRoutingGroupItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class AudioRoutingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class AudioRoutingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class AudioRoutingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAudioRoutingGroup); return requestInfo; }; diff --git a/src/communications/calls/item/callItemRequestBuilder.ts b/src/communications/calls/item/callItemRequestBuilder.ts index 55f6df8400e..0e8137a0e96 100644 --- a/src/communications/calls/item/callItemRequestBuilder.ts +++ b/src/communications/calls/item/callItemRequestBuilder.ts @@ -249,7 +249,7 @@ export class CallItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -267,7 +267,7 @@ export class CallItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -286,7 +286,7 @@ export class CallItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCall); return requestInfo; }; diff --git a/src/communications/calls/item/cancelMediaProcessing/cancelMediaProcessingRequestBuilder.ts b/src/communications/calls/item/cancelMediaProcessing/cancelMediaProcessingRequestBuilder.ts index 37744dd6357..6ab472f78d1 100644 --- a/src/communications/calls/item/cancelMediaProcessing/cancelMediaProcessingRequestBuilder.ts +++ b/src/communications/calls/item/cancelMediaProcessing/cancelMediaProcessingRequestBuilder.ts @@ -62,7 +62,7 @@ export class CancelMediaProcessingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelMediaProcessingPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/changeScreenSharingRole/changeScreenSharingRoleRequestBuilder.ts b/src/communications/calls/item/changeScreenSharingRole/changeScreenSharingRoleRequestBuilder.ts index 7c8c3b8f63d..ffdf6743943 100644 --- a/src/communications/calls/item/changeScreenSharingRole/changeScreenSharingRoleRequestBuilder.ts +++ b/src/communications/calls/item/changeScreenSharingRole/changeScreenSharingRoleRequestBuilder.ts @@ -60,7 +60,7 @@ export class ChangeScreenSharingRoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChangeScreenSharingRolePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/contentSharingSessions/contentSharingSessionsRequestBuilder.ts b/src/communications/calls/item/contentSharingSessions/contentSharingSessionsRequestBuilder.ts index 9448d7bef17..52c4c1d3c3f 100644 --- a/src/communications/calls/item/contentSharingSessions/contentSharingSessionsRequestBuilder.ts +++ b/src/communications/calls/item/contentSharingSessions/contentSharingSessionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class ContentSharingSessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ContentSharingSessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentSharingSession); return requestInfo; }; diff --git a/src/communications/calls/item/contentSharingSessions/item/contentSharingSessionItemRequestBuilder.ts b/src/communications/calls/item/contentSharingSessions/item/contentSharingSessionItemRequestBuilder.ts index 008619da030..bc8c26a2ddd 100644 --- a/src/communications/calls/item/contentSharingSessions/item/contentSharingSessionItemRequestBuilder.ts +++ b/src/communications/calls/item/contentSharingSessions/item/contentSharingSessionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ContentSharingSessionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ContentSharingSessionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ContentSharingSessionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentSharingSession); return requestInfo; }; diff --git a/src/communications/calls/item/keepAlive/keepAliveRequestBuilder.ts b/src/communications/calls/item/keepAlive/keepAliveRequestBuilder.ts index cb293d2a3d4..866968beed1 100644 --- a/src/communications/calls/item/keepAlive/keepAliveRequestBuilder.ts +++ b/src/communications/calls/item/keepAlive/keepAliveRequestBuilder.ts @@ -56,7 +56,7 @@ export class KeepAliveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/communications/calls/item/mute/muteRequestBuilder.ts b/src/communications/calls/item/mute/muteRequestBuilder.ts index 9c66a834210..9e042469a56 100644 --- a/src/communications/calls/item/mute/muteRequestBuilder.ts +++ b/src/communications/calls/item/mute/muteRequestBuilder.ts @@ -62,7 +62,7 @@ export class MuteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMutePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/operations/item/commsOperationItemRequestBuilder.ts b/src/communications/calls/item/operations/item/commsOperationItemRequestBuilder.ts index 4e20ce1d878..9f78eaabcf6 100644 --- a/src/communications/calls/item/operations/item/commsOperationItemRequestBuilder.ts +++ b/src/communications/calls/item/operations/item/commsOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class CommsOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class CommsOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class CommsOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommsOperation); return requestInfo; }; diff --git a/src/communications/calls/item/operations/operationsRequestBuilder.ts b/src/communications/calls/item/operations/operationsRequestBuilder.ts index c7973ed6fe8..d01959bad5c 100644 --- a/src/communications/calls/item/operations/operationsRequestBuilder.ts +++ b/src/communications/calls/item/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommsOperation); return requestInfo; }; diff --git a/src/communications/calls/item/participants/invite/invitePostRequestBody.ts b/src/communications/calls/item/participants/invite/invitePostRequestBody.ts index cfbbf758b6e..313c9bb8097 100644 --- a/src/communications/calls/item/participants/invite/invitePostRequestBody.ts +++ b/src/communications/calls/item/participants/invite/invitePostRequestBody.ts @@ -30,7 +30,7 @@ export interface InvitePostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeInvitePostRequestBody(writer: SerializationWriter, invitePostRequestBody: InvitePostRequestBody | undefined = {} as InvitePostRequestBody) : void { writer.writeStringValue("clientContext", invitePostRequestBody.clientContext); - writer.writeCollectionOfObjectValues("participants", invitePostRequestBody.participants, ); + writer.writeCollectionOfObjectValues("participants", invitePostRequestBody.participants, serializeInvitationParticipantInfo); writer.writeAdditionalData(invitePostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts index 5460973e228..69cc6f7f871 100644 --- a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts +++ b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts @@ -30,11 +30,11 @@ export class InviteRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite"); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InviteParticipantsOperation - * @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here} */ public post(body: InvitePostRequestBody, requestConfiguration?: InviteRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInviteParticipantsOperationFromDiscriminatorValue, errorMapping); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -62,7 +62,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInvitePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/participants/item/mute/muteRequestBuilder.ts b/src/communications/calls/item/participants/item/mute/muteRequestBuilder.ts index dc86598716a..041fac18fe2 100644 --- a/src/communications/calls/item/participants/item/mute/muteRequestBuilder.ts +++ b/src/communications/calls/item/participants/item/mute/muteRequestBuilder.ts @@ -62,7 +62,7 @@ export class MuteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMutePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/participants/item/participantItemRequestBuilder.ts b/src/communications/calls/item/participants/item/participantItemRequestBuilder.ts index 2cc7e8a3552..b8232dd02bf 100644 --- a/src/communications/calls/item/participants/item/participantItemRequestBuilder.ts +++ b/src/communications/calls/item/participants/item/participantItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class ParticipantItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ParticipantItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class ParticipantItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeParticipant); return requestInfo; }; diff --git a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts index 6328d45e9b2..52a920d8fa9 100644 --- a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts +++ b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts @@ -16,7 +16,7 @@ export function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostR } export function serializeStartHoldMusicPostRequestBody(writer: SerializationWriter, startHoldMusicPostRequestBody: StartHoldMusicPostRequestBody | undefined = {} as StartHoldMusicPostRequestBody) : void { writer.writeStringValue("clientContext", startHoldMusicPostRequestBody.clientContext); - writer.writeObjectValue("customPrompt", startHoldMusicPostRequestBody.customPrompt, ); + writer.writeObjectValue("customPrompt", startHoldMusicPostRequestBody.customPrompt, serializePrompt); writer.writeAdditionalData(startHoldMusicPostRequestBody.additionalData); } export interface StartHoldMusicPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicRequestBuilder.ts b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicRequestBuilder.ts index 65a90180080..ef9b350ac18 100644 --- a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicRequestBuilder.ts +++ b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicRequestBuilder.ts @@ -62,7 +62,7 @@ export class StartHoldMusicRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStartHoldMusicPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/participants/item/stopHoldMusic/stopHoldMusicRequestBuilder.ts b/src/communications/calls/item/participants/item/stopHoldMusic/stopHoldMusicRequestBuilder.ts index ec489c30534..e40df976014 100644 --- a/src/communications/calls/item/participants/item/stopHoldMusic/stopHoldMusicRequestBuilder.ts +++ b/src/communications/calls/item/participants/item/stopHoldMusic/stopHoldMusicRequestBuilder.ts @@ -62,7 +62,7 @@ export class StopHoldMusicRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStopHoldMusicPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/participants/participantsRequestBuilder.ts b/src/communications/calls/item/participants/participantsRequestBuilder.ts index 9f56d618232..419536f824d 100644 --- a/src/communications/calls/item/participants/participantsRequestBuilder.ts +++ b/src/communications/calls/item/participants/participantsRequestBuilder.ts @@ -151,7 +151,7 @@ export class ParticipantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class ParticipantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeParticipant); return requestInfo; }; diff --git a/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts b/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts index 2b636076c1f..c863d1112a4 100644 --- a/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts +++ b/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts @@ -30,7 +30,7 @@ export interface PlayPromptPostRequestBody extends AdditionalDataHolder, Parsabl } export function serializePlayPromptPostRequestBody(writer: SerializationWriter, playPromptPostRequestBody: PlayPromptPostRequestBody | undefined = {} as PlayPromptPostRequestBody) : void { writer.writeStringValue("clientContext", playPromptPostRequestBody.clientContext); - writer.writeCollectionOfObjectValues("prompts", playPromptPostRequestBody.prompts, ); + writer.writeCollectionOfObjectValues("prompts", playPromptPostRequestBody.prompts, serializePrompt); writer.writeAdditionalData(playPromptPostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/calls/item/playPrompt/playPromptRequestBuilder.ts b/src/communications/calls/item/playPrompt/playPromptRequestBuilder.ts index e393609afbf..907ec80fc37 100644 --- a/src/communications/calls/item/playPrompt/playPromptRequestBuilder.ts +++ b/src/communications/calls/item/playPrompt/playPromptRequestBuilder.ts @@ -62,7 +62,7 @@ export class PlayPromptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlayPromptPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts b/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts index aeed69f3ba7..0c95bc63fb4 100644 --- a/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts +++ b/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts @@ -65,7 +65,7 @@ export function serializeRecordResponsePostRequestBody(writer: SerializationWrit writer.writeNumberValue("maxRecordDurationInSeconds", recordResponsePostRequestBody.maxRecordDurationInSeconds); writer.writeNumberValue("maxSilenceTimeoutInSeconds", recordResponsePostRequestBody.maxSilenceTimeoutInSeconds); writer.writeBooleanValue("playBeep", recordResponsePostRequestBody.playBeep); - writer.writeCollectionOfObjectValues("prompts", recordResponsePostRequestBody.prompts, ); + writer.writeCollectionOfObjectValues("prompts", recordResponsePostRequestBody.prompts, serializePrompt); writer.writeCollectionOfPrimitiveValues("stopTones", recordResponsePostRequestBody.stopTones); writer.writeAdditionalData(recordResponsePostRequestBody.additionalData); } diff --git a/src/communications/calls/item/recordResponse/recordResponseRequestBuilder.ts b/src/communications/calls/item/recordResponse/recordResponseRequestBuilder.ts index 9ddca704423..4ffeb1a83b4 100644 --- a/src/communications/calls/item/recordResponse/recordResponseRequestBuilder.ts +++ b/src/communications/calls/item/recordResponse/recordResponseRequestBuilder.ts @@ -62,7 +62,7 @@ export class RecordResponseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRecordResponsePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/redirect/redirectPostRequestBody.ts b/src/communications/calls/item/redirect/redirectPostRequestBody.ts index 1e6c9f68f5d..d94fa88475a 100644 --- a/src/communications/calls/item/redirect/redirectPostRequestBody.ts +++ b/src/communications/calls/item/redirect/redirectPostRequestBody.ts @@ -35,7 +35,7 @@ export interface RedirectPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeRedirectPostRequestBody(writer: SerializationWriter, redirectPostRequestBody: RedirectPostRequestBody | undefined = {} as RedirectPostRequestBody) : void { writer.writeStringValue("callbackUri", redirectPostRequestBody.callbackUri); - writer.writeCollectionOfObjectValues("targets", redirectPostRequestBody.targets, ); + writer.writeCollectionOfObjectValues("targets", redirectPostRequestBody.targets, serializeInvitationParticipantInfo); writer.writeNumberValue("timeout", redirectPostRequestBody.timeout); writer.writeAdditionalData(redirectPostRequestBody.additionalData); } diff --git a/src/communications/calls/item/redirect/redirectRequestBuilder.ts b/src/communications/calls/item/redirect/redirectRequestBuilder.ts index e53d93bfd47..bc5bd89e30a 100644 --- a/src/communications/calls/item/redirect/redirectRequestBuilder.ts +++ b/src/communications/calls/item/redirect/redirectRequestBuilder.ts @@ -60,7 +60,7 @@ export class RedirectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRedirectPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/reject/rejectRequestBuilder.ts b/src/communications/calls/item/reject/rejectRequestBuilder.ts index 6221c4c3870..277d374605b 100644 --- a/src/communications/calls/item/reject/rejectRequestBuilder.ts +++ b/src/communications/calls/item/reject/rejectRequestBuilder.ts @@ -60,7 +60,7 @@ export class RejectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRejectPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/subscribeToTone/subscribeToToneRequestBuilder.ts b/src/communications/calls/item/subscribeToTone/subscribeToToneRequestBuilder.ts index d6a7d90fb24..3085e19ec18 100644 --- a/src/communications/calls/item/subscribeToTone/subscribeToToneRequestBuilder.ts +++ b/src/communications/calls/item/subscribeToTone/subscribeToToneRequestBuilder.ts @@ -62,7 +62,7 @@ export class SubscribeToToneRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscribeToTonePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/transfer/transferPostRequestBody.ts b/src/communications/calls/item/transfer/transferPostRequestBody.ts index 532f3c03db0..4382eefa52c 100644 --- a/src/communications/calls/item/transfer/transferPostRequestBody.ts +++ b/src/communications/calls/item/transfer/transferPostRequestBody.ts @@ -16,8 +16,8 @@ export function deserializeIntoTransferPostRequestBody(transferPostRequestBody: } } export function serializeTransferPostRequestBody(writer: SerializationWriter, transferPostRequestBody: TransferPostRequestBody | undefined = {} as TransferPostRequestBody) : void { - writer.writeObjectValue("transferee", transferPostRequestBody.transferee, ); - writer.writeObjectValue("transferTarget", transferPostRequestBody.transferTarget, ); + writer.writeObjectValue("transferee", transferPostRequestBody.transferee, serializeParticipantInfo); + writer.writeObjectValue("transferTarget", transferPostRequestBody.transferTarget, serializeInvitationParticipantInfo); writer.writeAdditionalData(transferPostRequestBody.additionalData); } export interface TransferPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/calls/item/transfer/transferRequestBuilder.ts b/src/communications/calls/item/transfer/transferRequestBuilder.ts index 259047d6e71..8def1d758dd 100644 --- a/src/communications/calls/item/transfer/transferRequestBuilder.ts +++ b/src/communications/calls/item/transfer/transferRequestBuilder.ts @@ -60,7 +60,7 @@ export class TransferRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTransferPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/unmute/unmuteRequestBuilder.ts b/src/communications/calls/item/unmute/unmuteRequestBuilder.ts index 05b0e653a9b..0f2979908a8 100644 --- a/src/communications/calls/item/unmute/unmuteRequestBuilder.ts +++ b/src/communications/calls/item/unmute/unmuteRequestBuilder.ts @@ -62,7 +62,7 @@ export class UnmuteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnmutePostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/item/updateRecordingStatus/updateRecordingStatusRequestBuilder.ts b/src/communications/calls/item/updateRecordingStatus/updateRecordingStatusRequestBuilder.ts index e4d24c961b0..74f29d939c4 100644 --- a/src/communications/calls/item/updateRecordingStatus/updateRecordingStatusRequestBuilder.ts +++ b/src/communications/calls/item/updateRecordingStatus/updateRecordingStatusRequestBuilder.ts @@ -62,7 +62,7 @@ export class UpdateRecordingStatusRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpdateRecordingStatusPostRequestBody); return requestInfo; }; diff --git a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts index e4ef16cd5d8..e6a0fa12542 100644 --- a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts +++ b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LogTeleconferenceDeviceQualityPostRequestBody extends Additiona quality?: TeleconferenceDeviceQuality; } export function serializeLogTeleconferenceDeviceQualityPostRequestBody(writer: SerializationWriter, logTeleconferenceDeviceQualityPostRequestBody: LogTeleconferenceDeviceQualityPostRequestBody | undefined = {} as LogTeleconferenceDeviceQualityPostRequestBody) : void { - writer.writeObjectValue("quality", logTeleconferenceDeviceQualityPostRequestBody.quality, ); + writer.writeObjectValue("quality", logTeleconferenceDeviceQualityPostRequestBody.quality, serializeTeleconferenceDeviceQuality); writer.writeAdditionalData(logTeleconferenceDeviceQualityPostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityRequestBuilder.ts b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityRequestBuilder.ts index 7ad23cd8f69..32d63b9339c 100644 --- a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityRequestBuilder.ts +++ b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityRequestBuilder.ts @@ -60,7 +60,7 @@ export class LogTeleconferenceDeviceQualityRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLogTeleconferenceDeviceQualityPostRequestBody); return requestInfo; }; diff --git a/src/communications/communicationsRequestBuilder.ts b/src/communications/communicationsRequestBuilder.ts index e9062734fa7..12ecf94225d 100644 --- a/src/communications/communicationsRequestBuilder.ts +++ b/src/communications/communicationsRequestBuilder.ts @@ -133,7 +133,7 @@ export class CommunicationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -152,7 +152,7 @@ export class CommunicationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCloudCommunications); return requestInfo; }; diff --git a/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts b/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts index 2efffaf64ff..f580783e5b3 100644 --- a/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts +++ b/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts @@ -23,7 +23,7 @@ export interface GetPresencesByUserIdPostResponse extends BaseCollectionPaginati } export function serializeGetPresencesByUserIdPostResponse(writer: SerializationWriter, getPresencesByUserIdPostResponse: GetPresencesByUserIdPostResponse | undefined = {} as GetPresencesByUserIdPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getPresencesByUserIdPostResponse) - writer.writeCollectionOfObjectValues("value", getPresencesByUserIdPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getPresencesByUserIdPostResponse.value, serializePresence); } // tslint:enable // eslint-enable diff --git a/src/communications/getPresencesByUserId/getPresencesByUserIdRequestBuilder.ts b/src/communications/getPresencesByUserId/getPresencesByUserIdRequestBuilder.ts index 1bba9ae88c9..0abe703d74f 100644 --- a/src/communications/getPresencesByUserId/getPresencesByUserIdRequestBuilder.ts +++ b/src/communications/getPresencesByUserId/getPresencesByUserIdRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetPresencesByUserIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetPresencesByUserIdPostRequestBody); return requestInfo; }; diff --git a/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts b/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts index 30c217d0931..bae27cce377 100644 --- a/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts +++ b/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts @@ -50,10 +50,10 @@ export function deserializeIntoCreateOrGetPostRequestBody(createOrGetPostRequest } } export function serializeCreateOrGetPostRequestBody(writer: SerializationWriter, createOrGetPostRequestBody: CreateOrGetPostRequestBody | undefined = {} as CreateOrGetPostRequestBody) : void { - writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, ); + writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, serializeChatInfo); writer.writeDateValue("endDateTime", createOrGetPostRequestBody.endDateTime); writer.writeStringValue("externalId", createOrGetPostRequestBody.externalId); - writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, ); + writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, serializeMeetingParticipants); writer.writeDateValue("startDateTime", createOrGetPostRequestBody.startDateTime); writer.writeStringValue("subject", createOrGetPostRequestBody.subject); writer.writeAdditionalData(createOrGetPostRequestBody.additionalData); diff --git a/src/communications/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts b/src/communications/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts index cb52edb602a..1f4af9a9639 100644 --- a/src/communications/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts +++ b/src/communications/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateOrGetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateOrGetPostRequestBody); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts b/src/communications/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts index c4edbe4e1a4..c6a1e51c848 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts @@ -69,7 +69,7 @@ export interface AttendanceReportsRequestBuilderPostRequestConfiguration { options?: RequestOption[]; } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { /** @@ -79,7 +79,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { return new CountRequestBuilder(this.pathParameters, this.requestAdapter); } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @returns a MeetingAttendanceReportItemRequestBuilder */ @@ -98,10 +98,9 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/attendanceReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReportCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AttendanceReportsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +129,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMeetingAttendanceReportFromDiscriminatorValue, errorMapping); }; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +143,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +162,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMeetingAttendanceReport); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts b/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts index 8ba17f6a8a9..094f7219794 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttendanceRecord); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts b/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts index 7479e500628..080d1406ead 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttendanceRecord); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts b/src/communications/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts index f1577283bd4..016994a00bb 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts @@ -52,7 +52,7 @@ export interface MeetingAttendanceReportItemRequestBuilderPatchRequestConfigurat options?: RequestOption[]; } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilder { /** @@ -84,10 +84,9 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReport - * @see {@link https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -129,11 +128,11 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -147,7 +146,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +165,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMeetingAttendanceReport); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts b/src/communications/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts index 4eaea1ee942..4dcc48c83c9 100644 --- a/src/communications/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts @@ -83,7 +83,7 @@ export class AttendeeReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class AttendeeReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts b/src/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts index e903486f51a..f7ba969b8b1 100644 --- a/src/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts @@ -58,7 +58,7 @@ export class GetVirtualAppointmentJoinWebUrlRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/communications/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts b/src/communications/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts index 5b4ac487fa2..9b611806a24 100644 --- a/src/communications/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts @@ -7,6 +7,7 @@ import { createOnlineMeetingFromDiscriminatorValue, deserializeIntoOnlineMeeting import { AttendanceReportsRequestBuilder } from './attendanceReports/attendanceReportsRequestBuilder'; import { AttendeeReportRequestBuilder } from './attendeeReport/attendeeReportRequestBuilder'; import { GetVirtualAppointmentJoinWebUrlRequestBuilder } from './getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder'; +import { RecordingsRequestBuilder } from './recordings/recordingsRequestBuilder'; import { TranscriptsRequestBuilder } from './transcripts/transcriptsRequestBuilder'; import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; @@ -59,7 +60,7 @@ export interface OnlineMeetingItemRequestBuilderPatchRequestConfiguration { */ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ public get attendanceReports(): AttendanceReportsRequestBuilder { return new AttendanceReportsRequestBuilder(this.pathParameters, this.requestAdapter); @@ -76,6 +77,12 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { public get getVirtualAppointmentJoinWebUrl(): GetVirtualAppointmentJoinWebUrlRequestBuilder { return new GetVirtualAppointmentJoinWebUrlRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ + public get recordings(): RecordingsRequestBuilder { + return new RecordingsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. */ @@ -149,7 +156,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +174,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +193,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnlineMeeting); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/recordings/count/countRequestBuilder.ts b/src/communications/onlineMeetings/item/recordings/count/countRequestBuilder.ts new file mode 100644 index 00000000000..add5d8e08e0 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/count/countRequestBuilder.ts @@ -0,0 +1,88 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CountRequestBuilderGetQueryParameters { + /** + * Filter items by property values + */ + filter?: string; + /** + * Search items by search phrases + */ + search?: string; +} +export interface CountRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CountRequestBuilderGetQueryParameters; +} +/** + * Provides operations to count the resources in the collection. + */ +export class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new CountRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/$count{?%24search,%24filter}"); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of Integer + */ + public get(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "number", errorMapping); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "text/plain;q=0.9"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CountRequestBuilder + */ + public withUrl(rawUrl: string) : CountRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CountRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/groups/item/photos/count/index.ts b/src/communications/onlineMeetings/item/recordings/count/index.ts similarity index 100% rename from src/groups/item/photos/count/index.ts rename to src/communications/onlineMeetings/item/recordings/count/index.ts diff --git a/src/communications/onlineMeetings/item/recordings/index.ts b/src/communications/onlineMeetings/item/recordings/index.ts new file mode 100644 index 00000000000..347736aa80a --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/index.ts @@ -0,0 +1 @@ +export * from './recordingsRequestBuilder' diff --git a/src/communications/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts b/src/communications/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts new file mode 100644 index 00000000000..53360f20bf3 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts @@ -0,0 +1,184 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createCallRecordingFromDiscriminatorValue, deserializeIntoCallRecording, serializeCallRecording, type CallRecording } from '../../../../../models/callRecording'; +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { ContentRequestBuilder } from './content/contentRequestBuilder'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CallRecordingItemRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface CallRecordingItemRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface CallRecordingItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CallRecordingItemRequestBuilderGetQueryParameters; +} +export interface CallRecordingItemRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ +export class CallRecordingItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the media for the cloudCommunications entity. + */ + public get content(): ContentRequestBuilder { + return new ContentRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Instantiates a new CallRecordingItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}"); + }; + /** + * Delete navigation property recordings for communications + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + */ + public delete(requestConfiguration?: CallRecordingItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + * @see {@link https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: CallRecordingItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Update the navigation property recordings in communications + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public patch(body: CallRecording, requestConfiguration?: CallRecordingItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Delete navigation property recordings for communications + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: CallRecordingItemRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CallRecordingItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Update the navigation property recordings in communications + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: CallRecording, requestConfiguration?: CallRecordingItemRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecording); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CallRecordingItemRequestBuilder + */ + public withUrl(rawUrl: string) : CallRecordingItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CallRecordingItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/communications/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts b/src/communications/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts new file mode 100644 index 00000000000..2cbfeca2d71 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts @@ -0,0 +1,121 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type CallRecording } from '../../../../../../models/'; +import { createCallRecordingFromDiscriminatorValue } from '../../../../../../models/callRecording'; +import { type ODataError } from '../../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface ContentRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface ContentRequestBuilderPutRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the media for the cloudCommunications entity. + */ +export class ContentRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new ContentRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content"); + }; + /** + * The content of the recording. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of ArrayBuffer + */ + public get(requestConfiguration?: ContentRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "ArrayBuffer", errorMapping); + }; + /** + * The content of the recording. Read-only. + * @param body Binary request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public put(body: ArrayBuffer | undefined, requestConfiguration?: ContentRequestBuilderPutRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPutRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * The content of the recording. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: ContentRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); + return requestInfo; + }; + /** + * The content of the recording. Read-only. + * @param body Binary request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: ContentRequestBuilderPutRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PUT; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setStreamContent(body, "application/octet-stream"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a contentRequestBuilder + */ + public withUrl(rawUrl: string) : ContentRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new ContentRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/communications/onlineMeetings/item/recordings/item/content/index.ts b/src/communications/onlineMeetings/item/recordings/item/content/index.ts new file mode 100644 index 00000000000..28c86e75ee2 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/item/content/index.ts @@ -0,0 +1 @@ +export * from './contentRequestBuilder' diff --git a/src/communications/onlineMeetings/item/recordings/item/index.ts b/src/communications/onlineMeetings/item/recordings/item/index.ts new file mode 100644 index 00000000000..1ca3ca16334 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/item/index.ts @@ -0,0 +1 @@ +export * from './callRecordingItemRequestBuilder' diff --git a/src/communications/onlineMeetings/item/recordings/recordingsRequestBuilder.ts b/src/communications/onlineMeetings/item/recordings/recordingsRequestBuilder.ts new file mode 100644 index 00000000000..0e09edf93c4 --- /dev/null +++ b/src/communications/onlineMeetings/item/recordings/recordingsRequestBuilder.ts @@ -0,0 +1,180 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type CallRecordingCollectionResponse } from '../../../../models/'; +import { createCallRecordingFromDiscriminatorValue, deserializeIntoCallRecording, serializeCallRecording, type CallRecording } from '../../../../models/callRecording'; +import { createCallRecordingCollectionResponseFromDiscriminatorValue } from '../../../../models/callRecordingCollectionResponse'; +import { type ODataError } from '../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../models/oDataErrors/oDataError'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { CallRecordingItemRequestBuilder } from './item/callRecordingItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface RecordingsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Expand related entities + */ + expand?: string[]; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Skip the first n items + */ + skip?: number; + /** + * Show only the first n items + */ + top?: number; +} +export interface RecordingsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: RecordingsRequestBuilderGetQueryParameters; +} +export interface RecordingsRequestBuilderPostRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ +export class RecordingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + * @param callRecordingId The unique identifier of callRecording + * @returns a CallRecordingItemRequestBuilder + */ + public byCallRecordingId(callRecordingId: string) : CallRecordingItemRequestBuilder { + if(!callRecordingId) throw new Error("callRecordingId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["callRecording%2Did"] = callRecordingId + return new CallRecordingItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new RecordingsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecordingCollectionResponse + */ + public get(requestConfiguration?: RecordingsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Create new navigation property to recordings for communications + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public post(body: CallRecording, requestConfiguration?: RecordingsRequestBuilderPostRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: RecordingsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Create new navigation property to recordings for communications + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPostRequestInformation(body: CallRecording, requestConfiguration?: RecordingsRequestBuilderPostRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.POST; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecording); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a recordingsRequestBuilder + */ + public withUrl(rawUrl: string) : RecordingsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new RecordingsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/communications/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts b/src/communications/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts index 9e0b6152fb8..74efd94fe7b 100644 --- a/src/communications/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallTranscript); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts b/src/communications/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts index 02af0b04bee..278aae4a13a 100644 --- a/src/communications/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts b/src/communications/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts index 39f0e71cb26..cfe31203b1e 100644 --- a/src/communications/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts @@ -83,7 +83,7 @@ export class MetadataContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class MetadataContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/communications/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts b/src/communications/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts index 971604002af..0a53c0f89be 100644 --- a/src/communications/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts +++ b/src/communications/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts @@ -144,7 +144,7 @@ export class TranscriptsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TranscriptsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallTranscript); return requestInfo; }; diff --git a/src/communications/onlineMeetings/onlineMeetingsRequestBuilder.ts b/src/communications/onlineMeetings/onlineMeetingsRequestBuilder.ts index 644147f744a..6498266b8dc 100644 --- a/src/communications/onlineMeetings/onlineMeetingsRequestBuilder.ts +++ b/src/communications/onlineMeetings/onlineMeetingsRequestBuilder.ts @@ -151,7 +151,7 @@ export class OnlineMeetingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class OnlineMeetingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnlineMeeting); return requestInfo; }; diff --git a/src/communications/presences/item/clearPresence/clearPresenceRequestBuilder.ts b/src/communications/presences/item/clearPresence/clearPresenceRequestBuilder.ts index 531280cadb2..633663b1334 100644 --- a/src/communications/presences/item/clearPresence/clearPresenceRequestBuilder.ts +++ b/src/communications/presences/item/clearPresence/clearPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class ClearPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeClearPresencePostRequestBody); return requestInfo; }; diff --git a/src/communications/presences/item/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts b/src/communications/presences/item/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts index e68d90d4b29..dab18508112 100644 --- a/src/communications/presences/item/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts +++ b/src/communications/presences/item/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearUserPreferredPresenceRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/communications/presences/item/presenceItemRequestBuilder.ts b/src/communications/presences/item/presenceItemRequestBuilder.ts index 22bf5ac8dcf..3432b8eaad9 100644 --- a/src/communications/presences/item/presenceItemRequestBuilder.ts +++ b/src/communications/presences/item/presenceItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class PresenceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class PresenceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class PresenceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePresence); return requestInfo; }; diff --git a/src/communications/presences/item/setPresence/setPresenceRequestBuilder.ts b/src/communications/presences/item/setPresence/setPresenceRequestBuilder.ts index 9ba69083353..c7b36ba605b 100644 --- a/src/communications/presences/item/setPresence/setPresenceRequestBuilder.ts +++ b/src/communications/presences/item/setPresence/setPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetPresencePostRequestBody); return requestInfo; }; diff --git a/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts b/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts index 919959ad5bc..be31d18df4e 100644 --- a/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts +++ b/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetStatusMessagePostRequestBody(setStatusMessageP } } export function serializeSetStatusMessagePostRequestBody(writer: SerializationWriter, setStatusMessagePostRequestBody: SetStatusMessagePostRequestBody | undefined = {} as SetStatusMessagePostRequestBody) : void { - writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, ); + writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, serializePresenceStatusMessage); writer.writeAdditionalData(setStatusMessagePostRequestBody.additionalData); } export interface SetStatusMessagePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/presences/item/setStatusMessage/setStatusMessageRequestBuilder.ts b/src/communications/presences/item/setStatusMessage/setStatusMessageRequestBuilder.ts index ca5e8400058..255a4eecfa3 100644 --- a/src/communications/presences/item/setStatusMessage/setStatusMessageRequestBuilder.ts +++ b/src/communications/presences/item/setStatusMessage/setStatusMessageRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetStatusMessageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetStatusMessagePostRequestBody); return requestInfo; }; diff --git a/src/communications/presences/item/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts b/src/communications/presences/item/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts index eb4fbf2beb1..0b88a3e761b 100644 --- a/src/communications/presences/item/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts +++ b/src/communications/presences/item/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetUserPreferredPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetUserPreferredPresencePostRequestBody); return requestInfo; }; diff --git a/src/communications/presences/presencesRequestBuilder.ts b/src/communications/presences/presencesRequestBuilder.ts index 1cf37d392b7..e5cc8e8490c 100644 --- a/src/communications/presences/presencesRequestBuilder.ts +++ b/src/communications/presences/presencesRequestBuilder.ts @@ -143,7 +143,7 @@ export class PresencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class PresencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePresence); return requestInfo; }; diff --git a/src/compliance/complianceRequestBuilder.ts b/src/compliance/complianceRequestBuilder.ts index a832f5ed437..9e5ab9c2eab 100644 --- a/src/compliance/complianceRequestBuilder.ts +++ b/src/compliance/complianceRequestBuilder.ts @@ -98,7 +98,7 @@ export class ComplianceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class ComplianceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCompliance); return requestInfo; }; diff --git a/src/connections/connectionsRequestBuilder.ts b/src/connections/connectionsRequestBuilder.ts index bdfe63c4e05..6609d461146 100644 --- a/src/connections/connectionsRequestBuilder.ts +++ b/src/connections/connectionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ConnectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ConnectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalConnection); return requestInfo; }; diff --git a/src/connections/item/externalConnectionItemRequestBuilder.ts b/src/connections/item/externalConnectionItemRequestBuilder.ts index 5b39218b7c4..b52d5e17bf2 100644 --- a/src/connections/item/externalConnectionItemRequestBuilder.ts +++ b/src/connections/item/externalConnectionItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalConnection); return requestInfo; }; diff --git a/src/connections/item/groups/groupsRequestBuilder.ts b/src/connections/item/groups/groupsRequestBuilder.ts index 1af032339a5..cd12db5c513 100644 --- a/src/connections/item/groups/groupsRequestBuilder.ts +++ b/src/connections/item/groups/groupsRequestBuilder.ts @@ -144,7 +144,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalGroup); return requestInfo; }; diff --git a/src/connections/item/groups/item/externalGroupItemRequestBuilder.ts b/src/connections/item/groups/item/externalGroupItemRequestBuilder.ts index c5ca8446643..ea1f47983eb 100644 --- a/src/connections/item/groups/item/externalGroupItemRequestBuilder.ts +++ b/src/connections/item/groups/item/externalGroupItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalGroup); return requestInfo; }; diff --git a/src/connections/item/groups/item/members/item/identityItemRequestBuilder.ts b/src/connections/item/groups/item/members/item/identityItemRequestBuilder.ts index d7b2bd23ef1..9039681797c 100644 --- a/src/connections/item/groups/item/members/item/identityItemRequestBuilder.ts +++ b/src/connections/item/groups/item/members/item/identityItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentity); return requestInfo; }; diff --git a/src/connections/item/groups/item/members/membersRequestBuilder.ts b/src/connections/item/groups/item/members/membersRequestBuilder.ts index eddd9c195c5..a4b461cecb8 100644 --- a/src/connections/item/groups/item/members/membersRequestBuilder.ts +++ b/src/connections/item/groups/item/members/membersRequestBuilder.ts @@ -144,7 +144,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentity); return requestInfo; }; diff --git a/src/connections/item/items/item/activities/activitiesRequestBuilder.ts b/src/connections/item/items/item/activities/activitiesRequestBuilder.ts index 17b347a754e..3e66c6b6963 100644 --- a/src/connections/item/items/item/activities/activitiesRequestBuilder.ts +++ b/src/connections/item/items/item/activities/activitiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalActivity); return requestInfo; }; diff --git a/src/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts b/src/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts index 46c03e90de4..7c9f858bd8b 100644 --- a/src/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts +++ b/src/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalActivity); return requestInfo; }; diff --git a/src/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts b/src/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts index a0d288d91a3..09607aba252 100644 --- a/src/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts +++ b/src/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts @@ -73,7 +73,7 @@ export class PerformedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/connections/item/items/item/externalItemItemRequestBuilder.ts b/src/connections/item/items/item/externalItemItemRequestBuilder.ts index 194eb11b0e8..9b7ac422b35 100644 --- a/src/connections/item/items/item/externalItemItemRequestBuilder.ts +++ b/src/connections/item/items/item/externalItemItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalItem); return requestInfo; }; diff --git a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts index 7f778baed04..97cbfcc666b 100644 --- a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts +++ b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddActivitiesPostRequestBody(addActivitiesPostReq } } export function serializeAddActivitiesPostRequestBody(writer: SerializationWriter, addActivitiesPostRequestBody: AddActivitiesPostRequestBody | undefined = {} as AddActivitiesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, ); + writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, serializeExternalActivity); writer.writeAdditionalData(addActivitiesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts index a55582b2e3f..6fd5a9a802b 100644 --- a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts +++ b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddActivitiesPostResponse(addActivitiesPostRespon } export function serializeAddActivitiesPostResponse(writer: SerializationWriter, addActivitiesPostResponse: AddActivitiesPostResponse | undefined = {} as AddActivitiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addActivitiesPostResponse) - writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, serializeExternalActivityResult); } // tslint:enable // eslint-enable diff --git a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts index 3f6e50f4b9b..6c661fc6c9f 100644 --- a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts +++ b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts @@ -61,7 +61,7 @@ export class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddActivitiesPostRequestBody); return requestInfo; }; diff --git a/src/connections/item/items/itemsRequestBuilder.ts b/src/connections/item/items/itemsRequestBuilder.ts index bfb01eb53d2..42b195d2ede 100644 --- a/src/connections/item/items/itemsRequestBuilder.ts +++ b/src/connections/item/items/itemsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalItem); return requestInfo; }; diff --git a/src/connections/item/operations/item/connectionOperationItemRequestBuilder.ts b/src/connections/item/operations/item/connectionOperationItemRequestBuilder.ts index f97235c3778..b0b8c0f4432 100644 --- a/src/connections/item/operations/item/connectionOperationItemRequestBuilder.ts +++ b/src/connections/item/operations/item/connectionOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectionOperation); return requestInfo; }; diff --git a/src/connections/item/operations/operationsRequestBuilder.ts b/src/connections/item/operations/operationsRequestBuilder.ts index 9ed871bb458..d120ae489fd 100644 --- a/src/connections/item/operations/operationsRequestBuilder.ts +++ b/src/connections/item/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectionOperation); return requestInfo; }; diff --git a/src/connections/item/schema/schemaRequestBuilder.ts b/src/connections/item/schema/schemaRequestBuilder.ts index 8dac999adf5..ec52e147363 100644 --- a/src/connections/item/schema/schemaRequestBuilder.ts +++ b/src/connections/item/schema/schemaRequestBuilder.ts @@ -100,7 +100,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -119,7 +119,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchema); return requestInfo; }; diff --git a/src/contacts/contactsRequestBuilder.ts b/src/contacts/contactsRequestBuilder.ts index a446743af87..aeb45c3442b 100644 --- a/src/contacts/contactsRequestBuilder.ts +++ b/src/contacts/contactsRequestBuilder.ts @@ -172,7 +172,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOrgContact); return requestInfo; }; diff --git a/src/contacts/delta/deltaGetResponse.ts b/src/contacts/delta/deltaGetResponse.ts index 472a834983c..2474e903f94 100644 --- a/src/contacts/delta/deltaGetResponse.ts +++ b/src/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeOrgContact); } // tslint:enable // eslint-enable diff --git a/src/contacts/delta/deltaRequestBuilder.ts b/src/contacts/delta/deltaRequestBuilder.ts index aaf9f1d1f18..893662a7ee7 100644 --- a/src/contacts/delta/deltaRequestBuilder.ts +++ b/src/contacts/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index dfc832c6f81..62781a2a7f2 100644 --- a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/contacts/getByIds/getByIdsPostResponse.ts b/src/contacts/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/contacts/getByIds/getByIdsPostResponse.ts +++ b/src/contacts/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/contacts/getByIds/getByIdsRequestBuilder.ts b/src/contacts/getByIds/getByIdsRequestBuilder.ts index 9e32f29636f..d4af5415f51 100644 --- a/src/contacts/getByIds/getByIdsRequestBuilder.ts +++ b/src/contacts/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/contacts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/contacts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 7f4228ec9d8..ecc5299352d 100644 --- a/src/contacts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/contacts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/contacts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/contacts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 8f99626dbfd..fb1c4385559 100644 --- a/src/contacts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/contacts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/contacts/item/directReports/directReportsRequestBuilder.ts b/src/contacts/item/directReports/directReportsRequestBuilder.ts index 390917f0018..1307779b201 100644 --- a/src/contacts/item/directReports/directReportsRequestBuilder.ts +++ b/src/contacts/item/directReports/directReportsRequestBuilder.ts @@ -131,7 +131,7 @@ export class DirectReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/contacts/item/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts index 5a505e76012..c73200ccb3e 100644 --- a/src/contacts/item/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/contacts/item/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/directReports/graphUser/graphUserRequestBuilder.ts b/src/contacts/item/directReports/graphUser/graphUserRequestBuilder.ts index bf1107c11ba..a35632c0c5e 100644 --- a/src/contacts/item/directReports/graphUser/graphUserRequestBuilder.ts +++ b/src/contacts/item/directReports/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/directReports/item/directoryObjectItemRequestBuilder.ts b/src/contacts/item/directReports/item/directoryObjectItemRequestBuilder.ts index 170e46807d0..acb829ab733 100644 --- a/src/contacts/item/directReports/item/directoryObjectItemRequestBuilder.ts +++ b/src/contacts/item/directReports/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/contacts/item/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts index 2f66b5ef06e..f3709b76f28 100644 --- a/src/contacts/item/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/contacts/item/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/directReports/item/graphUser/graphUserRequestBuilder.ts b/src/contacts/item/directReports/item/graphUser/graphUserRequestBuilder.ts index 86da55123c6..48b5ebf9622 100644 --- a/src/contacts/item/directReports/item/graphUser/graphUserRequestBuilder.ts +++ b/src/contacts/item/directReports/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/contacts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index 454a13ccc1a..a8a716c34c3 100644 --- a/src/contacts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/contacts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/contacts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/contacts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 6b5aaca5797..32d4a8ae695 100644 --- a/src/contacts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/contacts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/contacts/item/manager/managerRequestBuilder.ts b/src/contacts/item/manager/managerRequestBuilder.ts index 254b7983a47..40c37c459f4 100644 --- a/src/contacts/item/manager/managerRequestBuilder.ts +++ b/src/contacts/item/manager/managerRequestBuilder.ts @@ -74,7 +74,7 @@ export class ManagerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/contacts/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index dd4875a91ad..3c88d1897e4 100644 --- a/src/contacts/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/contacts/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/graphGroup/graphGroupRequestBuilder.ts b/src/contacts/item/memberOf/graphGroup/graphGroupRequestBuilder.ts index bbb49ea4f96..7e4ca441744 100644 --- a/src/contacts/item/memberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/contacts/item/memberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/item/directoryObjectItemRequestBuilder.ts b/src/contacts/item/memberOf/item/directoryObjectItemRequestBuilder.ts index b73c7471596..fbf73c32c49 100644 --- a/src/contacts/item/memberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/contacts/item/memberOf/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/contacts/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index a99d37b623c..601b8c00e1d 100644 --- a/src/contacts/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/contacts/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/contacts/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts index 9d5cdfa5d86..854bb02d8b0 100644 --- a/src/contacts/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/contacts/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/memberOf/memberOfRequestBuilder.ts b/src/contacts/item/memberOf/memberOfRequestBuilder.ts index 9cb80b196ba..24a926ae5d7 100644 --- a/src/contacts/item/memberOf/memberOfRequestBuilder.ts +++ b/src/contacts/item/memberOf/memberOfRequestBuilder.ts @@ -131,7 +131,7 @@ export class MemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/orgContactItemRequestBuilder.ts b/src/contacts/item/orgContactItemRequestBuilder.ts index 9a649718f6f..dbc73d3e317 100644 --- a/src/contacts/item/orgContactItemRequestBuilder.ts +++ b/src/contacts/item/orgContactItemRequestBuilder.ts @@ -199,7 +199,7 @@ export class OrgContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class OrgContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -236,7 +236,7 @@ export class OrgContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOrgContact); return requestInfo; }; diff --git a/src/contacts/item/restore/restoreRequestBuilder.ts b/src/contacts/item/restore/restoreRequestBuilder.ts index 13bcd9c80b0..274746db4dc 100644 --- a/src/contacts/item/restore/restoreRequestBuilder.ts +++ b/src/contacts/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts b/src/contacts/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts index 9b9917b5288..94a4e46a1ab 100644 --- a/src/contacts/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts +++ b/src/contacts/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts @@ -55,7 +55,7 @@ export class RetryServiceProvisioningRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/contacts/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 3c7bd06f1f8..fa4831d1f37 100644 --- a/src/contacts/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/contacts/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 30c89c9e94b..a29ef86a5d8 100644 --- a/src/contacts/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts index ece59d1ac2b..03a0f73c925 100644 --- a/src/contacts/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts index 9c2570b35a6..306634309ed 100644 --- a/src/contacts/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index d00a8333b18..0cb712fd4ff 100644 --- a/src/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts index bbaefc76592..85d75c65bbd 100644 --- a/src/contacts/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts b/src/contacts/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts index be0a876e67b..28aab84e713 100644 --- a/src/contacts/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts +++ b/src/contacts/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts @@ -131,7 +131,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contacts/validateProperties/validatePropertiesRequestBuilder.ts b/src/contacts/validateProperties/validatePropertiesRequestBuilder.ts index 4f01f1d1443..154a492d4cf 100644 --- a/src/contacts/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/contacts/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/contracts/contractsRequestBuilder.ts b/src/contracts/contractsRequestBuilder.ts index 69d77fc5936..d9d5e20e019 100644 --- a/src/contracts/contractsRequestBuilder.ts +++ b/src/contracts/contractsRequestBuilder.ts @@ -172,7 +172,7 @@ export class ContractsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class ContractsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContract); return requestInfo; }; diff --git a/src/contracts/delta/deltaGetResponse.ts b/src/contracts/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/contracts/delta/deltaGetResponse.ts +++ b/src/contracts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/contracts/delta/deltaRequestBuilder.ts b/src/contracts/delta/deltaRequestBuilder.ts index 7fefc7be46a..67b44705144 100644 --- a/src/contracts/delta/deltaRequestBuilder.ts +++ b/src/contracts/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 364d149644a..8fdbf0890f8 100644 --- a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/contracts/getByIds/getByIdsPostResponse.ts b/src/contracts/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/contracts/getByIds/getByIdsPostResponse.ts +++ b/src/contracts/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/contracts/getByIds/getByIdsRequestBuilder.ts b/src/contracts/getByIds/getByIdsRequestBuilder.ts index 13d00cddfd0..26020f03dce 100644 --- a/src/contracts/getByIds/getByIdsRequestBuilder.ts +++ b/src/contracts/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/contracts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/contracts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 979a51d3f75..2b0a74a0b49 100644 --- a/src/contracts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/contracts/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/contracts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/contracts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 42e8bf7ed40..881aa13fdca 100644 --- a/src/contracts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/contracts/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/contracts/item/contractItemRequestBuilder.ts b/src/contracts/item/contractItemRequestBuilder.ts index 49a72ebbce9..6f3b23874f5 100644 --- a/src/contracts/item/contractItemRequestBuilder.ts +++ b/src/contracts/item/contractItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ContractItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ContractItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ContractItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContract); return requestInfo; }; diff --git a/src/contracts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/contracts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index 6ea85738ddd..369ad1bc5a0 100644 --- a/src/contracts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/contracts/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/contracts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/contracts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 1d2297344ba..e2efd84e92f 100644 --- a/src/contracts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/contracts/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/contracts/item/restore/restoreRequestBuilder.ts b/src/contracts/item/restore/restoreRequestBuilder.ts index f5702c61832..2d76bba83dd 100644 --- a/src/contracts/item/restore/restoreRequestBuilder.ts +++ b/src/contracts/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/contracts/validateProperties/validatePropertiesRequestBuilder.ts b/src/contracts/validateProperties/validatePropertiesRequestBuilder.ts index d8a5c98e363..20587fd9751 100644 --- a/src/contracts/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/contracts/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/dataPolicyOperations/dataPolicyOperationsRequestBuilder.ts b/src/dataPolicyOperations/dataPolicyOperationsRequestBuilder.ts index 361c10975cc..32700dc2f93 100644 --- a/src/dataPolicyOperations/dataPolicyOperationsRequestBuilder.ts +++ b/src/dataPolicyOperations/dataPolicyOperationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class DataPolicyOperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DataPolicyOperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDataPolicyOperation); return requestInfo; }; diff --git a/src/dataPolicyOperations/item/dataPolicyOperationItemRequestBuilder.ts b/src/dataPolicyOperations/item/dataPolicyOperationItemRequestBuilder.ts index 8fa7d58d8bb..f2b9f9b1b2d 100644 --- a/src/dataPolicyOperations/item/dataPolicyOperationItemRequestBuilder.ts +++ b/src/dataPolicyOperations/item/dataPolicyOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class DataPolicyOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class DataPolicyOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class DataPolicyOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDataPolicyOperation); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/androidManagedAppProtectionsRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/androidManagedAppProtectionsRequestBuilder.ts index 3becd553cae..a5e57fbee8b 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/androidManagedAppProtectionsRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/androidManagedAppProtectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AndroidManagedAppProtectionsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AndroidManagedAppProtectionsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAndroidManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/androidManagedAppProtectionItemRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/androidManagedAppProtectionItemRequestBuilder.ts index 5fc52a2b789..45e45b72b97 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/androidManagedAppProtectionItemRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/androidManagedAppProtectionItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class AndroidManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AndroidManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class AndroidManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAndroidManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/apps/appsRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/apps/appsRequestBuilder.ts index 0dfea10c8fa..f9ffea16eb6 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/apps/appsRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/apps/appsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts index 0c6c325d137..b437d257bd1 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts index 81289dc90e0..5cef980b5d1 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts index 7615df1add9..90c57440e8f 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/androidManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts b/src/deviceAppManagement/androidManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts index e0b121ae17b..5b0b8ce3150 100644 --- a/src/deviceAppManagement/androidManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/androidManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicyDeploymentSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/defaultManagedAppProtections/defaultManagedAppProtectionsRequestBuilder.ts b/src/deviceAppManagement/defaultManagedAppProtections/defaultManagedAppProtectionsRequestBuilder.ts index 71cbfb36a4b..320224aa62e 100644 --- a/src/deviceAppManagement/defaultManagedAppProtections/defaultManagedAppProtectionsRequestBuilder.ts +++ b/src/deviceAppManagement/defaultManagedAppProtections/defaultManagedAppProtectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class DefaultManagedAppProtectionsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DefaultManagedAppProtectionsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDefaultManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/defaultManagedAppProtections/item/apps/appsRequestBuilder.ts b/src/deviceAppManagement/defaultManagedAppProtections/item/apps/appsRequestBuilder.ts index 27181b6c46e..b0c129432eb 100644 --- a/src/deviceAppManagement/defaultManagedAppProtections/item/apps/appsRequestBuilder.ts +++ b/src/deviceAppManagement/defaultManagedAppProtections/item/apps/appsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/defaultManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts b/src/deviceAppManagement/defaultManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts index c8ff3a04cf7..c36408dbfd8 100644 --- a/src/deviceAppManagement/defaultManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/defaultManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/defaultManagedAppProtections/item/defaultManagedAppProtectionItemRequestBuilder.ts b/src/deviceAppManagement/defaultManagedAppProtections/item/defaultManagedAppProtectionItemRequestBuilder.ts index 8fb8e2dd680..a30ca7b8bd4 100644 --- a/src/deviceAppManagement/defaultManagedAppProtections/item/defaultManagedAppProtectionItemRequestBuilder.ts +++ b/src/deviceAppManagement/defaultManagedAppProtections/item/defaultManagedAppProtectionItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class DefaultManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class DefaultManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class DefaultManagedAppProtectionItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDefaultManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/defaultManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts b/src/deviceAppManagement/defaultManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts index ac66fe28582..79e2bf92a25 100644 --- a/src/deviceAppManagement/defaultManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/defaultManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicyDeploymentSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts index 00893137d24..f4b36072e2a 100644 --- a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts +++ b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts @@ -161,7 +161,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceAppManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceAppManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -178,7 +178,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceAppManagement, requestConfiguration?: DeviceAppManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -205,7 +205,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -224,7 +224,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceAppManagement); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/iosManagedAppProtectionsRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/iosManagedAppProtectionsRequestBuilder.ts index c4d0a096445..d486cf9c6a8 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/iosManagedAppProtectionsRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/iosManagedAppProtectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class IosManagedAppProtectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class IosManagedAppProtectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIosManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/apps/appsRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/apps/appsRequestBuilder.ts index 3e0228089a7..79e280a6786 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/apps/appsRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/apps/appsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts index d87ec236683..2c29dc5e43b 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/apps/item/managedMobileAppItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts index 7693dc846a7..0e154c835dc 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/assignments/assignmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts index ec5021de697..eaab51e1abf 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts index f6db4a62640..fa7fdf5d41b 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/deploymentSummary/deploymentSummaryRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicyDeploymentSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/iosManagedAppProtections/item/iosManagedAppProtectionItemRequestBuilder.ts b/src/deviceAppManagement/iosManagedAppProtections/item/iosManagedAppProtectionItemRequestBuilder.ts index dcee4e8eb95..712becaa5fc 100644 --- a/src/deviceAppManagement/iosManagedAppProtections/item/iosManagedAppProtectionItemRequestBuilder.ts +++ b/src/deviceAppManagement/iosManagedAppProtections/item/iosManagedAppProtectionItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class IosManagedAppProtectionItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class IosManagedAppProtectionItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class IosManagedAppProtectionItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIosManagedAppProtection); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts index a3c74f6504b..f0edcb1a878 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts @@ -84,10 +84,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -129,11 +129,11 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -147,7 +147,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts index 11694928fb6..97e7d0fc468 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts index dd60baf5e22..8f0554dafb2 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -60,7 +60,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetAppsPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts index 9bc82836e57..b1a09257994 100644 --- a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicyCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/getUserIdsWithFlaggedAppRegistration/getUserIdsWithFlaggedAppRegistrationRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/getUserIdsWithFlaggedAppRegistration/getUserIdsWithFlaggedAppRegistrationRequestBuilder.ts index bc6baf9532b..2dc3f259fb3 100644 --- a/src/deviceAppManagement/managedAppRegistrations/getUserIdsWithFlaggedAppRegistration/getUserIdsWithFlaggedAppRegistrationRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/getUserIdsWithFlaggedAppRegistration/getUserIdsWithFlaggedAppRegistrationRequestBuilder.ts @@ -85,7 +85,7 @@ export class GetUserIdsWithFlaggedAppRegistrationRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/appliedPoliciesRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/appliedPoliciesRequestBuilder.ts index 2ab41de0619..8164999ffc8 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/appliedPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/appliedPoliciesRequestBuilder.ts @@ -143,7 +143,7 @@ export class AppliedPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AppliedPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/managedAppPolicyItemRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/managedAppPolicyItemRequestBuilder.ts index c5e1d1ac0f1..b3cf91b604b 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/managedAppPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/managedAppPolicyItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts index e094d6f7c72..491b64653c8 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts index 8d9ba26104e..ea3616b880e 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -60,7 +60,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetAppsPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/intendedPoliciesRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/intendedPoliciesRequestBuilder.ts index 62d3f4d0619..f1f578d016d 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/intendedPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/intendedPoliciesRequestBuilder.ts @@ -143,7 +143,7 @@ export class IntendedPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class IntendedPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/managedAppPolicyItemRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/managedAppPolicyItemRequestBuilder.ts index 6d0090dd429..9b7f6380fb6 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/managedAppPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/managedAppPolicyItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts index e094d6f7c72..491b64653c8 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts index e007eec5a43..05cff1668ed 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -60,7 +60,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetAppsPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts index 666cad5c959..43265008fb2 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistration - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -143,11 +143,11 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -161,7 +161,7 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppRegistration); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/operations/item/managedAppOperationItemRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/operations/item/managedAppOperationItemRequestBuilder.ts index 2fac9515f9c..b99e7e512be 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/operations/item/managedAppOperationItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/operations/item/managedAppOperationItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ManagedAppOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ManagedAppOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ManagedAppOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppOperation); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/item/operations/operationsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/operations/operationsRequestBuilder.ts index f42ad367c3e..bf5749cdcd3 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/operations/operationsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/operations/operationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppOperation); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts index fa2f2d03922..5f02e860b42 100644 --- a/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts @@ -105,10 +105,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistrationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppRegistrationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -138,7 +138,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -152,7 +152,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppRegistration); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts index 0953578a9cf..647e24584ce 100644 --- a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts @@ -77,10 +77,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppStatus - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppStatusItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -122,11 +122,11 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -140,7 +140,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/managedAppStatuses/managedAppStatusesRequestBuilder.ts b/src/deviceAppManagement/managedAppStatuses/managedAppStatusesRequestBuilder.ts index f1dd800d5e0..31917320be9 100644 --- a/src/deviceAppManagement/managedAppStatuses/managedAppStatusesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppStatuses/managedAppStatusesRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppStatuses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppStatusCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppStatusesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppStatusFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts index b1968fa4aa3..e02d8555dca 100644 --- a/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("managedEBookAssignments", assignPostRequestBody.managedEBookAssignments, ); + writer.writeCollectionOfObjectValues("managedEBookAssignments", assignPostRequestBody.managedEBookAssignments, serializeManagedEBookAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/managedEBooks/item/assign/assignRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assign/assignRequestBuilder.ts index 32619d33fa4..868b3d35dbf 100644 --- a/src/deviceAppManagement/managedEBooks/item/assign/assignRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assign/assignRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts index b3e612d790e..79abcd7b2fd 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts @@ -98,10 +98,10 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AssignmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedEBookAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts index dfe4170b24e..5fe72354e28 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}"); }; /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -94,11 +94,11 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0|Find more info here} */ public patch(body: ManagedEBookAssignment, requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,11 +142,11 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -161,7 +161,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedEBookAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/deviceStates/deviceStatesRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/deviceStates/deviceStatesRequestBuilder.ts index d2112e39aa7..aa437559de3 100644 --- a/src/deviceAppManagement/managedEBooks/item/deviceStates/deviceStatesRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/deviceStates/deviceStatesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceInstallState); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts index 164840fb6d8..48229976d97 100644 --- a/src/deviceAppManagement/managedEBooks/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceInstallState); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/installSummary/installSummaryRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/installSummary/installSummaryRequestBuilder.ts index be1bdd0ffb1..4d40a1b7c45 100644 --- a/src/deviceAppManagement/managedEBooks/item/installSummary/installSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/installSummary/installSummaryRequestBuilder.ts @@ -123,7 +123,7 @@ export class InstallSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class InstallSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class InstallSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEBookInstallSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts index 5fb5d3eea64..74d298be394 100644 --- a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedEBook); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/deviceStatesRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/deviceStatesRequestBuilder.ts index 1ef0764f313..e5f03eeec63 100644 --- a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/deviceStatesRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/deviceStatesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceInstallState); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts index 82950b966c2..3595b8fdabd 100644 --- a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/deviceStates/item/deviceInstallStateItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceInstallStateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceInstallState); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/userInstallStateSummaryItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/userInstallStateSummaryItemRequestBuilder.ts index 83c56cb96d4..053201b81a7 100644 --- a/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/userInstallStateSummaryItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/userStateSummary/item/userInstallStateSummaryItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class UserInstallStateSummaryItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class UserInstallStateSummaryItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class UserInstallStateSummaryItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserInstallStateSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/item/userStateSummary/userStateSummaryRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/userStateSummary/userStateSummaryRequestBuilder.ts index aea11e33c0a..5e63e6b1cec 100644 --- a/src/deviceAppManagement/managedEBooks/item/userStateSummary/userStateSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/userStateSummary/userStateSummaryRequestBuilder.ts @@ -145,7 +145,7 @@ export class UserStateSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class UserStateSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserInstallStateSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/managedEBooks/managedEBooksRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/managedEBooksRequestBuilder.ts index 4c323dc5a26..3d06cee3f98 100644 --- a/src/deviceAppManagement/managedEBooks/managedEBooksRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/managedEBooksRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedEBooksRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,7 +145,7 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedEBook); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts index 29bdce7415c..348c8b64a23 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts index ad5e957ce2a..f57b5de630a 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts index 8faa509115a..fbcf6307acc 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExemptAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExemptAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts index a6163fc6784..da4dc4345c3 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/mdmWindowsInformationProtectionPolicyItemRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/mdmWindowsInformationProtectionPolicyItemRequestBuilder.ts index 91e2dddd125..365498b0a37 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/mdmWindowsInformationProtectionPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/mdmWindowsInformationProtectionPolicyItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class MdmWindowsInformationProtectionPolicyItemRequestBuilder extends Bas requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class MdmWindowsInformationProtectionPolicyItemRequestBuilder extends Bas requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class MdmWindowsInformationProtectionPolicyItemRequestBuilder extends Bas requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMdmWindowsInformationProtectionPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts index 45368c0dc40..787b288c653 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts index 215a71a0908..40fb50e67bc 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ProtectedAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ProtectedAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/mdmWindowsInformationProtectionPoliciesRequestBuilder.ts b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/mdmWindowsInformationProtectionPoliciesRequestBuilder.ts index b12023d8670..ba71b7b17ed 100644 --- a/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/mdmWindowsInformationProtectionPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/mdmWindowsInformationProtectionPolicies/mdmWindowsInformationProtectionPoliciesRequestBuilder.ts @@ -145,7 +145,7 @@ export class MdmWindowsInformationProtectionPoliciesRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MdmWindowsInformationProtectionPoliciesRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMdmWindowsInformationProtectionPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppCategories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppCategories/item/mobileAppCategoryItemRequestBuilder.ts index 4979f5b978a..5393c9af97f 100644 --- a/src/deviceAppManagement/mobileAppCategories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppCategories/item/mobileAppCategoryItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppCategory); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppCategories/mobileAppCategoriesRequestBuilder.ts b/src/deviceAppManagement/mobileAppCategories/mobileAppCategoriesRequestBuilder.ts index 1f6100be3b3..212aa498d76 100644 --- a/src/deviceAppManagement/mobileAppCategories/mobileAppCategoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppCategories/mobileAppCategoriesRequestBuilder.ts @@ -145,7 +145,7 @@ export class MobileAppCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MobileAppCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppCategory); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts index 68789af547e..a6f9e37a9dc 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeManagedDeviceMobileAppConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignRequestBuilder.ts index 78bdf6d8ecf..390c0b1f978 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/assignments/assignmentsRequestBuilder.ts index 8b768ebc792..702c93e666a 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/assignments/item/managedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/assignments/item/managedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.ts index 1488351b870..89807df68b9 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/assignments/item/managedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/assignments/item/managedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatusSummary/deviceStatusSummaryRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatusSummary/deviceStatusSummaryRequestBuilder.ts index cd9cdddb94d..b3eac3536c0 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatusSummary/deviceStatusSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatusSummary/deviceStatusSummaryRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationDeviceSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts index b6058da2353..44446d54b97 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationDeviceStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/item/managedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/item/managedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.ts index 4cf2bca6fcb..ec27c9814fb 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/item/managedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/deviceStatuses/item/managedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationDeviceStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts index 395e76e681d..665996e2377 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts @@ -120,10 +120,10 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -166,11 +166,11 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -184,7 +184,7 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -203,7 +203,7 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfiguration); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/userStatusSummary/userStatusSummaryRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/userStatusSummary/userStatusSummaryRequestBuilder.ts index afe4b2a0bf2..b1d8a3b882a 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/userStatusSummary/userStatusSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/userStatusSummary/userStatusSummaryRequestBuilder.ts @@ -123,7 +123,7 @@ export class UserStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class UserStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class UserStatusSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationUserSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/item/managedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/item/managedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.ts index 2afedb287b3..3df1a11167c 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/item/managedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/item/managedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationUserStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/userStatusesRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/userStatusesRequestBuilder.ts index 30da7c6ae42..ff084928afd 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/userStatusesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/userStatuses/userStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfigurationUserStatus); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts index 032b98472cb..b1ae5618869 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedDeviceMobileAppConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,7 +145,7 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDeviceMobileAppConfiguration); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts index 630f4611426..afb28738cc7 100644 --- a/src/deviceAppManagement/mobileApps/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAndroidLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts index 36a3c275eeb..b60389d75f2 100644 --- a/src/deviceAppManagement/mobileApps/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAndroidStoreAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphIosLobApp/graphIosLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphIosLobApp/graphIosLobAppRequestBuilder.ts index 7366b48a726..7536c3ff9d6 100644 --- a/src/deviceAppManagement/mobileApps/graphIosLobApp/graphIosLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphIosLobApp/graphIosLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphIosLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts index ad7bec727ee..9bbdd1a3013 100644 --- a/src/deviceAppManagement/mobileApps/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphIosStoreAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphIosVppApp/graphIosVppAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphIosVppApp/graphIosVppAppRequestBuilder.ts index ac9da432296..b3dcd78cb7c 100644 --- a/src/deviceAppManagement/mobileApps/graphIosVppApp/graphIosVppAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphIosVppApp/graphIosVppAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphIosVppAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts index 7fbdd57fa93..49f1fabfd59 100644 --- a/src/deviceAppManagement/mobileApps/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphMacOSDmgAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts index edf5e3319b5..b424e60cda3 100644 --- a/src/deviceAppManagement/mobileApps/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphMacOSLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts index e2c65f1b39f..c926273dbd3 100644 --- a/src/deviceAppManagement/mobileApps/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphManagedAndroidLobAppRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts index d6233c93fde..b41c4e23e45 100644 --- a/src/deviceAppManagement/mobileApps/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphManagedIOSLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts index 64a52358d05..8f6afd355db 100644 --- a/src/deviceAppManagement/mobileApps/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphManagedMobileLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts index e8444e3ca40..c9af6cf0944 100644 --- a/src/deviceAppManagement/mobileApps/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphMicrosoftStoreForBusinessAppRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts index 78e2dfdfc75..849598f5c14 100644 --- a/src/deviceAppManagement/mobileApps/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphWin32LobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts index c086392889a..4ac2ea21816 100644 --- a/src/deviceAppManagement/mobileApps/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphWindowsAppXRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts index b7a2ed53abc..4726ee03d82 100644 --- a/src/deviceAppManagement/mobileApps/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphWindowsMobileMSIRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts index cfc38ff96e1..03bd23ecdcc 100644 --- a/src/deviceAppManagement/mobileApps/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphWindowsUniversalAppXRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts index bac8c73b750..aa7528c7ce8 100644 --- a/src/deviceAppManagement/mobileApps/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphWindowsWebAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts index bc3ac1203d4..e610d2f4f9a 100644 --- a/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("mobileAppAssignments", assignPostRequestBody.mobileAppAssignments, ); + writer.writeCollectionOfObjectValues("mobileAppAssignments", assignPostRequestBody.mobileAppAssignments, serializeMobileAppAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/assign/assignRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/assign/assignRequestBuilder.ts index 90f42697f95..10027729c46 100644 --- a/src/deviceAppManagement/mobileApps/item/assign/assignRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/assign/assignRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/assignments/assignmentsRequestBuilder.ts index a1cd5930e52..20e836f207a 100644 --- a/src/deviceAppManagement/mobileApps/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 596b6da4d09..d267a96f6b3 100644 --- a/src/deviceAppManagement/mobileApps/item/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/categories/categoriesRequestBuilder.ts index e65baf41273..564e5224c8c 100644 --- a/src/deviceAppManagement/mobileApps/item/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/categories/item/mobileAppCategoryItemRequestBuilder.ts index d0137d13f0d..3c3131b258f 100644 --- a/src/deviceAppManagement/mobileApps/item/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/assignmentsRequestBuilder.ts index 609f11b5c33..09c966f2442 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 261330f55f7..980c8d31808 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/categoriesRequestBuilder.ts index 81acb719afa..91e433f2282 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index d9bdc100185..27ddaeff42b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts index 1af1b4707f3..95e915c42dc 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index 4b0fd18b394..14e8c5acc2e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index c0dc7bf238e..3d727991572 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts index c98994432f8..450e86073c6 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 98b59dd0780..3e85aea93e1 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index ab1be3f7c85..9e46858fab2 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 6f9988c3017..6e5534c5fc8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index d6bc8a38e6f..60aa25b32f8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts index 29d2a0bf6a1..032561086e1 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/graphAndroidLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphAndroidLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/assignmentsRequestBuilder.ts index 28bfdfb1c6a..b08fcec0f2b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 76d088a0d1c..75879d36e16 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/categoriesRequestBuilder.ts index 1912146573d..6e59f8841cc 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index c3373c90ce7..36b21ad96c7 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts index 5b4ccc0f607..995c11a44b1 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidStoreApp/graphAndroidStoreAppRequestBuilder.ts @@ -87,7 +87,7 @@ export class GraphAndroidStoreAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/assignmentsRequestBuilder.ts index 59db92ba294..826a6aedc47 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index d7ba0c3c8a1..6dc16d195c0 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/categoriesRequestBuilder.ts index 28a597604b3..263b1a64703 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 81d8a638b05..b7a976a9938 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/contentVersionsRequestBuilder.ts index fe905f9277d..e925b90d7bb 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index a2af1d7b2b7..926953db44c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index de2e2903574..647f5d75e47 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/filesRequestBuilder.ts index a5e10fb5e5e..69e78f5fa83 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index b9becc64593..e446333b09f 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 074f03bee0a..d9c7b80091a 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 8249d47a2bc..284c673ded9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 582b320739b..68a6d965a1f 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/graphIosLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/graphIosLobAppRequestBuilder.ts index edf5e0d3741..1ce0ca3bf70 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/graphIosLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/graphIosLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphIosLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/assignmentsRequestBuilder.ts index 03769620f15..16c369edfd5 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index b39bab4dfd8..a830318cc65 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/categoriesRequestBuilder.ts index 44249aab854..0e8e8686ee8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 3fd005aea4e..d956a4c707c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts index ae0a43ffec0..864d0000ba3 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosStoreApp/graphIosStoreAppRequestBuilder.ts @@ -87,7 +87,7 @@ export class GraphIosStoreAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/assignmentsRequestBuilder.ts index 87752cfbdbb..d484e152960 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 5ffa4d6f99d..b87491a9118 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/categoriesRequestBuilder.ts index 6274e0d3d29..943d5db297c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index a49c354b0ef..73d57676af0 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/graphIosVppAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/graphIosVppAppRequestBuilder.ts index 37e82b4737f..b37fb8f0f60 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosVppApp/graphIosVppAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosVppApp/graphIosVppAppRequestBuilder.ts @@ -87,7 +87,7 @@ export class GraphIosVppAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/assignmentsRequestBuilder.ts index 4b68a6ca157..77db90939cf 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 284ad6ba746..3464cfce4c8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/categoriesRequestBuilder.ts index 55f974090ef..e9ffbe6bef0 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 14c8ef14996..8a272b9ec3c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/contentVersionsRequestBuilder.ts index 046b60a3192..b68886229ed 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index 7cc97c25868..be37258bee8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 1c4fe3fc99b..a96ae7b31ce 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/filesRequestBuilder.ts index 9c01b5f2d79..c7e38ca0e02 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 9814bfed172..9c95f263237 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 77b4373e47e..e69dfe5b634 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 33d9f803a22..2512e4434f6 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 22443e9b826..13d84cc85f8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts index 899a203e4b8..1107b093435 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/graphMacOSDmgAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphMacOSDmgAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/assignmentsRequestBuilder.ts index 3b908931278..296028e343d 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index f1d65b1bf57..495119ecd64 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/categoriesRequestBuilder.ts index 6653440b780..9d67769d84c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 6e553cbbebb..b16b8f991e7 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/contentVersionsRequestBuilder.ts index 31627c915ec..c747fdf7183 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index 89810dad2af..816f5e814ae 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index c45f1f24ee4..45efb5cb588 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/filesRequestBuilder.ts index 6b4521e2986..a2ea6276433 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 4cd17c25309..333659fa20d 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index afc75acc0b4..96d6e04e5d5 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 376024b4821..4473fbaba74 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index cba49db51f1..f88bd738f76 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts index c0c4c7952d4..03784f8e5f4 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/graphMacOSLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphMacOSLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/assignmentsRequestBuilder.ts index a35fb211df0..95271160ee8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 219a85226df..75204f0cb1e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/categoriesRequestBuilder.ts index 7d8c911ccda..9f3c39fe31b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 460c2494ea5..bc2777e9b8d 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts index ae6414187ca..39bc485c2a3 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index 60a80a148bb..93160d5e687 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index c4da220e20f..8450d723a83 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts index 504d8205ae1..5d35eb7bd7f 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 624ee0ea9b6..1f84aea6db3 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index a755c80fb20..1a1e94ca4c9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 6e1b9569c71..10ba3b8f1f1 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 5c1655858c0..4eb05416b7d 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts index 34b948fbbc2..d4a7e3d79ad 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/graphManagedAndroidLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphManagedAndroidLobAppRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/assignmentsRequestBuilder.ts index 6914290cbd8..0753f6524b5 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index a3f2853d612..d2ef62e47ad 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/categoriesRequestBuilder.ts index 79207e6efb9..fc146817adb 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 444a766bfae..a749857f871 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/contentVersionsRequestBuilder.ts index 5fd1b7d217e..12297ba5de4 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index d3c54c47f46..c0f41390c75 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 3ce6673c864..5862f8f05cd 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/filesRequestBuilder.ts index e01c2ca97ea..64e7762f6fc 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index b66fa0a7a43..99e1680a3e7 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 9e6a3439b28..db685ef3a1e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index d3a2709fdd9..4a06b38f43b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index f0a033d6d9a..481350d374e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts index 3be25bc65b7..d60bd205a28 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/graphManagedIOSLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphManagedIOSLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/assignmentsRequestBuilder.ts index 91ceb850ea2..12f0e737c7c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 7da31196f0f..50407a30436 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/categoriesRequestBuilder.ts index 03d79c7b7ad..c9e3ad6aced 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 5f7dc14cf2b..ea6f63e6a90 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/contentVersionsRequestBuilder.ts index cc215171861..5edd8431f9b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index 37ddc1d4e34..63e92297be9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 8ca444bcbf8..04bc64c8d0d 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/filesRequestBuilder.ts index 4726fe09dcb..78eef17bda2 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 5c61b393a62..7515cac2e3e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 07c4ba20295..25085a0b176 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 1a448af9005..31da6eeca77 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 406b5f1b754..eafad032574 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts index 0cd81734dec..fc933d2fbae 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/graphManagedMobileLobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphManagedMobileLobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/assignmentsRequestBuilder.ts index 569b3ad8525..eb9a2fe6546 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index e24b9a3e4b2..5c011b41b23 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/categoriesRequestBuilder.ts index b13162e9ce1..9769f119975 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 1f0960adcdc..da285fa202b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts index 386076f6519..98dd8a58633 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMicrosoftStoreForBusinessApp/graphMicrosoftStoreForBusinessAppRequestBuilder.ts @@ -87,7 +87,7 @@ export class GraphMicrosoftStoreForBusinessAppRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/assignmentsRequestBuilder.ts index ec25d988ee0..2b1c87ff8d6 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 991b2019d96..0dbe5e8028e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/categoriesRequestBuilder.ts index 0761ea1aba9..43e500066f6 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index 1dac726d0f3..d3332d64c77 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/contentVersionsRequestBuilder.ts index d3737a6ef11..e23610ab2ef 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index eac04f645f4..ff9380387f4 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index ff72fa7785f..ddaa04a4e07 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/filesRequestBuilder.ts index 64a386e5c1e..65e4a51b429 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts index c22802cb501..af143f89f9b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 99b91f966ee..561641f85a2 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index a39a82ac1bd..ff27e45e529 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 5e241ca2163..efe96fd6179 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts index 51f167a6876..6f0077c2c3e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/graphWin32LobAppRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphWin32LobAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/assignmentsRequestBuilder.ts index 9d2c01ca698..b165436c876 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 94fc6944172..2b5e459b8d9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/categoriesRequestBuilder.ts index adc9d956878..d80f9ee39f9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts index 5f2e815b555..61f4c549706 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/contentVersionsRequestBuilder.ts index a8a2e344b35..fc433cf09ef 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index dc890d1cd64..8c6609400fa 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 7925287dd8e..f7bbbeeb60a 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/filesRequestBuilder.ts index 83e14a55a8c..9431df1569b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts index bfd7b9c26ab..c31c4101ed6 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index d90f12879b6..4510d9620fa 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 008983fc7e3..8eb8bf21788 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts index 7fdd498f9f6..13d701d195e 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts index 636de5e777c..7269263fa14 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/graphWindowsAppXRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphWindowsAppXRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/assignmentsRequestBuilder.ts index aaff32f9305..99a431b07b1 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 028a4fcd9e0..ee0708e0814 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/categoriesRequestBuilder.ts index 23df2cd9e42..5c8f36c55f4 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/item/mobileAppCategoryItemRequestBuilder.ts index 294d0f0203e..52817ed805b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/contentVersionsRequestBuilder.ts index e7af5e808fb..bf5f4be80d3 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index d8ddddf1c58..343154bb222 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 347f5b8b4e8..a4894d402dd 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/filesRequestBuilder.ts index 1e5bf2fcfb0..0b28090a6ce 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitRequestBuilder.ts index aa6c67358ca..8d57cfd447b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index dd4a9027274..b282acdf251 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index 11b1a137dca..e6c05a649e2 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/mobileAppContentItemRequestBuilder.ts index d2e733bd392..45970a9ffc2 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts index 7e282512778..5a133ea6377 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/graphWindowsMobileMSIRequestBuilder.ts @@ -94,7 +94,7 @@ export class GraphWindowsMobileMSIRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/assignmentsRequestBuilder.ts index 465b658cc18..1149975f087 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index 9be5142e3c0..41e5b28918b 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/categoriesRequestBuilder.ts index 94cc9c39c5b..c0158e223c5 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts index 6627a4fb3cf..1c233d4e467 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/committedContainedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/committedContainedAppsRequestBuilder.ts index 5dbdaf19d3d..32f8e2f7689 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/committedContainedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/committedContainedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class CommittedContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class CommittedContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/item/mobileContainedAppItemRequestBuilder.ts index 43c76e556ff..2bc606be534 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/committedContainedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/contentVersionsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/contentVersionsRequestBuilder.ts index c3e6c3e33ed..6c093210fa8 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/contentVersionsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/contentVersionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContentVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts index df2b136b5b6..793b5163038 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/containedAppsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ContainedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts index 705e82ad26f..b9a4762c609 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/containedApps/item/mobileContainedAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class MobileContainedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileContainedApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/filesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/filesRequestBuilder.ts index 212b95aa54d..3729f8a9115 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/filesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/filesRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts index 9d92d6e3963..110ae3a2da4 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitRequestBuilder.ts @@ -59,7 +59,7 @@ export class CommitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCommitPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts index 8bbb8fbc2ef..55e62e55cdf 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/mobileAppContentFileItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentFileItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContentFile); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts index d59b2909c3a..a63e20a2c9a 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/renewUpload/renewUploadRequestBuilder.ts @@ -55,7 +55,7 @@ export class RenewUploadRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts index a2f7a77c05b..da586518190 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/mobileAppContentItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class MobileAppContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppContent); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts index 058685a2ccb..9be4ecd22fd 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/graphWindowsUniversalAppXRequestBuilder.ts @@ -101,7 +101,7 @@ export class GraphWindowsUniversalAppXRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/assignmentsRequestBuilder.ts index 39c19111b43..fddeb89baad 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts index b7af10da29d..13bb1b0fd70 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/assignments/item/mobileAppAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileAppAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/categoriesRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/categoriesRequestBuilder.ts index 54450716629..e96bf87bbd9 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/categoriesRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/categoriesRequestBuilder.ts @@ -116,7 +116,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/item/mobileAppCategoryItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/item/mobileAppCategoryItemRequestBuilder.ts index bd4c828a019..0b8b07f5139 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/item/mobileAppCategoryItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/categories/item/mobileAppCategoryItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class MobileAppCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts index df7be73fe40..baa962bc042 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsWebApp/graphWindowsWebAppRequestBuilder.ts @@ -87,7 +87,7 @@ export class GraphWindowsWebAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts index 11af7f6fa00..ed8805fd729 100644 --- a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts @@ -196,9 +196,9 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windowsMobileMSI. + * Deletes a managedIOSStoreApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MobileAppItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -211,10 +211,10 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the managedIOSLobApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -227,11 +227,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a microsoftStoreForBusinessApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MobileApp, requestConfiguration?: MobileAppItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -244,7 +244,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windowsMobileMSI. + * Deletes a managedIOSStoreApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -257,11 +257,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the managedIOSLobApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -275,11 +275,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a microsoftStoreForBusinessApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -294,7 +294,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts index 28fb25e16e0..c9ebd155138 100644 --- a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts @@ -210,10 +210,10 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the windowsWebApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileAppCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -226,11 +226,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new iosLobApp object. + * Create a new macOSLobApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-create?view=graph-rest-1.0|Find more info here} */ public post(body: MobileApp, requestConfiguration?: MobileAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -243,7 +243,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the windowsWebApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -257,11 +257,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create a new iosLobApp object. + * Create a new macOSLobApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -276,7 +276,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/syncMicrosoftStoreForBusinessApps/syncMicrosoftStoreForBusinessAppsRequestBuilder.ts b/src/deviceAppManagement/syncMicrosoftStoreForBusinessApps/syncMicrosoftStoreForBusinessAppsRequestBuilder.ts index 35467f3ffa5..aa20fe36227 100644 --- a/src/deviceAppManagement/syncMicrosoftStoreForBusinessApps/syncMicrosoftStoreForBusinessAppsRequestBuilder.ts +++ b/src/deviceAppManagement/syncMicrosoftStoreForBusinessApps/syncMicrosoftStoreForBusinessAppsRequestBuilder.ts @@ -56,7 +56,7 @@ export class SyncMicrosoftStoreForBusinessAppsRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/appsRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/appsRequestBuilder.ts index 9a089457ea3..43646742392 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/appsRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/appsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/item/managedMobileAppItemRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/item/managedMobileAppItemRequestBuilder.ts index 89187cc020e..c21459800b2 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/item/managedMobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/apps/item/managedMobileAppItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ManagedMobileAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedMobileApp); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts index 4a9a5236a0e..3f56b51ba8b 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeTargetedManagedAppPolicyAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignRequestBuilder.ts index 4fda5d26695..366dfab3939 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/assignmentsRequestBuilder.ts index a9ee59b05e0..9c03819c5fa 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/assignmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts index d5e236f8d9e..4efcedc9082 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/deploymentSummary/deploymentSummaryRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/deploymentSummary/deploymentSummaryRequestBuilder.ts index c377a1a8f37..dbdfc56c22d 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/deploymentSummary/deploymentSummaryRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/deploymentSummary/deploymentSummaryRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedAppPolicyDeploymentSummary); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts index cf481da1a11..65a15a77f1f 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { writer.writeEnumValue("appGroupType", targetAppsPostRequestBody.appGroupType); - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsRequestBuilder.ts index 94815dafa37..d8aa0af4a55 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsRequestBuilder.ts @@ -60,7 +60,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetAppsPostRequestBody); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetedManagedAppConfigurationItemRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetedManagedAppConfigurationItemRequestBuilder.ts index 9a0b5fdc58f..b3485ec24a6 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetedManagedAppConfigurationItemRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetedManagedAppConfigurationItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class TargetedManagedAppConfigurationItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class TargetedManagedAppConfigurationItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class TargetedManagedAppConfigurationItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppConfiguration); return requestInfo; }; diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/targetedManagedAppConfigurationsRequestBuilder.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/targetedManagedAppConfigurationsRequestBuilder.ts index a74b329c538..2b3b2abb395 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/targetedManagedAppConfigurationsRequestBuilder.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/targetedManagedAppConfigurationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TargetedManagedAppConfigurationsRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TargetedManagedAppConfigurationsRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppConfiguration); return requestInfo; }; diff --git a/src/deviceAppManagement/vppTokens/item/syncLicenses/syncLicensesRequestBuilder.ts b/src/deviceAppManagement/vppTokens/item/syncLicenses/syncLicensesRequestBuilder.ts index e11765683eb..2c3f8a35c18 100644 --- a/src/deviceAppManagement/vppTokens/item/syncLicenses/syncLicensesRequestBuilder.ts +++ b/src/deviceAppManagement/vppTokens/item/syncLicenses/syncLicensesRequestBuilder.ts @@ -59,7 +59,7 @@ export class SyncLicensesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceAppManagement/vppTokens/item/vppTokenItemRequestBuilder.ts b/src/deviceAppManagement/vppTokens/item/vppTokenItemRequestBuilder.ts index c76ac71f4bd..9b270e412e1 100644 --- a/src/deviceAppManagement/vppTokens/item/vppTokenItemRequestBuilder.ts +++ b/src/deviceAppManagement/vppTokens/item/vppTokenItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class VppTokenItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class VppTokenItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class VppTokenItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVppToken); return requestInfo; }; diff --git a/src/deviceAppManagement/vppTokens/vppTokensRequestBuilder.ts b/src/deviceAppManagement/vppTokens/vppTokensRequestBuilder.ts index ffbf8874eb6..baebf700d18 100644 --- a/src/deviceAppManagement/vppTokens/vppTokensRequestBuilder.ts +++ b/src/deviceAppManagement/vppTokens/vppTokensRequestBuilder.ts @@ -145,7 +145,7 @@ export class VppTokensRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class VppTokensRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVppToken); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts index 7e9dc4c5859..78bd1e7abc0 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/assignmentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts index cf125306116..02d4e08f30e 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/assignments/item/targetedManagedAppPolicyAssignmentItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TargetedManagedAppPolicyAssignmentItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTargetedManagedAppPolicyAssignment); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts index 56758c89a6f..fa297750611 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/exemptAppLockerFilesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExemptAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExemptAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts index 83ebec60c7c..b8f83345549 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/exemptAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts index 2b4ba4c966a..fb797c92b21 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/item/windowsInformationProtectionAppLockerFileItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class WindowsInformationProtectionAppLockerFileItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts index e6ce6577a9b..16d977fb74a 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/protectedAppLockerFiles/protectedAppLockerFilesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ProtectedAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ProtectedAppLockerFilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLockerFile); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/windowsInformationProtectionPolicyItemRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/windowsInformationProtectionPolicyItemRequestBuilder.ts index 865c11a10de..46bf2f36989 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/item/windowsInformationProtectionPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/item/windowsInformationProtectionPolicyItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsInformationProtectionPolicyItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class WindowsInformationProtectionPolicyItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class WindowsInformationProtectionPolicyItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionPolicy); return requestInfo; }; diff --git a/src/deviceAppManagement/windowsInformationProtectionPolicies/windowsInformationProtectionPoliciesRequestBuilder.ts b/src/deviceAppManagement/windowsInformationProtectionPolicies/windowsInformationProtectionPoliciesRequestBuilder.ts index ac2b9dc0fd8..339cc69094a 100644 --- a/src/deviceAppManagement/windowsInformationProtectionPolicies/windowsInformationProtectionPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/windowsInformationProtectionPolicies/windowsInformationProtectionPoliciesRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsInformationProtectionPoliciesRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WindowsInformationProtectionPoliciesRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionPolicy); return requestInfo; }; diff --git a/src/deviceManagement/applePushNotificationCertificate/applePushNotificationCertificateRequestBuilder.ts b/src/deviceManagement/applePushNotificationCertificate/applePushNotificationCertificateRequestBuilder.ts index ef97b9019e0..013f05a9157 100644 --- a/src/deviceManagement/applePushNotificationCertificate/applePushNotificationCertificateRequestBuilder.ts +++ b/src/deviceManagement/applePushNotificationCertificate/applePushNotificationCertificateRequestBuilder.ts @@ -130,7 +130,7 @@ export class ApplePushNotificationCertificateRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class ApplePushNotificationCertificateRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ApplePushNotificationCertificateRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplePushNotificationCertificate); return requestInfo; }; diff --git a/src/deviceManagement/applePushNotificationCertificate/downloadApplePushNotificationCertificateSigningRequest/downloadApplePushNotificationCertificateSigningRequestRequestBuilder.ts b/src/deviceManagement/applePushNotificationCertificate/downloadApplePushNotificationCertificateSigningRequest/downloadApplePushNotificationCertificateSigningRequestRequestBuilder.ts index 8dacf63dc2d..dab8d121a50 100644 --- a/src/deviceManagement/applePushNotificationCertificate/downloadApplePushNotificationCertificateSigningRequest/downloadApplePushNotificationCertificateSigningRequestRequestBuilder.ts +++ b/src/deviceManagement/applePushNotificationCertificate/downloadApplePushNotificationCertificateSigningRequest/downloadApplePushNotificationCertificateSigningRequestRequestBuilder.ts @@ -58,7 +58,7 @@ export class DownloadApplePushNotificationCertificateSigningRequestRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/auditEvents/auditEventsRequestBuilder.ts b/src/deviceManagement/auditEvents/auditEventsRequestBuilder.ts index 8057b9a2443..1403fc3bb0b 100644 --- a/src/deviceManagement/auditEvents/auditEventsRequestBuilder.ts +++ b/src/deviceManagement/auditEvents/auditEventsRequestBuilder.ts @@ -162,7 +162,7 @@ export class AuditEventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class AuditEventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuditEvent); return requestInfo; }; diff --git a/src/deviceManagement/auditEvents/getAuditActivityTypesWithCategory/getAuditActivityTypesWithCategoryRequestBuilder.ts b/src/deviceManagement/auditEvents/getAuditActivityTypesWithCategory/getAuditActivityTypesWithCategoryRequestBuilder.ts index f1c4b616bdc..6801ce04e36 100644 --- a/src/deviceManagement/auditEvents/getAuditActivityTypesWithCategory/getAuditActivityTypesWithCategoryRequestBuilder.ts +++ b/src/deviceManagement/auditEvents/getAuditActivityTypesWithCategory/getAuditActivityTypesWithCategoryRequestBuilder.ts @@ -87,7 +87,7 @@ export class GetAuditActivityTypesWithCategoryRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/auditEvents/getAuditCategories/getAuditCategoriesRequestBuilder.ts b/src/deviceManagement/auditEvents/getAuditCategories/getAuditCategoriesRequestBuilder.ts index aae7bb227bd..d13b85e1272 100644 --- a/src/deviceManagement/auditEvents/getAuditCategories/getAuditCategoriesRequestBuilder.ts +++ b/src/deviceManagement/auditEvents/getAuditCategories/getAuditCategoriesRequestBuilder.ts @@ -85,7 +85,7 @@ export class GetAuditCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/auditEvents/item/auditEventItemRequestBuilder.ts b/src/deviceManagement/auditEvents/item/auditEventItemRequestBuilder.ts index 7dbfde560b1..bf25b7a089d 100644 --- a/src/deviceManagement/auditEvents/item/auditEventItemRequestBuilder.ts +++ b/src/deviceManagement/auditEvents/item/auditEventItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class AuditEventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class AuditEventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class AuditEventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuditEvent); return requestInfo; }; diff --git a/src/deviceManagement/complianceManagementPartners/complianceManagementPartnersRequestBuilder.ts b/src/deviceManagement/complianceManagementPartners/complianceManagementPartnersRequestBuilder.ts index f88b8d1689d..a8ded918322 100644 --- a/src/deviceManagement/complianceManagementPartners/complianceManagementPartnersRequestBuilder.ts +++ b/src/deviceManagement/complianceManagementPartners/complianceManagementPartnersRequestBuilder.ts @@ -145,7 +145,7 @@ export class ComplianceManagementPartnersRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ComplianceManagementPartnersRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeComplianceManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/complianceManagementPartners/item/complianceManagementPartnerItemRequestBuilder.ts b/src/deviceManagement/complianceManagementPartners/item/complianceManagementPartnerItemRequestBuilder.ts index 0ee7fb137d0..20ba7e40fbb 100644 --- a/src/deviceManagement/complianceManagementPartners/item/complianceManagementPartnerItemRequestBuilder.ts +++ b/src/deviceManagement/complianceManagementPartners/item/complianceManagementPartnerItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ComplianceManagementPartnerItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ComplianceManagementPartnerItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ComplianceManagementPartnerItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeComplianceManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/conditionalAccessSettings/conditionalAccessSettingsRequestBuilder.ts b/src/deviceManagement/conditionalAccessSettings/conditionalAccessSettingsRequestBuilder.ts index 15370e9db87..bcd4d41c2df 100644 --- a/src/deviceManagement/conditionalAccessSettings/conditionalAccessSettingsRequestBuilder.ts +++ b/src/deviceManagement/conditionalAccessSettings/conditionalAccessSettingsRequestBuilder.ts @@ -123,7 +123,7 @@ export class ConditionalAccessSettingsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ConditionalAccessSettingsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ConditionalAccessSettingsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnPremisesConditionalAccessSettings); return requestInfo; }; diff --git a/src/deviceManagement/detectedApps/detectedAppsRequestBuilder.ts b/src/deviceManagement/detectedApps/detectedAppsRequestBuilder.ts index 50db2bf2b47..17ef31b7cdf 100644 --- a/src/deviceManagement/detectedApps/detectedAppsRequestBuilder.ts +++ b/src/deviceManagement/detectedApps/detectedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class DetectedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DetectedAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDetectedApp); return requestInfo; }; diff --git a/src/deviceManagement/detectedApps/item/detectedAppItemRequestBuilder.ts b/src/deviceManagement/detectedApps/item/detectedAppItemRequestBuilder.ts index cc9730937ab..2b5f9225c6c 100644 --- a/src/deviceManagement/detectedApps/item/detectedAppItemRequestBuilder.ts +++ b/src/deviceManagement/detectedApps/item/detectedAppItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DetectedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DetectedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DetectedAppItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDetectedApp); return requestInfo; }; diff --git a/src/deviceManagement/detectedApps/item/managedDevices/item/managedDeviceItemRequestBuilder.ts b/src/deviceManagement/detectedApps/item/managedDevices/item/managedDeviceItemRequestBuilder.ts index a21192cf18a..c9ddae0ba0e 100644 --- a/src/deviceManagement/detectedApps/item/managedDevices/item/managedDeviceItemRequestBuilder.ts +++ b/src/deviceManagement/detectedApps/item/managedDevices/item/managedDeviceItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/detectedApps/item/managedDevices/managedDevicesRequestBuilder.ts b/src/deviceManagement/detectedApps/item/managedDevices/managedDevicesRequestBuilder.ts index c6acfa9f649..8d2aab0a5c9 100644 --- a/src/deviceManagement/detectedApps/item/managedDevices/managedDevicesRequestBuilder.ts +++ b/src/deviceManagement/detectedApps/item/managedDevices/managedDevicesRequestBuilder.ts @@ -116,7 +116,7 @@ export class ManagedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/deviceCategories/deviceCategoriesRequestBuilder.ts b/src/deviceManagement/deviceCategories/deviceCategoriesRequestBuilder.ts index 9b0d5a14297..e68b6b6b3d9 100644 --- a/src/deviceManagement/deviceCategories/deviceCategoriesRequestBuilder.ts +++ b/src/deviceManagement/deviceCategories/deviceCategoriesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCategory); return requestInfo; }; diff --git a/src/deviceManagement/deviceCategories/item/deviceCategoryItemRequestBuilder.ts b/src/deviceManagement/deviceCategories/item/deviceCategoryItemRequestBuilder.ts index 0ebadc2bb2a..de171d3e5cd 100644 --- a/src/deviceManagement/deviceCategories/item/deviceCategoryItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCategories/item/deviceCategoryItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCategory); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts index 6f02bd8daf7..5cf94d2459f 100644 --- a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosCompliancePolicy objects. + * List properties and relationships of the windows10CompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicyCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosCompliancePolicy objects. + * List properties and relationships of the windows10CompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,7 +145,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicy); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts index ecb55c7719d..5b771d04f64 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeDeviceCompliancePolicyAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts index e19bf8da886..0117bed2e51 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssignPostResponse(assignPostResponse: AssignPost } export function serializeAssignPostResponse(writer: SerializationWriter, assignPostResponse: AssignPostResponse | undefined = {} as AssignPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, assignPostResponse) - writer.writeCollectionOfObjectValues("value", assignPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", assignPostResponse.value, serializeDeviceCompliancePolicyAssignment); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignRequestBuilder.ts index aa395c25517..325b0044cb6 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignRequestBuilder.ts @@ -62,7 +62,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assignments/assignmentsRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/assignments/assignmentsRequestBuilder.ts index bcf0d6013c3..79bec563475 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assignments/item/deviceCompliancePolicyAssignmentItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/assignments/item/deviceCompliancePolicyAssignmentItemRequestBuilder.ts index 13198d5a110..8140e52f96e 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assignments/item/deviceCompliancePolicyAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assignments/item/deviceCompliancePolicyAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceCompliancePolicyAssignmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceCompliancePolicyAssignmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceCompliancePolicyAssignmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts index a11c99a7733..9a2efcc52e4 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts @@ -126,9 +126,9 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}"); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows10CompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -141,10 +141,10 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the iosCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -157,11 +157,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windowsPhone81CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceCompliancePolicy, requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -174,7 +174,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows10CompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -187,11 +187,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the iosCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -205,11 +205,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windowsPhone81CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -224,7 +224,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicy); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts index b48d6e4c497..15033494357 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceSettingStateSummariesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceSettingStateSummariesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSettingStateDeviceSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts index d41e838047a..f21c8b097ee 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSettingStateDeviceSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts index 188e5b2c74b..eb9639d6705 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceDeviceOverview); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/deviceStatusesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/deviceStatusesRequestBuilder.ts index b4a1ad1ac14..5dff71dc888 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/deviceStatusesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/deviceStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/item/deviceComplianceDeviceStatusItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/item/deviceComplianceDeviceStatusItemRequestBuilder.ts index 7582a9e8c6c..98eb7977da2 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/item/deviceComplianceDeviceStatusItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceStatuses/item/deviceComplianceDeviceStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceComplianceDeviceStatusItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceComplianceDeviceStatusItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceComplianceDeviceStatusItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts index 40e47e42b03..e97bb8bd3c9 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ScheduleActionsForRulesPostRequestBody extends AdditionalDataHo deviceComplianceScheduledActionForRules?: DeviceComplianceScheduledActionForRule[]; } export function serializeScheduleActionsForRulesPostRequestBody(writer: SerializationWriter, scheduleActionsForRulesPostRequestBody: ScheduleActionsForRulesPostRequestBody | undefined = {} as ScheduleActionsForRulesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("deviceComplianceScheduledActionForRules", scheduleActionsForRulesPostRequestBody.deviceComplianceScheduledActionForRules, ); + writer.writeCollectionOfObjectValues("deviceComplianceScheduledActionForRules", scheduleActionsForRulesPostRequestBody.deviceComplianceScheduledActionForRules, serializeDeviceComplianceScheduledActionForRule); writer.writeAdditionalData(scheduleActionsForRulesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesRequestBuilder.ts index 15e8591a2f4..5cda82e909d 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ScheduleActionsForRulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScheduleActionsForRulesPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/deviceComplianceScheduledActionForRuleItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/deviceComplianceScheduledActionForRuleItemRequestBuilder.ts index a34dad4d658..06488e95a62 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/deviceComplianceScheduledActionForRuleItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/deviceComplianceScheduledActionForRuleItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DeviceComplianceScheduledActionForRuleItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DeviceComplianceScheduledActionForRuleItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DeviceComplianceScheduledActionForRuleItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceScheduledActionForRule); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/item/deviceComplianceActionItemItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/item/deviceComplianceActionItemItemRequestBuilder.ts index 6686c675fd0..cca14b6965f 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/item/deviceComplianceActionItemItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/item/deviceComplianceActionItemItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceComplianceActionItemItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceComplianceActionItemItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceComplianceActionItemItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceActionItem); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/scheduledActionConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/scheduledActionConfigurationsRequestBuilder.ts index 51286cb11ca..ceab4f4315a 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/scheduledActionConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/item/scheduledActionConfigurations/scheduledActionConfigurationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ScheduledActionConfigurationsRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ScheduledActionConfigurationsRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceActionItem); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/scheduledActionsForRuleRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/scheduledActionsForRuleRequestBuilder.ts index b10d0ea03d5..3751d5f538d 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/scheduledActionsForRuleRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduledActionsForRule/scheduledActionsForRuleRequestBuilder.ts @@ -145,7 +145,7 @@ export class ScheduledActionsForRuleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ScheduledActionsForRuleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceScheduledActionForRule); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/userStatusOverview/userStatusOverviewRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/userStatusOverview/userStatusOverviewRequestBuilder.ts index e686f9bce65..0ba3cf836a7 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/userStatusOverview/userStatusOverviewRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/userStatusOverview/userStatusOverviewRequestBuilder.ts @@ -123,7 +123,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceUserOverview); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/item/deviceComplianceUserStatusItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/item/deviceComplianceUserStatusItemRequestBuilder.ts index 1e2f3aee11f..50268e2f01d 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/item/deviceComplianceUserStatusItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/item/deviceComplianceUserStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceComplianceUserStatusItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceComplianceUserStatusItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceComplianceUserStatusItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceUserStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/userStatusesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/userStatusesRequestBuilder.ts index 952ba37f7a1..f3af7ae7dbe 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/userStatusesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/userStatuses/userStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceUserStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicyDeviceStateSummary/deviceCompliancePolicyDeviceStateSummaryRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicyDeviceStateSummary/deviceCompliancePolicyDeviceStateSummaryRequestBuilder.ts index 6c56e3aa357..cc3fb56a030 100644 --- a/src/deviceManagement/deviceCompliancePolicyDeviceStateSummary/deviceCompliancePolicyDeviceStateSummaryRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicyDeviceStateSummary/deviceCompliancePolicyDeviceStateSummaryRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyDeviceStateSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/deviceCompliancePolicySettingStateSummariesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/deviceCompliancePolicySettingStateSummariesRequestBuilder.ts index 4f24d8b2284..91078090b41 100644 --- a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/deviceCompliancePolicySettingStateSummariesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/deviceCompliancePolicySettingStateSummariesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceCompliancePolicySettingStateSummariesRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceCompliancePolicySettingStateSummariesRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicySettingStateSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceCompliancePolicySettingStateSummaryItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceCompliancePolicySettingStateSummaryItemRequestBuilder.ts index 4580137e007..44ccdac317e 100644 --- a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceCompliancePolicySettingStateSummaryItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceCompliancePolicySettingStateSummaryItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DeviceCompliancePolicySettingStateSummaryItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DeviceCompliancePolicySettingStateSummaryItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DeviceCompliancePolicySettingStateSummaryItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicySettingStateSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/deviceComplianceSettingStatesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/deviceComplianceSettingStatesRequestBuilder.ts index c1e7e323129..11874827684 100644 --- a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/deviceComplianceSettingStatesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/deviceComplianceSettingStatesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceComplianceSettingStatesRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceComplianceSettingStatesRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceSettingState); return requestInfo; }; diff --git a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/item/deviceComplianceSettingStateItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/item/deviceComplianceSettingStateItemRequestBuilder.ts index 5fa67b0952e..c67d54806ec 100644 --- a/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/item/deviceComplianceSettingStateItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicySettingStateSummaries/item/deviceComplianceSettingStates/item/deviceComplianceSettingStateItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceComplianceSettingStateItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceComplianceSettingStateItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceComplianceSettingStateItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceComplianceSettingState); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurationDeviceStateSummaries/deviceConfigurationDeviceStateSummariesRequestBuilder.ts b/src/deviceManagement/deviceConfigurationDeviceStateSummaries/deviceConfigurationDeviceStateSummariesRequestBuilder.ts index 563b816d9c7..fcd61707ff9 100644 --- a/src/deviceManagement/deviceConfigurationDeviceStateSummaries/deviceConfigurationDeviceStateSummariesRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurationDeviceStateSummaries/deviceConfigurationDeviceStateSummariesRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceConfigurationDeviceStateSummariesRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceConfigurationDeviceStateSummariesRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceConfigurationDeviceStateSummariesRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationDeviceStateSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts index d3fae8c55b5..f4ca0c76ed2 100644 --- a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,7 +145,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfiguration); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts index f22948b3325..0423ad1ad98 100644 --- a/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeDeviceConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts b/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts index 034d8d6aeef..62ae8e8d48d 100644 --- a/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts +++ b/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssignPostResponse(assignPostResponse: AssignPost } export function serializeAssignPostResponse(writer: SerializationWriter, assignPostResponse: AssignPostResponse | undefined = {} as AssignPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, assignPostResponse) - writer.writeCollectionOfObjectValues("value", assignPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", assignPostResponse.value, serializeDeviceConfigurationAssignment); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/deviceConfigurations/item/assign/assignRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/assign/assignRequestBuilder.ts index 55f904b6d80..fdb9225acb1 100644 --- a/src/deviceManagement/deviceConfigurations/item/assign/assignRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/assign/assignRequestBuilder.ts @@ -62,7 +62,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/assignments/assignmentsRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/assignments/assignmentsRequestBuilder.ts index bc0743ec816..a0faf3e2d2e 100644 --- a/src/deviceManagement/deviceConfigurations/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/assignments/item/deviceConfigurationAssignmentItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/assignments/item/deviceConfigurationAssignmentItemRequestBuilder.ts index 887a75aad2d..ec3f8e2a3fb 100644 --- a/src/deviceManagement/deviceConfigurations/item/assignments/item/deviceConfigurationAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/assignments/item/deviceConfigurationAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceConfigurationAssignmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceConfigurationAssignmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceConfigurationAssignmentItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts index 08808675876..aba81bacbf3 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts @@ -113,9 +113,9 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -128,10 +128,10 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the iosCertificateProfile object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-appledevicefeaturesconfigurationbase-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -153,11 +153,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(this.pathParameters, this.requestAdapter, secretReferenceValueId); }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a macOSGeneralDeviceConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceConfiguration, requestConfiguration?: DeviceConfigurationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -170,7 +170,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -183,11 +183,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the iosCertificateProfile object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -201,11 +201,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a macOSGeneralDeviceConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -220,7 +220,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfiguration); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts index cc7c8dbabe7..0b09da0d2aa 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/deviceSettingStateSummariesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceSettingStateSummariesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceSettingStateSummariesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSettingStateDeviceSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts index 2be81c4c1d1..24580abce55 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceSettingStateSummaries/item/settingStateDeviceSummaryItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class SettingStateDeviceSummaryItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSettingStateDeviceSummary); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts index 4205b0c7b06..72500534037 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceStatusOverview/deviceStatusOverviewRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationDeviceOverview); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts index f65b20f16f9..5fff29db02b 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceStatuses/deviceStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/deviceStatuses/item/deviceConfigurationDeviceStatusItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceStatuses/item/deviceConfigurationDeviceStatusItemRequestBuilder.ts index 78d060a04a4..104a69ebfb0 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceStatuses/item/deviceConfigurationDeviceStatusItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceStatuses/item/deviceConfigurationDeviceStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceConfigurationDeviceStatusItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceConfigurationDeviceStatusItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceConfigurationDeviceStatusItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/getOmaSettingPlainTextValueWithSecretReferenceValueId/getOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/getOmaSettingPlainTextValueWithSecretReferenceValueId/getOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.ts index b7effc668ad..db32c537215 100644 --- a/src/deviceManagement/deviceConfigurations/item/getOmaSettingPlainTextValueWithSecretReferenceValueId/getOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/getOmaSettingPlainTextValueWithSecretReferenceValueId/getOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.ts @@ -60,7 +60,7 @@ export class GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/deviceConfigurations/item/userStatusOverview/userStatusOverviewRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/userStatusOverview/userStatusOverviewRequestBuilder.ts index 2568afdf16f..e11ae461179 100644 --- a/src/deviceManagement/deviceConfigurations/item/userStatusOverview/userStatusOverviewRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/userStatusOverview/userStatusOverviewRequestBuilder.ts @@ -123,7 +123,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class UserStatusOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationUserOverview); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/userStatuses/item/deviceConfigurationUserStatusItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/userStatuses/item/deviceConfigurationUserStatusItemRequestBuilder.ts index 42592636b42..1d923f85fb0 100644 --- a/src/deviceManagement/deviceConfigurations/item/userStatuses/item/deviceConfigurationUserStatusItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/userStatuses/item/deviceConfigurationUserStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceConfigurationUserStatusItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceConfigurationUserStatusItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceConfigurationUserStatusItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationUserStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceConfigurations/item/userStatuses/userStatusesRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/userStatuses/userStatusesRequestBuilder.ts index 5c86e2338e9..7e1486288e0 100644 --- a/src/deviceManagement/deviceConfigurations/item/userStatuses/userStatusesRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/userStatuses/userStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class UserStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationUserStatus); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts index 44edb24d79f..5673ff547ae 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceEnrollmentConfiguration, requestConfiguration?: DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -145,11 +145,11 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -164,7 +164,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceEnrollmentConfiguration); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts index 445b6f5174f..c46f6036238 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("enrollmentConfigurationAssignments", assignPostRequestBody.enrollmentConfigurationAssignments, ); + writer.writeCollectionOfObjectValues("enrollmentConfigurationAssignments", assignPostRequestBody.enrollmentConfigurationAssignments, serializeEnrollmentConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignRequestBuilder.ts index f6f72a6bd72..5a7313bed6f 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/assignmentsRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/assignmentsRequestBuilder.ts index 99c309362bc..0f67f644b06 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEnrollmentConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/item/enrollmentConfigurationAssignmentItemRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/item/enrollmentConfigurationAssignmentItemRequestBuilder.ts index c33c2e967bd..f77bf238034 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/item/enrollmentConfigurationAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/assignments/item/enrollmentConfigurationAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class EnrollmentConfigurationAssignmentItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class EnrollmentConfigurationAssignmentItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class EnrollmentConfigurationAssignmentItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEnrollmentConfigurationAssignment); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts index 8367cd644d5..7132ecacaee 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts @@ -115,11 +115,11 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceEnrollmentConfiguration, requestConfiguration?: DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -145,7 +145,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,11 +163,11 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -182,7 +182,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceEnrollmentConfiguration); return requestInfo; }; diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/setPriority/setPriorityRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/setPriority/setPriorityRequestBuilder.ts index f9a9c0968bd..09e25ae348e 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/setPriority/setPriorityRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/setPriority/setPriorityRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetPriorityRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetPriorityPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/deviceManagementPartners/deviceManagementPartnersRequestBuilder.ts b/src/deviceManagement/deviceManagementPartners/deviceManagementPartnersRequestBuilder.ts index ab190434075..26f052fb557 100644 --- a/src/deviceManagement/deviceManagementPartners/deviceManagementPartnersRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementPartners/deviceManagementPartnersRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceManagementPartnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceManagementPartnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/deviceManagementPartners/item/deviceManagementPartnerItemRequestBuilder.ts b/src/deviceManagement/deviceManagementPartners/item/deviceManagementPartnerItemRequestBuilder.ts index 86708afd925..281c8a3d0c7 100644 --- a/src/deviceManagement/deviceManagementPartners/item/deviceManagementPartnerItemRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementPartners/item/deviceManagementPartnerItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DeviceManagementPartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DeviceManagementPartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DeviceManagementPartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/deviceManagementPartners/item/terminate/terminateRequestBuilder.ts b/src/deviceManagement/deviceManagementPartners/item/terminate/terminateRequestBuilder.ts index a3dc0a7dd98..740655787e3 100644 --- a/src/deviceManagement/deviceManagementPartners/item/terminate/terminateRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementPartners/item/terminate/terminateRequestBuilder.ts @@ -56,7 +56,7 @@ export class TerminateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/deviceManagementRequestBuilder.ts b/src/deviceManagement/deviceManagementRequestBuilder.ts index 1fb08de3435..a71585709ee 100644 --- a/src/deviceManagement/deviceManagementRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementRequestBuilder.ts @@ -464,7 +464,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mstunnel-devicemanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -490,7 +490,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-wip-devicemanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceManagement, requestConfiguration?: DeviceManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -517,7 +517,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -536,7 +536,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagement); return requestInfo; }; diff --git a/src/deviceManagement/exchangeConnectors/exchangeConnectorsRequestBuilder.ts b/src/deviceManagement/exchangeConnectors/exchangeConnectorsRequestBuilder.ts index 90602eecbaf..3dda6047146 100644 --- a/src/deviceManagement/exchangeConnectors/exchangeConnectorsRequestBuilder.ts +++ b/src/deviceManagement/exchangeConnectors/exchangeConnectorsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ExchangeConnectorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ExchangeConnectorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementExchangeConnector); return requestInfo; }; diff --git a/src/deviceManagement/exchangeConnectors/item/deviceManagementExchangeConnectorItemRequestBuilder.ts b/src/deviceManagement/exchangeConnectors/item/deviceManagementExchangeConnectorItemRequestBuilder.ts index e4f9f87fa32..16bfe7b2bf5 100644 --- a/src/deviceManagement/exchangeConnectors/item/deviceManagementExchangeConnectorItemRequestBuilder.ts +++ b/src/deviceManagement/exchangeConnectors/item/deviceManagementExchangeConnectorItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DeviceManagementExchangeConnectorItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DeviceManagementExchangeConnectorItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DeviceManagementExchangeConnectorItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementExchangeConnector); return requestInfo; }; diff --git a/src/deviceManagement/exchangeConnectors/item/sync/syncRequestBuilder.ts b/src/deviceManagement/exchangeConnectors/item/sync/syncRequestBuilder.ts index 39e424439a1..50e5c80471b 100644 --- a/src/deviceManagement/exchangeConnectors/item/sync/syncRequestBuilder.ts +++ b/src/deviceManagement/exchangeConnectors/item/sync/syncRequestBuilder.ts @@ -60,7 +60,7 @@ export class SyncRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSyncPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts index 5008321255a..dccb9b7dcbe 100644 --- a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts +++ b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetEffectivePermissionsWithScopeGetResponse extends BaseCollect } export function serializeGetEffectivePermissionsWithScopeGetResponse(writer: SerializationWriter, getEffectivePermissionsWithScopeGetResponse: GetEffectivePermissionsWithScopeGetResponse | undefined = {} as GetEffectivePermissionsWithScopeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getEffectivePermissionsWithScopeGetResponse) - writer.writeCollectionOfObjectValues("value", getEffectivePermissionsWithScopeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getEffectivePermissionsWithScopeGetResponse.value, serializeRolePermission); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeRequestBuilder.ts b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeRequestBuilder.ts index af4c0321b65..877e6aa7df8 100644 --- a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeRequestBuilder.ts +++ b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeRequestBuilder.ts @@ -87,7 +87,7 @@ export class GetEffectivePermissionsWithScopeRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts index 48299879d2b..64bfb51403c 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImportPostRequestBody extends AdditionalDataHolder, Parsable { importedWindowsAutopilotDeviceIdentities?: ImportedWindowsAutopilotDeviceIdentity[]; } export function serializeImportPostRequestBody(writer: SerializationWriter, importPostRequestBody: ImportPostRequestBody | undefined = {} as ImportPostRequestBody) : void { - writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", importPostRequestBody.importedWindowsAutopilotDeviceIdentities, ); + writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", importPostRequestBody.importedWindowsAutopilotDeviceIdentities, serializeImportedWindowsAutopilotDeviceIdentity); writer.writeAdditionalData(importPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts index 6fd4d014cc9..fcc2b3b2cbf 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts @@ -23,7 +23,7 @@ export interface ImportPostResponse extends BaseCollectionPaginationCountRespons } export function serializeImportPostResponse(writer: SerializationWriter, importPostResponse: ImportPostResponse | undefined = {} as ImportPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, importPostResponse) - writer.writeCollectionOfObjectValues("value", importPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", importPostResponse.value, serializeImportedWindowsAutopilotDeviceIdentity); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importRequestBuilder.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importRequestBuilder.ts index 55265dacbcc..5c52c7e3b0e 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importRequestBuilder.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importRequestBuilder.ts @@ -62,7 +62,7 @@ export class ImportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importedWindowsAutopilotDeviceIdentitiesRequestBuilder.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importedWindowsAutopilotDeviceIdentitiesRequestBuilder.ts index 54e18392246..8b9cfb12ec2 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importedWindowsAutopilotDeviceIdentitiesRequestBuilder.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importedWindowsAutopilotDeviceIdentitiesRequestBuilder.ts @@ -152,7 +152,7 @@ export class ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImportedWindowsAutopilotDeviceIdentity); return requestInfo; }; diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/item/importedWindowsAutopilotDeviceIdentityItemRequestBuilder.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/item/importedWindowsAutopilotDeviceIdentityItemRequestBuilder.ts index 157be168b83..79fb599b262 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/item/importedWindowsAutopilotDeviceIdentityItemRequestBuilder.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/item/importedWindowsAutopilotDeviceIdentityItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImportedWindowsAutopilotDeviceIdentity); return requestInfo; }; diff --git a/src/deviceManagement/iosUpdateStatuses/iosUpdateStatusesRequestBuilder.ts b/src/deviceManagement/iosUpdateStatuses/iosUpdateStatusesRequestBuilder.ts index aa5ec66fcd5..f84abe8d3b1 100644 --- a/src/deviceManagement/iosUpdateStatuses/iosUpdateStatusesRequestBuilder.ts +++ b/src/deviceManagement/iosUpdateStatuses/iosUpdateStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class IosUpdateStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class IosUpdateStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIosUpdateDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/iosUpdateStatuses/item/iosUpdateDeviceStatusItemRequestBuilder.ts b/src/deviceManagement/iosUpdateStatuses/item/iosUpdateDeviceStatusItemRequestBuilder.ts index cd6878f0834..d25b12d6c6f 100644 --- a/src/deviceManagement/iosUpdateStatuses/item/iosUpdateDeviceStatusItemRequestBuilder.ts +++ b/src/deviceManagement/iosUpdateStatuses/item/iosUpdateDeviceStatusItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class IosUpdateDeviceStatusItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class IosUpdateDeviceStatusItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class IosUpdateDeviceStatusItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIosUpdateDeviceStatus); return requestInfo; }; diff --git a/src/deviceManagement/managedDeviceOverview/managedDeviceOverviewRequestBuilder.ts b/src/deviceManagement/managedDeviceOverview/managedDeviceOverviewRequestBuilder.ts index c5470a6aaad..04832e6c10f 100644 --- a/src/deviceManagement/managedDeviceOverview/managedDeviceOverviewRequestBuilder.ts +++ b/src/deviceManagement/managedDeviceOverview/managedDeviceOverviewRequestBuilder.ts @@ -74,7 +74,7 @@ export class ManagedDeviceOverviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts b/src/deviceManagement/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts index bda5fb4aa5d..36d87037bda 100644 --- a/src/deviceManagement/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts @@ -56,7 +56,7 @@ export class BypassActivationLockRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts b/src/deviceManagement/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts index 27daaf6d1a3..c8737c43f15 100644 --- a/src/deviceManagement/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts @@ -60,7 +60,7 @@ export class CleanWindowsDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCleanWindowsDevicePostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts index 466d7130f9e..1ef951b2d34 100644 --- a/src/deviceManagement/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeleteUserFromSharedAppleDeviceRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeleteUserFromSharedAppleDevicePostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts index 7d0ac7382e2..62f835f12b5 100644 --- a/src/deviceManagement/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCategory); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts index f31fe88599a..c2f6b5365e0 100644 --- a/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceCompliancePolicyStatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceCompliancePolicyStatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts index 827991885f5..4880cbfc8a4 100644 --- a/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts index bf4ec5fb3dc..c2f49aac0f7 100644 --- a/src/deviceManagement/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceConfigurationStatesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceConfigurationStatesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts b/src/deviceManagement/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts index e0b5a4d4a36..99025d846c7 100644 --- a/src/deviceManagement/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts b/src/deviceManagement/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts index 2ac69a2a72f..21f3b51399e 100644 --- a/src/deviceManagement/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts @@ -56,7 +56,7 @@ export class DisableLostModeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts b/src/deviceManagement/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts index a2f2a922770..403411996a5 100644 --- a/src/deviceManagement/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts @@ -56,7 +56,7 @@ export class LocateDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts b/src/deviceManagement/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts index 99c8bb177f4..d234c0e1ad0 100644 --- a/src/deviceManagement/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts @@ -58,7 +58,7 @@ export class CreateDownloadUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts b/src/deviceManagement/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts index 662e570a956..5c2fa7f04e4 100644 --- a/src/deviceManagement/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLogCollectionResponse); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts b/src/deviceManagement/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts index eeb913004c9..dae8dc5d34f 100644 --- a/src/deviceManagement/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts @@ -143,7 +143,7 @@ export class LogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class LogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLogCollectionResponse); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts b/src/deviceManagement/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts index 93f90522905..b8b03acbefd 100644 --- a/src/deviceManagement/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts @@ -56,7 +56,7 @@ export class LogoutSharedAppleDeviceActiveUserRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/managedDeviceItemRequestBuilder.ts b/src/deviceManagement/managedDevices/item/managedDeviceItemRequestBuilder.ts index 5de9f570775..8d2120e66ff 100644 --- a/src/deviceManagement/managedDevices/item/managedDeviceItemRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/managedDeviceItemRequestBuilder.ts @@ -292,7 +292,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -310,7 +310,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -329,7 +329,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDevice); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts b/src/deviceManagement/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts index 24934f74fe6..1076efc6d3d 100644 --- a/src/deviceManagement/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts @@ -56,7 +56,7 @@ export class RebootNowRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts b/src/deviceManagement/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts index e2a4de7e0c6..a178081da7c 100644 --- a/src/deviceManagement/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts @@ -56,7 +56,7 @@ export class RecoverPasscodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts b/src/deviceManagement/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts index 0b0504a87d7..c52bf7e2c46 100644 --- a/src/deviceManagement/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoteLockRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts b/src/deviceManagement/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts index ff2a4bad2e8..afcad99ba52 100644 --- a/src/deviceManagement/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts @@ -56,7 +56,7 @@ export class RequestRemoteAssistanceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts b/src/deviceManagement/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts index 5cb836543c6..7a59f193533 100644 --- a/src/deviceManagement/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts @@ -56,7 +56,7 @@ export class ResetPasscodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/retire/retireRequestBuilder.ts b/src/deviceManagement/managedDevices/item/retire/retireRequestBuilder.ts index e0691ee53b1..e90120000b1 100644 --- a/src/deviceManagement/managedDevices/item/retire/retireRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/retire/retireRequestBuilder.ts @@ -56,7 +56,7 @@ export class RetireRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/shutDown/shutDownRequestBuilder.ts b/src/deviceManagement/managedDevices/item/shutDown/shutDownRequestBuilder.ts index c3e828c6fc4..a9966617082 100644 --- a/src/deviceManagement/managedDevices/item/shutDown/shutDownRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/shutDown/shutDownRequestBuilder.ts @@ -56,7 +56,7 @@ export class ShutDownRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts b/src/deviceManagement/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts index a9bb6467e9f..c1821afcb03 100644 --- a/src/deviceManagement/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts @@ -56,7 +56,7 @@ export class SyncDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts index c88df63f52e..ca95c48edf4 100644 --- a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts +++ b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpdateWindowsDeviceAccountPostRequestBody(updateW } } export function serializeUpdateWindowsDeviceAccountPostRequestBody(writer: SerializationWriter, updateWindowsDeviceAccountPostRequestBody: UpdateWindowsDeviceAccountPostRequestBody | undefined = {} as UpdateWindowsDeviceAccountPostRequestBody) : void { - writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, ); + writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, serializeUpdateWindowsDeviceAccountActionParameter); writer.writeAdditionalData(updateWindowsDeviceAccountPostRequestBody.additionalData); } export interface UpdateWindowsDeviceAccountPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts index 5b199db5fd6..60e9c3167c7 100644 --- a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpdateWindowsDeviceAccountRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpdateWindowsDeviceAccountPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/users/usersRequestBuilder.ts b/src/deviceManagement/managedDevices/item/users/usersRequestBuilder.ts index dd5370af1d9..697bfaa1c55 100644 --- a/src/deviceManagement/managedDevices/item/users/usersRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/users/usersRequestBuilder.ts @@ -98,7 +98,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts b/src/deviceManagement/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts index 4d6ca1eabaf..ad4fc3c2ba2 100644 --- a/src/deviceManagement/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts @@ -60,7 +60,7 @@ export class WindowsDefenderScanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDefenderScanPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts b/src/deviceManagement/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts index c5a302eb6b2..94ab5fe4a3f 100644 --- a/src/deviceManagement/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts @@ -56,7 +56,7 @@ export class WindowsDefenderUpdateSignaturesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts b/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts index 97d6a11f3c0..0c5c3f78003 100644 --- a/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts @@ -145,7 +145,7 @@ export class DetectedMalwareStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DetectedMalwareStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDeviceMalwareState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts b/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts index 9322828d96b..8f6256dd43d 100644 --- a/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDeviceMalwareState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts b/src/deviceManagement/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts index 0657d51ae9c..91863faa82e 100644 --- a/src/deviceManagement/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts @@ -130,7 +130,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsProtectionState); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/item/wipe/wipeRequestBuilder.ts b/src/deviceManagement/managedDevices/item/wipe/wipeRequestBuilder.ts index 4ffb4bf3e4d..65116d5fdf1 100644 --- a/src/deviceManagement/managedDevices/item/wipe/wipeRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/item/wipe/wipeRequestBuilder.ts @@ -60,7 +60,7 @@ export class WipeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWipePostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/managedDevices/managedDevicesRequestBuilder.ts b/src/deviceManagement/managedDevices/managedDevicesRequestBuilder.ts index a10b87c9fc1..4f7f1ba7c30 100644 --- a/src/deviceManagement/managedDevices/managedDevicesRequestBuilder.ts +++ b/src/deviceManagement/managedDevices/managedDevicesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ManagedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ManagedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDevice); return requestInfo; }; diff --git a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/appLogCollectionRequestsRequestBuilder.ts b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/appLogCollectionRequestsRequestBuilder.ts index b5910616cc8..f2b2107e54f 100644 --- a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/appLogCollectionRequestsRequestBuilder.ts +++ b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/appLogCollectionRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AppLogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AppLogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppLogCollectionRequest); return requestInfo; }; diff --git a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/appLogCollectionRequestItemRequestBuilder.ts b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/appLogCollectionRequestItemRequestBuilder.ts index 871a73a5d42..27f07fe2f78 100644 --- a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/appLogCollectionRequestItemRequestBuilder.ts +++ b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/appLogCollectionRequestItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class AppLogCollectionRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class AppLogCollectionRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class AppLogCollectionRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppLogCollectionRequest); return requestInfo; }; diff --git a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts index 459215823db..fff8e5b4660 100644 --- a/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts +++ b/src/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts @@ -59,7 +59,7 @@ export class CreateDownloadUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/mobileAppTroubleshootingEvents/item/mobileAppTroubleshootingEventItemRequestBuilder.ts b/src/deviceManagement/mobileAppTroubleshootingEvents/item/mobileAppTroubleshootingEventItemRequestBuilder.ts index f8230cf668a..4af724796ec 100644 --- a/src/deviceManagement/mobileAppTroubleshootingEvents/item/mobileAppTroubleshootingEventItemRequestBuilder.ts +++ b/src/deviceManagement/mobileAppTroubleshootingEvents/item/mobileAppTroubleshootingEventItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class MobileAppTroubleshootingEventItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class MobileAppTroubleshootingEventItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class MobileAppTroubleshootingEventItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppTroubleshootingEvent); return requestInfo; }; diff --git a/src/deviceManagement/mobileAppTroubleshootingEvents/mobileAppTroubleshootingEventsRequestBuilder.ts b/src/deviceManagement/mobileAppTroubleshootingEvents/mobileAppTroubleshootingEventsRequestBuilder.ts index 4e9b7211d10..a1d2aa8d406 100644 --- a/src/deviceManagement/mobileAppTroubleshootingEvents/mobileAppTroubleshootingEventsRequestBuilder.ts +++ b/src/deviceManagement/mobileAppTroubleshootingEvents/mobileAppTroubleshootingEventsRequestBuilder.ts @@ -145,7 +145,7 @@ export class MobileAppTroubleshootingEventsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MobileAppTroubleshootingEventsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileAppTroubleshootingEvent); return requestInfo; }; diff --git a/src/deviceManagement/mobileThreatDefenseConnectors/item/mobileThreatDefenseConnectorItemRequestBuilder.ts b/src/deviceManagement/mobileThreatDefenseConnectors/item/mobileThreatDefenseConnectorItemRequestBuilder.ts index d186e610d08..3a41cd5d520 100644 --- a/src/deviceManagement/mobileThreatDefenseConnectors/item/mobileThreatDefenseConnectorItemRequestBuilder.ts +++ b/src/deviceManagement/mobileThreatDefenseConnectors/item/mobileThreatDefenseConnectorItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MobileThreatDefenseConnectorItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MobileThreatDefenseConnectorItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MobileThreatDefenseConnectorItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileThreatDefenseConnector); return requestInfo; }; diff --git a/src/deviceManagement/mobileThreatDefenseConnectors/mobileThreatDefenseConnectorsRequestBuilder.ts b/src/deviceManagement/mobileThreatDefenseConnectors/mobileThreatDefenseConnectorsRequestBuilder.ts index 8857efcabf8..02d08197405 100644 --- a/src/deviceManagement/mobileThreatDefenseConnectors/mobileThreatDefenseConnectorsRequestBuilder.ts +++ b/src/deviceManagement/mobileThreatDefenseConnectors/mobileThreatDefenseConnectorsRequestBuilder.ts @@ -145,7 +145,7 @@ export class MobileThreatDefenseConnectorsRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MobileThreatDefenseConnectorsRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMobileThreatDefenseConnector); return requestInfo; }; diff --git a/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/item/localizedNotificationMessageItemRequestBuilder.ts b/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/item/localizedNotificationMessageItemRequestBuilder.ts index 0f523ebe393..3528e672209 100644 --- a/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/item/localizedNotificationMessageItemRequestBuilder.ts +++ b/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/item/localizedNotificationMessageItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class LocalizedNotificationMessageItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class LocalizedNotificationMessageItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class LocalizedNotificationMessageItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLocalizedNotificationMessage); return requestInfo; }; diff --git a/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/localizedNotificationMessagesRequestBuilder.ts b/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/localizedNotificationMessagesRequestBuilder.ts index e03b9965ef9..a993ef36e43 100644 --- a/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/localizedNotificationMessagesRequestBuilder.ts +++ b/src/deviceManagement/notificationMessageTemplates/item/localizedNotificationMessages/localizedNotificationMessagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class LocalizedNotificationMessagesRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class LocalizedNotificationMessagesRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLocalizedNotificationMessage); return requestInfo; }; diff --git a/src/deviceManagement/notificationMessageTemplates/item/notificationMessageTemplateItemRequestBuilder.ts b/src/deviceManagement/notificationMessageTemplates/item/notificationMessageTemplateItemRequestBuilder.ts index ba5ee9c5715..bfae14e5a8f 100644 --- a/src/deviceManagement/notificationMessageTemplates/item/notificationMessageTemplateItemRequestBuilder.ts +++ b/src/deviceManagement/notificationMessageTemplates/item/notificationMessageTemplateItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class NotificationMessageTemplateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class NotificationMessageTemplateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class NotificationMessageTemplateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotificationMessageTemplate); return requestInfo; }; diff --git a/src/deviceManagement/notificationMessageTemplates/item/sendTestMessage/sendTestMessageRequestBuilder.ts b/src/deviceManagement/notificationMessageTemplates/item/sendTestMessage/sendTestMessageRequestBuilder.ts index f543e27073b..f3c2c757b78 100644 --- a/src/deviceManagement/notificationMessageTemplates/item/sendTestMessage/sendTestMessageRequestBuilder.ts +++ b/src/deviceManagement/notificationMessageTemplates/item/sendTestMessage/sendTestMessageRequestBuilder.ts @@ -56,7 +56,7 @@ export class SendTestMessageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/notificationMessageTemplates/notificationMessageTemplatesRequestBuilder.ts b/src/deviceManagement/notificationMessageTemplates/notificationMessageTemplatesRequestBuilder.ts index f43b0aa14e9..14d5d9aefef 100644 --- a/src/deviceManagement/notificationMessageTemplates/notificationMessageTemplatesRequestBuilder.ts +++ b/src/deviceManagement/notificationMessageTemplates/notificationMessageTemplatesRequestBuilder.ts @@ -145,7 +145,7 @@ export class NotificationMessageTemplatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class NotificationMessageTemplatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotificationMessageTemplate); return requestInfo; }; diff --git a/src/deviceManagement/remoteAssistancePartners/item/beginOnboarding/beginOnboardingRequestBuilder.ts b/src/deviceManagement/remoteAssistancePartners/item/beginOnboarding/beginOnboardingRequestBuilder.ts index 3c60cde8bed..8ec9fb31027 100644 --- a/src/deviceManagement/remoteAssistancePartners/item/beginOnboarding/beginOnboardingRequestBuilder.ts +++ b/src/deviceManagement/remoteAssistancePartners/item/beginOnboarding/beginOnboardingRequestBuilder.ts @@ -56,7 +56,7 @@ export class BeginOnboardingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/remoteAssistancePartners/item/disconnect/disconnectRequestBuilder.ts b/src/deviceManagement/remoteAssistancePartners/item/disconnect/disconnectRequestBuilder.ts index 379484b67b9..5dd6a71586b 100644 --- a/src/deviceManagement/remoteAssistancePartners/item/disconnect/disconnectRequestBuilder.ts +++ b/src/deviceManagement/remoteAssistancePartners/item/disconnect/disconnectRequestBuilder.ts @@ -56,7 +56,7 @@ export class DisconnectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/remoteAssistancePartners/item/remoteAssistancePartnerItemRequestBuilder.ts b/src/deviceManagement/remoteAssistancePartners/item/remoteAssistancePartnerItemRequestBuilder.ts index e0cc53b561d..999a96530d7 100644 --- a/src/deviceManagement/remoteAssistancePartners/item/remoteAssistancePartnerItemRequestBuilder.ts +++ b/src/deviceManagement/remoteAssistancePartners/item/remoteAssistancePartnerItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class RemoteAssistancePartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class RemoteAssistancePartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class RemoteAssistancePartnerItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemoteAssistancePartner); return requestInfo; }; diff --git a/src/deviceManagement/remoteAssistancePartners/remoteAssistancePartnersRequestBuilder.ts b/src/deviceManagement/remoteAssistancePartners/remoteAssistancePartnersRequestBuilder.ts index a7d77927513..25b086ae622 100644 --- a/src/deviceManagement/remoteAssistancePartners/remoteAssistancePartnersRequestBuilder.ts +++ b/src/deviceManagement/remoteAssistancePartners/remoteAssistancePartnersRequestBuilder.ts @@ -145,7 +145,7 @@ export class RemoteAssistancePartnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RemoteAssistancePartnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemoteAssistancePartner); return requestInfo; }; diff --git a/src/deviceManagement/reports/exportJobs/exportJobsRequestBuilder.ts b/src/deviceManagement/reports/exportJobs/exportJobsRequestBuilder.ts index 8691b1c7476..9772561621b 100644 --- a/src/deviceManagement/reports/exportJobs/exportJobsRequestBuilder.ts +++ b/src/deviceManagement/reports/exportJobs/exportJobsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ExportJobsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ExportJobsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementExportJob); return requestInfo; }; diff --git a/src/deviceManagement/reports/exportJobs/item/deviceManagementExportJobItemRequestBuilder.ts b/src/deviceManagement/reports/exportJobs/item/deviceManagementExportJobItemRequestBuilder.ts index 11e838432bf..2e59a3bb394 100644 --- a/src/deviceManagement/reports/exportJobs/item/deviceManagementExportJobItemRequestBuilder.ts +++ b/src/deviceManagement/reports/exportJobs/item/deviceManagementExportJobItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class DeviceManagementExportJobItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DeviceManagementExportJobItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DeviceManagementExportJobItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementExportJob); return requestInfo; }; diff --git a/src/deviceManagement/reports/getCachedReport/getCachedReportRequestBuilder.ts b/src/deviceManagement/reports/getCachedReport/getCachedReportRequestBuilder.ts index 7a3e1035f37..e68f207fc41 100644 --- a/src/deviceManagement/reports/getCachedReport/getCachedReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getCachedReport/getCachedReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetCachedReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetCachedReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getCompliancePolicyNonComplianceReport/getCompliancePolicyNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getCompliancePolicyNonComplianceReport/getCompliancePolicyNonComplianceReportRequestBuilder.ts index 58797fd532b..e7865f11c95 100644 --- a/src/deviceManagement/reports/getCompliancePolicyNonComplianceReport/getCompliancePolicyNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getCompliancePolicyNonComplianceReport/getCompliancePolicyNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetCompliancePolicyNonComplianceReportRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetCompliancePolicyNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getCompliancePolicyNonComplianceSummaryReport/getCompliancePolicyNonComplianceSummaryReportRequestBuilder.ts b/src/deviceManagement/reports/getCompliancePolicyNonComplianceSummaryReport/getCompliancePolicyNonComplianceSummaryReportRequestBuilder.ts index f560efe49fa..e5cd6e9f2bc 100644 --- a/src/deviceManagement/reports/getCompliancePolicyNonComplianceSummaryReport/getCompliancePolicyNonComplianceSummaryReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getCompliancePolicyNonComplianceSummaryReport/getCompliancePolicyNonComplianceSummaryReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetCompliancePolicyNonComplianceSummaryReportRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetCompliancePolicyNonComplianceSummaryReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getComplianceSettingNonComplianceReport/getComplianceSettingNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getComplianceSettingNonComplianceReport/getComplianceSettingNonComplianceReportRequestBuilder.ts index e90a62ceabf..d480eb2fb60 100644 --- a/src/deviceManagement/reports/getComplianceSettingNonComplianceReport/getComplianceSettingNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getComplianceSettingNonComplianceReport/getComplianceSettingNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetComplianceSettingNonComplianceReportRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetComplianceSettingNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getConfigurationPolicyNonComplianceReport/getConfigurationPolicyNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getConfigurationPolicyNonComplianceReport/getConfigurationPolicyNonComplianceReportRequestBuilder.ts index 160cea6c44a..b885e5eb9f3 100644 --- a/src/deviceManagement/reports/getConfigurationPolicyNonComplianceReport/getConfigurationPolicyNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getConfigurationPolicyNonComplianceReport/getConfigurationPolicyNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetConfigurationPolicyNonComplianceReportRequestBuilder extends Bas requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetConfigurationPolicyNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport/getConfigurationPolicyNonComplianceSummaryReportRequestBuilder.ts b/src/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport/getConfigurationPolicyNonComplianceSummaryReportRequestBuilder.ts index e874f01ddde..7679d174420 100644 --- a/src/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport/getConfigurationPolicyNonComplianceSummaryReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport/getConfigurationPolicyNonComplianceSummaryReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetConfigurationPolicyNonComplianceSummaryReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getConfigurationSettingNonComplianceReport/getConfigurationSettingNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getConfigurationSettingNonComplianceReport/getConfigurationSettingNonComplianceReportRequestBuilder.ts index e8f6ae2d0fc..7477ea602f3 100644 --- a/src/deviceManagement/reports/getConfigurationSettingNonComplianceReport/getConfigurationSettingNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getConfigurationSettingNonComplianceReport/getConfigurationSettingNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetConfigurationSettingNonComplianceReportRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetConfigurationSettingNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getDeviceManagementIntentPerSettingContributingProfiles/getDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.ts b/src/deviceManagement/reports/getDeviceManagementIntentPerSettingContributingProfiles/getDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.ts index 243edadfaf4..38ec0c48ad0 100644 --- a/src/deviceManagement/reports/getDeviceManagementIntentPerSettingContributingProfiles/getDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.ts +++ b/src/deviceManagement/reports/getDeviceManagementIntentPerSettingContributingProfiles/getDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetDeviceManagementIntentPerSettingContributingProfilesRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getDeviceManagementIntentSettingsReport/getDeviceManagementIntentSettingsReportRequestBuilder.ts b/src/deviceManagement/reports/getDeviceManagementIntentSettingsReport/getDeviceManagementIntentSettingsReportRequestBuilder.ts index 68b906c97e4..95c8ad57b43 100644 --- a/src/deviceManagement/reports/getDeviceManagementIntentSettingsReport/getDeviceManagementIntentSettingsReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getDeviceManagementIntentSettingsReport/getDeviceManagementIntentSettingsReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetDeviceManagementIntentSettingsReportRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetDeviceManagementIntentSettingsReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getDeviceNonComplianceReport/getDeviceNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getDeviceNonComplianceReport/getDeviceNonComplianceReportRequestBuilder.ts index 1c535b477e0..15860c1ea15 100644 --- a/src/deviceManagement/reports/getDeviceNonComplianceReport/getDeviceNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getDeviceNonComplianceReport/getDeviceNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetDeviceNonComplianceReportRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetDeviceNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getDevicesWithoutCompliancePolicyReport/getDevicesWithoutCompliancePolicyReportRequestBuilder.ts b/src/deviceManagement/reports/getDevicesWithoutCompliancePolicyReport/getDevicesWithoutCompliancePolicyReportRequestBuilder.ts index 5fa7e25f927..6b77671d5df 100644 --- a/src/deviceManagement/reports/getDevicesWithoutCompliancePolicyReport/getDevicesWithoutCompliancePolicyReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getDevicesWithoutCompliancePolicyReport/getDevicesWithoutCompliancePolicyReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetDevicesWithoutCompliancePolicyReportRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetDevicesWithoutCompliancePolicyReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getHistoricalReport/getHistoricalReportRequestBuilder.ts b/src/deviceManagement/reports/getHistoricalReport/getHistoricalReportRequestBuilder.ts index 3f7c8f09683..6b72ca32efd 100644 --- a/src/deviceManagement/reports/getHistoricalReport/getHistoricalReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getHistoricalReport/getHistoricalReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetHistoricalReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetHistoricalReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getNoncompliantDevicesAndSettingsReport/getNoncompliantDevicesAndSettingsReportRequestBuilder.ts b/src/deviceManagement/reports/getNoncompliantDevicesAndSettingsReport/getNoncompliantDevicesAndSettingsReportRequestBuilder.ts index 8bc5aaa8fc5..f1c628cc4cc 100644 --- a/src/deviceManagement/reports/getNoncompliantDevicesAndSettingsReport/getNoncompliantDevicesAndSettingsReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getNoncompliantDevicesAndSettingsReport/getNoncompliantDevicesAndSettingsReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetNoncompliantDevicesAndSettingsReportRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetNoncompliantDevicesAndSettingsReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getPolicyNonComplianceMetadata/getPolicyNonComplianceMetadataRequestBuilder.ts b/src/deviceManagement/reports/getPolicyNonComplianceMetadata/getPolicyNonComplianceMetadataRequestBuilder.ts index b228e09591d..2437a783013 100644 --- a/src/deviceManagement/reports/getPolicyNonComplianceMetadata/getPolicyNonComplianceMetadataRequestBuilder.ts +++ b/src/deviceManagement/reports/getPolicyNonComplianceMetadata/getPolicyNonComplianceMetadataRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetPolicyNonComplianceMetadataRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetPolicyNonComplianceMetadataPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getPolicyNonComplianceReport/getPolicyNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getPolicyNonComplianceReport/getPolicyNonComplianceReportRequestBuilder.ts index acef853ef73..937a6c0592d 100644 --- a/src/deviceManagement/reports/getPolicyNonComplianceReport/getPolicyNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getPolicyNonComplianceReport/getPolicyNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetPolicyNonComplianceReportRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetPolicyNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getPolicyNonComplianceSummaryReport/getPolicyNonComplianceSummaryReportRequestBuilder.ts b/src/deviceManagement/reports/getPolicyNonComplianceSummaryReport/getPolicyNonComplianceSummaryReportRequestBuilder.ts index ba7ed15c672..094c11072e0 100644 --- a/src/deviceManagement/reports/getPolicyNonComplianceSummaryReport/getPolicyNonComplianceSummaryReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getPolicyNonComplianceSummaryReport/getPolicyNonComplianceSummaryReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetPolicyNonComplianceSummaryReportRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetPolicyNonComplianceSummaryReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getReportFilters/getReportFiltersRequestBuilder.ts b/src/deviceManagement/reports/getReportFilters/getReportFiltersRequestBuilder.ts index 21282cb475a..7710e34b2ac 100644 --- a/src/deviceManagement/reports/getReportFilters/getReportFiltersRequestBuilder.ts +++ b/src/deviceManagement/reports/getReportFilters/getReportFiltersRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetReportFiltersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetReportFiltersPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/getSettingNonComplianceReport/getSettingNonComplianceReportRequestBuilder.ts b/src/deviceManagement/reports/getSettingNonComplianceReport/getSettingNonComplianceReportRequestBuilder.ts index 829698eb71c..1635a1bfd1e 100644 --- a/src/deviceManagement/reports/getSettingNonComplianceReport/getSettingNonComplianceReportRequestBuilder.ts +++ b/src/deviceManagement/reports/getSettingNonComplianceReport/getSettingNonComplianceReportRequestBuilder.ts @@ -61,7 +61,7 @@ export class GetSettingNonComplianceReportRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetSettingNonComplianceReportPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/reports/reportsRequestBuilder.ts b/src/deviceManagement/reports/reportsRequestBuilder.ts index 3f0ccc880fe..6303932870a 100644 --- a/src/deviceManagement/reports/reportsRequestBuilder.ts +++ b/src/deviceManagement/reports/reportsRequestBuilder.ts @@ -256,7 +256,7 @@ export class ReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -274,7 +274,7 @@ export class ReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -293,7 +293,7 @@ export class ReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementReports); return requestInfo; }; diff --git a/src/deviceManagement/resourceOperations/item/resourceOperationItemRequestBuilder.ts b/src/deviceManagement/resourceOperations/item/resourceOperationItemRequestBuilder.ts index 05720c86907..58a3e5080e0 100644 --- a/src/deviceManagement/resourceOperations/item/resourceOperationItemRequestBuilder.ts +++ b/src/deviceManagement/resourceOperations/item/resourceOperationItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ResourceOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ResourceOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ResourceOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceOperation); return requestInfo; }; diff --git a/src/deviceManagement/resourceOperations/resourceOperationsRequestBuilder.ts b/src/deviceManagement/resourceOperations/resourceOperationsRequestBuilder.ts index 8a5523b274a..94a3fdc78cd 100644 --- a/src/deviceManagement/resourceOperations/resourceOperationsRequestBuilder.ts +++ b/src/deviceManagement/resourceOperations/resourceOperationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourceOperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourceOperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceOperation); return requestInfo; }; diff --git a/src/deviceManagement/roleAssignments/item/deviceAndAppManagementRoleAssignmentItemRequestBuilder.ts b/src/deviceManagement/roleAssignments/item/deviceAndAppManagementRoleAssignmentItemRequestBuilder.ts index df941128b20..c6efa850714 100644 --- a/src/deviceManagement/roleAssignments/item/deviceAndAppManagementRoleAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/roleAssignments/item/deviceAndAppManagementRoleAssignmentItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class DeviceAndAppManagementRoleAssignmentItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class DeviceAndAppManagementRoleAssignmentItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class DeviceAndAppManagementRoleAssignmentItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceAndAppManagementRoleAssignment); return requestInfo; }; diff --git a/src/deviceManagement/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts b/src/deviceManagement/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts index b699d019988..5b1e15c5246 100644 --- a/src/deviceManagement/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts +++ b/src/deviceManagement/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/roleAssignments/roleAssignmentsRequestBuilder.ts b/src/deviceManagement/roleAssignments/roleAssignmentsRequestBuilder.ts index 60d0bc68300..654fbce3392 100644 --- a/src/deviceManagement/roleAssignments/roleAssignmentsRequestBuilder.ts +++ b/src/deviceManagement/roleAssignments/roleAssignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceAndAppManagementRoleAssignment); return requestInfo; }; diff --git a/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleAssignmentItemRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleAssignmentItemRequestBuilder.ts index 0421a94c36e..58ca7ce99bc 100644 --- a/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleAssignmentItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class RoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class RoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class RoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoleAssignment); return requestInfo; }; diff --git a/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts index ee9a99c8b7d..f1b7173d99f 100644 --- a/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleAssignments/item/roleDefinition/roleDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/roleDefinitions/item/roleAssignments/roleAssignmentsRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleAssignments/roleAssignmentsRequestBuilder.ts index c11c0efe5bb..6fd3028d7f5 100644 --- a/src/deviceManagement/roleDefinitions/item/roleAssignments/roleAssignmentsRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleAssignments/roleAssignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoleAssignment); return requestInfo; }; diff --git a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts index a0c5f977911..1c9742a2fc3 100644 --- a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts @@ -70,9 +70,9 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RoleDefinitionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -101,11 +101,11 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0|Find more info here} */ public patch(body: RoleDefinition, requestConfiguration?: RoleDefinitionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -118,7 +118,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -131,7 +131,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,11 +149,11 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -168,7 +168,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoleDefinition); return requestInfo; }; diff --git a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts index 332a74f934d..f3318d25517 100644 --- a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoleDefinition); return requestInfo; }; diff --git a/src/deviceManagement/softwareUpdateStatusSummary/softwareUpdateStatusSummaryRequestBuilder.ts b/src/deviceManagement/softwareUpdateStatusSummary/softwareUpdateStatusSummaryRequestBuilder.ts index 4dce1997ca0..59cee6a9799 100644 --- a/src/deviceManagement/softwareUpdateStatusSummary/softwareUpdateStatusSummaryRequestBuilder.ts +++ b/src/deviceManagement/softwareUpdateStatusSummary/softwareUpdateStatusSummaryRequestBuilder.ts @@ -74,7 +74,7 @@ export class SoftwareUpdateStatusSummaryRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/telecomExpenseManagementPartners/item/telecomExpenseManagementPartnerItemRequestBuilder.ts b/src/deviceManagement/telecomExpenseManagementPartners/item/telecomExpenseManagementPartnerItemRequestBuilder.ts index 1ef4b0b4874..bf8f8c930f4 100644 --- a/src/deviceManagement/telecomExpenseManagementPartners/item/telecomExpenseManagementPartnerItemRequestBuilder.ts +++ b/src/deviceManagement/telecomExpenseManagementPartners/item/telecomExpenseManagementPartnerItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class TelecomExpenseManagementPartnerItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class TelecomExpenseManagementPartnerItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class TelecomExpenseManagementPartnerItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTelecomExpenseManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/telecomExpenseManagementPartners/telecomExpenseManagementPartnersRequestBuilder.ts b/src/deviceManagement/telecomExpenseManagementPartners/telecomExpenseManagementPartnersRequestBuilder.ts index 67e53f296da..8ff1e412086 100644 --- a/src/deviceManagement/telecomExpenseManagementPartners/telecomExpenseManagementPartnersRequestBuilder.ts +++ b/src/deviceManagement/telecomExpenseManagementPartners/telecomExpenseManagementPartnersRequestBuilder.ts @@ -145,7 +145,7 @@ export class TelecomExpenseManagementPartnersRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TelecomExpenseManagementPartnersRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTelecomExpenseManagementPartner); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/acceptanceStatusesRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/acceptanceStatusesRequestBuilder.ts index a5997543a12..0b67d6cd2c4 100644 --- a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/acceptanceStatusesRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/acceptanceStatusesRequestBuilder.ts @@ -145,7 +145,7 @@ export class AcceptanceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AcceptanceStatusesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditionsAcceptanceStatus); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditions/termsAndConditionsRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditions/termsAndConditionsRequestBuilder.ts index 943bd47b917..3ca4b19a527 100644 --- a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditions/termsAndConditionsRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditions/termsAndConditionsRequestBuilder.ts @@ -73,7 +73,7 @@ export class TermsAndConditionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditionsAcceptanceStatusItemRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditionsAcceptanceStatusItemRequestBuilder.ts index ecc6a7392fb..7f9b96e0fef 100644 --- a/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditionsAcceptanceStatusItemRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/acceptanceStatuses/item/termsAndConditionsAcceptanceStatusItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TermsAndConditionsAcceptanceStatusItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TermsAndConditionsAcceptanceStatusItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TermsAndConditionsAcceptanceStatusItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditionsAcceptanceStatus); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/item/assignments/assignmentsRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/assignments/assignmentsRequestBuilder.ts index 6faeabea37b..1c7efea3619 100644 --- a/src/deviceManagement/termsAndConditions/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/assignments/assignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditionsAssignment); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/item/assignments/item/termsAndConditionsAssignmentItemRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/assignments/item/termsAndConditionsAssignmentItemRequestBuilder.ts index 09007f3aaf1..4216c815096 100644 --- a/src/deviceManagement/termsAndConditions/item/assignments/item/termsAndConditionsAssignmentItemRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/assignments/item/termsAndConditionsAssignmentItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class TermsAndConditionsAssignmentItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class TermsAndConditionsAssignmentItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class TermsAndConditionsAssignmentItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditionsAssignment); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/item/termsAndConditionsItemRequestBuilder.ts b/src/deviceManagement/termsAndConditions/item/termsAndConditionsItemRequestBuilder.ts index f3f89532902..9788103d1d9 100644 --- a/src/deviceManagement/termsAndConditions/item/termsAndConditionsItemRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/item/termsAndConditionsItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class TermsAndConditionsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class TermsAndConditionsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class TermsAndConditionsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditions); return requestInfo; }; diff --git a/src/deviceManagement/termsAndConditions/termsAndConditionsRequestBuilder.ts b/src/deviceManagement/termsAndConditions/termsAndConditionsRequestBuilder.ts index f9c9838bc98..5f871884982 100644 --- a/src/deviceManagement/termsAndConditions/termsAndConditionsRequestBuilder.ts +++ b/src/deviceManagement/termsAndConditions/termsAndConditionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermsAndConditionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TermsAndConditionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsAndConditions); return requestInfo; }; diff --git a/src/deviceManagement/troubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts b/src/deviceManagement/troubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts index 262e43ab0b7..85250ecd270 100644 --- a/src/deviceManagement/troubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts +++ b/src/deviceManagement/troubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementTroubleshootingEvent); return requestInfo; }; diff --git a/src/deviceManagement/troubleshootingEvents/troubleshootingEventsRequestBuilder.ts b/src/deviceManagement/troubleshootingEvents/troubleshootingEventsRequestBuilder.ts index 0328ae097b1..59012f49eb7 100644 --- a/src/deviceManagement/troubleshootingEvents/troubleshootingEventsRequestBuilder.ts +++ b/src/deviceManagement/troubleshootingEvents/troubleshootingEventsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TroubleshootingEventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TroubleshootingEventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementTroubleshootingEvent); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/item/userExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/item/userExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.ts index 2cdedbfef86..eaffe2a1389 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/item/userExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/item/userExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthApplicationPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/userExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/userExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.ts index 5e9275dea0f..bd8051c67fd 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/userExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/userExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthApplicationPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.ts index 71f7333f5e7..43ce2963ab6 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsIt requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsIt requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsIt requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.ts index a3786696a62..6f6f9ab978a 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionD requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionD requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.ts index 6b7147a53d4..5ae5f56be31 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/item/userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdI requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdI requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdI requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.ts index 4f8cf0fc8b9..a11501a615b 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionD requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionD requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/item/userExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/item/userExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.ts index e066cee9c3b..f51b936e7e9 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/item/userExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/item/userExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByOSVersion); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.ts index 427afc051c4..f8b7c0c9b93 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthAppPerformanceByOSVersion); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/item/userExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/item/userExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.ts index 5de4b912b9b..8668bfa0016 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/item/userExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/item/userExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDeviceModelPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/userExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/userExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.ts index b47f318dc5d..bcf90c2bb56 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/userExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/userExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDeviceModelPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/item/userExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/item/userExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.ts index 86f98431bfd..d44cfb893da 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/item/userExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/item/userExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDevicePerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/userExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/userExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.ts index 177f1b03c93..17e8f5c8be1 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/userExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/userExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDevicePerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/item/userExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/item/userExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.ts index 4cc027a4f68..ec35afb16e4 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/item/userExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/item/userExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDevicePerformanceDetails); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/userExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/userExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.ts index eacaddded6b..9b4afc37fdf 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/userExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/userExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthDevicePerformanceDetails); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/item/userExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/item/userExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.ts index 0d40ca9e0ba..d2dc5162989 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/item/userExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/item/userExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthOSVersionPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/userExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/userExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.ts index 05811129471..fc0efb34671 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/userExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/userExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsAppHealthOSVersionPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts index d64edac8d10..284bdabb8e4 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/metricValuesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/metricValuesRequestBuilder.ts index 2efb602900b..6a94f2b516f 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/metricValuesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/metricValuesRequestBuilder.ts @@ -143,7 +143,7 @@ export class MetricValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class MetricValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/userExperienceAnalyticsAppHealthOverviewRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/userExperienceAnalyticsAppHealthOverviewRequestBuilder.ts index aa1873f3da2..78e323c0b02 100644 --- a/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/userExperienceAnalyticsAppHealthOverviewRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsAppHealthOverview/userExperienceAnalyticsAppHealthOverviewRequestBuilder.ts @@ -128,7 +128,7 @@ export class UserExperienceAnalyticsAppHealthOverviewRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UserExperienceAnalyticsAppHealthOverviewRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UserExperienceAnalyticsAppHealthOverviewRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsCategory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/appHealthMetrics/appHealthMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/appHealthMetrics/appHealthMetricsRequestBuilder.ts index 27640c518c0..87ebaa9ad2a 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/appHealthMetrics/appHealthMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/appHealthMetrics/appHealthMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class AppHealthMetricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/batteryHealthMetrics/batteryHealthMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/batteryHealthMetrics/batteryHealthMetricsRequestBuilder.ts index 6076d3939e7..63f046bcd06 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/batteryHealthMetrics/batteryHealthMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/batteryHealthMetrics/batteryHealthMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class BatteryHealthMetricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/bestPracticesMetrics/bestPracticesMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/bestPracticesMetrics/bestPracticesMetricsRequestBuilder.ts index d9f8f1c4380..9f6f8e41840 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/bestPracticesMetrics/bestPracticesMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/bestPracticesMetrics/bestPracticesMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class BestPracticesMetricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/deviceBootPerformanceMetrics/deviceBootPerformanceMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/deviceBootPerformanceMetrics/deviceBootPerformanceMetricsRequestBuilder.ts index 4bae9422d51..2a5a53003e9 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/deviceBootPerformanceMetrics/deviceBootPerformanceMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/deviceBootPerformanceMetrics/deviceBootPerformanceMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class DeviceBootPerformanceMetricsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/rebootAnalyticsMetrics/rebootAnalyticsMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/rebootAnalyticsMetrics/rebootAnalyticsMetricsRequestBuilder.ts index e5c1fdf002d..1985a1fa3de 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/rebootAnalyticsMetrics/rebootAnalyticsMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/rebootAnalyticsMetrics/rebootAnalyticsMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class RebootAnalyticsMetricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/resourcePerformanceMetrics/resourcePerformanceMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/resourcePerformanceMetrics/resourcePerformanceMetricsRequestBuilder.ts index c00a139b12a..46eea4514c2 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/resourcePerformanceMetrics/resourcePerformanceMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/resourcePerformanceMetrics/resourcePerformanceMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class ResourcePerformanceMetricsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/userExperienceAnalyticsBaselineItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/userExperienceAnalyticsBaselineItemRequestBuilder.ts index 400782be022..8ad373c066e 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/userExperienceAnalyticsBaselineItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/userExperienceAnalyticsBaselineItemRequestBuilder.ts @@ -170,7 +170,7 @@ export class UserExperienceAnalyticsBaselineItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class UserExperienceAnalyticsBaselineItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -207,7 +207,7 @@ export class UserExperienceAnalyticsBaselineItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsBaseline); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/item/workFromAnywhereMetrics/workFromAnywhereMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/item/workFromAnywhereMetrics/workFromAnywhereMetricsRequestBuilder.ts index 6d9a797f5c0..7e6810d926f 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/item/workFromAnywhereMetrics/workFromAnywhereMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/item/workFromAnywhereMetrics/workFromAnywhereMetricsRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorkFromAnywhereMetricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsBaselines/userExperienceAnalyticsBaselinesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsBaselines/userExperienceAnalyticsBaselinesRequestBuilder.ts index c33998f5a78..f4bd852caff 100644 --- a/src/deviceManagement/userExperienceAnalyticsBaselines/userExperienceAnalyticsBaselinesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsBaselines/userExperienceAnalyticsBaselinesRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsBaselinesRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsBaselinesRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsBaseline); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts index a1e99e8ecb9..d7b2e5f8cd6 100644 --- a/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/item/userExperienceAnalyticsMetricItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsMetricItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/metricValuesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/metricValuesRequestBuilder.ts index ffd0f7deb38..de22f4bebc3 100644 --- a/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/metricValuesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsCategories/item/metricValues/metricValuesRequestBuilder.ts @@ -143,7 +143,7 @@ export class MetricValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class MetricValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsCategories/item/userExperienceAnalyticsCategoryItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsCategories/item/userExperienceAnalyticsCategoryItemRequestBuilder.ts index 2c9d87fe0de..982096d39bc 100644 --- a/src/deviceManagement/userExperienceAnalyticsCategories/item/userExperienceAnalyticsCategoryItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsCategories/item/userExperienceAnalyticsCategoryItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class UserExperienceAnalyticsCategoryItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UserExperienceAnalyticsCategoryItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UserExperienceAnalyticsCategoryItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsCategory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsCategories/userExperienceAnalyticsCategoriesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsCategories/userExperienceAnalyticsCategoriesRequestBuilder.ts index c02447f3f02..6319fc5a0b5 100644 --- a/src/deviceManagement/userExperienceAnalyticsCategories/userExperienceAnalyticsCategoriesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsCategories/userExperienceAnalyticsCategoriesRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsCategoriesRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsCategoriesRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsCategory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/item/userExperienceAnalyticsDevicePerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/item/userExperienceAnalyticsDevicePerformanceItemRequestBuilder.ts index f9a28093800..abdd8146af2 100644 --- a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/item/userExperienceAnalyticsDevicePerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/item/userExperienceAnalyticsDevicePerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsDevicePerformanceItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsDevicePerformanceItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsDevicePerformanceItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDevicePerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts index f5a009c6c81..9ba116f0684 100644 --- a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts +++ b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSummarizeDevicePerformanceDevicesWithSummarizeByG } export function serializeSummarizeDevicePerformanceDevicesWithSummarizeByGetResponse(writer: SerializationWriter, summarizeDevicePerformanceDevicesWithSummarizeByGetResponse: SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse | undefined = {} as SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, summarizeDevicePerformanceDevicesWithSummarizeByGetResponse) - writer.writeCollectionOfObjectValues("value", summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.value, serializeUserExperienceAnalyticsDevicePerformance); } export interface SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.ts index d801d194a1b..2fe734c990a 100644 --- a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.ts @@ -95,7 +95,7 @@ export class SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/userExperienceAnalyticsDevicePerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/userExperienceAnalyticsDevicePerformanceRequestBuilder.ts index 95c7bae029f..cf0cc684009 100644 --- a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/userExperienceAnalyticsDevicePerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/userExperienceAnalyticsDevicePerformanceRequestBuilder.ts @@ -153,7 +153,7 @@ export class UserExperienceAnalyticsDevicePerformanceRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class UserExperienceAnalyticsDevicePerformanceRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDevicePerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceScores/item/userExperienceAnalyticsDeviceScoresItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceScores/item/userExperienceAnalyticsDeviceScoresItemRequestBuilder.ts index bac8db2ffec..40facb07211 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceScores/item/userExperienceAnalyticsDeviceScoresItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceScores/item/userExperienceAnalyticsDeviceScoresItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsDeviceScoresItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsDeviceScoresItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsDeviceScoresItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceScores); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceScores/userExperienceAnalyticsDeviceScoresRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceScores/userExperienceAnalyticsDeviceScoresRequestBuilder.ts index 926ce4b5ae2..256b080a52a 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceScores/userExperienceAnalyticsDeviceScoresRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceScores/userExperienceAnalyticsDeviceScoresRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsDeviceScoresRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsDeviceScoresRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceScores); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/item/userExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/item/userExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.ts index 8404e2c14cd..59b595f9bbc 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/item/userExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/item/userExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/userExperienceAnalyticsDeviceStartupHistoryRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/userExperienceAnalyticsDeviceStartupHistoryRequestBuilder.ts index 8d59e9bc6f3..bbe6bf19496 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/userExperienceAnalyticsDeviceStartupHistoryRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/userExperienceAnalyticsDeviceStartupHistoryRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/item/userExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/item/userExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.ts index 79fee819e8d..5119657c8a8 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/item/userExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/item/userExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupProcessPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.ts index 175cf5b7c4c..0826074314a 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupProcessPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/item/userExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/item/userExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.ts index 24f40df5c04..219c5ec7e5a 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/item/userExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/item/userExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupProcess); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/userExperienceAnalyticsDeviceStartupProcessesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/userExperienceAnalyticsDeviceStartupProcessesRequestBuilder.ts index 534125c47ce..4d82d8dcb0a 100644 --- a/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/userExperienceAnalyticsDeviceStartupProcessesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/userExperienceAnalyticsDeviceStartupProcessesRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsDeviceStartupProcess); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsMetricHistory/item/userExperienceAnalyticsMetricHistoryItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsMetricHistory/item/userExperienceAnalyticsMetricHistoryItemRequestBuilder.ts index be930457408..594a2e20ab2 100644 --- a/src/deviceManagement/userExperienceAnalyticsMetricHistory/item/userExperienceAnalyticsMetricHistoryItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsMetricHistory/item/userExperienceAnalyticsMetricHistoryItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsMetricHistoryItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsMetricHistoryItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsMetricHistoryItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetricHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsMetricHistory/userExperienceAnalyticsMetricHistoryRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsMetricHistory/userExperienceAnalyticsMetricHistoryRequestBuilder.ts index 8549dff3f5f..b6ca1a90832 100644 --- a/src/deviceManagement/userExperienceAnalyticsMetricHistory/userExperienceAnalyticsMetricHistoryRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsMetricHistory/userExperienceAnalyticsMetricHistoryRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsMetricHistoryRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsMetricHistoryRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsMetricHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsModelScores/item/userExperienceAnalyticsModelScoresItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsModelScores/item/userExperienceAnalyticsModelScoresItemRequestBuilder.ts index 99f6e618d1f..9de3ea5055c 100644 --- a/src/deviceManagement/userExperienceAnalyticsModelScores/item/userExperienceAnalyticsModelScoresItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsModelScores/item/userExperienceAnalyticsModelScoresItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsModelScoresItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsModelScoresItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsModelScoresItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsModelScores); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsModelScores/userExperienceAnalyticsModelScoresRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsModelScores/userExperienceAnalyticsModelScoresRequestBuilder.ts index 11503f16138..e66e7c3f80b 100644 --- a/src/deviceManagement/userExperienceAnalyticsModelScores/userExperienceAnalyticsModelScoresRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsModelScores/userExperienceAnalyticsModelScoresRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsModelScoresRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsModelScoresRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsModelScores); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsOverview/userExperienceAnalyticsOverviewRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsOverview/userExperienceAnalyticsOverviewRequestBuilder.ts index 6780930bb31..d24384d2de7 100644 --- a/src/deviceManagement/userExperienceAnalyticsOverview/userExperienceAnalyticsOverviewRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsOverview/userExperienceAnalyticsOverviewRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsOverviewRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsOverviewRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsOverviewRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsOverview); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsScoreHistory/item/userExperienceAnalyticsScoreHistoryItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsScoreHistory/item/userExperienceAnalyticsScoreHistoryItemRequestBuilder.ts index 7d544727b79..e3a187f209d 100644 --- a/src/deviceManagement/userExperienceAnalyticsScoreHistory/item/userExperienceAnalyticsScoreHistoryItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsScoreHistory/item/userExperienceAnalyticsScoreHistoryItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsScoreHistoryItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsScoreHistoryItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsScoreHistoryItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsScoreHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsScoreHistory/userExperienceAnalyticsScoreHistoryRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsScoreHistory/userExperienceAnalyticsScoreHistoryRequestBuilder.ts index 1977bf6c481..0cb34d5594c 100644 --- a/src/deviceManagement/userExperienceAnalyticsScoreHistory/userExperienceAnalyticsScoreHistoryRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsScoreHistory/userExperienceAnalyticsScoreHistoryRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsScoreHistoryRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsScoreHistoryRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsScoreHistory); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsSummarizeWorkFromAnywhereDevices/userExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsSummarizeWorkFromAnywhereDevices/userExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.ts index 9ab88b14d55..547d47a73e6 100644 --- a/src/deviceManagement/userExperienceAnalyticsSummarizeWorkFromAnywhereDevices/userExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsSummarizeWorkFromAnywhereDevices/userExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.ts @@ -58,7 +58,7 @@ export class UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.ts index af89df3ac62..e0281459cb9 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/item/userExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/item/userExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.ts index bbdc34947aa..77677d6da86 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/item/userExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/item/userExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereDevice); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/metricDevicesRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/metricDevicesRequestBuilder.ts index e72cbae0b8b..b2ae28351a8 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/metricDevicesRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/metricDevices/metricDevicesRequestBuilder.ts @@ -143,7 +143,7 @@ export class MetricDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class MetricDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereDevice); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/userExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/userExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.ts index 9979e8d90d5..f0f2c7f2530 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/userExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/item/userExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder ext requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/userExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/userExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.ts index 57740dd8c2e..d0373406c12 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/userExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/userExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereMetric); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/item/userExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/item/userExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.ts index 1f659d09c78..b390be36a62 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/item/userExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/item/userExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereModelPerformance); return requestInfo; }; diff --git a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/userExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.ts b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/userExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.ts index 86547bab26e..464fbb5c0d6 100644 --- a/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/userExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.ts +++ b/src/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/userExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.ts @@ -143,7 +143,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserExperienceAnalyticsWorkFromAnywhereModelPerformance); return requestInfo; }; diff --git a/src/deviceManagement/verifyWindowsEnrollmentAutoDiscoveryWithDomainName/verifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.ts b/src/deviceManagement/verifyWindowsEnrollmentAutoDiscoveryWithDomainName/verifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.ts index d28ea82b933..bb35e86c387 100644 --- a/src/deviceManagement/verifyWindowsEnrollmentAutoDiscoveryWithDomainName/verifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.ts +++ b/src/deviceManagement/verifyWindowsEnrollmentAutoDiscoveryWithDomainName/verifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.ts @@ -60,7 +60,7 @@ export class VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/assignUserToDevice/assignUserToDeviceRequestBuilder.ts b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/assignUserToDevice/assignUserToDeviceRequestBuilder.ts index cb1b6d1762e..9b50d4c0379 100644 --- a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/assignUserToDevice/assignUserToDeviceRequestBuilder.ts +++ b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/assignUserToDevice/assignUserToDeviceRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssignUserToDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignUserToDevicePostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/unassignUserFromDevice/unassignUserFromDeviceRequestBuilder.ts b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/unassignUserFromDevice/unassignUserFromDeviceRequestBuilder.ts index 56227291063..be787d6b77c 100644 --- a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/unassignUserFromDevice/unassignUserFromDeviceRequestBuilder.ts +++ b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/unassignUserFromDevice/unassignUserFromDeviceRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnassignUserFromDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/updateDeviceProperties/updateDevicePropertiesRequestBuilder.ts b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/updateDeviceProperties/updateDevicePropertiesRequestBuilder.ts index 37a9940e362..223b0f93ed3 100644 --- a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/updateDeviceProperties/updateDevicePropertiesRequestBuilder.ts +++ b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/updateDeviceProperties/updateDevicePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpdateDevicePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpdateDevicePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/windowsAutopilotDeviceIdentityItemRequestBuilder.ts b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/windowsAutopilotDeviceIdentityItemRequestBuilder.ts index 4ca02e9ee48..e92eb3e526c 100644 --- a/src/deviceManagement/windowsAutopilotDeviceIdentities/item/windowsAutopilotDeviceIdentityItemRequestBuilder.ts +++ b/src/deviceManagement/windowsAutopilotDeviceIdentities/item/windowsAutopilotDeviceIdentityItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class WindowsAutopilotDeviceIdentityItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class WindowsAutopilotDeviceIdentityItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class WindowsAutopilotDeviceIdentityItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsAutopilotDeviceIdentity); return requestInfo; }; diff --git a/src/deviceManagement/windowsAutopilotDeviceIdentities/windowsAutopilotDeviceIdentitiesRequestBuilder.ts b/src/deviceManagement/windowsAutopilotDeviceIdentities/windowsAutopilotDeviceIdentitiesRequestBuilder.ts index 2432c8d105a..292c320b753 100644 --- a/src/deviceManagement/windowsAutopilotDeviceIdentities/windowsAutopilotDeviceIdentitiesRequestBuilder.ts +++ b/src/deviceManagement/windowsAutopilotDeviceIdentities/windowsAutopilotDeviceIdentitiesRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsAutopilotDeviceIdentitiesRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WindowsAutopilotDeviceIdentitiesRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsAutopilotDeviceIdentity); return requestInfo; }; diff --git a/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/item/windowsInformationProtectionAppLearningSummaryItemRequestBuilder.ts b/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/item/windowsInformationProtectionAppLearningSummaryItemRequestBuilder.ts index 180704fdfab..82b812a1bb0 100644 --- a/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/item/windowsInformationProtectionAppLearningSummaryItemRequestBuilder.ts +++ b/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/item/windowsInformationProtectionAppLearningSummaryItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class WindowsInformationProtectionAppLearningSummaryItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class WindowsInformationProtectionAppLearningSummaryItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class WindowsInformationProtectionAppLearningSummaryItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLearningSummary); return requestInfo; }; diff --git a/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/windowsInformationProtectionAppLearningSummariesRequestBuilder.ts b/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/windowsInformationProtectionAppLearningSummariesRequestBuilder.ts index 983dc1f4607..38687675e23 100644 --- a/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/windowsInformationProtectionAppLearningSummariesRequestBuilder.ts +++ b/src/deviceManagement/windowsInformationProtectionAppLearningSummaries/windowsInformationProtectionAppLearningSummariesRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsInformationProtectionAppLearningSummariesRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WindowsInformationProtectionAppLearningSummariesRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionAppLearningSummary); return requestInfo; }; diff --git a/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/item/windowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.ts b/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/item/windowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.ts index f021637eb0f..ebfe86d7fc5 100644 --- a/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/item/windowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.ts +++ b/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/item/windowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionNetworkLearningSummary); return requestInfo; }; diff --git a/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/windowsInformationProtectionNetworkLearningSummariesRequestBuilder.ts b/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/windowsInformationProtectionNetworkLearningSummariesRequestBuilder.ts index bac64c333b5..5f1c8cda7f4 100644 --- a/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/windowsInformationProtectionNetworkLearningSummariesRequestBuilder.ts +++ b/src/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/windowsInformationProtectionNetworkLearningSummariesRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsInformationProtectionNetworkLearningSummariesRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WindowsInformationProtectionNetworkLearningSummariesRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsInformationProtectionNetworkLearningSummary); return requestInfo; }; diff --git a/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/deviceMalwareStatesRequestBuilder.ts b/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/deviceMalwareStatesRequestBuilder.ts index 9789421463e..b2709b559ba 100644 --- a/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/deviceMalwareStatesRequestBuilder.ts +++ b/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/deviceMalwareStatesRequestBuilder.ts @@ -145,7 +145,7 @@ export class DeviceMalwareStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DeviceMalwareStatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMalwareStateForWindowsDevice); return requestInfo; }; diff --git a/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/item/malwareStateForWindowsDeviceItemRequestBuilder.ts b/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/item/malwareStateForWindowsDeviceItemRequestBuilder.ts index 5696e4a3cff..bbb20240d66 100644 --- a/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/item/malwareStateForWindowsDeviceItemRequestBuilder.ts +++ b/src/deviceManagement/windowsMalwareInformation/item/deviceMalwareStates/item/malwareStateForWindowsDeviceItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class MalwareStateForWindowsDeviceItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class MalwareStateForWindowsDeviceItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class MalwareStateForWindowsDeviceItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMalwareStateForWindowsDevice); return requestInfo; }; diff --git a/src/deviceManagement/windowsMalwareInformation/item/windowsMalwareInformationItemRequestBuilder.ts b/src/deviceManagement/windowsMalwareInformation/item/windowsMalwareInformationItemRequestBuilder.ts index ec4b97f76c5..f378fb1a0b9 100644 --- a/src/deviceManagement/windowsMalwareInformation/item/windowsMalwareInformationItemRequestBuilder.ts +++ b/src/deviceManagement/windowsMalwareInformation/item/windowsMalwareInformationItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class WindowsMalwareInformationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class WindowsMalwareInformationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class WindowsMalwareInformationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsMalwareInformation); return requestInfo; }; diff --git a/src/deviceManagement/windowsMalwareInformation/windowsMalwareInformationRequestBuilder.ts b/src/deviceManagement/windowsMalwareInformation/windowsMalwareInformationRequestBuilder.ts index bd4757bd967..4d2c1b74089 100644 --- a/src/deviceManagement/windowsMalwareInformation/windowsMalwareInformationRequestBuilder.ts +++ b/src/deviceManagement/windowsMalwareInformation/windowsMalwareInformationRequestBuilder.ts @@ -145,7 +145,7 @@ export class WindowsMalwareInformationRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WindowsMalwareInformationRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsMalwareInformation); return requestInfo; }; diff --git a/src/devices/delta/deltaGetResponse.ts b/src/devices/delta/deltaGetResponse.ts index bc8d21569f6..8d8208e3e10 100644 --- a/src/devices/delta/deltaGetResponse.ts +++ b/src/devices/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDevice); } // tslint:enable // eslint-enable diff --git a/src/devices/delta/deltaRequestBuilder.ts b/src/devices/delta/deltaRequestBuilder.ts index 92de636cb85..667757d3ac4 100644 --- a/src/devices/delta/deltaRequestBuilder.ts +++ b/src/devices/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/devicesRequestBuilder.ts b/src/devices/devicesRequestBuilder.ts index 81aea62ff34..eb575f576a0 100644 --- a/src/devices/devicesRequestBuilder.ts +++ b/src/devices/devicesRequestBuilder.ts @@ -173,7 +173,7 @@ export class DevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -192,7 +192,7 @@ export class DevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDevice); return requestInfo; }; diff --git a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 6723fccef77..e9cc449f9d2 100644 --- a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/devices/getByIds/getByIdsPostResponse.ts b/src/devices/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/devices/getByIds/getByIdsPostResponse.ts +++ b/src/devices/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/devices/getByIds/getByIdsRequestBuilder.ts b/src/devices/getByIds/getByIdsRequestBuilder.ts index 826430e75d6..b7fff0da8f1 100644 --- a/src/devices/getByIds/getByIdsRequestBuilder.ts +++ b/src/devices/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/devices/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/devices/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 2948c5e364c..0b9010218c7 100644 --- a/src/devices/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/devices/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/devices/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/devices/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index d672fe24b47..edcf7f48bce 100644 --- a/src/devices/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/devices/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/devices/item/deviceItemRequestBuilder.ts b/src/devices/item/deviceItemRequestBuilder.ts index d3e28c2fdd1..b35b5a5724f 100644 --- a/src/devices/item/deviceItemRequestBuilder.ts +++ b/src/devices/item/deviceItemRequestBuilder.ts @@ -194,7 +194,7 @@ export class DeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -212,7 +212,7 @@ export class DeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -231,7 +231,7 @@ export class DeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDevice); return requestInfo; }; diff --git a/src/devices/item/extensions/extensionsRequestBuilder.ts b/src/devices/item/extensions/extensionsRequestBuilder.ts index 4d49ddbb8ad..80a90d69114 100644 --- a/src/devices/item/extensions/extensionsRequestBuilder.ts +++ b/src/devices/item/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/devices/item/extensions/item/extensionItemRequestBuilder.ts b/src/devices/item/extensions/item/extensionItemRequestBuilder.ts index ccdab203448..60960c2e5d8 100644 --- a/src/devices/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/devices/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/devices/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/devices/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index d9a217f408c..cc0409ee898 100644 --- a/src/devices/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/devices/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/devices/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/devices/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 2ef6eeeb853..f59ebf2e5df 100644 --- a/src/devices/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/devices/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/devices/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/devices/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index d0c4bc47905..903457ebd57 100644 --- a/src/devices/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/devices/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/memberOf/graphGroup/graphGroupRequestBuilder.ts b/src/devices/item/memberOf/graphGroup/graphGroupRequestBuilder.ts index 9366b5b71b2..19c6593f7ce 100644 --- a/src/devices/item/memberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/devices/item/memberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/memberOf/item/directoryObjectItemRequestBuilder.ts b/src/devices/item/memberOf/item/directoryObjectItemRequestBuilder.ts index 45c5142fde0..97d5bb9324d 100644 --- a/src/devices/item/memberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/devices/item/memberOf/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/devices/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 8fb619a6aa9..806c0dea65e 100644 --- a/src/devices/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/devices/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/devices/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts index 6d031de8099..18aadb394f0 100644 --- a/src/devices/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/devices/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/memberOf/memberOfRequestBuilder.ts b/src/devices/item/memberOf/memberOfRequestBuilder.ts index 8f557e2f475..724d9cb918f 100644 --- a/src/devices/item/memberOf/memberOfRequestBuilder.ts +++ b/src/devices/item/memberOf/memberOfRequestBuilder.ts @@ -131,7 +131,7 @@ export class MemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/devices/item/registeredOwners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 2eea7a392ab..e7f856f0dae 100644 --- a/src/devices/item/registeredOwners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/devices/item/registeredOwners/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/graphEndpoint/graphEndpointRequestBuilder.ts b/src/devices/item/registeredOwners/graphEndpoint/graphEndpointRequestBuilder.ts index e20dc95e292..1a29262a961 100644 --- a/src/devices/item/registeredOwners/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/devices/item/registeredOwners/graphEndpoint/graphEndpointRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/devices/item/registeredOwners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index d23b1b5d964..717d0d080ba 100644 --- a/src/devices/item/registeredOwners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/devices/item/registeredOwners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/graphUser/graphUserRequestBuilder.ts b/src/devices/item/registeredOwners/graphUser/graphUserRequestBuilder.ts index 5bb1d57725a..d96b1b12743 100644 --- a/src/devices/item/registeredOwners/graphUser/graphUserRequestBuilder.ts +++ b/src/devices/item/registeredOwners/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/devices/item/registeredOwners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 7fd5ac657d7..3e8db12d387 100644 --- a/src/devices/item/registeredOwners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/devices/item/registeredOwners/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/item/graphEndpoint/graphEndpointRequestBuilder.ts b/src/devices/item/registeredOwners/item/graphEndpoint/graphEndpointRequestBuilder.ts index 3f39eba4424..f2e14a7ee61 100644 --- a/src/devices/item/registeredOwners/item/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/devices/item/registeredOwners/item/graphEndpoint/graphEndpointRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/devices/item/registeredOwners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 398594ccd00..c6a141c92ac 100644 --- a/src/devices/item/registeredOwners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/devices/item/registeredOwners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/item/graphUser/graphUserRequestBuilder.ts b/src/devices/item/registeredOwners/item/graphUser/graphUserRequestBuilder.ts index 3cb8d857063..f107ef1cb39 100644 --- a/src/devices/item/registeredOwners/item/graphUser/graphUserRequestBuilder.ts +++ b/src/devices/item/registeredOwners/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/item/ref/refRequestBuilder.ts b/src/devices/item/registeredOwners/item/ref/refRequestBuilder.ts index 51483c75eb6..7a2315b31b7 100644 --- a/src/devices/item/registeredOwners/item/ref/refRequestBuilder.ts +++ b/src/devices/item/registeredOwners/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredOwners/ref/refRequestBuilder.ts b/src/devices/item/registeredOwners/ref/refRequestBuilder.ts index 69a85d1a31a..9ca9c5c732a 100644 --- a/src/devices/item/registeredOwners/ref/refRequestBuilder.ts +++ b/src/devices/item/registeredOwners/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/devices/item/registeredOwners/registeredOwnersRequestBuilder.ts b/src/devices/item/registeredOwners/registeredOwnersRequestBuilder.ts index 54f2809ed1e..cf1834f7d94 100644 --- a/src/devices/item/registeredOwners/registeredOwnersRequestBuilder.ts +++ b/src/devices/item/registeredOwners/registeredOwnersRequestBuilder.ts @@ -152,7 +152,7 @@ export class RegisteredOwnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/devices/item/registeredUsers/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index c65d4dbcc8e..7190651fc39 100644 --- a/src/devices/item/registeredUsers/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/devices/item/registeredUsers/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/graphEndpoint/graphEndpointRequestBuilder.ts b/src/devices/item/registeredUsers/graphEndpoint/graphEndpointRequestBuilder.ts index 8d18b3b79ca..faea750de5b 100644 --- a/src/devices/item/registeredUsers/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/devices/item/registeredUsers/graphEndpoint/graphEndpointRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/devices/item/registeredUsers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index c075ab1a7a5..e741939df20 100644 --- a/src/devices/item/registeredUsers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/devices/item/registeredUsers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/graphUser/graphUserRequestBuilder.ts b/src/devices/item/registeredUsers/graphUser/graphUserRequestBuilder.ts index 8b61e4c2348..b31e091f02a 100644 --- a/src/devices/item/registeredUsers/graphUser/graphUserRequestBuilder.ts +++ b/src/devices/item/registeredUsers/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/devices/item/registeredUsers/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index ec26224e753..2249350a02e 100644 --- a/src/devices/item/registeredUsers/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/devices/item/registeredUsers/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/item/graphEndpoint/graphEndpointRequestBuilder.ts b/src/devices/item/registeredUsers/item/graphEndpoint/graphEndpointRequestBuilder.ts index e9f3ac080b5..139d5f189c6 100644 --- a/src/devices/item/registeredUsers/item/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/devices/item/registeredUsers/item/graphEndpoint/graphEndpointRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/devices/item/registeredUsers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 567c3074583..e5b49e28196 100644 --- a/src/devices/item/registeredUsers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/devices/item/registeredUsers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/item/graphUser/graphUserRequestBuilder.ts b/src/devices/item/registeredUsers/item/graphUser/graphUserRequestBuilder.ts index 33e7a3e958d..7cf2766b90a 100644 --- a/src/devices/item/registeredUsers/item/graphUser/graphUserRequestBuilder.ts +++ b/src/devices/item/registeredUsers/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/item/ref/refRequestBuilder.ts b/src/devices/item/registeredUsers/item/ref/refRequestBuilder.ts index 54e75b58814..7e3d8827348 100644 --- a/src/devices/item/registeredUsers/item/ref/refRequestBuilder.ts +++ b/src/devices/item/registeredUsers/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/registeredUsers/ref/refRequestBuilder.ts b/src/devices/item/registeredUsers/ref/refRequestBuilder.ts index 3e8bfdfcc50..3cf0102a0db 100644 --- a/src/devices/item/registeredUsers/ref/refRequestBuilder.ts +++ b/src/devices/item/registeredUsers/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/devices/item/registeredUsers/registeredUsersRequestBuilder.ts b/src/devices/item/registeredUsers/registeredUsersRequestBuilder.ts index 2353ddf85c7..7c3df98ac5d 100644 --- a/src/devices/item/registeredUsers/registeredUsersRequestBuilder.ts +++ b/src/devices/item/registeredUsers/registeredUsersRequestBuilder.ts @@ -152,7 +152,7 @@ export class RegisteredUsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/restore/restoreRequestBuilder.ts b/src/devices/item/restore/restoreRequestBuilder.ts index 3c5f4d97691..f331356be82 100644 --- a/src/devices/item/restore/restoreRequestBuilder.ts +++ b/src/devices/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/devices/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 3abd86dc94e..758a91731e3 100644 --- a/src/devices/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts b/src/devices/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts index 4ff85888ca4..e0dbf8b6d82 100644 --- a/src/devices/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts b/src/devices/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts index 00e00e58a15..e9bf80ddb73 100644 --- a/src/devices/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index ac4d682210e..0db37b8a126 100644 --- a/src/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/devices/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts index 1899e6b3442..e67173b9526 100644 --- a/src/devices/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts b/src/devices/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts index a93e8fa1f80..4db8470d312 100644 --- a/src/devices/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts +++ b/src/devices/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts @@ -131,7 +131,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/devices/validateProperties/validatePropertiesRequestBuilder.ts b/src/devices/validateProperties/validatePropertiesRequestBuilder.ts index b2e8fc8e505..ff20ccf4d51 100644 --- a/src/devices/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/devices/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/devicesWithDeviceId/devicesWithDeviceIdRequestBuilder.ts b/src/devicesWithDeviceId/devicesWithDeviceIdRequestBuilder.ts index e2f2f384563..5607679cfd2 100644 --- a/src/devicesWithDeviceId/devicesWithDeviceIdRequestBuilder.ts +++ b/src/devicesWithDeviceId/devicesWithDeviceIdRequestBuilder.ts @@ -126,7 +126,7 @@ export class DevicesWithDeviceIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -144,7 +144,7 @@ export class DevicesWithDeviceIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class DevicesWithDeviceIdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDevice); return requestInfo; }; diff --git a/src/directory/administrativeUnits/administrativeUnitsRequestBuilder.ts b/src/directory/administrativeUnits/administrativeUnitsRequestBuilder.ts index 2a0a3d6b78c..d851237b629 100644 --- a/src/directory/administrativeUnits/administrativeUnitsRequestBuilder.ts +++ b/src/directory/administrativeUnits/administrativeUnitsRequestBuilder.ts @@ -152,7 +152,7 @@ export class AdministrativeUnitsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class AdministrativeUnitsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAdministrativeUnit); return requestInfo; }; diff --git a/src/directory/administrativeUnits/delta/deltaGetResponse.ts b/src/directory/administrativeUnits/delta/deltaGetResponse.ts index 7f3b5faeec3..7e47b35503d 100644 --- a/src/directory/administrativeUnits/delta/deltaGetResponse.ts +++ b/src/directory/administrativeUnits/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeAdministrativeUnit); } // tslint:enable // eslint-enable diff --git a/src/directory/administrativeUnits/delta/deltaRequestBuilder.ts b/src/directory/administrativeUnits/delta/deltaRequestBuilder.ts index e4920b04c4a..067102d56a7 100644 --- a/src/directory/administrativeUnits/delta/deltaRequestBuilder.ts +++ b/src/directory/administrativeUnits/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/administrativeUnitItemRequestBuilder.ts b/src/directory/administrativeUnits/item/administrativeUnitItemRequestBuilder.ts index 2cd6f516d88..90a2fe08258 100644 --- a/src/directory/administrativeUnits/item/administrativeUnitItemRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/administrativeUnitItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class AdministrativeUnitItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AdministrativeUnitItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class AdministrativeUnitItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAdministrativeUnit); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/extensions/extensionsRequestBuilder.ts b/src/directory/administrativeUnits/item/extensions/extensionsRequestBuilder.ts index f1459da5481..d9bb0a16dd1 100644 --- a/src/directory/administrativeUnits/item/extensions/extensionsRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/extensions/item/extensionItemRequestBuilder.ts b/src/directory/administrativeUnits/item/extensions/item/extensionItemRequestBuilder.ts index 9de8755d0f7..1292c7b5f96 100644 --- a/src/directory/administrativeUnits/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/members/graphApplication/graphApplicationRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphApplication/graphApplicationRequestBuilder.ts index a3d3508c40c..188cae1f9a7 100644 --- a/src/directory/administrativeUnits/item/members/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/graphDevice/graphDeviceRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphDevice/graphDeviceRequestBuilder.ts index 6e1b90d8875..59a568555bd 100644 --- a/src/directory/administrativeUnits/item/members/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/graphGroup/graphGroupRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphGroup/graphGroupRequestBuilder.ts index fdad953e3bc..108227e33df 100644 --- a/src/directory/administrativeUnits/item/members/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts index d2ce6fa8b22..6180be899af 100644 --- a/src/directory/administrativeUnits/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 762a2762f5a..da298903be4 100644 --- a/src/directory/administrativeUnits/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/graphUser/graphUserRequestBuilder.ts b/src/directory/administrativeUnits/item/members/graphUser/graphUserRequestBuilder.ts index 764bb33f4d5..49bb07c74c8 100644 --- a/src/directory/administrativeUnits/item/members/graphUser/graphUserRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphApplication/graphApplicationRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphApplication/graphApplicationRequestBuilder.ts index 538b1953819..79e7404a585 100644 --- a/src/directory/administrativeUnits/item/members/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphDevice/graphDeviceRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphDevice/graphDeviceRequestBuilder.ts index 9aeb3012ecb..a9c3e0d7e48 100644 --- a/src/directory/administrativeUnits/item/members/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphGroup/graphGroupRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphGroup/graphGroupRequestBuilder.ts index f7a97180776..c8c21a8d477 100644 --- a/src/directory/administrativeUnits/item/members/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts index d0bdf2ca598..6d5d464d1d1 100644 --- a/src/directory/administrativeUnits/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 2e80d31b3fb..e9ef9d868a6 100644 --- a/src/directory/administrativeUnits/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/graphUser/graphUserRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/graphUser/graphUserRequestBuilder.ts index d65fcb865ec..9120b70af5f 100644 --- a/src/directory/administrativeUnits/item/members/item/graphUser/graphUserRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/item/ref/refRequestBuilder.ts b/src/directory/administrativeUnits/item/members/item/ref/refRequestBuilder.ts index 63d31527c2a..61e8fac9998 100644 --- a/src/directory/administrativeUnits/item/members/item/ref/refRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/administrativeUnits/item/members/membersRequestBuilder.ts b/src/directory/administrativeUnits/item/members/membersRequestBuilder.ts index 4da16f2796d..bbeeff1a52b 100644 --- a/src/directory/administrativeUnits/item/members/membersRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/membersRequestBuilder.ts @@ -194,7 +194,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -213,7 +213,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryObject); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/members/ref/refRequestBuilder.ts b/src/directory/administrativeUnits/item/members/ref/refRequestBuilder.ts index 0f4042b30d3..8a28f7a5a31 100644 --- a/src/directory/administrativeUnits/item/members/ref/refRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/members/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/scopedRoleMembers/item/scopedRoleMembershipItemRequestBuilder.ts b/src/directory/administrativeUnits/item/scopedRoleMembers/item/scopedRoleMembershipItemRequestBuilder.ts index af952a0ddf2..5079d1f944a 100644 --- a/src/directory/administrativeUnits/item/scopedRoleMembers/item/scopedRoleMembershipItemRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/scopedRoleMembers/item/scopedRoleMembershipItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/directory/administrativeUnits/item/scopedRoleMembers/scopedRoleMembersRequestBuilder.ts b/src/directory/administrativeUnits/item/scopedRoleMembers/scopedRoleMembersRequestBuilder.ts index 7f6c3a76d40..6ee54126ec3 100644 --- a/src/directory/administrativeUnits/item/scopedRoleMembers/scopedRoleMembersRequestBuilder.ts +++ b/src/directory/administrativeUnits/item/scopedRoleMembers/scopedRoleMembersRequestBuilder.ts @@ -145,7 +145,7 @@ export class ScopedRoleMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ScopedRoleMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/directory/attributeSets/attributeSetsRequestBuilder.ts b/src/directory/attributeSets/attributeSetsRequestBuilder.ts index a143e378541..8706feb3c7c 100644 --- a/src/directory/attributeSets/attributeSetsRequestBuilder.ts +++ b/src/directory/attributeSets/attributeSetsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AttributeSetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AttributeSetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttributeSet); return requestInfo; }; diff --git a/src/directory/attributeSets/item/attributeSetItemRequestBuilder.ts b/src/directory/attributeSets/item/attributeSetItemRequestBuilder.ts index 68fe1fc8978..843ddcdd1a8 100644 --- a/src/directory/attributeSets/item/attributeSetItemRequestBuilder.ts +++ b/src/directory/attributeSets/item/attributeSetItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class AttributeSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AttributeSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AttributeSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttributeSet); return requestInfo; }; diff --git a/src/directory/customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder.ts b/src/directory/customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder.ts index f62891da672..37eb9ed2a90 100644 --- a/src/directory/customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder.ts +++ b/src/directory/customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CustomSecurityAttributeDefinitionsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CustomSecurityAttributeDefinitionsRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomSecurityAttributeDefinition); return requestInfo; }; diff --git a/src/directory/customSecurityAttributeDefinitions/item/allowedValues/allowedValuesRequestBuilder.ts b/src/directory/customSecurityAttributeDefinitions/item/allowedValues/allowedValuesRequestBuilder.ts index 8f41dd92c5f..25c93683343 100644 --- a/src/directory/customSecurityAttributeDefinitions/item/allowedValues/allowedValuesRequestBuilder.ts +++ b/src/directory/customSecurityAttributeDefinitions/item/allowedValues/allowedValuesRequestBuilder.ts @@ -145,7 +145,7 @@ export class AllowedValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AllowedValuesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAllowedValue); return requestInfo; }; diff --git a/src/directory/customSecurityAttributeDefinitions/item/allowedValues/item/allowedValueItemRequestBuilder.ts b/src/directory/customSecurityAttributeDefinitions/item/allowedValues/item/allowedValueItemRequestBuilder.ts index 668b5417fe9..3ad8d0f77fe 100644 --- a/src/directory/customSecurityAttributeDefinitions/item/allowedValues/item/allowedValueItemRequestBuilder.ts +++ b/src/directory/customSecurityAttributeDefinitions/item/allowedValues/item/allowedValueItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class AllowedValueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AllowedValueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AllowedValueItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAllowedValue); return requestInfo; }; diff --git a/src/directory/customSecurityAttributeDefinitions/item/customSecurityAttributeDefinitionItemRequestBuilder.ts b/src/directory/customSecurityAttributeDefinitions/item/customSecurityAttributeDefinitionItemRequestBuilder.ts index c22718eca3c..e1b3d544be7 100644 --- a/src/directory/customSecurityAttributeDefinitions/item/customSecurityAttributeDefinitionItemRequestBuilder.ts +++ b/src/directory/customSecurityAttributeDefinitions/item/customSecurityAttributeDefinitionItemRequestBuilder.ts @@ -130,7 +130,7 @@ export class CustomSecurityAttributeDefinitionItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class CustomSecurityAttributeDefinitionItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class CustomSecurityAttributeDefinitionItemRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomSecurityAttributeDefinition); return requestInfo; }; diff --git a/src/directory/deletedItems/deletedItemsRequestBuilder.ts b/src/directory/deletedItems/deletedItemsRequestBuilder.ts index 0baf06b3437..89ce22cc422 100644 --- a/src/directory/deletedItems/deletedItemsRequestBuilder.ts +++ b/src/directory/deletedItems/deletedItemsRequestBuilder.ts @@ -179,7 +179,7 @@ export class DeletedItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 02534e0694e..32780a798fe 100644 --- a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 94e3c700a0f..270f5474bea 100644 --- a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts b/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts index 5d642736992..e68b47caa89 100644 --- a/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts +++ b/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directory/deletedItems/getByIds/getByIdsRequestBuilder.ts b/src/directory/deletedItems/getByIds/getByIdsRequestBuilder.ts index fb93d4257a9..9edac2f6064 100644 --- a/src/directory/deletedItems/getByIds/getByIdsRequestBuilder.ts +++ b/src/directory/deletedItems/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/directory/deletedItems/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 7c52c32a0d3..2abe2ecd910 100644 --- a/src/directory/deletedItems/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/directory/deletedItems/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/graphApplication/graphApplicationRequestBuilder.ts b/src/directory/deletedItems/graphApplication/graphApplicationRequestBuilder.ts index fdaf295ce4d..15e5751ee7d 100644 --- a/src/directory/deletedItems/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directory/deletedItems/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/graphDevice/graphDeviceRequestBuilder.ts b/src/directory/deletedItems/graphDevice/graphDeviceRequestBuilder.ts index 096331a3d27..041e60ba696 100644 --- a/src/directory/deletedItems/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directory/deletedItems/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/graphGroup/graphGroupRequestBuilder.ts b/src/directory/deletedItems/graphGroup/graphGroupRequestBuilder.ts index 7de7147cb1d..fe44b81c4fc 100644 --- a/src/directory/deletedItems/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directory/deletedItems/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directory/deletedItems/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 564f140b4db..9e1b869bd5d 100644 --- a/src/directory/deletedItems/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directory/deletedItems/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/graphUser/graphUserRequestBuilder.ts b/src/directory/deletedItems/graphUser/graphUserRequestBuilder.ts index 854f014fa8a..6993a50280d 100644 --- a/src/directory/deletedItems/graphUser/graphUserRequestBuilder.ts +++ b/src/directory/deletedItems/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/directory/deletedItems/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 95e9ca1622b..c7c209d87da 100644 --- a/src/directory/deletedItems/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/directory/deletedItems/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/directory/deletedItems/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 38dac0c869d..fcdd3c885a4 100644 --- a/src/directory/deletedItems/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/directory/deletedItems/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/item/directoryObjectItemRequestBuilder.ts b/src/directory/deletedItems/item/directoryObjectItemRequestBuilder.ts index 56064e91a01..e6018fd2d01 100644 --- a/src/directory/deletedItems/item/directoryObjectItemRequestBuilder.ts +++ b/src/directory/deletedItems/item/directoryObjectItemRequestBuilder.ts @@ -175,7 +175,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/directory/deletedItems/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index 2acfb1d0440..c4c2ce11761 100644 --- a/src/directory/deletedItems/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/directory/deletedItems/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/directory/deletedItems/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 6403c634fab..42f41ca1c10 100644 --- a/src/directory/deletedItems/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/directory/deletedItems/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directory/deletedItems/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/directory/deletedItems/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 4196c2cc967..b583a462121 100644 --- a/src/directory/deletedItems/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/graphApplication/graphApplicationRequestBuilder.ts b/src/directory/deletedItems/item/graphApplication/graphApplicationRequestBuilder.ts index 7cffe58de75..808b1cbdf0d 100644 --- a/src/directory/deletedItems/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/graphDevice/graphDeviceRequestBuilder.ts b/src/directory/deletedItems/item/graphDevice/graphDeviceRequestBuilder.ts index 185652a4e97..a0fddf9e17d 100644 --- a/src/directory/deletedItems/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/graphGroup/graphGroupRequestBuilder.ts b/src/directory/deletedItems/item/graphGroup/graphGroupRequestBuilder.ts index 889ec131044..914497c8ffb 100644 --- a/src/directory/deletedItems/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directory/deletedItems/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 0e8ad5e7b1f..eaea635f6a6 100644 --- a/src/directory/deletedItems/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/graphUser/graphUserRequestBuilder.ts b/src/directory/deletedItems/item/graphUser/graphUserRequestBuilder.ts index d763f90f931..99f3ff28537 100644 --- a/src/directory/deletedItems/item/graphUser/graphUserRequestBuilder.ts +++ b/src/directory/deletedItems/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/item/restore/restoreRequestBuilder.ts b/src/directory/deletedItems/item/restore/restoreRequestBuilder.ts index 970bd7914c7..52836013e58 100644 --- a/src/directory/deletedItems/item/restore/restoreRequestBuilder.ts +++ b/src/directory/deletedItems/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/deletedItems/validateProperties/validatePropertiesRequestBuilder.ts b/src/directory/deletedItems/validateProperties/validatePropertiesRequestBuilder.ts index ed8aeec0d1e..ceda2495a4b 100644 --- a/src/directory/deletedItems/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/directory/deletedItems/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/me/photos/count/countRequestBuilder.ts b/src/directory/deviceLocalCredentials/count/countRequestBuilder.ts similarity index 94% rename from src/me/photos/count/countRequestBuilder.ts rename to src/directory/deviceLocalCredentials/count/countRequestBuilder.ts index 904c7066ae0..518612fe766 100644 --- a/src/me/photos/count/countRequestBuilder.ts +++ b/src/directory/deviceLocalCredentials/count/countRequestBuilder.ts @@ -10,6 +10,10 @@ export interface CountRequestBuilderGetQueryParameters { * Filter items by property values */ filter?: string; + /** + * Search items by search phrases + */ + search?: string; } export interface CountRequestBuilderGetRequestConfiguration { /** @@ -35,7 +39,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/me/photos/$count{?%24filter}"); + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/$count{?%24search,%24filter}"); }; /** * Get the number of the resource diff --git a/src/me/photos/count/index.ts b/src/directory/deviceLocalCredentials/count/index.ts similarity index 100% rename from src/me/photos/count/index.ts rename to src/directory/deviceLocalCredentials/count/index.ts diff --git a/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts b/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts new file mode 100644 index 00000000000..0ec51bde1cc --- /dev/null +++ b/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts @@ -0,0 +1,173 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type DeviceLocalCredentialInfoCollectionResponse } from '../../models/'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, deserializeIntoDeviceLocalCredentialInfo, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from '../../models/deviceLocalCredentialInfo'; +import { createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue } from '../../models/deviceLocalCredentialInfoCollectionResponse'; +import { type ODataError } from '../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../models/oDataErrors/oDataError'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { DeviceLocalCredentialInfoItemRequestBuilder } from './item/deviceLocalCredentialInfoItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface DeviceLocalCredentialsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Show only the first n items + */ + top?: number; +} +export interface DeviceLocalCredentialsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: DeviceLocalCredentialsRequestBuilderGetQueryParameters; +} +export interface DeviceLocalCredentialsRequestBuilderPostRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ +export class DeviceLocalCredentialsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + * @param deviceLocalCredentialInfoId The unique identifier of deviceLocalCredentialInfo + * @returns a DeviceLocalCredentialInfoItemRequestBuilder + */ + public byDeviceLocalCredentialInfoId(deviceLocalCredentialInfoId: string) : DeviceLocalCredentialInfoItemRequestBuilder { + if(!deviceLocalCredentialInfoId) throw new Error("deviceLocalCredentialInfoId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["deviceLocalCredentialInfo%2Did"] = deviceLocalCredentialInfoId + return new DeviceLocalCredentialInfoItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new DeviceLocalCredentialsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24top,%24search,%24filter,%24count,%24orderby,%24select}"); + }; + /** + * Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfoCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/directory-list-devicelocalcredentials?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: DeviceLocalCredentialsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Create new navigation property to deviceLocalCredentials for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + */ + public post(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialsRequestBuilderPostRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: DeviceLocalCredentialsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Create new navigation property to deviceLocalCredentials for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPostRequestInformation(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialsRequestBuilderPostRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.POST; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLocalCredentialInfo); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a deviceLocalCredentialsRequestBuilder + */ + public withUrl(rawUrl: string) : DeviceLocalCredentialsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new DeviceLocalCredentialsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/directory/deviceLocalCredentials/index.ts b/src/directory/deviceLocalCredentials/index.ts new file mode 100644 index 00000000000..830f68dc220 --- /dev/null +++ b/src/directory/deviceLocalCredentials/index.ts @@ -0,0 +1 @@ +export * from './deviceLocalCredentialsRequestBuilder' diff --git a/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts b/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts new file mode 100644 index 00000000000..32a1a7e099a --- /dev/null +++ b/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts @@ -0,0 +1,173 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, deserializeIntoDeviceLocalCredentialInfo, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from '../../../models/deviceLocalCredentialInfo'; +import { type ODataError } from '../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ +export class DeviceLocalCredentialInfoItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new DeviceLocalCredentialInfoItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}"); + }; + /** + * Delete navigation property deviceLocalCredentials for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + */ + public delete(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + * @see {@link https://learn.microsoft.com/graph/api/devicelocalcredentialinfo-get?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Update the navigation property deviceLocalCredentials in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + */ + public patch(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Delete navigation property deviceLocalCredentials for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Update the navigation property deviceLocalCredentials in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLocalCredentialInfo); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a DeviceLocalCredentialInfoItemRequestBuilder + */ + public withUrl(rawUrl: string) : DeviceLocalCredentialInfoItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new DeviceLocalCredentialInfoItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/directory/deviceLocalCredentials/item/index.ts b/src/directory/deviceLocalCredentials/item/index.ts new file mode 100644 index 00000000000..ecf5c136a02 --- /dev/null +++ b/src/directory/deviceLocalCredentials/item/index.ts @@ -0,0 +1 @@ +export * from './deviceLocalCredentialInfoItemRequestBuilder' diff --git a/src/directory/directoryRequestBuilder.ts b/src/directory/directoryRequestBuilder.ts index 4f2a2eba6bd..b805f51d63b 100644 --- a/src/directory/directoryRequestBuilder.ts +++ b/src/directory/directoryRequestBuilder.ts @@ -8,6 +8,7 @@ import { AdministrativeUnitsRequestBuilder } from './administrativeUnits/adminis import { AttributeSetsRequestBuilder } from './attributeSets/attributeSetsRequestBuilder'; import { CustomSecurityAttributeDefinitionsRequestBuilder } from './customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder'; import { DeletedItemsRequestBuilder } from './deletedItems/deletedItemsRequestBuilder'; +import { DeviceLocalCredentialsRequestBuilder } from './deviceLocalCredentials/deviceLocalCredentialsRequestBuilder'; import { FederationConfigurationsRequestBuilder } from './federationConfigurations/federationConfigurationsRequestBuilder'; import { OnPremisesSynchronizationRequestBuilder } from './onPremisesSynchronization/onPremisesSynchronizationRequestBuilder'; import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; @@ -74,6 +75,12 @@ export class DirectoryRequestBuilder extends BaseRequestBuilder { public get deletedItems(): DeletedItemsRequestBuilder { return new DeletedItemsRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ + public get deviceLocalCredentials(): DeviceLocalCredentialsRequestBuilder { + return new DeviceLocalCredentialsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. */ @@ -140,7 +147,7 @@ export class DirectoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +166,7 @@ export class DirectoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectory); return requestInfo; }; diff --git a/src/directory/federationConfigurations/availableProviderTypes/availableProviderTypesRequestBuilder.ts b/src/directory/federationConfigurations/availableProviderTypes/availableProviderTypesRequestBuilder.ts index 770af0bfe4b..929ec2af27a 100644 --- a/src/directory/federationConfigurations/availableProviderTypes/availableProviderTypesRequestBuilder.ts +++ b/src/directory/federationConfigurations/availableProviderTypes/availableProviderTypesRequestBuilder.ts @@ -85,7 +85,7 @@ export class AvailableProviderTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directory/federationConfigurations/federationConfigurationsRequestBuilder.ts b/src/directory/federationConfigurations/federationConfigurationsRequestBuilder.ts index a8b1cb9ccf8..800b3774f81 100644 --- a/src/directory/federationConfigurations/federationConfigurationsRequestBuilder.ts +++ b/src/directory/federationConfigurations/federationConfigurationsRequestBuilder.ts @@ -150,7 +150,7 @@ export class FederationConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -169,7 +169,7 @@ export class FederationConfigurationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProviderBase); return requestInfo; }; diff --git a/src/directory/federationConfigurations/item/identityProviderBaseItemRequestBuilder.ts b/src/directory/federationConfigurations/item/identityProviderBaseItemRequestBuilder.ts index fd51aad6e88..df04006cc3c 100644 --- a/src/directory/federationConfigurations/item/identityProviderBaseItemRequestBuilder.ts +++ b/src/directory/federationConfigurations/item/identityProviderBaseItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProviderBase); return requestInfo; }; diff --git a/src/directory/onPremisesSynchronization/item/onPremisesDirectorySynchronizationItemRequestBuilder.ts b/src/directory/onPremisesSynchronization/item/onPremisesDirectorySynchronizationItemRequestBuilder.ts index 23f7ba72335..a690eaf1dc8 100644 --- a/src/directory/onPremisesSynchronization/item/onPremisesDirectorySynchronizationItemRequestBuilder.ts +++ b/src/directory/onPremisesSynchronization/item/onPremisesDirectorySynchronizationItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class OnPremisesDirectorySynchronizationItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class OnPremisesDirectorySynchronizationItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class OnPremisesDirectorySynchronizationItemRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnPremisesDirectorySynchronization); return requestInfo; }; diff --git a/src/directory/onPremisesSynchronization/onPremisesSynchronizationRequestBuilder.ts b/src/directory/onPremisesSynchronization/onPremisesSynchronizationRequestBuilder.ts index 3ac9a68e51e..51fd8f94b77 100644 --- a/src/directory/onPremisesSynchronization/onPremisesSynchronizationRequestBuilder.ts +++ b/src/directory/onPremisesSynchronization/onPremisesSynchronizationRequestBuilder.ts @@ -143,7 +143,7 @@ export class OnPremisesSynchronizationRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OnPremisesSynchronizationRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnPremisesDirectorySynchronization); return requestInfo; }; diff --git a/src/directoryObjects/delta/deltaGetResponse.ts b/src/directoryObjects/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/directoryObjects/delta/deltaGetResponse.ts +++ b/src/directoryObjects/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryObjects/delta/deltaRequestBuilder.ts b/src/directoryObjects/delta/deltaRequestBuilder.ts index 6a2132c677b..e13bc8da791 100644 --- a/src/directoryObjects/delta/deltaRequestBuilder.ts +++ b/src/directoryObjects/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryObjects/directoryObjectsRequestBuilder.ts b/src/directoryObjects/directoryObjectsRequestBuilder.ts index 05f95f4da54..42a68b39496 100644 --- a/src/directoryObjects/directoryObjectsRequestBuilder.ts +++ b/src/directoryObjects/directoryObjectsRequestBuilder.ts @@ -171,7 +171,7 @@ export class DirectoryObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -190,7 +190,7 @@ export class DirectoryObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryObject); return requestInfo; }; diff --git a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 198f05388f9..d7ee079db84 100644 --- a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/getByIds/getByIdsPostResponse.ts b/src/directoryObjects/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryObjects/getByIds/getByIdsPostResponse.ts +++ b/src/directoryObjects/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryObjects/getByIds/getByIdsRequestBuilder.ts b/src/directoryObjects/getByIds/getByIdsRequestBuilder.ts index bddb953ae4f..785ced20590 100644 --- a/src/directoryObjects/getByIds/getByIdsRequestBuilder.ts +++ b/src/directoryObjects/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/directoryObjects/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 0d81637d6af..082b6db4516 100644 --- a/src/directoryObjects/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/directoryObjects/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/directoryObjects/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 1ddf8de4612..bed7c7c6117 100644 --- a/src/directoryObjects/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/directoryObjects/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/item/directoryObjectItemRequestBuilder.ts b/src/directoryObjects/item/directoryObjectItemRequestBuilder.ts index 77f5729c4db..c3b9d7bbb48 100644 --- a/src/directoryObjects/item/directoryObjectItemRequestBuilder.ts +++ b/src/directoryObjects/item/directoryObjectItemRequestBuilder.ts @@ -158,7 +158,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -176,7 +176,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -195,7 +195,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryObject); return requestInfo; }; diff --git a/src/directoryObjects/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/directoryObjects/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index c4739aaa868..3443c837b8e 100644 --- a/src/directoryObjects/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/directoryObjects/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/directoryObjects/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 95df63fd6b3..10b8a6846f8 100644 --- a/src/directoryObjects/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/directoryObjects/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryObjects/item/restore/restoreRequestBuilder.ts b/src/directoryObjects/item/restore/restoreRequestBuilder.ts index 46981936ef6..f29cb6a14d5 100644 --- a/src/directoryObjects/item/restore/restoreRequestBuilder.ts +++ b/src/directoryObjects/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryObjects/validateProperties/validatePropertiesRequestBuilder.ts b/src/directoryObjects/validateProperties/validatePropertiesRequestBuilder.ts index fe44c68266b..c75e2093415 100644 --- a/src/directoryObjects/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/directoryObjects/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/delta/deltaGetResponse.ts b/src/directoryRoleTemplates/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/directoryRoleTemplates/delta/deltaGetResponse.ts +++ b/src/directoryRoleTemplates/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/delta/deltaRequestBuilder.ts b/src/directoryRoleTemplates/delta/deltaRequestBuilder.ts index 6afc05f6c3a..a01db19640d 100644 --- a/src/directoryRoleTemplates/delta/deltaRequestBuilder.ts +++ b/src/directoryRoleTemplates/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoleTemplates/directoryRoleTemplatesRequestBuilder.ts b/src/directoryRoleTemplates/directoryRoleTemplatesRequestBuilder.ts index 672dc5bf159..51c80f43559 100644 --- a/src/directoryRoleTemplates/directoryRoleTemplatesRequestBuilder.ts +++ b/src/directoryRoleTemplates/directoryRoleTemplatesRequestBuilder.ts @@ -168,7 +168,7 @@ export class DirectoryRoleTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class DirectoryRoleTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryRoleTemplate); return requestInfo; }; diff --git a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index a95585a5350..07e9c7ea597 100644 --- a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts b/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts +++ b/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/getByIds/getByIdsRequestBuilder.ts b/src/directoryRoleTemplates/getByIds/getByIdsRequestBuilder.ts index 0c8fd90f9d0..b511675ab09 100644 --- a/src/directoryRoleTemplates/getByIds/getByIdsRequestBuilder.ts +++ b/src/directoryRoleTemplates/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/directoryRoleTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 22fffe712de..58b7c764af8 100644 --- a/src/directoryRoleTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/directoryRoleTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index faf7f02049c..e1226d78fa8 100644 --- a/src/directoryRoleTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/directoryRoleTemplateItemRequestBuilder.ts b/src/directoryRoleTemplates/item/directoryRoleTemplateItemRequestBuilder.ts index f406cc270aa..354c0568187 100644 --- a/src/directoryRoleTemplates/item/directoryRoleTemplateItemRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/directoryRoleTemplateItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class DirectoryRoleTemplateItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class DirectoryRoleTemplateItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class DirectoryRoleTemplateItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryRoleTemplate); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/directoryRoleTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index bc6745f1a36..832d250b2d5 100644 --- a/src/directoryRoleTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/directoryRoleTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 8c62e40e051..65b8cccc2b0 100644 --- a/src/directoryRoleTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoleTemplates/item/restore/restoreRequestBuilder.ts b/src/directoryRoleTemplates/item/restore/restoreRequestBuilder.ts index ebd35c7cf6a..56ce82b05da 100644 --- a/src/directoryRoleTemplates/item/restore/restoreRequestBuilder.ts +++ b/src/directoryRoleTemplates/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoleTemplates/validateProperties/validatePropertiesRequestBuilder.ts b/src/directoryRoleTemplates/validateProperties/validatePropertiesRequestBuilder.ts index 11e3774f84f..7e1ce44f475 100644 --- a/src/directoryRoleTemplates/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/directoryRoleTemplates/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/delta/deltaGetResponse.ts b/src/directoryRoles/delta/deltaGetResponse.ts index 591b1a91ef3..ac7610ab7ca 100644 --- a/src/directoryRoles/delta/deltaGetResponse.ts +++ b/src/directoryRoles/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryRole); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/delta/deltaRequestBuilder.ts b/src/directoryRoles/delta/deltaRequestBuilder.ts index 29cb9b5745b..0922d34da79 100644 --- a/src/directoryRoles/delta/deltaRequestBuilder.ts +++ b/src/directoryRoles/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/directoryRolesRequestBuilder.ts b/src/directoryRoles/directoryRolesRequestBuilder.ts index 3590d69a927..d9ae836e80f 100644 --- a/src/directoryRoles/directoryRolesRequestBuilder.ts +++ b/src/directoryRoles/directoryRolesRequestBuilder.ts @@ -169,7 +169,7 @@ export class DirectoryRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class DirectoryRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryRole); return requestInfo; }; diff --git a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 33800751e1c..358e0b254a3 100644 --- a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/getByIds/getByIdsPostResponse.ts b/src/directoryRoles/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryRoles/getByIds/getByIdsPostResponse.ts +++ b/src/directoryRoles/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/getByIds/getByIdsRequestBuilder.ts b/src/directoryRoles/getByIds/getByIdsRequestBuilder.ts index 27c010fa6b8..d0145b9d5a4 100644 --- a/src/directoryRoles/getByIds/getByIdsRequestBuilder.ts +++ b/src/directoryRoles/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/directoryRoles/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 1abe523e763..f7c4c998985 100644 --- a/src/directoryRoles/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/directoryRoles/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/directoryRoles/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index f320448dd01..4a87bffb295 100644 --- a/src/directoryRoles/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/directoryRoles/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/item/directoryRoleItemRequestBuilder.ts b/src/directoryRoles/item/directoryRoleItemRequestBuilder.ts index 0fff3c92a5d..4e1107454f0 100644 --- a/src/directoryRoles/item/directoryRoleItemRequestBuilder.ts +++ b/src/directoryRoles/item/directoryRoleItemRequestBuilder.ts @@ -171,7 +171,7 @@ export class DirectoryRoleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -189,7 +189,7 @@ export class DirectoryRoleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -208,7 +208,7 @@ export class DirectoryRoleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryRole); return requestInfo; }; diff --git a/src/directoryRoles/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/directoryRoles/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index 1d19903f5b9..ce5007d93aa 100644 --- a/src/directoryRoles/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/directoryRoles/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/directoryRoles/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index ef8b746ee37..af7b43bfe4e 100644 --- a/src/directoryRoles/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/directoryRoles/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/directoryRoles/item/members/graphApplication/graphApplicationRequestBuilder.ts b/src/directoryRoles/item/members/graphApplication/graphApplicationRequestBuilder.ts index 940b4479145..aafd7cefd70 100644 --- a/src/directoryRoles/item/members/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/graphDevice/graphDeviceRequestBuilder.ts b/src/directoryRoles/item/members/graphDevice/graphDeviceRequestBuilder.ts index 773f830ed63..9d2e92189a0 100644 --- a/src/directoryRoles/item/members/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/graphGroup/graphGroupRequestBuilder.ts b/src/directoryRoles/item/members/graphGroup/graphGroupRequestBuilder.ts index 3ce40e66186..503936de74b 100644 --- a/src/directoryRoles/item/members/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/directoryRoles/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts index c571760d7a5..81ea7d28c65 100644 --- a/src/directoryRoles/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directoryRoles/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 8eda4b5bdba..656f8212c1f 100644 --- a/src/directoryRoles/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/graphUser/graphUserRequestBuilder.ts b/src/directoryRoles/item/members/graphUser/graphUserRequestBuilder.ts index 8744c60d918..7f5a7a4b5ea 100644 --- a/src/directoryRoles/item/members/graphUser/graphUserRequestBuilder.ts +++ b/src/directoryRoles/item/members/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphApplication/graphApplicationRequestBuilder.ts b/src/directoryRoles/item/members/item/graphApplication/graphApplicationRequestBuilder.ts index a500a52c95f..2d69bf6b66f 100644 --- a/src/directoryRoles/item/members/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphDevice/graphDeviceRequestBuilder.ts b/src/directoryRoles/item/members/item/graphDevice/graphDeviceRequestBuilder.ts index 08f29b00ef7..a792ba72200 100644 --- a/src/directoryRoles/item/members/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphGroup/graphGroupRequestBuilder.ts b/src/directoryRoles/item/members/item/graphGroup/graphGroupRequestBuilder.ts index 389a25e6468..dab432209d7 100644 --- a/src/directoryRoles/item/members/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/directoryRoles/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts index 0c7bad92f24..35c21e63ce4 100644 --- a/src/directoryRoles/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/directoryRoles/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 592ec87893b..60b24acfabd 100644 --- a/src/directoryRoles/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/graphUser/graphUserRequestBuilder.ts b/src/directoryRoles/item/members/item/graphUser/graphUserRequestBuilder.ts index 7487d13299a..fa6990d189f 100644 --- a/src/directoryRoles/item/members/item/graphUser/graphUserRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/item/ref/refRequestBuilder.ts b/src/directoryRoles/item/members/item/ref/refRequestBuilder.ts index 50d5c0d624b..f70237f4f41 100644 --- a/src/directoryRoles/item/members/item/ref/refRequestBuilder.ts +++ b/src/directoryRoles/item/members/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/membersRequestBuilder.ts b/src/directoryRoles/item/members/membersRequestBuilder.ts index c6f873b12af..0e9ba3756cd 100644 --- a/src/directoryRoles/item/members/membersRequestBuilder.ts +++ b/src/directoryRoles/item/members/membersRequestBuilder.ts @@ -166,7 +166,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/members/ref/refRequestBuilder.ts b/src/directoryRoles/item/members/ref/refRequestBuilder.ts index edba2ecd8af..1f459bc4e40 100644 --- a/src/directoryRoles/item/members/ref/refRequestBuilder.ts +++ b/src/directoryRoles/item/members/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/directoryRoles/item/restore/restoreRequestBuilder.ts b/src/directoryRoles/item/restore/restoreRequestBuilder.ts index 97a0f4a6e9c..699e11dfe79 100644 --- a/src/directoryRoles/item/restore/restoreRequestBuilder.ts +++ b/src/directoryRoles/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/directoryRoles/item/scopedMembers/item/scopedRoleMembershipItemRequestBuilder.ts b/src/directoryRoles/item/scopedMembers/item/scopedRoleMembershipItemRequestBuilder.ts index 636e98db42b..4aa80caebea 100644 --- a/src/directoryRoles/item/scopedMembers/item/scopedRoleMembershipItemRequestBuilder.ts +++ b/src/directoryRoles/item/scopedMembers/item/scopedRoleMembershipItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/directoryRoles/item/scopedMembers/scopedMembersRequestBuilder.ts b/src/directoryRoles/item/scopedMembers/scopedMembersRequestBuilder.ts index e15699d7ff4..d25cdad0396 100644 --- a/src/directoryRoles/item/scopedMembers/scopedMembersRequestBuilder.ts +++ b/src/directoryRoles/item/scopedMembers/scopedMembersRequestBuilder.ts @@ -144,7 +144,7 @@ export class ScopedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ScopedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/directoryRoles/validateProperties/validatePropertiesRequestBuilder.ts b/src/directoryRoles/validateProperties/validatePropertiesRequestBuilder.ts index a9b698c8ebe..95ee6c62251 100644 --- a/src/directoryRoles/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/directoryRoles/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/directoryRolesWithRoleTemplateId/directoryRolesWithRoleTemplateIdRequestBuilder.ts b/src/directoryRolesWithRoleTemplateId/directoryRolesWithRoleTemplateIdRequestBuilder.ts index ad6b7b947bd..e941da86ecd 100644 --- a/src/directoryRolesWithRoleTemplateId/directoryRolesWithRoleTemplateIdRequestBuilder.ts +++ b/src/directoryRolesWithRoleTemplateId/directoryRolesWithRoleTemplateIdRequestBuilder.ts @@ -124,7 +124,7 @@ export class DirectoryRolesWithRoleTemplateIdRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class DirectoryRolesWithRoleTemplateIdRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class DirectoryRolesWithRoleTemplateIdRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDirectoryRole); return requestInfo; }; diff --git a/src/domainDnsRecords/domainDnsRecordsRequestBuilder.ts b/src/domainDnsRecords/domainDnsRecordsRequestBuilder.ts index 7c5dbc0ac7d..70ae8985687 100644 --- a/src/domainDnsRecords/domainDnsRecordsRequestBuilder.ts +++ b/src/domainDnsRecords/domainDnsRecordsRequestBuilder.ts @@ -143,7 +143,7 @@ export class DomainDnsRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DomainDnsRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domainDnsRecords/item/domainDnsRecordItemRequestBuilder.ts b/src/domainDnsRecords/item/domainDnsRecordItemRequestBuilder.ts index 6483f0c4459..7c6018f4c34 100644 --- a/src/domainDnsRecords/item/domainDnsRecordItemRequestBuilder.ts +++ b/src/domainDnsRecords/item/domainDnsRecordItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domains/domainsRequestBuilder.ts b/src/domains/domainsRequestBuilder.ts index 4cd09df3811..b29fa0d0e24 100644 --- a/src/domains/domainsRequestBuilder.ts +++ b/src/domains/domainsRequestBuilder.ts @@ -145,7 +145,7 @@ export class DomainsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DomainsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomain); return requestInfo; }; diff --git a/src/domains/item/domainItemRequestBuilder.ts b/src/domains/item/domainItemRequestBuilder.ts index 2b7cc719bf1..20007662f7b 100644 --- a/src/domains/item/domainItemRequestBuilder.ts +++ b/src/domains/item/domainItemRequestBuilder.ts @@ -173,7 +173,7 @@ export class DomainItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class DomainItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -210,7 +210,7 @@ export class DomainItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomain); return requestInfo; }; diff --git a/src/domains/item/domainNameReferences/domainNameReferencesRequestBuilder.ts b/src/domains/item/domainNameReferences/domainNameReferencesRequestBuilder.ts index 631f81f30a5..bb3444ec0f8 100644 --- a/src/domains/item/domainNameReferences/domainNameReferencesRequestBuilder.ts +++ b/src/domains/item/domainNameReferences/domainNameReferencesRequestBuilder.ts @@ -117,7 +117,7 @@ export class DomainNameReferencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/domains/item/domainNameReferences/item/directoryObjectItemRequestBuilder.ts b/src/domains/item/domainNameReferences/item/directoryObjectItemRequestBuilder.ts index a3a80038a0b..dad4b8db917 100644 --- a/src/domains/item/domainNameReferences/item/directoryObjectItemRequestBuilder.ts +++ b/src/domains/item/domainNameReferences/item/directoryObjectItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts index 7b2931f1659..8fdcb2c773c 100644 --- a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts +++ b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts @@ -98,9 +98,10 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/domains/{domain%2Did}/federationConfiguration{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InternalDomainFederationCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/domain-list-federationconfiguration?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: FederationConfigurationRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +131,7 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInternalDomainFederationFromDiscriminatorValue, errorMapping); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +145,7 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +164,7 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInternalDomainFederation); return requestInfo; }; diff --git a/src/domains/item/federationConfiguration/item/internalDomainFederationItemRequestBuilder.ts b/src/domains/item/federationConfiguration/item/internalDomainFederationItemRequestBuilder.ts index 9acfce92435..c4b98ad84e7 100644 --- a/src/domains/item/federationConfiguration/item/internalDomainFederationItemRequestBuilder.ts +++ b/src/domains/item/federationConfiguration/item/internalDomainFederationItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class InternalDomainFederationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class InternalDomainFederationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class InternalDomainFederationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInternalDomainFederation); return requestInfo; }; diff --git a/src/domains/item/forceDelete/forceDeleteRequestBuilder.ts b/src/domains/item/forceDelete/forceDeleteRequestBuilder.ts index 8fbaf6002cc..b08e174501d 100644 --- a/src/domains/item/forceDelete/forceDeleteRequestBuilder.ts +++ b/src/domains/item/forceDelete/forceDeleteRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForceDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForceDeletePostRequestBody); return requestInfo; }; diff --git a/src/domains/item/promote/promoteRequestBuilder.ts b/src/domains/item/promote/promoteRequestBuilder.ts index 5d715d15683..4415c1ccb12 100644 --- a/src/domains/item/promote/promoteRequestBuilder.ts +++ b/src/domains/item/promote/promoteRequestBuilder.ts @@ -59,7 +59,7 @@ export class PromoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/domains/item/serviceConfigurationRecords/item/domainDnsRecordItemRequestBuilder.ts b/src/domains/item/serviceConfigurationRecords/item/domainDnsRecordItemRequestBuilder.ts index 03bd34fc0b6..b091383dfe3 100644 --- a/src/domains/item/serviceConfigurationRecords/item/domainDnsRecordItemRequestBuilder.ts +++ b/src/domains/item/serviceConfigurationRecords/item/domainDnsRecordItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domains/item/serviceConfigurationRecords/serviceConfigurationRecordsRequestBuilder.ts b/src/domains/item/serviceConfigurationRecords/serviceConfigurationRecordsRequestBuilder.ts index 3b577d95f03..15498ea4632 100644 --- a/src/domains/item/serviceConfigurationRecords/serviceConfigurationRecordsRequestBuilder.ts +++ b/src/domains/item/serviceConfigurationRecords/serviceConfigurationRecordsRequestBuilder.ts @@ -144,7 +144,7 @@ export class ServiceConfigurationRecordsRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ServiceConfigurationRecordsRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domains/item/verificationDnsRecords/item/domainDnsRecordItemRequestBuilder.ts b/src/domains/item/verificationDnsRecords/item/domainDnsRecordItemRequestBuilder.ts index 7717aa99b16..6b482ac8d3e 100644 --- a/src/domains/item/verificationDnsRecords/item/domainDnsRecordItemRequestBuilder.ts +++ b/src/domains/item/verificationDnsRecords/item/domainDnsRecordItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domains/item/verificationDnsRecords/verificationDnsRecordsRequestBuilder.ts b/src/domains/item/verificationDnsRecords/verificationDnsRecordsRequestBuilder.ts index 779a0f8f306..7a76b628034 100644 --- a/src/domains/item/verificationDnsRecords/verificationDnsRecordsRequestBuilder.ts +++ b/src/domains/item/verificationDnsRecords/verificationDnsRecordsRequestBuilder.ts @@ -144,7 +144,7 @@ export class VerificationDnsRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class VerificationDnsRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDomainDnsRecord); return requestInfo; }; diff --git a/src/domains/item/verify/verifyRequestBuilder.ts b/src/domains/item/verify/verifyRequestBuilder.ts index 5958d0290f6..8b4b108b7a8 100644 --- a/src/domains/item/verify/verifyRequestBuilder.ts +++ b/src/domains/item/verify/verifyRequestBuilder.ts @@ -59,7 +59,7 @@ export class VerifyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/drivesRequestBuilder.ts b/src/drives/drivesRequestBuilder.ts index 09a57dcaf51..9d3f4b2d97f 100644 --- a/src/drives/drivesRequestBuilder.ts +++ b/src/drives/drivesRequestBuilder.ts @@ -132,7 +132,7 @@ export class DrivesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -151,7 +151,7 @@ export class DrivesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDrive); return requestInfo; }; diff --git a/src/drives/item/bundles/bundlesRequestBuilder.ts b/src/drives/item/bundles/bundlesRequestBuilder.ts index 50191df2075..bffbb5e7b7f 100644 --- a/src/drives/item/bundles/bundlesRequestBuilder.ts +++ b/src/drives/item/bundles/bundlesRequestBuilder.ts @@ -143,7 +143,7 @@ export class BundlesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class BundlesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItem); return requestInfo; }; diff --git a/src/drives/item/bundles/item/content/contentRequestBuilder.ts b/src/drives/item/bundles/item/content/contentRequestBuilder.ts index 9b59cb91a0c..4fabf3ae48e 100644 --- a/src/drives/item/bundles/item/content/contentRequestBuilder.ts +++ b/src/drives/item/bundles/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/bundles/item/driveItemItemRequestBuilder.ts b/src/drives/item/bundles/item/driveItemItemRequestBuilder.ts index fb29523c29a..a9aee311ea3 100644 --- a/src/drives/item/bundles/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/bundles/item/driveItemItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/createdByUser/createdByUserRequestBuilder.ts b/src/drives/item/createdByUser/createdByUserRequestBuilder.ts index f9417c20836..ad84b3d9d9a 100644 --- a/src/drives/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/drives/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index d830c060d14..5752c0987e1 100644 --- a/src/drives/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 4fab9573eac..59cad2d05fc 100644 --- a/src/drives/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/driveItemRequestBuilder.ts b/src/drives/item/driveItemRequestBuilder.ts index f9fa8106e4d..886dbd1406c 100644 --- a/src/drives/item/driveItemRequestBuilder.ts +++ b/src/drives/item/driveItemRequestBuilder.ts @@ -201,7 +201,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -219,7 +219,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -238,7 +238,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDrive); return requestInfo; }; diff --git a/src/drives/item/following/followingRequestBuilder.ts b/src/drives/item/following/followingRequestBuilder.ts index 4c98af26b4b..72179eb5b0b 100644 --- a/src/drives/item/following/followingRequestBuilder.ts +++ b/src/drives/item/following/followingRequestBuilder.ts @@ -117,7 +117,7 @@ export class FollowingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/following/item/content/contentRequestBuilder.ts b/src/drives/item/following/item/content/contentRequestBuilder.ts index 589a553be82..c7de697b9af 100644 --- a/src/drives/item/following/item/content/contentRequestBuilder.ts +++ b/src/drives/item/following/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/following/item/driveItemItemRequestBuilder.ts b/src/drives/item/following/item/driveItemItemRequestBuilder.ts index 02666211f7b..afe99e97def 100644 --- a/src/drives/item/following/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/following/item/driveItemItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/analytics/allTime/allTimeRequestBuilder.ts b/src/drives/item/items/item/analytics/allTime/allTimeRequestBuilder.ts index 77f52bed21a..68d5eae1555 100644 --- a/src/drives/item/items/item/analytics/allTime/allTimeRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/allTime/allTimeRequestBuilder.ts @@ -74,7 +74,7 @@ export class AllTimeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/analytics/analyticsRequestBuilder.ts b/src/drives/item/items/item/analytics/analyticsRequestBuilder.ts index ec4fcc69712..8c0da0be4d3 100644 --- a/src/drives/item/items/item/analytics/analyticsRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/analyticsRequestBuilder.ts @@ -142,7 +142,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemAnalytics); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts index 45835048f39..4e6a79dc921 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivity); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts index 41125d440c0..a134373d86c 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts index 9539ff99b56..e2a0adefcdb 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts index 60475571a06..14848700602 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivity); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts index 1dab7a2f29b..371c31777be 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivityStat); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts b/src/drives/item/items/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts index 15e45115e54..32cd7062646 100644 --- a/src/drives/item/items/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ItemActivityStatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ItemActivityStatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivityStat); return requestInfo; }; diff --git a/src/drives/item/items/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts b/src/drives/item/items/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts index 6c596b24057..321219ec4f4 100644 --- a/src/drives/item/items/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts +++ b/src/drives/item/items/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts @@ -73,7 +73,7 @@ export class LastSevenDaysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/assignSensitivityLabel/assignSensitivityLabelRequestBuilder.ts b/src/drives/item/items/item/assignSensitivityLabel/assignSensitivityLabelRequestBuilder.ts index c04a52f4e7f..f2ff3c0aa0b 100644 --- a/src/drives/item/items/item/assignSensitivityLabel/assignSensitivityLabelRequestBuilder.ts +++ b/src/drives/item/items/item/assignSensitivityLabel/assignSensitivityLabelRequestBuilder.ts @@ -59,7 +59,7 @@ export class AssignSensitivityLabelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignSensitivityLabelPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/checkin/checkinRequestBuilder.ts b/src/drives/item/items/item/checkin/checkinRequestBuilder.ts index 589d8f1d1fb..2e4773fb0ad 100644 --- a/src/drives/item/items/item/checkin/checkinRequestBuilder.ts +++ b/src/drives/item/items/item/checkin/checkinRequestBuilder.ts @@ -60,7 +60,7 @@ export class CheckinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/checkout/checkoutRequestBuilder.ts b/src/drives/item/items/item/checkout/checkoutRequestBuilder.ts index 0a8138cc3e9..842fe71e6ec 100644 --- a/src/drives/item/items/item/checkout/checkoutRequestBuilder.ts +++ b/src/drives/item/items/item/checkout/checkoutRequestBuilder.ts @@ -56,7 +56,7 @@ export class CheckoutRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/children/childrenRequestBuilder.ts b/src/drives/item/items/item/children/childrenRequestBuilder.ts index 1f88b520799..6e28dae9455 100644 --- a/src/drives/item/items/item/children/childrenRequestBuilder.ts +++ b/src/drives/item/items/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItem); return requestInfo; }; diff --git a/src/drives/item/items/item/children/item/content/contentRequestBuilder.ts b/src/drives/item/items/item/children/item/content/contentRequestBuilder.ts index 06ae2f1082c..b4fa414b141 100644 --- a/src/drives/item/items/item/children/item/content/contentRequestBuilder.ts +++ b/src/drives/item/items/item/children/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/items/item/children/item/driveItemItemRequestBuilder.ts b/src/drives/item/items/item/children/item/driveItemItemRequestBuilder.ts index 5452c568262..57cbdb4a2fc 100644 --- a/src/drives/item/items/item/children/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/items/item/children/item/driveItemItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/content/contentRequestBuilder.ts b/src/drives/item/items/item/content/contentRequestBuilder.ts index aebeee77874..7099391e9a0 100644 --- a/src/drives/item/items/item/content/contentRequestBuilder.ts +++ b/src/drives/item/items/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/items/item/copy/copyPostRequestBody.ts b/src/drives/item/items/item/copy/copyPostRequestBody.ts index f87c6b388bf..54c0f9becfe 100644 --- a/src/drives/item/items/item/copy/copyPostRequestBody.ts +++ b/src/drives/item/items/item/copy/copyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyPostRequestBody(copyPostRequestBody: CopyPost } export function serializeCopyPostRequestBody(writer: SerializationWriter, copyPostRequestBody: CopyPostRequestBody | undefined = {} as CopyPostRequestBody) : void { writer.writeStringValue("name", copyPostRequestBody.name); - writer.writeObjectValue("parentReference", copyPostRequestBody.parentReference, ); + writer.writeObjectValue("parentReference", copyPostRequestBody.parentReference, serializeItemReference); writer.writeAdditionalData(copyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/copy/copyRequestBuilder.ts b/src/drives/item/items/item/copy/copyRequestBuilder.ts index 07060b7921a..9f297de4572 100644 --- a/src/drives/item/items/item/copy/copyRequestBuilder.ts +++ b/src/drives/item/items/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/createLink/createLinkRequestBuilder.ts b/src/drives/item/items/item/createLink/createLinkRequestBuilder.ts index 981af300f99..842985e2852 100644 --- a/src/drives/item/items/item/createLink/createLinkRequestBuilder.ts +++ b/src/drives/item/items/item/createLink/createLinkRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateLinkRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateLinkPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts b/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts index e939ea3d7b0..6fa07299476 100644 --- a/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("item", createUploadSessionPostRequestBody.item, ); + writer.writeObjectValue("item", createUploadSessionPostRequestBody.item, serializeDriveItemUploadableProperties); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/createUploadSession/createUploadSessionRequestBuilder.ts b/src/drives/item/items/item/createUploadSession/createUploadSessionRequestBuilder.ts index 4e74546088a..81519e4a50a 100644 --- a/src/drives/item/items/item/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/drives/item/items/item/createUploadSession/createUploadSessionRequestBuilder.ts @@ -61,7 +61,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/createdByUser/createdByUserRequestBuilder.ts b/src/drives/item/items/item/createdByUser/createdByUserRequestBuilder.ts index 5461338a88c..c134e5b44f5 100644 --- a/src/drives/item/items/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/drives/item/items/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index f524fb42738..7adda732b00 100644 --- a/src/drives/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5baf59d9dc2..d7764add7c3 100644 --- a/src/drives/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/delta/deltaGetResponse.ts b/src/drives/item/items/item/delta/deltaGetResponse.ts index 4653cae0546..2872550e0b8 100644 --- a/src/drives/item/items/item/delta/deltaGetResponse.ts +++ b/src/drives/item/items/item/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/delta/deltaRequestBuilder.ts b/src/drives/item/items/item/delta/deltaRequestBuilder.ts index f8cfa2fe369..f68c5bdead6 100644 --- a/src/drives/item/items/item/delta/deltaRequestBuilder.ts +++ b/src/drives/item/items/item/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts b/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts index fd5a82a5f08..cc3b6ff172d 100644 --- a/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts +++ b/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaWithTokenGetResponse(deltaWithTokenGetRespon } export function serializeDeltaWithTokenGetResponse(writer: SerializationWriter, deltaWithTokenGetResponse: DeltaWithTokenGetResponse | undefined = {} as DeltaWithTokenGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaWithTokenGetResponse) - writer.writeCollectionOfObjectValues("value", deltaWithTokenGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaWithTokenGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/deltaWithToken/deltaWithTokenRequestBuilder.ts b/src/drives/item/items/item/deltaWithToken/deltaWithTokenRequestBuilder.ts index 5f33fc1ca5c..7fecab95ccc 100644 --- a/src/drives/item/items/item/deltaWithToken/deltaWithTokenRequestBuilder.ts +++ b/src/drives/item/items/item/deltaWithToken/deltaWithTokenRequestBuilder.ts @@ -95,7 +95,7 @@ export class DeltaWithTokenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/driveItemItemRequestBuilder.ts b/src/drives/item/items/item/driveItemItemRequestBuilder.ts index 8203673e3f7..4193ed32a72 100644 --- a/src/drives/item/items/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/items/item/driveItemItemRequestBuilder.ts @@ -27,6 +27,7 @@ import { PermanentDeleteRequestBuilder } from './permanentDelete/permanentDelete import { PermissionsRequestBuilder } from './permissions/permissionsRequestBuilder'; import { PreviewRequestBuilder } from './preview/previewRequestBuilder'; import { RestoreRequestBuilder } from './restore/restoreRequestBuilder'; +import { RetentionLabelRequestBuilder } from './retentionLabel/retentionLabelRequestBuilder'; import { SearchWithQRequestBuilder } from './searchWithQ/searchWithQRequestBuilder'; import { SubscriptionsRequestBuilder } from './subscriptions/subscriptionsRequestBuilder'; import { ThumbnailsRequestBuilder } from './thumbnails/thumbnailsRequestBuilder'; @@ -210,6 +211,12 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { public get restore(): RestoreRequestBuilder { return new RestoreRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. + */ + public get retentionLabel(): RetentionLabelRequestBuilder { + return new RetentionLabelRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. */ @@ -346,7 +353,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -364,7 +371,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -383,7 +390,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItem); return requestInfo; }; diff --git a/src/drives/item/items/item/extractSensitivityLabels/extractSensitivityLabelsRequestBuilder.ts b/src/drives/item/items/item/extractSensitivityLabels/extractSensitivityLabelsRequestBuilder.ts index a035dc2f419..55b6a6a0abe 100644 --- a/src/drives/item/items/item/extractSensitivityLabels/extractSensitivityLabelsRequestBuilder.ts +++ b/src/drives/item/items/item/extractSensitivityLabels/extractSensitivityLabelsRequestBuilder.ts @@ -58,7 +58,7 @@ export class ExtractSensitivityLabelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/follow/followRequestBuilder.ts b/src/drives/item/items/item/follow/followRequestBuilder.ts index a3dd15af024..f1a0d0249d0 100644 --- a/src/drives/item/items/item/follow/followRequestBuilder.ts +++ b/src/drives/item/items/item/follow/followRequestBuilder.ts @@ -59,7 +59,7 @@ export class FollowRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index ba0c7ad0b27..7d1a17014e2 100644 --- a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts index a72a52defd9..a640074ad26 100644 --- a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts +++ b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetActivitiesByIntervalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 01ba5b733d0..24bc7773f13 100644 --- a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts index 2d918a4b063..4ed02783fa5 100644 --- a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts +++ b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts @@ -99,7 +99,7 @@ export class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/invite/invitePostRequestBody.ts b/src/drives/item/items/item/invite/invitePostRequestBody.ts index 1f19e35bde0..04922c05edd 100644 --- a/src/drives/item/items/item/invite/invitePostRequestBody.ts +++ b/src/drives/item/items/item/invite/invitePostRequestBody.ts @@ -62,7 +62,7 @@ export function serializeInvitePostRequestBody(writer: SerializationWriter, invi writer.writeStringValue("expirationDateTime", invitePostRequestBody.expirationDateTime); writer.writeStringValue("message", invitePostRequestBody.message); writer.writeStringValue("password", invitePostRequestBody.password); - writer.writeCollectionOfObjectValues("recipients", invitePostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", invitePostRequestBody.recipients, serializeDriveRecipient); writer.writeBooleanValue("requireSignIn", invitePostRequestBody.requireSignIn); writer.writeBooleanValue("retainInheritedPermissions", invitePostRequestBody.retainInheritedPermissions); writer.writeCollectionOfPrimitiveValues("roles", invitePostRequestBody.roles); diff --git a/src/drives/item/items/item/invite/invitePostResponse.ts b/src/drives/item/items/item/invite/invitePostResponse.ts index 01b6462e42a..c7e72cebba0 100644 --- a/src/drives/item/items/item/invite/invitePostResponse.ts +++ b/src/drives/item/items/item/invite/invitePostResponse.ts @@ -23,7 +23,7 @@ export interface InvitePostResponse extends BaseCollectionPaginationCountRespons } export function serializeInvitePostResponse(writer: SerializationWriter, invitePostResponse: InvitePostResponse | undefined = {} as InvitePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, invitePostResponse) - writer.writeCollectionOfObjectValues("value", invitePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", invitePostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/invite/inviteRequestBuilder.ts b/src/drives/item/items/item/invite/inviteRequestBuilder.ts index 4c82fa3fc64..e17e25f31a5 100644 --- a/src/drives/item/items/item/invite/inviteRequestBuilder.ts +++ b/src/drives/item/items/item/invite/inviteRequestBuilder.ts @@ -62,7 +62,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInvitePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/drives/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index be29a47a054..b5e7d8e6791 100644 --- a/src/drives/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/drives/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 853137f6e82..e8dc8bdea00 100644 --- a/src/drives/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 0d49801c70d..3aa45304b0c 100644 --- a/src/drives/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/listItem/listItemRequestBuilder.ts b/src/drives/item/items/item/listItem/listItemRequestBuilder.ts index 1df38248cf9..c1b573b5774 100644 --- a/src/drives/item/items/item/listItem/listItemRequestBuilder.ts +++ b/src/drives/item/items/item/listItem/listItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/permanentDelete/permanentDeleteRequestBuilder.ts b/src/drives/item/items/item/permanentDelete/permanentDeleteRequestBuilder.ts index e01fa7f436c..3a8a32565cc 100644 --- a/src/drives/item/items/item/permanentDelete/permanentDeleteRequestBuilder.ts +++ b/src/drives/item/items/item/permanentDelete/permanentDeleteRequestBuilder.ts @@ -55,7 +55,7 @@ export class PermanentDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts b/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts index 294e5820bc9..a3cf499ea54 100644 --- a/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts +++ b/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts @@ -29,7 +29,7 @@ export interface GrantPostRequestBody extends AdditionalDataHolder, Parsable { roles?: string[]; } export function serializeGrantPostRequestBody(writer: SerializationWriter, grantPostRequestBody: GrantPostRequestBody | undefined = {} as GrantPostRequestBody) : void { - writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, serializeDriveRecipient); writer.writeCollectionOfPrimitiveValues("roles", grantPostRequestBody.roles); writer.writeAdditionalData(grantPostRequestBody.additionalData); } diff --git a/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts b/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts index fecbe0ca127..11a7b671f75 100644 --- a/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts +++ b/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts @@ -23,7 +23,7 @@ export interface GrantPostResponse extends BaseCollectionPaginationCountResponse } export function serializeGrantPostResponse(writer: SerializationWriter, grantPostResponse: GrantPostResponse | undefined = {} as GrantPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, grantPostResponse) - writer.writeCollectionOfObjectValues("value", grantPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", grantPostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/permissions/item/grant/grantRequestBuilder.ts b/src/drives/item/items/item/permissions/item/grant/grantRequestBuilder.ts index cef8b0433b2..5b13ccab0ff 100644 --- a/src/drives/item/items/item/permissions/item/grant/grantRequestBuilder.ts +++ b/src/drives/item/items/item/permissions/item/grant/grantRequestBuilder.ts @@ -62,7 +62,7 @@ export class GrantRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGrantPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/permissions/item/permissionItemRequestBuilder.ts b/src/drives/item/items/item/permissions/item/permissionItemRequestBuilder.ts index 8dd0ecae3cd..7af77ab4602 100644 --- a/src/drives/item/items/item/permissions/item/permissionItemRequestBuilder.ts +++ b/src/drives/item/items/item/permissions/item/permissionItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermission); return requestInfo; }; diff --git a/src/drives/item/items/item/permissions/permissionsRequestBuilder.ts b/src/drives/item/items/item/permissions/permissionsRequestBuilder.ts index e1b79f21f98..5ae4c5cc633 100644 --- a/src/drives/item/items/item/permissions/permissionsRequestBuilder.ts +++ b/src/drives/item/items/item/permissions/permissionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermission); return requestInfo; }; diff --git a/src/drives/item/items/item/preview/previewRequestBuilder.ts b/src/drives/item/items/item/preview/previewRequestBuilder.ts index 113a0841826..b05dcabc520 100644 --- a/src/drives/item/items/item/preview/previewRequestBuilder.ts +++ b/src/drives/item/items/item/preview/previewRequestBuilder.ts @@ -61,7 +61,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePreviewPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/restore/restorePostRequestBody.ts b/src/drives/item/items/item/restore/restorePostRequestBody.ts index c15d4ca632f..3d401966f38 100644 --- a/src/drives/item/items/item/restore/restorePostRequestBody.ts +++ b/src/drives/item/items/item/restore/restorePostRequestBody.ts @@ -30,7 +30,7 @@ export interface RestorePostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeRestorePostRequestBody(writer: SerializationWriter, restorePostRequestBody: RestorePostRequestBody | undefined = {} as RestorePostRequestBody) : void { writer.writeStringValue("name", restorePostRequestBody.name); - writer.writeObjectValue("parentReference", restorePostRequestBody.parentReference, ); + writer.writeObjectValue("parentReference", restorePostRequestBody.parentReference, serializeItemReference); writer.writeAdditionalData(restorePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/restore/restoreRequestBuilder.ts b/src/drives/item/items/item/restore/restoreRequestBuilder.ts index 6c31c97d683..79b6f0c2be5 100644 --- a/src/drives/item/items/item/restore/restoreRequestBuilder.ts +++ b/src/drives/item/items/item/restore/restoreRequestBuilder.ts @@ -62,7 +62,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRestorePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/retentionLabel/index.ts b/src/drives/item/items/item/retentionLabel/index.ts new file mode 100644 index 00000000000..e5285da1193 --- /dev/null +++ b/src/drives/item/items/item/retentionLabel/index.ts @@ -0,0 +1 @@ +export * from './retentionLabelRequestBuilder' diff --git a/src/drives/item/items/item/retentionLabel/retentionLabelRequestBuilder.ts b/src/drives/item/items/item/retentionLabel/retentionLabelRequestBuilder.ts new file mode 100644 index 00000000000..cc817dfc44a --- /dev/null +++ b/src/drives/item/items/item/retentionLabel/retentionLabelRequestBuilder.ts @@ -0,0 +1,178 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createItemRetentionLabelFromDiscriminatorValue, deserializeIntoItemRetentionLabel, serializeItemRetentionLabel, type ItemRetentionLabel } from '../../../../../models/itemRetentionLabel'; +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface RetentionLabelRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface RetentionLabelRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface RetentionLabelRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: RetentionLabelRequestBuilderGetQueryParameters; +} +export interface RetentionLabelRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. + */ +export class RetentionLabelRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new RetentionLabelRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/retentionLabel{?%24select,%24expand}"); + }; + /** + * Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @see {@link https://learn.microsoft.com/graph/api/driveitem-removeretentionlabel?view=graph-rest-1.0|Find more info here} + */ + public delete(requestConfiguration?: RetentionLabelRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Information about retention label and settings enforced on the driveItem. Read-write. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of ItemRetentionLabel + */ + public get(requestConfiguration?: RetentionLabelRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createItemRetentionLabelFromDiscriminatorValue, errorMapping); + }; + /** + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of ItemRetentionLabel + * @see {@link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0|Find more info here} + */ + public patch(body: ItemRetentionLabel, requestConfiguration?: RetentionLabelRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createItemRetentionLabelFromDiscriminatorValue, errorMapping); + }; + /** + * Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: RetentionLabelRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Information about retention label and settings enforced on the driveItem. Read-write. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: RetentionLabelRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: ItemRetentionLabel, requestConfiguration?: RetentionLabelRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemRetentionLabel); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a retentionLabelRequestBuilder + */ + public withUrl(rawUrl: string) : RetentionLabelRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new RetentionLabelRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts b/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts index b5f116fc20d..376e9a12b85 100644 --- a/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts +++ b/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts @@ -23,7 +23,7 @@ export interface SearchWithQGetResponse extends BaseCollectionPaginationCountRes } export function serializeSearchWithQGetResponse(writer: SerializationWriter, searchWithQGetResponse: SearchWithQGetResponse | undefined = {} as SearchWithQGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, searchWithQGetResponse) - writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/searchWithQ/searchWithQRequestBuilder.ts b/src/drives/item/items/item/searchWithQ/searchWithQRequestBuilder.ts index f25b5999432..ce7e14f4e50 100644 --- a/src/drives/item/items/item/searchWithQ/searchWithQRequestBuilder.ts +++ b/src/drives/item/items/item/searchWithQ/searchWithQRequestBuilder.ts @@ -95,7 +95,7 @@ export class SearchWithQRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts b/src/drives/item/items/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts index 8c96337979a..f2f832e60f7 100644 --- a/src/drives/item/items/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts +++ b/src/drives/item/items/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReauthorizeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/subscriptions/item/subscriptionItemRequestBuilder.ts b/src/drives/item/items/item/subscriptions/item/subscriptionItemRequestBuilder.ts index 68fe0f72114..425cba3eb06 100644 --- a/src/drives/item/items/item/subscriptions/item/subscriptionItemRequestBuilder.ts +++ b/src/drives/item/items/item/subscriptions/item/subscriptionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/drives/item/items/item/subscriptions/subscriptionsRequestBuilder.ts b/src/drives/item/items/item/subscriptions/subscriptionsRequestBuilder.ts index 5fb53d0d810..e101ee922f9 100644 --- a/src/drives/item/items/item/subscriptions/subscriptionsRequestBuilder.ts +++ b/src/drives/item/items/item/subscriptions/subscriptionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/drives/item/items/item/thumbnails/item/thumbnailSetItemRequestBuilder.ts b/src/drives/item/items/item/thumbnails/item/thumbnailSetItemRequestBuilder.ts index 190d65a23c5..90b44985378 100644 --- a/src/drives/item/items/item/thumbnails/item/thumbnailSetItemRequestBuilder.ts +++ b/src/drives/item/items/item/thumbnails/item/thumbnailSetItemRequestBuilder.ts @@ -77,7 +77,7 @@ export class ThumbnailSetItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ThumbnailSet */ @@ -121,11 +121,11 @@ export class ThumbnailSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -139,7 +139,7 @@ export class ThumbnailSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ThumbnailSetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThumbnailSet); return requestInfo; }; diff --git a/src/drives/item/items/item/thumbnails/thumbnailsRequestBuilder.ts b/src/drives/item/items/item/thumbnails/thumbnailsRequestBuilder.ts index fbd470c6891..418c5c36012 100644 --- a/src/drives/item/items/item/thumbnails/thumbnailsRequestBuilder.ts +++ b/src/drives/item/items/item/thumbnails/thumbnailsRequestBuilder.ts @@ -144,7 +144,7 @@ export class ThumbnailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ThumbnailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThumbnailSet); return requestInfo; }; diff --git a/src/drives/item/items/item/unfollow/unfollowRequestBuilder.ts b/src/drives/item/items/item/unfollow/unfollowRequestBuilder.ts index b1778f6315a..32ba527c67f 100644 --- a/src/drives/item/items/item/unfollow/unfollowRequestBuilder.ts +++ b/src/drives/item/items/item/unfollow/unfollowRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnfollowRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/validatePermission/validatePermissionRequestBuilder.ts b/src/drives/item/items/item/validatePermission/validatePermissionRequestBuilder.ts index 01cb178d825..dc1f928bfef 100644 --- a/src/drives/item/items/item/validatePermission/validatePermissionRequestBuilder.ts +++ b/src/drives/item/items/item/validatePermission/validatePermissionRequestBuilder.ts @@ -59,7 +59,7 @@ export class ValidatePermissionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePermissionPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/versions/item/content/contentRequestBuilder.ts b/src/drives/item/items/item/versions/item/content/contentRequestBuilder.ts index 414239a9c22..4019add80f8 100644 --- a/src/drives/item/items/item/versions/item/content/contentRequestBuilder.ts +++ b/src/drives/item/items/item/versions/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/items/item/versions/item/driveItemVersionItemRequestBuilder.ts b/src/drives/item/items/item/versions/item/driveItemVersionItemRequestBuilder.ts index 928a9bdc111..61136dacc4e 100644 --- a/src/drives/item/items/item/versions/item/driveItemVersionItemRequestBuilder.ts +++ b/src/drives/item/items/item/versions/item/driveItemVersionItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class DriveItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class DriveItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class DriveItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItemVersion); return requestInfo; }; diff --git a/src/drives/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts b/src/drives/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts index 83992d9a374..342f581fdf9 100644 --- a/src/drives/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts +++ b/src/drives/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts @@ -56,7 +56,7 @@ export class RestoreVersionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/versions/versionsRequestBuilder.ts b/src/drives/item/items/item/versions/versionsRequestBuilder.ts index d78d247b099..94af0d7a478 100644 --- a/src/drives/item/items/item/versions/versionsRequestBuilder.ts +++ b/src/drives/item/items/item/versions/versionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItemVersion); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/application/applicationRequestBuilder.ts b/src/drives/item/items/item/workbook/application/applicationRequestBuilder.ts index b923e256151..c21b2188574 100644 --- a/src/drives/item/items/item/workbook/application/applicationRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/application/applicationRequestBuilder.ts @@ -129,7 +129,7 @@ export class ApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookApplication); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/application/calculate/calculateRequestBuilder.ts b/src/drives/item/items/item/workbook/application/calculate/calculateRequestBuilder.ts index 10aeb211b4c..9d7024f9234 100644 --- a/src/drives/item/items/item/workbook/application/calculate/calculateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/application/calculate/calculateRequestBuilder.ts @@ -60,7 +60,7 @@ export class CalculateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalculatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/closeSession/closeSessionRequestBuilder.ts b/src/drives/item/items/item/workbook/closeSession/closeSessionRequestBuilder.ts index c07d7683891..d74d481c2af 100644 --- a/src/drives/item/items/item/workbook/closeSession/closeSessionRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/closeSession/closeSessionRequestBuilder.ts @@ -56,7 +56,7 @@ export class CloseSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/comments/commentsRequestBuilder.ts b/src/drives/item/items/item/workbook/comments/commentsRequestBuilder.ts index 95de493ca97..4aeaf05e884 100644 --- a/src/drives/item/items/item/workbook/comments/commentsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/comments/commentsRequestBuilder.ts @@ -143,7 +143,7 @@ export class CommentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class CommentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookComment); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/comments/item/replies/item/workbookCommentReplyItemRequestBuilder.ts b/src/drives/item/items/item/workbook/comments/item/replies/item/workbookCommentReplyItemRequestBuilder.ts index 102b50e886e..9b1fb74e680 100644 --- a/src/drives/item/items/item/workbook/comments/item/replies/item/workbookCommentReplyItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/comments/item/replies/item/workbookCommentReplyItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class WorkbookCommentReplyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class WorkbookCommentReplyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class WorkbookCommentReplyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookCommentReply); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/comments/item/replies/repliesRequestBuilder.ts b/src/drives/item/items/item/workbook/comments/item/replies/repliesRequestBuilder.ts index 5cbac44a7f9..73a8cdcc2d6 100644 --- a/src/drives/item/items/item/workbook/comments/item/replies/repliesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/comments/item/replies/repliesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookCommentReply); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/comments/item/workbookCommentItemRequestBuilder.ts b/src/drives/item/items/item/workbook/comments/item/workbookCommentItemRequestBuilder.ts index 3dff5c2af8e..835d7787272 100644 --- a/src/drives/item/items/item/workbook/comments/item/workbookCommentItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/comments/item/workbookCommentItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class WorkbookCommentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class WorkbookCommentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class WorkbookCommentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookComment); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/createSession/createSessionRequestBuilder.ts b/src/drives/item/items/item/workbook/createSession/createSessionRequestBuilder.ts index 18c300f91ec..705900f5b52 100644 --- a/src/drives/item/items/item/workbook/createSession/createSessionRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/createSession/createSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateSessionPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts index 7adb17fe322..649a4c15157 100644 --- a/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAbsPostRequestBody(absPostRequestBody: AbsPostReq } } export function serializeAbsPostRequestBody(writer: SerializationWriter, absPostRequestBody: AbsPostRequestBody | undefined = {} as AbsPostRequestBody) : void { - writer.writeObjectValue("number", absPostRequestBody.number, ); + writer.writeObjectValue("number", absPostRequestBody.number, serializeJson); writer.writeAdditionalData(absPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/abs/absRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/abs/absRequestBuilder.ts index 13b6b74a7b9..4e9dde495d5 100644 --- a/src/drives/item/items/item/workbook/functions/abs/absRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/abs/absRequestBuilder.ts @@ -61,7 +61,7 @@ export class AbsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAbsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts index 285f687ad23..9b4b1bf9933 100644 --- a/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts @@ -59,14 +59,14 @@ export function deserializeIntoAccrIntPostRequestBody(accrIntPostRequestBody: Ac } } export function serializeAccrIntPostRequestBody(writer: SerializationWriter, accrIntPostRequestBody: AccrIntPostRequestBody | undefined = {} as AccrIntPostRequestBody) : void { - writer.writeObjectValue("basis", accrIntPostRequestBody.basis, ); - writer.writeObjectValue("calcMethod", accrIntPostRequestBody.calcMethod, ); - writer.writeObjectValue("firstInterest", accrIntPostRequestBody.firstInterest, ); - writer.writeObjectValue("frequency", accrIntPostRequestBody.frequency, ); - writer.writeObjectValue("issue", accrIntPostRequestBody.issue, ); - writer.writeObjectValue("par", accrIntPostRequestBody.par, ); - writer.writeObjectValue("rate", accrIntPostRequestBody.rate, ); - writer.writeObjectValue("settlement", accrIntPostRequestBody.settlement, ); + writer.writeObjectValue("basis", accrIntPostRequestBody.basis, serializeJson); + writer.writeObjectValue("calcMethod", accrIntPostRequestBody.calcMethod, serializeJson); + writer.writeObjectValue("firstInterest", accrIntPostRequestBody.firstInterest, serializeJson); + writer.writeObjectValue("frequency", accrIntPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", accrIntPostRequestBody.issue, serializeJson); + writer.writeObjectValue("par", accrIntPostRequestBody.par, serializeJson); + writer.writeObjectValue("rate", accrIntPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", accrIntPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(accrIntPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/accrInt/accrIntRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/accrInt/accrIntRequestBuilder.ts index 7c2988a7fac..75bf128516b 100644 --- a/src/drives/item/items/item/workbook/functions/accrInt/accrIntRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/accrInt/accrIntRequestBuilder.ts @@ -61,7 +61,7 @@ export class AccrIntRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccrIntPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts index d1d133775f4..55b7080d618 100644 --- a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoAccrIntMPostRequestBody(accrIntMPostRequestBody: } } export function serializeAccrIntMPostRequestBody(writer: SerializationWriter, accrIntMPostRequestBody: AccrIntMPostRequestBody | undefined = {} as AccrIntMPostRequestBody) : void { - writer.writeObjectValue("basis", accrIntMPostRequestBody.basis, ); - writer.writeObjectValue("issue", accrIntMPostRequestBody.issue, ); - writer.writeObjectValue("par", accrIntMPostRequestBody.par, ); - writer.writeObjectValue("rate", accrIntMPostRequestBody.rate, ); - writer.writeObjectValue("settlement", accrIntMPostRequestBody.settlement, ); + writer.writeObjectValue("basis", accrIntMPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", accrIntMPostRequestBody.issue, serializeJson); + writer.writeObjectValue("par", accrIntMPostRequestBody.par, serializeJson); + writer.writeObjectValue("rate", accrIntMPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", accrIntMPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(accrIntMPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMRequestBuilder.ts index 2a7cc0dd7a4..f13bc87007a 100644 --- a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMRequestBuilder.ts @@ -61,7 +61,7 @@ export class AccrIntMRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccrIntMPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts index dfb34154692..ec7368f46a8 100644 --- a/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcosPostRequestBody(acosPostRequestBody: AcosPost } } export function serializeAcosPostRequestBody(writer: SerializationWriter, acosPostRequestBody: AcosPostRequestBody | undefined = {} as AcosPostRequestBody) : void { - writer.writeObjectValue("number", acosPostRequestBody.number, ); + writer.writeObjectValue("number", acosPostRequestBody.number, serializeJson); writer.writeAdditionalData(acosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acos/acosRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/acos/acosRequestBuilder.ts index c351a3fe22e..c528fafe865 100644 --- a/src/drives/item/items/item/workbook/functions/acos/acosRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/acos/acosRequestBuilder.ts @@ -61,7 +61,7 @@ export class AcosRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcosPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts index 3ddfa590878..801715f70c8 100644 --- a/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcoshPostRequestBody(acoshPostRequestBody: AcoshP } } export function serializeAcoshPostRequestBody(writer: SerializationWriter, acoshPostRequestBody: AcoshPostRequestBody | undefined = {} as AcoshPostRequestBody) : void { - writer.writeObjectValue("number", acoshPostRequestBody.number, ); + writer.writeObjectValue("number", acoshPostRequestBody.number, serializeJson); writer.writeAdditionalData(acoshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acosh/acoshRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/acosh/acoshRequestBuilder.ts index dcdf8971d85..3cffcb5d371 100644 --- a/src/drives/item/items/item/workbook/functions/acosh/acoshRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/acosh/acoshRequestBuilder.ts @@ -61,7 +61,7 @@ export class AcoshRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcoshPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts index ece34ba599a..c3ed7998ebd 100644 --- a/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcotPostRequestBody(acotPostRequestBody: AcotPost } } export function serializeAcotPostRequestBody(writer: SerializationWriter, acotPostRequestBody: AcotPostRequestBody | undefined = {} as AcotPostRequestBody) : void { - writer.writeObjectValue("number", acotPostRequestBody.number, ); + writer.writeObjectValue("number", acotPostRequestBody.number, serializeJson); writer.writeAdditionalData(acotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acot/acotRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/acot/acotRequestBuilder.ts index b67ba9ad016..21d95d2c745 100644 --- a/src/drives/item/items/item/workbook/functions/acot/acotRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/acot/acotRequestBuilder.ts @@ -61,7 +61,7 @@ export class AcotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcotPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts index 00c88aa3ebf..a4b2ae9b6e7 100644 --- a/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcothPostRequestBody(acothPostRequestBody: AcothP } } export function serializeAcothPostRequestBody(writer: SerializationWriter, acothPostRequestBody: AcothPostRequestBody | undefined = {} as AcothPostRequestBody) : void { - writer.writeObjectValue("number", acothPostRequestBody.number, ); + writer.writeObjectValue("number", acothPostRequestBody.number, serializeJson); writer.writeAdditionalData(acothPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acoth/acothRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/acoth/acothRequestBuilder.ts index bc04366bde2..4e49a9b4fa9 100644 --- a/src/drives/item/items/item/workbook/functions/acoth/acothRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/acoth/acothRequestBuilder.ts @@ -61,7 +61,7 @@ export class AcothRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcothPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts index 499e0625256..cf521cde717 100644 --- a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts @@ -54,13 +54,13 @@ export function deserializeIntoAmorDegrcPostRequestBody(amorDegrcPostRequestBody } } export function serializeAmorDegrcPostRequestBody(writer: SerializationWriter, amorDegrcPostRequestBody: AmorDegrcPostRequestBody | undefined = {} as AmorDegrcPostRequestBody) : void { - writer.writeObjectValue("basis", amorDegrcPostRequestBody.basis, ); - writer.writeObjectValue("cost", amorDegrcPostRequestBody.cost, ); - writer.writeObjectValue("datePurchased", amorDegrcPostRequestBody.datePurchased, ); - writer.writeObjectValue("firstPeriod", amorDegrcPostRequestBody.firstPeriod, ); - writer.writeObjectValue("period", amorDegrcPostRequestBody.period, ); - writer.writeObjectValue("rate", amorDegrcPostRequestBody.rate, ); - writer.writeObjectValue("salvage", amorDegrcPostRequestBody.salvage, ); + writer.writeObjectValue("basis", amorDegrcPostRequestBody.basis, serializeJson); + writer.writeObjectValue("cost", amorDegrcPostRequestBody.cost, serializeJson); + writer.writeObjectValue("datePurchased", amorDegrcPostRequestBody.datePurchased, serializeJson); + writer.writeObjectValue("firstPeriod", amorDegrcPostRequestBody.firstPeriod, serializeJson); + writer.writeObjectValue("period", amorDegrcPostRequestBody.period, serializeJson); + writer.writeObjectValue("rate", amorDegrcPostRequestBody.rate, serializeJson); + writer.writeObjectValue("salvage", amorDegrcPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(amorDegrcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcRequestBuilder.ts index fe8d911fe47..14fd1a069b1 100644 --- a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcRequestBuilder.ts @@ -61,7 +61,7 @@ export class AmorDegrcRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAmorDegrcPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts index 629fdb5fa11..8daba764b8c 100644 --- a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts @@ -54,13 +54,13 @@ export function deserializeIntoAmorLincPostRequestBody(amorLincPostRequestBody: } } export function serializeAmorLincPostRequestBody(writer: SerializationWriter, amorLincPostRequestBody: AmorLincPostRequestBody | undefined = {} as AmorLincPostRequestBody) : void { - writer.writeObjectValue("basis", amorLincPostRequestBody.basis, ); - writer.writeObjectValue("cost", amorLincPostRequestBody.cost, ); - writer.writeObjectValue("datePurchased", amorLincPostRequestBody.datePurchased, ); - writer.writeObjectValue("firstPeriod", amorLincPostRequestBody.firstPeriod, ); - writer.writeObjectValue("period", amorLincPostRequestBody.period, ); - writer.writeObjectValue("rate", amorLincPostRequestBody.rate, ); - writer.writeObjectValue("salvage", amorLincPostRequestBody.salvage, ); + writer.writeObjectValue("basis", amorLincPostRequestBody.basis, serializeJson); + writer.writeObjectValue("cost", amorLincPostRequestBody.cost, serializeJson); + writer.writeObjectValue("datePurchased", amorLincPostRequestBody.datePurchased, serializeJson); + writer.writeObjectValue("firstPeriod", amorLincPostRequestBody.firstPeriod, serializeJson); + writer.writeObjectValue("period", amorLincPostRequestBody.period, serializeJson); + writer.writeObjectValue("rate", amorLincPostRequestBody.rate, serializeJson); + writer.writeObjectValue("salvage", amorLincPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(amorLincPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincRequestBuilder.ts index e232295b07e..3a5c606e07a 100644 --- a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincRequestBuilder.ts @@ -61,7 +61,7 @@ export class AmorLincRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAmorLincPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts index de1a6767bed..01a26ca8552 100644 --- a/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAndPostRequestBody(andPostRequestBody: AndPostReq } } export function serializeAndPostRequestBody(writer: SerializationWriter, andPostRequestBody: AndPostRequestBody | undefined = {} as AndPostRequestBody) : void { - writer.writeObjectValue("values", andPostRequestBody.values, ); + writer.writeObjectValue("values", andPostRequestBody.values, serializeJson); writer.writeAdditionalData(andPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/and/andRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/and/andRequestBuilder.ts index 864cb78bcf5..8f72e7d3f17 100644 --- a/src/drives/item/items/item/workbook/functions/and/andRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/and/andRequestBuilder.ts @@ -61,7 +61,7 @@ export class AndRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAndPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts index 94a0bc6da71..c0b4413d350 100644 --- a/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoArabicPostRequestBody(arabicPostRequestBody: Arab } } export function serializeArabicPostRequestBody(writer: SerializationWriter, arabicPostRequestBody: ArabicPostRequestBody | undefined = {} as ArabicPostRequestBody) : void { - writer.writeObjectValue("text", arabicPostRequestBody.text, ); + writer.writeObjectValue("text", arabicPostRequestBody.text, serializeJson); writer.writeAdditionalData(arabicPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/arabic/arabicRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/arabic/arabicRequestBuilder.ts index 5331780415f..dc93c4d81f0 100644 --- a/src/drives/item/items/item/workbook/functions/arabic/arabicRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/arabic/arabicRequestBuilder.ts @@ -61,7 +61,7 @@ export class ArabicRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeArabicPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts index 37bd3920802..452e6c62725 100644 --- a/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAreasPostRequestBody(areasPostRequestBody: AreasP } } export function serializeAreasPostRequestBody(writer: SerializationWriter, areasPostRequestBody: AreasPostRequestBody | undefined = {} as AreasPostRequestBody) : void { - writer.writeObjectValue("reference", areasPostRequestBody.reference, ); + writer.writeObjectValue("reference", areasPostRequestBody.reference, serializeJson); writer.writeAdditionalData(areasPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/areas/areasRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/areas/areasRequestBuilder.ts index b83103f8854..77f99899526 100644 --- a/src/drives/item/items/item/workbook/functions/areas/areasRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/areas/areasRequestBuilder.ts @@ -61,7 +61,7 @@ export class AreasRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAreasPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts index 881a7e3470a..48d0dd1991b 100644 --- a/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAscPostRequestBody(ascPostRequestBody: AscPostReq } } export function serializeAscPostRequestBody(writer: SerializationWriter, ascPostRequestBody: AscPostRequestBody | undefined = {} as AscPostRequestBody) : void { - writer.writeObjectValue("text", ascPostRequestBody.text, ); + writer.writeObjectValue("text", ascPostRequestBody.text, serializeJson); writer.writeAdditionalData(ascPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asc/ascRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/asc/ascRequestBuilder.ts index c790fb6e4bc..16c2b863ae6 100644 --- a/src/drives/item/items/item/workbook/functions/asc/ascRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/asc/ascRequestBuilder.ts @@ -61,7 +61,7 @@ export class AscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts index a89d689acc1..613220f223f 100644 --- a/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAsinPostRequestBody(asinPostRequestBody: AsinPost } } export function serializeAsinPostRequestBody(writer: SerializationWriter, asinPostRequestBody: AsinPostRequestBody | undefined = {} as AsinPostRequestBody) : void { - writer.writeObjectValue("number", asinPostRequestBody.number, ); + writer.writeObjectValue("number", asinPostRequestBody.number, serializeJson); writer.writeAdditionalData(asinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asin/asinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/asin/asinRequestBuilder.ts index 65b49315808..5c1de7bd878 100644 --- a/src/drives/item/items/item/workbook/functions/asin/asinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/asin/asinRequestBuilder.ts @@ -61,7 +61,7 @@ export class AsinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAsinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts index e72a5f0b46d..ae8495422f0 100644 --- a/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAsinhPostRequestBody(asinhPostRequestBody: AsinhP } } export function serializeAsinhPostRequestBody(writer: SerializationWriter, asinhPostRequestBody: AsinhPostRequestBody | undefined = {} as AsinhPostRequestBody) : void { - writer.writeObjectValue("number", asinhPostRequestBody.number, ); + writer.writeObjectValue("number", asinhPostRequestBody.number, serializeJson); writer.writeAdditionalData(asinhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asinh/asinhRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/asinh/asinhRequestBuilder.ts index f5bd93d4f6a..823a875d5c2 100644 --- a/src/drives/item/items/item/workbook/functions/asinh/asinhRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/asinh/asinhRequestBuilder.ts @@ -61,7 +61,7 @@ export class AsinhRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAsinhPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts index b2a496428bd..10acc49a753 100644 --- a/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAtanPostRequestBody(atanPostRequestBody: AtanPost } } export function serializeAtanPostRequestBody(writer: SerializationWriter, atanPostRequestBody: AtanPostRequestBody | undefined = {} as AtanPostRequestBody) : void { - writer.writeObjectValue("number", atanPostRequestBody.number, ); + writer.writeObjectValue("number", atanPostRequestBody.number, serializeJson); writer.writeAdditionalData(atanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atan/atanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/atan/atanRequestBuilder.ts index 7c47e02395e..69d97342ba0 100644 --- a/src/drives/item/items/item/workbook/functions/atan/atanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/atan/atanRequestBuilder.ts @@ -61,7 +61,7 @@ export class AtanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAtanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts index d05f854c49c..02a6a7fd8cd 100644 --- a/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoAtan2PostRequestBody(atan2PostRequestBody: Atan2P } } export function serializeAtan2PostRequestBody(writer: SerializationWriter, atan2PostRequestBody: Atan2PostRequestBody | undefined = {} as Atan2PostRequestBody) : void { - writer.writeObjectValue("xNum", atan2PostRequestBody.xNum, ); - writer.writeObjectValue("yNum", atan2PostRequestBody.yNum, ); + writer.writeObjectValue("xNum", atan2PostRequestBody.xNum, serializeJson); + writer.writeObjectValue("yNum", atan2PostRequestBody.yNum, serializeJson); writer.writeAdditionalData(atan2PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atan2/atan2RequestBuilder.ts b/src/drives/item/items/item/workbook/functions/atan2/atan2RequestBuilder.ts index a1e110b6824..cbcb18f4883 100644 --- a/src/drives/item/items/item/workbook/functions/atan2/atan2RequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/atan2/atan2RequestBuilder.ts @@ -61,7 +61,7 @@ export class Atan2RequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAtan2PostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts index 2e0b1699fd8..e5ef0c53fe9 100644 --- a/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAtanhPostRequestBody(atanhPostRequestBody: AtanhP } } export function serializeAtanhPostRequestBody(writer: SerializationWriter, atanhPostRequestBody: AtanhPostRequestBody | undefined = {} as AtanhPostRequestBody) : void { - writer.writeObjectValue("number", atanhPostRequestBody.number, ); + writer.writeObjectValue("number", atanhPostRequestBody.number, serializeJson); writer.writeAdditionalData(atanhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atanh/atanhRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/atanh/atanhRequestBuilder.ts index 23942f42153..4bbb789652f 100644 --- a/src/drives/item/items/item/workbook/functions/atanh/atanhRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/atanh/atanhRequestBuilder.ts @@ -61,7 +61,7 @@ export class AtanhRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAtanhPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts index 7fd9be3d87d..457153f2009 100644 --- a/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAveDevPostRequestBody(aveDevPostRequestBody: AveD } } export function serializeAveDevPostRequestBody(writer: SerializationWriter, aveDevPostRequestBody: AveDevPostRequestBody | undefined = {} as AveDevPostRequestBody) : void { - writer.writeObjectValue("values", aveDevPostRequestBody.values, ); + writer.writeObjectValue("values", aveDevPostRequestBody.values, serializeJson); writer.writeAdditionalData(aveDevPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/aveDev/aveDevRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/aveDev/aveDevRequestBuilder.ts index 8d725a5f1ab..9dec2595b15 100644 --- a/src/drives/item/items/item/workbook/functions/aveDev/aveDevRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/aveDev/aveDevRequestBuilder.ts @@ -61,7 +61,7 @@ export class AveDevRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAveDevPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts index c2a4aa8d1b4..13171de5ad7 100644 --- a/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAveragePostRequestBody(averagePostRequestBody: Av } } export function serializeAveragePostRequestBody(writer: SerializationWriter, averagePostRequestBody: AveragePostRequestBody | undefined = {} as AveragePostRequestBody) : void { - writer.writeObjectValue("values", averagePostRequestBody.values, ); + writer.writeObjectValue("values", averagePostRequestBody.values, serializeJson); writer.writeAdditionalData(averagePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/average/averageRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/average/averageRequestBuilder.ts index c09d114f7e4..63109006ab3 100644 --- a/src/drives/item/items/item/workbook/functions/average/averageRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/average/averageRequestBuilder.ts @@ -61,7 +61,7 @@ export class AverageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAveragePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts index 469bb6725db..993131a14c6 100644 --- a/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAverageAPostRequestBody(averageAPostRequestBody: } } export function serializeAverageAPostRequestBody(writer: SerializationWriter, averageAPostRequestBody: AverageAPostRequestBody | undefined = {} as AverageAPostRequestBody) : void { - writer.writeObjectValue("values", averageAPostRequestBody.values, ); + writer.writeObjectValue("values", averageAPostRequestBody.values, serializeJson); writer.writeAdditionalData(averageAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageA/averageARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/averageA/averageARequestBuilder.ts index 21c2c183843..a581eed78a7 100644 --- a/src/drives/item/items/item/workbook/functions/averageA/averageARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/averageA/averageARequestBuilder.ts @@ -61,7 +61,7 @@ export class AverageARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAverageAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts index 3b16b49e3ad..aaa117534fb 100644 --- a/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoAverageIfPostRequestBody(averageIfPostRequestBody } } export function serializeAverageIfPostRequestBody(writer: SerializationWriter, averageIfPostRequestBody: AverageIfPostRequestBody | undefined = {} as AverageIfPostRequestBody) : void { - writer.writeObjectValue("averageRange", averageIfPostRequestBody.averageRange, ); - writer.writeObjectValue("criteria", averageIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", averageIfPostRequestBody.range, ); + writer.writeObjectValue("averageRange", averageIfPostRequestBody.averageRange, serializeJson); + writer.writeObjectValue("criteria", averageIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", averageIfPostRequestBody.range, serializeJson); writer.writeAdditionalData(averageIfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageIf/averageIfRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/averageIf/averageIfRequestBuilder.ts index 4ba1ad8be04..950bbf4bae4 100644 --- a/src/drives/item/items/item/workbook/functions/averageIf/averageIfRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/averageIf/averageIfRequestBuilder.ts @@ -61,7 +61,7 @@ export class AverageIfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAverageIfPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts index 6f089958711..c08ce4620f2 100644 --- a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoAverageIfsPostRequestBody(averageIfsPostRequestBo } } export function serializeAverageIfsPostRequestBody(writer: SerializationWriter, averageIfsPostRequestBody: AverageIfsPostRequestBody | undefined = {} as AverageIfsPostRequestBody) : void { - writer.writeObjectValue("averageRange", averageIfsPostRequestBody.averageRange, ); - writer.writeObjectValue("values", averageIfsPostRequestBody.values, ); + writer.writeObjectValue("averageRange", averageIfsPostRequestBody.averageRange, serializeJson); + writer.writeObjectValue("values", averageIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(averageIfsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsRequestBuilder.ts index 09fdad89eea..0b08344016e 100644 --- a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsRequestBuilder.ts @@ -61,7 +61,7 @@ export class AverageIfsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAverageIfsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts index 9ea9132ca7a..ce3fe48de7d 100644 --- a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoBahtTextPostRequestBody(bahtTextPostRequestBody: } } export function serializeBahtTextPostRequestBody(writer: SerializationWriter, bahtTextPostRequestBody: BahtTextPostRequestBody | undefined = {} as BahtTextPostRequestBody) : void { - writer.writeObjectValue("number", bahtTextPostRequestBody.number, ); + writer.writeObjectValue("number", bahtTextPostRequestBody.number, serializeJson); writer.writeAdditionalData(bahtTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextRequestBuilder.ts index a651a23300d..a85e23167ba 100644 --- a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextRequestBuilder.ts @@ -61,7 +61,7 @@ export class BahtTextRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBahtTextPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts index 2a401a4b463..f913de7685c 100644 --- a/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoBasePostRequestBody(basePostRequestBody: BasePost } } export function serializeBasePostRequestBody(writer: SerializationWriter, basePostRequestBody: BasePostRequestBody | undefined = {} as BasePostRequestBody) : void { - writer.writeObjectValue("minLength", basePostRequestBody.minLength, ); - writer.writeObjectValue("number", basePostRequestBody.number, ); - writer.writeObjectValue("radix", basePostRequestBody.radix, ); + writer.writeObjectValue("minLength", basePostRequestBody.minLength, serializeJson); + writer.writeObjectValue("number", basePostRequestBody.number, serializeJson); + writer.writeObjectValue("radix", basePostRequestBody.radix, serializeJson); writer.writeAdditionalData(basePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts b/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts index 637cec1c19f..adc15a96455 100644 --- a/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts +++ b/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts @@ -1,22 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ODataError } from '../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../models/oDataErrors/oDataError'; -import { createWorkbookFunctionResultFromDiscriminatorValue, deserializeIntoWorkbookFunctionResult, serializeWorkbookFunctionResult, type WorkbookFunctionResult } from '../../../../../../../models/workbookFunctionResult'; -import { deserializeIntoBasePostRequestBody, serializeBasePostRequestBody, type BasePostRequestBody } from './basePostRequestBody'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderPostRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; -} /** * Provides operations to call the base method. */ @@ -61,7 +42,7 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBasePostRequestBody); return requestInfo; }; @@ -75,5 +56,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts index 6a2a8d89b31..0c8a2c3d061 100644 --- a/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselIPostRequestBody(besselIPostRequestBody: Be } } export function serializeBesselIPostRequestBody(writer: SerializationWriter, besselIPostRequestBody: BesselIPostRequestBody | undefined = {} as BesselIPostRequestBody) : void { - writer.writeObjectValue("n", besselIPostRequestBody.n, ); - writer.writeObjectValue("x", besselIPostRequestBody.x, ); + writer.writeObjectValue("n", besselIPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselIPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselIPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselI/besselIRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/besselI/besselIRequestBuilder.ts index 9c58bccb192..b8ee34e522c 100644 --- a/src/drives/item/items/item/workbook/functions/besselI/besselIRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/besselI/besselIRequestBuilder.ts @@ -61,7 +61,7 @@ export class BesselIRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBesselIPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts index eb6f3506cc7..f6bd6286ea0 100644 --- a/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselJPostRequestBody(besselJPostRequestBody: Be } } export function serializeBesselJPostRequestBody(writer: SerializationWriter, besselJPostRequestBody: BesselJPostRequestBody | undefined = {} as BesselJPostRequestBody) : void { - writer.writeObjectValue("n", besselJPostRequestBody.n, ); - writer.writeObjectValue("x", besselJPostRequestBody.x, ); + writer.writeObjectValue("n", besselJPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselJPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselJPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselJ/besselJRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/besselJ/besselJRequestBuilder.ts index 046dfafa996..30992c4a951 100644 --- a/src/drives/item/items/item/workbook/functions/besselJ/besselJRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/besselJ/besselJRequestBuilder.ts @@ -61,7 +61,7 @@ export class BesselJRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBesselJPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts index e32e24c25c3..77cc8c13712 100644 --- a/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselKPostRequestBody(besselKPostRequestBody: Be } } export function serializeBesselKPostRequestBody(writer: SerializationWriter, besselKPostRequestBody: BesselKPostRequestBody | undefined = {} as BesselKPostRequestBody) : void { - writer.writeObjectValue("n", besselKPostRequestBody.n, ); - writer.writeObjectValue("x", besselKPostRequestBody.x, ); + writer.writeObjectValue("n", besselKPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselKPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselKPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselK/besselKRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/besselK/besselKRequestBuilder.ts index b2ed2b8ca3b..093e359340b 100644 --- a/src/drives/item/items/item/workbook/functions/besselK/besselKRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/besselK/besselKRequestBuilder.ts @@ -61,7 +61,7 @@ export class BesselKRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBesselKPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts index 14985e2bf58..dfa437d8f50 100644 --- a/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselYPostRequestBody(besselYPostRequestBody: Be } } export function serializeBesselYPostRequestBody(writer: SerializationWriter, besselYPostRequestBody: BesselYPostRequestBody | undefined = {} as BesselYPostRequestBody) : void { - writer.writeObjectValue("n", besselYPostRequestBody.n, ); - writer.writeObjectValue("x", besselYPostRequestBody.x, ); + writer.writeObjectValue("n", besselYPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselYPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselYPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselY/besselYRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/besselY/besselYRequestBuilder.ts index 8032fb7aa21..733db643ba9 100644 --- a/src/drives/item/items/item/workbook/functions/besselY/besselYRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/besselY/besselYRequestBuilder.ts @@ -61,7 +61,7 @@ export class BesselYRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBesselYPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts index f69bc522e96..82abbe33fe1 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoBeta_DistPostRequestBody(beta_DistPostRequestBody } } export function serializeBeta_DistPostRequestBody(writer: SerializationWriter, beta_DistPostRequestBody: Beta_DistPostRequestBody | undefined = {} as Beta_DistPostRequestBody) : void { - writer.writeObjectValue("A", beta_DistPostRequestBody.a, ); - writer.writeObjectValue("alpha", beta_DistPostRequestBody.alpha, ); - writer.writeObjectValue("B", beta_DistPostRequestBody.b, ); - writer.writeObjectValue("beta", beta_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", beta_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", beta_DistPostRequestBody.x, ); + writer.writeObjectValue("A", beta_DistPostRequestBody.a, serializeJson); + writer.writeObjectValue("alpha", beta_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("B", beta_DistPostRequestBody.b, serializeJson); + writer.writeObjectValue("beta", beta_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", beta_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", beta_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(beta_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistRequestBuilder.ts index 2b49a4a3bd6..3a75d3d58e0 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Beta_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBeta_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts index 4b26b636c40..e0bf6d0693e 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoBeta_InvPostRequestBody(beta_InvPostRequestBody: } } export function serializeBeta_InvPostRequestBody(writer: SerializationWriter, beta_InvPostRequestBody: Beta_InvPostRequestBody | undefined = {} as Beta_InvPostRequestBody) : void { - writer.writeObjectValue("A", beta_InvPostRequestBody.a, ); - writer.writeObjectValue("alpha", beta_InvPostRequestBody.alpha, ); - writer.writeObjectValue("B", beta_InvPostRequestBody.b, ); - writer.writeObjectValue("beta", beta_InvPostRequestBody.beta, ); - writer.writeObjectValue("probability", beta_InvPostRequestBody.probability, ); + writer.writeObjectValue("A", beta_InvPostRequestBody.a, serializeJson); + writer.writeObjectValue("alpha", beta_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("B", beta_InvPostRequestBody.b, serializeJson); + writer.writeObjectValue("beta", beta_InvPostRequestBody.beta, serializeJson); + writer.writeObjectValue("probability", beta_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(beta_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvRequestBuilder.ts index cc90c4e473e..2ad3e6a805c 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class Beta_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBeta_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts index 2cf276dc774..42f4318bf53 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoBin2DecPostRequestBody(bin2DecPostRequestBody: Bi } } export function serializeBin2DecPostRequestBody(writer: SerializationWriter, bin2DecPostRequestBody: Bin2DecPostRequestBody | undefined = {} as Bin2DecPostRequestBody) : void { - writer.writeObjectValue("number", bin2DecPostRequestBody.number, ); + writer.writeObjectValue("number", bin2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(bin2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecRequestBuilder.ts index 99e989747fa..3a05653c9d2 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecRequestBuilder.ts @@ -61,7 +61,7 @@ export class Bin2DecRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBin2DecPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts index bb840673f1a..51abebe005f 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBin2HexPostRequestBody(bin2HexPostRequestBody: Bi } } export function serializeBin2HexPostRequestBody(writer: SerializationWriter, bin2HexPostRequestBody: Bin2HexPostRequestBody | undefined = {} as Bin2HexPostRequestBody) : void { - writer.writeObjectValue("number", bin2HexPostRequestBody.number, ); - writer.writeObjectValue("places", bin2HexPostRequestBody.places, ); + writer.writeObjectValue("number", bin2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", bin2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(bin2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexRequestBuilder.ts index 8cf53dadd88..ab0b31e84f2 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexRequestBuilder.ts @@ -61,7 +61,7 @@ export class Bin2HexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBin2HexPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts index 5e532a36c37..f0ffbf53c4d 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBin2OctPostRequestBody(bin2OctPostRequestBody: Bi } } export function serializeBin2OctPostRequestBody(writer: SerializationWriter, bin2OctPostRequestBody: Bin2OctPostRequestBody | undefined = {} as Bin2OctPostRequestBody) : void { - writer.writeObjectValue("number", bin2OctPostRequestBody.number, ); - writer.writeObjectValue("places", bin2OctPostRequestBody.places, ); + writer.writeObjectValue("number", bin2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", bin2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(bin2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctRequestBuilder.ts index 90fc3e58478..b21d07ed13d 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctRequestBuilder.ts @@ -61,7 +61,7 @@ export class Bin2OctRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBin2OctPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts index 4d74d6de66c..de627288958 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoBinom_DistPostRequestBody(binom_DistPostRequestBo } } export function serializeBinom_DistPostRequestBody(writer: SerializationWriter, binom_DistPostRequestBody: Binom_DistPostRequestBody | undefined = {} as Binom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", binom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberS", binom_DistPostRequestBody.numberS, ); - writer.writeObjectValue("probabilityS", binom_DistPostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_DistPostRequestBody.trials, ); + writer.writeObjectValue("cumulative", binom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberS", binom_DistPostRequestBody.numberS, serializeJson); + writer.writeObjectValue("probabilityS", binom_DistPostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_DistPostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistRequestBuilder.ts index c799cda6d52..971c9c3a117 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Binom_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBinom_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts index ddb05159b40..d277689baba 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoBinom_Dist_RangePostRequestBody(binom_Dist_RangeP } } export function serializeBinom_Dist_RangePostRequestBody(writer: SerializationWriter, binom_Dist_RangePostRequestBody: Binom_Dist_RangePostRequestBody | undefined = {} as Binom_Dist_RangePostRequestBody) : void { - writer.writeObjectValue("numberS", binom_Dist_RangePostRequestBody.numberS, ); - writer.writeObjectValue("numberS2", binom_Dist_RangePostRequestBody.numberS2, ); - writer.writeObjectValue("probabilityS", binom_Dist_RangePostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_Dist_RangePostRequestBody.trials, ); + writer.writeObjectValue("numberS", binom_Dist_RangePostRequestBody.numberS, serializeJson); + writer.writeObjectValue("numberS2", binom_Dist_RangePostRequestBody.numberS2, serializeJson); + writer.writeObjectValue("probabilityS", binom_Dist_RangePostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_Dist_RangePostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_Dist_RangePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangeRequestBuilder.ts index fe45507a5e3..242eeb18d08 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangeRequestBuilder.ts @@ -61,7 +61,7 @@ export class Binom_Dist_RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBinom_Dist_RangePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts index 607591a3987..2285247dc91 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoBinom_InvPostRequestBody(binom_InvPostRequestBody } } export function serializeBinom_InvPostRequestBody(writer: SerializationWriter, binom_InvPostRequestBody: Binom_InvPostRequestBody | undefined = {} as Binom_InvPostRequestBody) : void { - writer.writeObjectValue("alpha", binom_InvPostRequestBody.alpha, ); - writer.writeObjectValue("probabilityS", binom_InvPostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_InvPostRequestBody.trials, ); + writer.writeObjectValue("alpha", binom_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("probabilityS", binom_InvPostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_InvPostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvRequestBuilder.ts index e6eab369df1..6ccb62d0ea3 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class Binom_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBinom_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts index c5326e01c0e..f3d6aba82c5 100644 --- a/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitandPostRequestBody(bitandPostRequestBody: Bita } } export function serializeBitandPostRequestBody(writer: SerializationWriter, bitandPostRequestBody: BitandPostRequestBody | undefined = {} as BitandPostRequestBody) : void { - writer.writeObjectValue("number1", bitandPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitandPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitandPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitandPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitandPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitand/bitandRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bitand/bitandRequestBuilder.ts index 70be0eb86a5..ebc205ea5f8 100644 --- a/src/drives/item/items/item/workbook/functions/bitand/bitandRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bitand/bitandRequestBuilder.ts @@ -61,7 +61,7 @@ export class BitandRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBitandPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts index 5ed523fb320..2a1a42d1e71 100644 --- a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitlshiftPostRequestBody(bitlshiftPostRequestBody } } export function serializeBitlshiftPostRequestBody(writer: SerializationWriter, bitlshiftPostRequestBody: BitlshiftPostRequestBody | undefined = {} as BitlshiftPostRequestBody) : void { - writer.writeObjectValue("number", bitlshiftPostRequestBody.number, ); - writer.writeObjectValue("shiftAmount", bitlshiftPostRequestBody.shiftAmount, ); + writer.writeObjectValue("number", bitlshiftPostRequestBody.number, serializeJson); + writer.writeObjectValue("shiftAmount", bitlshiftPostRequestBody.shiftAmount, serializeJson); writer.writeAdditionalData(bitlshiftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftRequestBuilder.ts index 375bb3ea9da..71741a9e60a 100644 --- a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftRequestBuilder.ts @@ -61,7 +61,7 @@ export class BitlshiftRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBitlshiftPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts index e6761adedd5..d392429e4a8 100644 --- a/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitorPostRequestBody(bitorPostRequestBody: BitorP } } export function serializeBitorPostRequestBody(writer: SerializationWriter, bitorPostRequestBody: BitorPostRequestBody | undefined = {} as BitorPostRequestBody) : void { - writer.writeObjectValue("number1", bitorPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitorPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitorPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitorPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitor/bitorRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bitor/bitorRequestBuilder.ts index 4148937f625..3e4c41bc5ef 100644 --- a/src/drives/item/items/item/workbook/functions/bitor/bitorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bitor/bitorRequestBuilder.ts @@ -61,7 +61,7 @@ export class BitorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBitorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts index 3e0827562f5..c9a37bfb462 100644 --- a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitrshiftPostRequestBody(bitrshiftPostRequestBody } } export function serializeBitrshiftPostRequestBody(writer: SerializationWriter, bitrshiftPostRequestBody: BitrshiftPostRequestBody | undefined = {} as BitrshiftPostRequestBody) : void { - writer.writeObjectValue("number", bitrshiftPostRequestBody.number, ); - writer.writeObjectValue("shiftAmount", bitrshiftPostRequestBody.shiftAmount, ); + writer.writeObjectValue("number", bitrshiftPostRequestBody.number, serializeJson); + writer.writeObjectValue("shiftAmount", bitrshiftPostRequestBody.shiftAmount, serializeJson); writer.writeAdditionalData(bitrshiftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftRequestBuilder.ts index 27fe47b551d..2933307042f 100644 --- a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftRequestBuilder.ts @@ -61,7 +61,7 @@ export class BitrshiftRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBitrshiftPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts index c41faa5373f..7f5cfbdf818 100644 --- a/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitxorPostRequestBody(bitxorPostRequestBody: Bitx } } export function serializeBitxorPostRequestBody(writer: SerializationWriter, bitxorPostRequestBody: BitxorPostRequestBody | undefined = {} as BitxorPostRequestBody) : void { - writer.writeObjectValue("number1", bitxorPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitxorPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitxorPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitxorPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitxorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitxor/bitxorRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/bitxor/bitxorRequestBuilder.ts index b88a4b7cd23..d40961c2d8d 100644 --- a/src/drives/item/items/item/workbook/functions/bitxor/bitxorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/bitxor/bitxorRequestBuilder.ts @@ -61,7 +61,7 @@ export class BitxorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBitxorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts index 7df37f3a6c2..4b25a5a3756 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoCeiling_MathPostRequestBody(ceiling_MathPostReque } } export function serializeCeiling_MathPostRequestBody(writer: SerializationWriter, ceiling_MathPostRequestBody: Ceiling_MathPostRequestBody | undefined = {} as Ceiling_MathPostRequestBody) : void { - writer.writeObjectValue("mode", ceiling_MathPostRequestBody.mode, ); - writer.writeObjectValue("number", ceiling_MathPostRequestBody.number, ); - writer.writeObjectValue("significance", ceiling_MathPostRequestBody.significance, ); + writer.writeObjectValue("mode", ceiling_MathPostRequestBody.mode, serializeJson); + writer.writeObjectValue("number", ceiling_MathPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ceiling_MathPostRequestBody.significance, serializeJson); writer.writeAdditionalData(ceiling_MathPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathRequestBuilder.ts index 6a2b0a434f3..b14125452eb 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathRequestBuilder.ts @@ -61,7 +61,7 @@ export class Ceiling_MathRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCeiling_MathPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts index d65ad4785cd..de5af47b482 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCeiling_PrecisePostRequestBody(ceiling_PrecisePos } } export function serializeCeiling_PrecisePostRequestBody(writer: SerializationWriter, ceiling_PrecisePostRequestBody: Ceiling_PrecisePostRequestBody | undefined = {} as Ceiling_PrecisePostRequestBody) : void { - writer.writeObjectValue("number", ceiling_PrecisePostRequestBody.number, ); - writer.writeObjectValue("significance", ceiling_PrecisePostRequestBody.significance, ); + writer.writeObjectValue("number", ceiling_PrecisePostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ceiling_PrecisePostRequestBody.significance, serializeJson); writer.writeAdditionalData(ceiling_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PreciseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PreciseRequestBuilder.ts index 41eea7453c1..4d0b4a230bd 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PreciseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PreciseRequestBuilder.ts @@ -61,7 +61,7 @@ export class Ceiling_PreciseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCeiling_PrecisePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts index 0520a72f964..465c00badbe 100644 --- a/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCharPostRequestBody(charPostRequestBody: CharPost } } export function serializeCharPostRequestBody(writer: SerializationWriter, charPostRequestBody: CharPostRequestBody | undefined = {} as CharPostRequestBody) : void { - writer.writeObjectValue("number", charPostRequestBody.number, ); + writer.writeObjectValue("number", charPostRequestBody.number, serializeJson); writer.writeAdditionalData(charPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/char/charRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/char/charRequestBuilder.ts index eb58c94abc7..7ba7724f00c 100644 --- a/src/drives/item/items/item/workbook/functions/char/charRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/char/charRequestBuilder.ts @@ -61,7 +61,7 @@ export class CharRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCharPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts index ba319d2463a..dd11822b169 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoChiSq_DistPostRequestBody(chiSq_DistPostRequestBo } } export function serializeChiSq_DistPostRequestBody(writer: SerializationWriter, chiSq_DistPostRequestBody: ChiSq_DistPostRequestBody | undefined = {} as ChiSq_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", chiSq_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom", chiSq_DistPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", chiSq_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", chiSq_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom", chiSq_DistPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", chiSq_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(chiSq_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistRequestBuilder.ts index abf4f6d0dcb..431ed06fe19 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class ChiSq_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChiSq_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts index 542d6d05849..a536e9d80dc 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_Dist_RTPostRequestBody(chiSq_Dist_RTPostReq } } export function serializeChiSq_Dist_RTPostRequestBody(writer: SerializationWriter, chiSq_Dist_RTPostRequestBody: ChiSq_Dist_RTPostRequestBody | undefined = {} as ChiSq_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_Dist_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", chiSq_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", chiSq_Dist_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", chiSq_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(chiSq_Dist_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTRequestBuilder.ts index 3f487d105f9..259bfc9c434 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTRequestBuilder.ts @@ -61,7 +61,7 @@ export class ChiSq_Dist_RTRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChiSq_Dist_RTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts index e705fb1016a..c067bc77d52 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_InvPostRequestBody(chiSq_InvPostRequestBody } } export function serializeChiSq_InvPostRequestBody(writer: SerializationWriter, chiSq_InvPostRequestBody: ChiSq_InvPostRequestBody | undefined = {} as ChiSq_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_InvPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", chiSq_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", chiSq_InvPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", chiSq_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(chiSq_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvRequestBuilder.ts index 504ac32a023..daaede4ab3f 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class ChiSq_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChiSq_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts index 36a937f352a..2244d5c9910 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_Inv_RTPostRequestBody(chiSq_Inv_RTPostReque } } export function serializeChiSq_Inv_RTPostRequestBody(writer: SerializationWriter, chiSq_Inv_RTPostRequestBody: ChiSq_Inv_RTPostRequestBody | undefined = {} as ChiSq_Inv_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_Inv_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", chiSq_Inv_RTPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", chiSq_Inv_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", chiSq_Inv_RTPostRequestBody.probability, serializeJson); writer.writeAdditionalData(chiSq_Inv_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTRequestBuilder.ts index 125c8021642..696c8a88e1f 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTRequestBuilder.ts @@ -61,7 +61,7 @@ export class ChiSq_Inv_RTRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChiSq_Inv_RTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts index efa3c093617..dd267ad0b3a 100644 --- a/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChoosePostRequestBody(choosePostRequestBody: Choo } } export function serializeChoosePostRequestBody(writer: SerializationWriter, choosePostRequestBody: ChoosePostRequestBody | undefined = {} as ChoosePostRequestBody) : void { - writer.writeObjectValue("indexNum", choosePostRequestBody.indexNum, ); - writer.writeObjectValue("values", choosePostRequestBody.values, ); + writer.writeObjectValue("indexNum", choosePostRequestBody.indexNum, serializeJson); + writer.writeObjectValue("values", choosePostRequestBody.values, serializeJson); writer.writeAdditionalData(choosePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/choose/chooseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/choose/chooseRequestBuilder.ts index 9566c8bd6e3..a8176e3c211 100644 --- a/src/drives/item/items/item/workbook/functions/choose/chooseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/choose/chooseRequestBuilder.ts @@ -61,7 +61,7 @@ export class ChooseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChoosePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts index 80a38d44b01..2770b4710ca 100644 --- a/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCleanPostRequestBody(cleanPostRequestBody: CleanP } } export function serializeCleanPostRequestBody(writer: SerializationWriter, cleanPostRequestBody: CleanPostRequestBody | undefined = {} as CleanPostRequestBody) : void { - writer.writeObjectValue("text", cleanPostRequestBody.text, ); + writer.writeObjectValue("text", cleanPostRequestBody.text, serializeJson); writer.writeAdditionalData(cleanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/clean/cleanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/clean/cleanRequestBuilder.ts index 00ec6380016..aeb230ea7bf 100644 --- a/src/drives/item/items/item/workbook/functions/clean/cleanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/clean/cleanRequestBuilder.ts @@ -61,7 +61,7 @@ export class CleanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCleanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts index 98d5bc184c6..b8eca91e11f 100644 --- a/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCodePostRequestBody(codePostRequestBody: CodePost } } export function serializeCodePostRequestBody(writer: SerializationWriter, codePostRequestBody: CodePostRequestBody | undefined = {} as CodePostRequestBody) : void { - writer.writeObjectValue("text", codePostRequestBody.text, ); + writer.writeObjectValue("text", codePostRequestBody.text, serializeJson); writer.writeAdditionalData(codePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/code/codeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/code/codeRequestBuilder.ts index 1d4417ebbf3..cd69fb1a85f 100644 --- a/src/drives/item/items/item/workbook/functions/code/codeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/code/codeRequestBuilder.ts @@ -61,7 +61,7 @@ export class CodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCodePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts index c4503a750a4..bce48477376 100644 --- a/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoColumnsPostRequestBody(columnsPostRequestBody: Co } } export function serializeColumnsPostRequestBody(writer: SerializationWriter, columnsPostRequestBody: ColumnsPostRequestBody | undefined = {} as ColumnsPostRequestBody) : void { - writer.writeObjectValue("array", columnsPostRequestBody.array, ); + writer.writeObjectValue("array", columnsPostRequestBody.array, serializeJson); writer.writeAdditionalData(columnsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/columns/columnsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/columns/columnsRequestBuilder.ts index 27a26c2c76f..5f00a827c82 100644 --- a/src/drives/item/items/item/workbook/functions/columns/columnsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/columns/columnsRequestBuilder.ts @@ -61,7 +61,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts index 5a274a99486..baa87ab471d 100644 --- a/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCombinPostRequestBody(combinPostRequestBody: Comb } } export function serializeCombinPostRequestBody(writer: SerializationWriter, combinPostRequestBody: CombinPostRequestBody | undefined = {} as CombinPostRequestBody) : void { - writer.writeObjectValue("number", combinPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", combinPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", combinPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", combinPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(combinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/combin/combinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/combin/combinRequestBuilder.ts index 9c4d0fef892..bba87a4fbeb 100644 --- a/src/drives/item/items/item/workbook/functions/combin/combinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/combin/combinRequestBuilder.ts @@ -61,7 +61,7 @@ export class CombinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCombinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts index 13aae6972b0..f70e2312f43 100644 --- a/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCombinaPostRequestBody(combinaPostRequestBody: Co } } export function serializeCombinaPostRequestBody(writer: SerializationWriter, combinaPostRequestBody: CombinaPostRequestBody | undefined = {} as CombinaPostRequestBody) : void { - writer.writeObjectValue("number", combinaPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", combinaPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", combinaPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", combinaPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(combinaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/combina/combinaRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/combina/combinaRequestBuilder.ts index 033b4478fe3..e06494c2d5f 100644 --- a/src/drives/item/items/item/workbook/functions/combina/combinaRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/combina/combinaRequestBuilder.ts @@ -61,7 +61,7 @@ export class CombinaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCombinaPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts index b0bb325bcf9..1f1d118aa62 100644 --- a/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoComplexPostRequestBody(complexPostRequestBody: Co } } export function serializeComplexPostRequestBody(writer: SerializationWriter, complexPostRequestBody: ComplexPostRequestBody | undefined = {} as ComplexPostRequestBody) : void { - writer.writeObjectValue("iNum", complexPostRequestBody.iNum, ); - writer.writeObjectValue("realNum", complexPostRequestBody.realNum, ); - writer.writeObjectValue("suffix", complexPostRequestBody.suffix, ); + writer.writeObjectValue("iNum", complexPostRequestBody.iNum, serializeJson); + writer.writeObjectValue("realNum", complexPostRequestBody.realNum, serializeJson); + writer.writeObjectValue("suffix", complexPostRequestBody.suffix, serializeJson); writer.writeAdditionalData(complexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/complex/complexRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/complex/complexRequestBuilder.ts index ed918a8fd50..e6c46923a53 100644 --- a/src/drives/item/items/item/workbook/functions/complex/complexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/complex/complexRequestBuilder.ts @@ -61,7 +61,7 @@ export class ComplexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeComplexPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts index 15e60c4d423..ade36e5c694 100644 --- a/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoConcatenatePostRequestBody(concatenatePostRequest } } export function serializeConcatenatePostRequestBody(writer: SerializationWriter, concatenatePostRequestBody: ConcatenatePostRequestBody | undefined = {} as ConcatenatePostRequestBody) : void { - writer.writeObjectValue("values", concatenatePostRequestBody.values, ); + writer.writeObjectValue("values", concatenatePostRequestBody.values, serializeJson); writer.writeAdditionalData(concatenatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/concatenate/concatenateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/concatenate/concatenateRequestBuilder.ts index e28a9df99c4..b68f9b8426f 100644 --- a/src/drives/item/items/item/workbook/functions/concatenate/concatenateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/concatenate/concatenateRequestBuilder.ts @@ -61,7 +61,7 @@ export class ConcatenateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConcatenatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts index 79421b0a7f8..61237ce0361 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConfidence_NormPostRequestBody(confidence_NormPos } } export function serializeConfidence_NormPostRequestBody(writer: SerializationWriter, confidence_NormPostRequestBody: Confidence_NormPostRequestBody | undefined = {} as Confidence_NormPostRequestBody) : void { - writer.writeObjectValue("alpha", confidence_NormPostRequestBody.alpha, ); - writer.writeObjectValue("size", confidence_NormPostRequestBody.size, ); - writer.writeObjectValue("standardDev", confidence_NormPostRequestBody.standardDev, ); + writer.writeObjectValue("alpha", confidence_NormPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("size", confidence_NormPostRequestBody.size, serializeJson); + writer.writeObjectValue("standardDev", confidence_NormPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(confidence_NormPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormRequestBuilder.ts index 416ef017cf4..460599d9b97 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormRequestBuilder.ts @@ -61,7 +61,7 @@ export class Confidence_NormRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConfidence_NormPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts index 4c8f1762dd3..824cd76e63b 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConfidence_TPostRequestBody(confidence_TPostReque } } export function serializeConfidence_TPostRequestBody(writer: SerializationWriter, confidence_TPostRequestBody: Confidence_TPostRequestBody | undefined = {} as Confidence_TPostRequestBody) : void { - writer.writeObjectValue("alpha", confidence_TPostRequestBody.alpha, ); - writer.writeObjectValue("size", confidence_TPostRequestBody.size, ); - writer.writeObjectValue("standardDev", confidence_TPostRequestBody.standardDev, ); + writer.writeObjectValue("alpha", confidence_TPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("size", confidence_TPostRequestBody.size, serializeJson); + writer.writeObjectValue("standardDev", confidence_TPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(confidence_TPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TRequestBuilder.ts index d2a0701ee6d..3533541a32f 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TRequestBuilder.ts @@ -61,7 +61,7 @@ export class Confidence_TRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConfidence_TPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts index 2031adfd197..a6dca1c502b 100644 --- a/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConvertPostRequestBody(convertPostRequestBody: Co } } export function serializeConvertPostRequestBody(writer: SerializationWriter, convertPostRequestBody: ConvertPostRequestBody | undefined = {} as ConvertPostRequestBody) : void { - writer.writeObjectValue("fromUnit", convertPostRequestBody.fromUnit, ); - writer.writeObjectValue("number", convertPostRequestBody.number, ); - writer.writeObjectValue("toUnit", convertPostRequestBody.toUnit, ); + writer.writeObjectValue("fromUnit", convertPostRequestBody.fromUnit, serializeJson); + writer.writeObjectValue("number", convertPostRequestBody.number, serializeJson); + writer.writeObjectValue("toUnit", convertPostRequestBody.toUnit, serializeJson); writer.writeAdditionalData(convertPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/convert/convertRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/convert/convertRequestBuilder.ts index 547060a1224..943b46fa03c 100644 --- a/src/drives/item/items/item/workbook/functions/convert/convertRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/convert/convertRequestBuilder.ts @@ -61,7 +61,7 @@ export class ConvertRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConvertPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts index 4467c601767..419edd74ea6 100644 --- a/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCosPostRequestBody(cosPostRequestBody: CosPostReq } } export function serializeCosPostRequestBody(writer: SerializationWriter, cosPostRequestBody: CosPostRequestBody | undefined = {} as CosPostRequestBody) : void { - writer.writeObjectValue("number", cosPostRequestBody.number, ); + writer.writeObjectValue("number", cosPostRequestBody.number, serializeJson); writer.writeAdditionalData(cosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cos/cosRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/cos/cosRequestBuilder.ts index 6269540633d..c4bbfb9cd9f 100644 --- a/src/drives/item/items/item/workbook/functions/cos/cosRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/cos/cosRequestBuilder.ts @@ -61,7 +61,7 @@ export class CosRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCosPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts index 1da4c379f6f..785fd09eb36 100644 --- a/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCoshPostRequestBody(coshPostRequestBody: CoshPost } } export function serializeCoshPostRequestBody(writer: SerializationWriter, coshPostRequestBody: CoshPostRequestBody | undefined = {} as CoshPostRequestBody) : void { - writer.writeObjectValue("number", coshPostRequestBody.number, ); + writer.writeObjectValue("number", coshPostRequestBody.number, serializeJson); writer.writeAdditionalData(coshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cosh/coshRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/cosh/coshRequestBuilder.ts index 31874f67698..fe118af24eb 100644 --- a/src/drives/item/items/item/workbook/functions/cosh/coshRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/cosh/coshRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoshRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoshPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts index b3b0cd7dd2c..c3e40772cef 100644 --- a/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCotPostRequestBody(cotPostRequestBody: CotPostReq } } export function serializeCotPostRequestBody(writer: SerializationWriter, cotPostRequestBody: CotPostRequestBody | undefined = {} as CotPostRequestBody) : void { - writer.writeObjectValue("number", cotPostRequestBody.number, ); + writer.writeObjectValue("number", cotPostRequestBody.number, serializeJson); writer.writeAdditionalData(cotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cot/cotRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/cot/cotRequestBuilder.ts index 7edc10ef8b0..9c5a5202d21 100644 --- a/src/drives/item/items/item/workbook/functions/cot/cotRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/cot/cotRequestBuilder.ts @@ -61,7 +61,7 @@ export class CotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCotPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts index e420249c36a..85a45f3024c 100644 --- a/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCothPostRequestBody(cothPostRequestBody: CothPost } } export function serializeCothPostRequestBody(writer: SerializationWriter, cothPostRequestBody: CothPostRequestBody | undefined = {} as CothPostRequestBody) : void { - writer.writeObjectValue("number", cothPostRequestBody.number, ); + writer.writeObjectValue("number", cothPostRequestBody.number, serializeJson); writer.writeAdditionalData(cothPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coth/cothRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coth/cothRequestBuilder.ts index d8c029b65f0..0bb5bfe5ba4 100644 --- a/src/drives/item/items/item/workbook/functions/coth/cothRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coth/cothRequestBuilder.ts @@ -61,7 +61,7 @@ export class CothRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCothPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts index 1d40d25f4a2..3afcc760686 100644 --- a/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountPostRequestBody(countPostRequestBody: CountP } } export function serializeCountPostRequestBody(writer: SerializationWriter, countPostRequestBody: CountPostRequestBody | undefined = {} as CountPostRequestBody) : void { - writer.writeObjectValue("values", countPostRequestBody.values, ); + writer.writeObjectValue("values", countPostRequestBody.values, serializeJson); writer.writeAdditionalData(countPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/count/countRequestBuilder.ts index 28b10b8f710..1af20a857d2 100644 --- a/src/drives/item/items/item/workbook/functions/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/count/countRequestBuilder.ts @@ -61,7 +61,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCountPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts index 53f513d9165..108c37eb626 100644 --- a/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountAPostRequestBody(countAPostRequestBody: Coun } } export function serializeCountAPostRequestBody(writer: SerializationWriter, countAPostRequestBody: CountAPostRequestBody | undefined = {} as CountAPostRequestBody) : void { - writer.writeObjectValue("values", countAPostRequestBody.values, ); + writer.writeObjectValue("values", countAPostRequestBody.values, serializeJson); writer.writeAdditionalData(countAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countA/countARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/countA/countARequestBuilder.ts index 3493969704e..48a79031e00 100644 --- a/src/drives/item/items/item/workbook/functions/countA/countARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/countA/countARequestBuilder.ts @@ -61,7 +61,7 @@ export class CountARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCountAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts index 6f62e739494..cead190737c 100644 --- a/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountBlankPostRequestBody(countBlankPostRequestBo } } export function serializeCountBlankPostRequestBody(writer: SerializationWriter, countBlankPostRequestBody: CountBlankPostRequestBody | undefined = {} as CountBlankPostRequestBody) : void { - writer.writeObjectValue("range", countBlankPostRequestBody.range, ); + writer.writeObjectValue("range", countBlankPostRequestBody.range, serializeJson); writer.writeAdditionalData(countBlankPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countBlank/countBlankRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/countBlank/countBlankRequestBuilder.ts index 5b08df87cf8..748cf37a7e5 100644 --- a/src/drives/item/items/item/workbook/functions/countBlank/countBlankRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/countBlank/countBlankRequestBuilder.ts @@ -61,7 +61,7 @@ export class CountBlankRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCountBlankPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts index a81316b4aff..2bac792e238 100644 --- a/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCountIfPostRequestBody(countIfPostRequestBody: Co } } export function serializeCountIfPostRequestBody(writer: SerializationWriter, countIfPostRequestBody: CountIfPostRequestBody | undefined = {} as CountIfPostRequestBody) : void { - writer.writeObjectValue("criteria", countIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", countIfPostRequestBody.range, ); + writer.writeObjectValue("criteria", countIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", countIfPostRequestBody.range, serializeJson); writer.writeAdditionalData(countIfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countIf/countIfRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/countIf/countIfRequestBuilder.ts index 893e7c6bd93..69c3ea030a0 100644 --- a/src/drives/item/items/item/workbook/functions/countIf/countIfRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/countIf/countIfRequestBuilder.ts @@ -61,7 +61,7 @@ export class CountIfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCountIfPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts index 5357f932760..09b7ce74b46 100644 --- a/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountIfsPostRequestBody(countIfsPostRequestBody: } } export function serializeCountIfsPostRequestBody(writer: SerializationWriter, countIfsPostRequestBody: CountIfsPostRequestBody | undefined = {} as CountIfsPostRequestBody) : void { - writer.writeObjectValue("values", countIfsPostRequestBody.values, ); + writer.writeObjectValue("values", countIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(countIfsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countIfs/countIfsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/countIfs/countIfsRequestBuilder.ts index 0c8a226b443..b0976066453 100644 --- a/src/drives/item/items/item/workbook/functions/countIfs/countIfsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/countIfs/countIfsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CountIfsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCountIfsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts index c6bfbd3ae51..0c71d9cdc6d 100644 --- a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDayBsPostRequestBody(coupDayBsPostRequestBody } } export function serializeCoupDayBsPostRequestBody(writer: SerializationWriter, coupDayBsPostRequestBody: CoupDayBsPostRequestBody | undefined = {} as CoupDayBsPostRequestBody) : void { - writer.writeObjectValue("basis", coupDayBsPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDayBsPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDayBsPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDayBsPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDayBsPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDayBsPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDayBsPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDayBsPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDayBsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsRequestBuilder.ts index c307ab8668c..e3ec97ce8fe 100644 --- a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupDayBsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupDayBsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts index fcf705319e2..f0ec467bedd 100644 --- a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDaysPostRequestBody(coupDaysPostRequestBody: } } export function serializeCoupDaysPostRequestBody(writer: SerializationWriter, coupDaysPostRequestBody: CoupDaysPostRequestBody | undefined = {} as CoupDaysPostRequestBody) : void { - writer.writeObjectValue("basis", coupDaysPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDaysPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDaysPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDaysPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDaysPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDaysPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDaysPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDaysPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDaysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysRequestBuilder.ts index bb06aac957a..b7249937560 100644 --- a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupDaysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupDaysPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts index 849a556b97f..1e69e39e28d 100644 --- a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDaysNcPostRequestBody(coupDaysNcPostRequestBo } } export function serializeCoupDaysNcPostRequestBody(writer: SerializationWriter, coupDaysNcPostRequestBody: CoupDaysNcPostRequestBody | undefined = {} as CoupDaysNcPostRequestBody) : void { - writer.writeObjectValue("basis", coupDaysNcPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDaysNcPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDaysNcPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDaysNcPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDaysNcPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDaysNcPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDaysNcPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDaysNcPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDaysNcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcRequestBuilder.ts index 6f8d0530190..a9f27ac8b0d 100644 --- a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupDaysNcRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupDaysNcPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts index f05256a8389..6732dccd0fb 100644 --- a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupNcdPostRequestBody(coupNcdPostRequestBody: Co } } export function serializeCoupNcdPostRequestBody(writer: SerializationWriter, coupNcdPostRequestBody: CoupNcdPostRequestBody | undefined = {} as CoupNcdPostRequestBody) : void { - writer.writeObjectValue("basis", coupNcdPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupNcdPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupNcdPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupNcdPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupNcdPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupNcdPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupNcdPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupNcdPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupNcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdRequestBuilder.ts index 498f935f82d..5ccf26027e5 100644 --- a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupNcdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupNcdPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts index 67ec7ed48d5..0925a65e1ed 100644 --- a/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupNumPostRequestBody(coupNumPostRequestBody: Co } } export function serializeCoupNumPostRequestBody(writer: SerializationWriter, coupNumPostRequestBody: CoupNumPostRequestBody | undefined = {} as CoupNumPostRequestBody) : void { - writer.writeObjectValue("basis", coupNumPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupNumPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupNumPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupNumPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupNumPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupNumPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupNumPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupNumPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupNumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupNum/coupNumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupNum/coupNumRequestBuilder.ts index ae27dfaa3b3..ad91a08adde 100644 --- a/src/drives/item/items/item/workbook/functions/coupNum/coupNumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupNum/coupNumRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupNumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupNumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts index c6249d9c7f4..0f8c1123444 100644 --- a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupPcdPostRequestBody(coupPcdPostRequestBody: Co } } export function serializeCoupPcdPostRequestBody(writer: SerializationWriter, coupPcdPostRequestBody: CoupPcdPostRequestBody | undefined = {} as CoupPcdPostRequestBody) : void { - writer.writeObjectValue("basis", coupPcdPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupPcdPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupPcdPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupPcdPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupPcdPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupPcdPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupPcdPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupPcdPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupPcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdRequestBuilder.ts index 4cb0a950add..4d5abcf9f18 100644 --- a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdRequestBuilder.ts @@ -61,7 +61,7 @@ export class CoupPcdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCoupPcdPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts index 4733067b22f..a52ecf0717f 100644 --- a/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCscPostRequestBody(cscPostRequestBody: CscPostReq } } export function serializeCscPostRequestBody(writer: SerializationWriter, cscPostRequestBody: CscPostRequestBody | undefined = {} as CscPostRequestBody) : void { - writer.writeObjectValue("number", cscPostRequestBody.number, ); + writer.writeObjectValue("number", cscPostRequestBody.number, serializeJson); writer.writeAdditionalData(cscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/csc/cscRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/csc/cscRequestBuilder.ts index fc09fddeea8..1c414bde173 100644 --- a/src/drives/item/items/item/workbook/functions/csc/cscRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/csc/cscRequestBuilder.ts @@ -61,7 +61,7 @@ export class CscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts index 7ff26fd7498..7bcdfb8db59 100644 --- a/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCschPostRequestBody(cschPostRequestBody: CschPost } } export function serializeCschPostRequestBody(writer: SerializationWriter, cschPostRequestBody: CschPostRequestBody | undefined = {} as CschPostRequestBody) : void { - writer.writeObjectValue("number", cschPostRequestBody.number, ); + writer.writeObjectValue("number", cschPostRequestBody.number, serializeJson); writer.writeAdditionalData(cschPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/csch/cschRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/csch/cschRequestBuilder.ts index 12189bcfc57..1ee1d436d8b 100644 --- a/src/drives/item/items/item/workbook/functions/csch/cschRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/csch/cschRequestBuilder.ts @@ -61,7 +61,7 @@ export class CschRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCschPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts index 99a8ba57718..dee418ef668 100644 --- a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoCumIPmtPostRequestBody(cumIPmtPostRequestBody: Cu } } export function serializeCumIPmtPostRequestBody(writer: SerializationWriter, cumIPmtPostRequestBody: CumIPmtPostRequestBody | undefined = {} as CumIPmtPostRequestBody) : void { - writer.writeObjectValue("endPeriod", cumIPmtPostRequestBody.endPeriod, ); - writer.writeObjectValue("nper", cumIPmtPostRequestBody.nper, ); - writer.writeObjectValue("pv", cumIPmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", cumIPmtPostRequestBody.rate, ); - writer.writeObjectValue("startPeriod", cumIPmtPostRequestBody.startPeriod, ); - writer.writeObjectValue("type", cumIPmtPostRequestBody.type, ); + writer.writeObjectValue("endPeriod", cumIPmtPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("nper", cumIPmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", cumIPmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", cumIPmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("startPeriod", cumIPmtPostRequestBody.startPeriod, serializeJson); + writer.writeObjectValue("type", cumIPmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(cumIPmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtRequestBuilder.ts index 976bf9e4232..24521fd59f8 100644 --- a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtRequestBuilder.ts @@ -61,7 +61,7 @@ export class CumIPmtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCumIPmtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts index cda6a5d5282..eed96fec791 100644 --- a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoCumPrincPostRequestBody(cumPrincPostRequestBody: } } export function serializeCumPrincPostRequestBody(writer: SerializationWriter, cumPrincPostRequestBody: CumPrincPostRequestBody | undefined = {} as CumPrincPostRequestBody) : void { - writer.writeObjectValue("endPeriod", cumPrincPostRequestBody.endPeriod, ); - writer.writeObjectValue("nper", cumPrincPostRequestBody.nper, ); - writer.writeObjectValue("pv", cumPrincPostRequestBody.pv, ); - writer.writeObjectValue("rate", cumPrincPostRequestBody.rate, ); - writer.writeObjectValue("startPeriod", cumPrincPostRequestBody.startPeriod, ); - writer.writeObjectValue("type", cumPrincPostRequestBody.type, ); + writer.writeObjectValue("endPeriod", cumPrincPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("nper", cumPrincPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", cumPrincPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", cumPrincPostRequestBody.rate, serializeJson); + writer.writeObjectValue("startPeriod", cumPrincPostRequestBody.startPeriod, serializeJson); + writer.writeObjectValue("type", cumPrincPostRequestBody.type, serializeJson); writer.writeAdditionalData(cumPrincPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincRequestBuilder.ts index 3d7955450ef..75c0b78af8f 100644 --- a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincRequestBuilder.ts @@ -61,7 +61,7 @@ export class CumPrincRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCumPrincPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts index a5e269a1e54..7b12c7885e3 100644 --- a/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDatePostRequestBody(datePostRequestBody: DatePost } } export function serializeDatePostRequestBody(writer: SerializationWriter, datePostRequestBody: DatePostRequestBody | undefined = {} as DatePostRequestBody) : void { - writer.writeObjectValue("day", datePostRequestBody.day, ); - writer.writeObjectValue("month", datePostRequestBody.month, ); - writer.writeObjectValue("year", datePostRequestBody.year, ); + writer.writeObjectValue("day", datePostRequestBody.day, serializeJson); + writer.writeObjectValue("month", datePostRequestBody.month, serializeJson); + writer.writeObjectValue("year", datePostRequestBody.year, serializeJson); writer.writeAdditionalData(datePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/date/dateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/date/dateRequestBuilder.ts index 21a5b1047fb..0b942470bb4 100644 --- a/src/drives/item/items/item/workbook/functions/date/dateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/date/dateRequestBuilder.ts @@ -61,7 +61,7 @@ export class DateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts index 28b47aaf476..d4502e1483a 100644 --- a/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDatevaluePostRequestBody(datevaluePostRequestBody } } export function serializeDatevaluePostRequestBody(writer: SerializationWriter, datevaluePostRequestBody: DatevaluePostRequestBody | undefined = {} as DatevaluePostRequestBody) : void { - writer.writeObjectValue("dateText", datevaluePostRequestBody.dateText, ); + writer.writeObjectValue("dateText", datevaluePostRequestBody.dateText, serializeJson); writer.writeAdditionalData(datevaluePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/datevalue/datevalueRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/datevalue/datevalueRequestBuilder.ts index 74e338a544e..6fbda478652 100644 --- a/src/drives/item/items/item/workbook/functions/datevalue/datevalueRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/datevalue/datevalueRequestBuilder.ts @@ -61,7 +61,7 @@ export class DatevalueRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDatevaluePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts index 6138095125a..1fc42d27cbf 100644 --- a/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDaveragePostRequestBody(daveragePostRequestBody: } } export function serializeDaveragePostRequestBody(writer: SerializationWriter, daveragePostRequestBody: DaveragePostRequestBody | undefined = {} as DaveragePostRequestBody) : void { - writer.writeObjectValue("criteria", daveragePostRequestBody.criteria, ); - writer.writeObjectValue("database", daveragePostRequestBody.database, ); - writer.writeObjectValue("field", daveragePostRequestBody.field, ); + writer.writeObjectValue("criteria", daveragePostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", daveragePostRequestBody.database, serializeJson); + writer.writeObjectValue("field", daveragePostRequestBody.field, serializeJson); writer.writeAdditionalData(daveragePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/daverage/daverageRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/daverage/daverageRequestBuilder.ts index 70aa0e12760..21546a9df42 100644 --- a/src/drives/item/items/item/workbook/functions/daverage/daverageRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/daverage/daverageRequestBuilder.ts @@ -61,7 +61,7 @@ export class DaverageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDaveragePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts index e33ea43e93a..24fa41f450b 100644 --- a/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDayPostRequestBody(dayPostRequestBody: DayPostReq } } export function serializeDayPostRequestBody(writer: SerializationWriter, dayPostRequestBody: DayPostRequestBody | undefined = {} as DayPostRequestBody) : void { - writer.writeObjectValue("serialNumber", dayPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", dayPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(dayPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/day/dayRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/day/dayRequestBuilder.ts index 61db78ed500..74c59af5a20 100644 --- a/src/drives/item/items/item/workbook/functions/day/dayRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/day/dayRequestBuilder.ts @@ -61,7 +61,7 @@ export class DayRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDayPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts index 88687668998..736035123b8 100644 --- a/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDaysPostRequestBody(daysPostRequestBody: DaysPost } } export function serializeDaysPostRequestBody(writer: SerializationWriter, daysPostRequestBody: DaysPostRequestBody | undefined = {} as DaysPostRequestBody) : void { - writer.writeObjectValue("endDate", daysPostRequestBody.endDate, ); - writer.writeObjectValue("startDate", daysPostRequestBody.startDate, ); + writer.writeObjectValue("endDate", daysPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("startDate", daysPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(daysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/days/daysRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/days/daysRequestBuilder.ts index 9c8676b9dd2..71dd1673903 100644 --- a/src/drives/item/items/item/workbook/functions/days/daysRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/days/daysRequestBuilder.ts @@ -61,7 +61,7 @@ export class DaysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDaysPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts index 2fc5b612f0f..319fa2af66e 100644 --- a/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDays360PostRequestBody(days360PostRequestBody: Da } } export function serializeDays360PostRequestBody(writer: SerializationWriter, days360PostRequestBody: Days360PostRequestBody | undefined = {} as Days360PostRequestBody) : void { - writer.writeObjectValue("endDate", days360PostRequestBody.endDate, ); - writer.writeObjectValue("method", days360PostRequestBody.method, ); - writer.writeObjectValue("startDate", days360PostRequestBody.startDate, ); + writer.writeObjectValue("endDate", days360PostRequestBody.endDate, serializeJson); + writer.writeObjectValue("method", days360PostRequestBody.method, serializeJson); + writer.writeObjectValue("startDate", days360PostRequestBody.startDate, serializeJson); writer.writeAdditionalData(days360PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/days360/days360RequestBuilder.ts b/src/drives/item/items/item/workbook/functions/days360/days360RequestBuilder.ts index 1d8730e0b5b..7b3d5dc0773 100644 --- a/src/drives/item/items/item/workbook/functions/days360/days360RequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/days360/days360RequestBuilder.ts @@ -61,7 +61,7 @@ export class Days360RequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDays360PostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts index 9f9209279dc..f1e49d57c5b 100644 --- a/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoDbPostRequestBody(dbPostRequestBody: DbPostReques } } export function serializeDbPostRequestBody(writer: SerializationWriter, dbPostRequestBody: DbPostRequestBody | undefined = {} as DbPostRequestBody) : void { - writer.writeObjectValue("cost", dbPostRequestBody.cost, ); - writer.writeObjectValue("life", dbPostRequestBody.life, ); - writer.writeObjectValue("month", dbPostRequestBody.month, ); - writer.writeObjectValue("period", dbPostRequestBody.period, ); - writer.writeObjectValue("salvage", dbPostRequestBody.salvage, ); + writer.writeObjectValue("cost", dbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", dbPostRequestBody.life, serializeJson); + writer.writeObjectValue("month", dbPostRequestBody.month, serializeJson); + writer.writeObjectValue("period", dbPostRequestBody.period, serializeJson); + writer.writeObjectValue("salvage", dbPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(dbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/db/dbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/db/dbRequestBuilder.ts index 8409411a205..74c7e7402b5 100644 --- a/src/drives/item/items/item/workbook/functions/db/dbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/db/dbRequestBuilder.ts @@ -61,7 +61,7 @@ export class DbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts index 7a8fcf1f213..94501d3674e 100644 --- a/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDbcsPostRequestBody(dbcsPostRequestBody: DbcsPost } } export function serializeDbcsPostRequestBody(writer: SerializationWriter, dbcsPostRequestBody: DbcsPostRequestBody | undefined = {} as DbcsPostRequestBody) : void { - writer.writeObjectValue("text", dbcsPostRequestBody.text, ); + writer.writeObjectValue("text", dbcsPostRequestBody.text, serializeJson); writer.writeAdditionalData(dbcsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dbcs/dbcsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dbcs/dbcsRequestBuilder.ts index 380c6727d75..b40e106de1a 100644 --- a/src/drives/item/items/item/workbook/functions/dbcs/dbcsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dbcs/dbcsRequestBuilder.ts @@ -61,7 +61,7 @@ export class DbcsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDbcsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts index 5f1714d0106..032a339c5a5 100644 --- a/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDcountPostRequestBody(dcountPostRequestBody: Dcou } } export function serializeDcountPostRequestBody(writer: SerializationWriter, dcountPostRequestBody: DcountPostRequestBody | undefined = {} as DcountPostRequestBody) : void { - writer.writeObjectValue("criteria", dcountPostRequestBody.criteria, ); - writer.writeObjectValue("database", dcountPostRequestBody.database, ); - writer.writeObjectValue("field", dcountPostRequestBody.field, ); + writer.writeObjectValue("criteria", dcountPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dcountPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dcountPostRequestBody.field, serializeJson); writer.writeAdditionalData(dcountPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dcount/dcountRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dcount/dcountRequestBuilder.ts index 02c1e17749d..e795b05fc97 100644 --- a/src/drives/item/items/item/workbook/functions/dcount/dcountRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dcount/dcountRequestBuilder.ts @@ -61,7 +61,7 @@ export class DcountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDcountPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts index 0f165dbcd91..9705c6efb89 100644 --- a/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDcountAPostRequestBody(dcountAPostRequestBody: Dc } } export function serializeDcountAPostRequestBody(writer: SerializationWriter, dcountAPostRequestBody: DcountAPostRequestBody | undefined = {} as DcountAPostRequestBody) : void { - writer.writeObjectValue("criteria", dcountAPostRequestBody.criteria, ); - writer.writeObjectValue("database", dcountAPostRequestBody.database, ); - writer.writeObjectValue("field", dcountAPostRequestBody.field, ); + writer.writeObjectValue("criteria", dcountAPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dcountAPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dcountAPostRequestBody.field, serializeJson); writer.writeAdditionalData(dcountAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dcountA/dcountARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dcountA/dcountARequestBuilder.ts index 2af86b40c0a..5d72337c86b 100644 --- a/src/drives/item/items/item/workbook/functions/dcountA/dcountARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dcountA/dcountARequestBuilder.ts @@ -61,7 +61,7 @@ export class DcountARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDcountAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts index 3dac5f788ef..4e4b8a16b23 100644 --- a/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoDdbPostRequestBody(ddbPostRequestBody: DdbPostReq } } export function serializeDdbPostRequestBody(writer: SerializationWriter, ddbPostRequestBody: DdbPostRequestBody | undefined = {} as DdbPostRequestBody) : void { - writer.writeObjectValue("cost", ddbPostRequestBody.cost, ); - writer.writeObjectValue("factor", ddbPostRequestBody.factor, ); - writer.writeObjectValue("life", ddbPostRequestBody.life, ); - writer.writeObjectValue("period", ddbPostRequestBody.period, ); - writer.writeObjectValue("salvage", ddbPostRequestBody.salvage, ); + writer.writeObjectValue("cost", ddbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("factor", ddbPostRequestBody.factor, serializeJson); + writer.writeObjectValue("life", ddbPostRequestBody.life, serializeJson); + writer.writeObjectValue("period", ddbPostRequestBody.period, serializeJson); + writer.writeObjectValue("salvage", ddbPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(ddbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ddb/ddbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ddb/ddbRequestBuilder.ts index 27dc132919a..3d44a7369fe 100644 --- a/src/drives/item/items/item/workbook/functions/ddb/ddbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ddb/ddbRequestBuilder.ts @@ -61,7 +61,7 @@ export class DdbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDdbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts index 1183687925b..3391fb39d95 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2BinPostRequestBody(dec2BinPostRequestBody: De } } export function serializeDec2BinPostRequestBody(writer: SerializationWriter, dec2BinPostRequestBody: Dec2BinPostRequestBody | undefined = {} as Dec2BinPostRequestBody) : void { - writer.writeObjectValue("number", dec2BinPostRequestBody.number, ); - writer.writeObjectValue("places", dec2BinPostRequestBody.places, ); + writer.writeObjectValue("number", dec2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinRequestBuilder.ts index 9ac129bb302..31f032c35fc 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinRequestBuilder.ts @@ -61,7 +61,7 @@ export class Dec2BinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDec2BinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts index 43cfd34339e..41549eb23c9 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2HexPostRequestBody(dec2HexPostRequestBody: De } } export function serializeDec2HexPostRequestBody(writer: SerializationWriter, dec2HexPostRequestBody: Dec2HexPostRequestBody | undefined = {} as Dec2HexPostRequestBody) : void { - writer.writeObjectValue("number", dec2HexPostRequestBody.number, ); - writer.writeObjectValue("places", dec2HexPostRequestBody.places, ); + writer.writeObjectValue("number", dec2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexRequestBuilder.ts index e7823bcf862..ee14e70bf6f 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexRequestBuilder.ts @@ -61,7 +61,7 @@ export class Dec2HexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDec2HexPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts index 33b6945ae12..3b0c0cbed97 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2OctPostRequestBody(dec2OctPostRequestBody: De } } export function serializeDec2OctPostRequestBody(writer: SerializationWriter, dec2OctPostRequestBody: Dec2OctPostRequestBody | undefined = {} as Dec2OctPostRequestBody) : void { - writer.writeObjectValue("number", dec2OctPostRequestBody.number, ); - writer.writeObjectValue("places", dec2OctPostRequestBody.places, ); + writer.writeObjectValue("number", dec2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctRequestBuilder.ts index 3955c6f9b7a..ed7f417957b 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctRequestBuilder.ts @@ -61,7 +61,7 @@ export class Dec2OctRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDec2OctPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts index 4fb58627ca8..1aff307b179 100644 --- a/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDecimalPostRequestBody(decimalPostRequestBody: De } } export function serializeDecimalPostRequestBody(writer: SerializationWriter, decimalPostRequestBody: DecimalPostRequestBody | undefined = {} as DecimalPostRequestBody) : void { - writer.writeObjectValue("number", decimalPostRequestBody.number, ); - writer.writeObjectValue("radix", decimalPostRequestBody.radix, ); + writer.writeObjectValue("number", decimalPostRequestBody.number, serializeJson); + writer.writeObjectValue("radix", decimalPostRequestBody.radix, serializeJson); writer.writeAdditionalData(decimalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/decimal/decimalRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/decimal/decimalRequestBuilder.ts index 4cbcfcf1d85..1739cfdb778 100644 --- a/src/drives/item/items/item/workbook/functions/decimal/decimalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/decimal/decimalRequestBuilder.ts @@ -61,7 +61,7 @@ export class DecimalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDecimalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts index 388462dda48..04889e1064c 100644 --- a/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDegreesPostRequestBody(degreesPostRequestBody: De } } export function serializeDegreesPostRequestBody(writer: SerializationWriter, degreesPostRequestBody: DegreesPostRequestBody | undefined = {} as DegreesPostRequestBody) : void { - writer.writeObjectValue("angle", degreesPostRequestBody.angle, ); + writer.writeObjectValue("angle", degreesPostRequestBody.angle, serializeJson); writer.writeAdditionalData(degreesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/degrees/degreesRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/degrees/degreesRequestBuilder.ts index e4e30f39cea..767fc9c4dd5 100644 --- a/src/drives/item/items/item/workbook/functions/degrees/degreesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/degrees/degreesRequestBuilder.ts @@ -61,7 +61,7 @@ export class DegreesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDegreesPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts index 0b3c486c770..cad4ef0b8a9 100644 --- a/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDeltaPostRequestBody(deltaPostRequestBody: DeltaP } } export function serializeDeltaPostRequestBody(writer: SerializationWriter, deltaPostRequestBody: DeltaPostRequestBody | undefined = {} as DeltaPostRequestBody) : void { - writer.writeObjectValue("number1", deltaPostRequestBody.number1, ); - writer.writeObjectValue("number2", deltaPostRequestBody.number2, ); + writer.writeObjectValue("number1", deltaPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", deltaPostRequestBody.number2, serializeJson); writer.writeAdditionalData(deltaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/delta/deltaRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/delta/deltaRequestBuilder.ts index 24ceba0bc29..ad8750082e3 100644 --- a/src/drives/item/items/item/workbook/functions/delta/deltaRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/delta/deltaRequestBuilder.ts @@ -61,7 +61,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeltaPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts index 92e7fff045c..1f32ca2eaa2 100644 --- a/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts @@ -24,7 +24,7 @@ export interface DevSqPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeDevSqPostRequestBody(writer: SerializationWriter, devSqPostRequestBody: DevSqPostRequestBody | undefined = {} as DevSqPostRequestBody) : void { - writer.writeObjectValue("values", devSqPostRequestBody.values, ); + writer.writeObjectValue("values", devSqPostRequestBody.values, serializeJson); writer.writeAdditionalData(devSqPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/devSq/devSqRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/devSq/devSqRequestBuilder.ts index 5c91f26b009..4732c51629a 100644 --- a/src/drives/item/items/item/workbook/functions/devSq/devSqRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/devSq/devSqRequestBuilder.ts @@ -61,7 +61,7 @@ export class DevSqRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDevSqPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts index ddd1e129f1f..7888ae168c7 100644 --- a/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DgetPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDgetPostRequestBody(writer: SerializationWriter, dgetPostRequestBody: DgetPostRequestBody | undefined = {} as DgetPostRequestBody) : void { - writer.writeObjectValue("criteria", dgetPostRequestBody.criteria, ); - writer.writeObjectValue("database", dgetPostRequestBody.database, ); - writer.writeObjectValue("field", dgetPostRequestBody.field, ); + writer.writeObjectValue("criteria", dgetPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dgetPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dgetPostRequestBody.field, serializeJson); writer.writeAdditionalData(dgetPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dget/dgetRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dget/dgetRequestBuilder.ts index b534d5aac8f..13e8b16324e 100644 --- a/src/drives/item/items/item/workbook/functions/dget/dgetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dget/dgetRequestBuilder.ts @@ -61,7 +61,7 @@ export class DgetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDgetPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts index a9584a9c6ba..60e0f34a5aa 100644 --- a/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts @@ -44,11 +44,11 @@ export interface DiscPostRequestBody extends AdditionalDataHolder, Parsable { settlement?: Json; } export function serializeDiscPostRequestBody(writer: SerializationWriter, discPostRequestBody: DiscPostRequestBody | undefined = {} as DiscPostRequestBody) : void { - writer.writeObjectValue("basis", discPostRequestBody.basis, ); - writer.writeObjectValue("maturity", discPostRequestBody.maturity, ); - writer.writeObjectValue("pr", discPostRequestBody.pr, ); - writer.writeObjectValue("redemption", discPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", discPostRequestBody.settlement, ); + writer.writeObjectValue("basis", discPostRequestBody.basis, serializeJson); + writer.writeObjectValue("maturity", discPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", discPostRequestBody.pr, serializeJson); + writer.writeObjectValue("redemption", discPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", discPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(discPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/disc/discRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/disc/discRequestBuilder.ts index 3916d9c4c4e..83b7c2be32d 100644 --- a/src/drives/item/items/item/workbook/functions/disc/discRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/disc/discRequestBuilder.ts @@ -61,7 +61,7 @@ export class DiscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDiscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts index 440b39b4ddf..4d8cef86daf 100644 --- a/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DmaxPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDmaxPostRequestBody(writer: SerializationWriter, dmaxPostRequestBody: DmaxPostRequestBody | undefined = {} as DmaxPostRequestBody) : void { - writer.writeObjectValue("criteria", dmaxPostRequestBody.criteria, ); - writer.writeObjectValue("database", dmaxPostRequestBody.database, ); - writer.writeObjectValue("field", dmaxPostRequestBody.field, ); + writer.writeObjectValue("criteria", dmaxPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dmaxPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dmaxPostRequestBody.field, serializeJson); writer.writeAdditionalData(dmaxPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dmax/dmaxRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dmax/dmaxRequestBuilder.ts index 64b995a6db9..dd01fa6acc1 100644 --- a/src/drives/item/items/item/workbook/functions/dmax/dmaxRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dmax/dmaxRequestBuilder.ts @@ -61,7 +61,7 @@ export class DmaxRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDmaxPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts index faecbe7514e..38dc90dd935 100644 --- a/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DminPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDminPostRequestBody(writer: SerializationWriter, dminPostRequestBody: DminPostRequestBody | undefined = {} as DminPostRequestBody) : void { - writer.writeObjectValue("criteria", dminPostRequestBody.criteria, ); - writer.writeObjectValue("database", dminPostRequestBody.database, ); - writer.writeObjectValue("field", dminPostRequestBody.field, ); + writer.writeObjectValue("criteria", dminPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dminPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dminPostRequestBody.field, serializeJson); writer.writeAdditionalData(dminPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dmin/dminRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dmin/dminRequestBuilder.ts index 4bcc760cace..d2d2774a294 100644 --- a/src/drives/item/items/item/workbook/functions/dmin/dminRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dmin/dminRequestBuilder.ts @@ -61,7 +61,7 @@ export class DminRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDminPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts index c7098e3e56f..1460683965e 100644 --- a/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeDollarPostRequestBody(writer: SerializationWriter, dollarPostRequestBody: DollarPostRequestBody | undefined = {} as DollarPostRequestBody) : void { - writer.writeObjectValue("decimals", dollarPostRequestBody.decimals, ); - writer.writeObjectValue("number", dollarPostRequestBody.number, ); + writer.writeObjectValue("decimals", dollarPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("number", dollarPostRequestBody.number, serializeJson); writer.writeAdditionalData(dollarPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollar/dollarRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dollar/dollarRequestBuilder.ts index 9e3242c8d99..cfbcd96e8b1 100644 --- a/src/drives/item/items/item/workbook/functions/dollar/dollarRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dollar/dollarRequestBuilder.ts @@ -61,7 +61,7 @@ export class DollarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDollarPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts index a1765d7dff8..6aa7570eb4e 100644 --- a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarDePostRequestBody extends AdditionalDataHolder, Parsable fractionalDollar?: Json; } export function serializeDollarDePostRequestBody(writer: SerializationWriter, dollarDePostRequestBody: DollarDePostRequestBody | undefined = {} as DollarDePostRequestBody) : void { - writer.writeObjectValue("fraction", dollarDePostRequestBody.fraction, ); - writer.writeObjectValue("fractionalDollar", dollarDePostRequestBody.fractionalDollar, ); + writer.writeObjectValue("fraction", dollarDePostRequestBody.fraction, serializeJson); + writer.writeObjectValue("fractionalDollar", dollarDePostRequestBody.fractionalDollar, serializeJson); writer.writeAdditionalData(dollarDePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDeRequestBuilder.ts index 5bf16f59689..fd1f6edf6ec 100644 --- a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDeRequestBuilder.ts @@ -61,7 +61,7 @@ export class DollarDeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDollarDePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts index 1d0a29f66cd..5a9ff2d6cde 100644 --- a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarFrPostRequestBody extends AdditionalDataHolder, Parsable fraction?: Json; } export function serializeDollarFrPostRequestBody(writer: SerializationWriter, dollarFrPostRequestBody: DollarFrPostRequestBody | undefined = {} as DollarFrPostRequestBody) : void { - writer.writeObjectValue("decimalDollar", dollarFrPostRequestBody.decimalDollar, ); - writer.writeObjectValue("fraction", dollarFrPostRequestBody.fraction, ); + writer.writeObjectValue("decimalDollar", dollarFrPostRequestBody.decimalDollar, serializeJson); + writer.writeObjectValue("fraction", dollarFrPostRequestBody.fraction, serializeJson); writer.writeAdditionalData(dollarFrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrRequestBuilder.ts index 3e57f27d262..97aa2f84dfc 100644 --- a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrRequestBuilder.ts @@ -61,7 +61,7 @@ export class DollarFrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDollarFrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts index cb4bc171383..2cd92df80e7 100644 --- a/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DproductPostRequestBody extends AdditionalDataHolder, Parsable field?: Json; } export function serializeDproductPostRequestBody(writer: SerializationWriter, dproductPostRequestBody: DproductPostRequestBody | undefined = {} as DproductPostRequestBody) : void { - writer.writeObjectValue("criteria", dproductPostRequestBody.criteria, ); - writer.writeObjectValue("database", dproductPostRequestBody.database, ); - writer.writeObjectValue("field", dproductPostRequestBody.field, ); + writer.writeObjectValue("criteria", dproductPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dproductPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dproductPostRequestBody.field, serializeJson); writer.writeAdditionalData(dproductPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dproduct/dproductRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dproduct/dproductRequestBuilder.ts index 6338be98c1e..28aadf6af7e 100644 --- a/src/drives/item/items/item/workbook/functions/dproduct/dproductRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dproduct/dproductRequestBuilder.ts @@ -61,7 +61,7 @@ export class DproductRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDproductPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts index 3f2911e5f2b..c3b5390efcd 100644 --- a/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DstDevPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDstDevPostRequestBody(writer: SerializationWriter, dstDevPostRequestBody: DstDevPostRequestBody | undefined = {} as DstDevPostRequestBody) : void { - writer.writeObjectValue("criteria", dstDevPostRequestBody.criteria, ); - writer.writeObjectValue("database", dstDevPostRequestBody.database, ); - writer.writeObjectValue("field", dstDevPostRequestBody.field, ); + writer.writeObjectValue("criteria", dstDevPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dstDevPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dstDevPostRequestBody.field, serializeJson); writer.writeAdditionalData(dstDevPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dstDev/dstDevRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dstDev/dstDevRequestBuilder.ts index 31af90ee813..7c1e874af6f 100644 --- a/src/drives/item/items/item/workbook/functions/dstDev/dstDevRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dstDev/dstDevRequestBuilder.ts @@ -61,7 +61,7 @@ export class DstDevRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDstDevPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts index ae4cc6a81ad..8d43a9e7046 100644 --- a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DstDevPPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDstDevPPostRequestBody(writer: SerializationWriter, dstDevPPostRequestBody: DstDevPPostRequestBody | undefined = {} as DstDevPPostRequestBody) : void { - writer.writeObjectValue("criteria", dstDevPPostRequestBody.criteria, ); - writer.writeObjectValue("database", dstDevPPostRequestBody.database, ); - writer.writeObjectValue("field", dstDevPPostRequestBody.field, ); + writer.writeObjectValue("criteria", dstDevPPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dstDevPPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dstDevPPostRequestBody.field, serializeJson); writer.writeAdditionalData(dstDevPPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPRequestBuilder.ts index cccc37564b2..607e4cffcfb 100644 --- a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPRequestBuilder.ts @@ -61,7 +61,7 @@ export class DstDevPRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDstDevPPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts index e7622bc3736..18d6848a23f 100644 --- a/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DsumPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDsumPostRequestBody(writer: SerializationWriter, dsumPostRequestBody: DsumPostRequestBody | undefined = {} as DsumPostRequestBody) : void { - writer.writeObjectValue("criteria", dsumPostRequestBody.criteria, ); - writer.writeObjectValue("database", dsumPostRequestBody.database, ); - writer.writeObjectValue("field", dsumPostRequestBody.field, ); + writer.writeObjectValue("criteria", dsumPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dsumPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dsumPostRequestBody.field, serializeJson); writer.writeAdditionalData(dsumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dsum/dsumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dsum/dsumRequestBuilder.ts index dc3ce9f0bdf..444f2a0cce5 100644 --- a/src/drives/item/items/item/workbook/functions/dsum/dsumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dsum/dsumRequestBuilder.ts @@ -61,7 +61,7 @@ export class DsumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDsumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts index 80e9ca9c460..a316ad6e5fd 100644 --- a/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts @@ -49,12 +49,12 @@ export interface DurationPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeDurationPostRequestBody(writer: SerializationWriter, durationPostRequestBody: DurationPostRequestBody | undefined = {} as DurationPostRequestBody) : void { - writer.writeObjectValue("basis", durationPostRequestBody.basis, ); - writer.writeObjectValue("coupon", durationPostRequestBody.coupon, ); - writer.writeObjectValue("frequency", durationPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", durationPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", durationPostRequestBody.settlement, ); - writer.writeObjectValue("yld", durationPostRequestBody.yld, ); + writer.writeObjectValue("basis", durationPostRequestBody.basis, serializeJson); + writer.writeObjectValue("coupon", durationPostRequestBody.coupon, serializeJson); + writer.writeObjectValue("frequency", durationPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", durationPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", durationPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", durationPostRequestBody.yld, serializeJson); writer.writeAdditionalData(durationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/duration/durationRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/duration/durationRequestBuilder.ts index de4b213126b..25ccca5db55 100644 --- a/src/drives/item/items/item/workbook/functions/duration/durationRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/duration/durationRequestBuilder.ts @@ -61,7 +61,7 @@ export class DurationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDurationPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts index bb2001d2daf..b0631917929 100644 --- a/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DvarPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDvarPostRequestBody(writer: SerializationWriter, dvarPostRequestBody: DvarPostRequestBody | undefined = {} as DvarPostRequestBody) : void { - writer.writeObjectValue("criteria", dvarPostRequestBody.criteria, ); - writer.writeObjectValue("database", dvarPostRequestBody.database, ); - writer.writeObjectValue("field", dvarPostRequestBody.field, ); + writer.writeObjectValue("criteria", dvarPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dvarPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dvarPostRequestBody.field, serializeJson); writer.writeAdditionalData(dvarPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dvar/dvarRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dvar/dvarRequestBuilder.ts index 47d3f5ced9f..b076ba9588f 100644 --- a/src/drives/item/items/item/workbook/functions/dvar/dvarRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dvar/dvarRequestBuilder.ts @@ -61,7 +61,7 @@ export class DvarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDvarPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts index 91227d84d13..08cd86ebd2c 100644 --- a/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DvarPPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDvarPPostRequestBody(writer: SerializationWriter, dvarPPostRequestBody: DvarPPostRequestBody | undefined = {} as DvarPPostRequestBody) : void { - writer.writeObjectValue("criteria", dvarPPostRequestBody.criteria, ); - writer.writeObjectValue("database", dvarPPostRequestBody.database, ); - writer.writeObjectValue("field", dvarPPostRequestBody.field, ); + writer.writeObjectValue("criteria", dvarPPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dvarPPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dvarPPostRequestBody.field, serializeJson); writer.writeAdditionalData(dvarPPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dvarP/dvarPRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/dvarP/dvarPRequestBuilder.ts index 8eff1f271a4..28423625ff6 100644 --- a/src/drives/item/items/item/workbook/functions/dvarP/dvarPRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/dvarP/dvarPRequestBuilder.ts @@ -61,7 +61,7 @@ export class DvarPRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDvarPPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts index ed884438b4c..313f9eaf136 100644 --- a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Ecma_CeilingPostRequestBody extends AdditionalDataHolder, Parsa significance?: Json; } export function serializeEcma_CeilingPostRequestBody(writer: SerializationWriter, ecma_CeilingPostRequestBody: Ecma_CeilingPostRequestBody | undefined = {} as Ecma_CeilingPostRequestBody) : void { - writer.writeObjectValue("number", ecma_CeilingPostRequestBody.number, ); - writer.writeObjectValue("significance", ecma_CeilingPostRequestBody.significance, ); + writer.writeObjectValue("number", ecma_CeilingPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ecma_CeilingPostRequestBody.significance, serializeJson); writer.writeAdditionalData(ecma_CeilingPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingRequestBuilder.ts index 3058f4a9f8c..59427286c74 100644 --- a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingRequestBuilder.ts @@ -61,7 +61,7 @@ export class Ecma_CeilingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEcma_CeilingPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts index 82ba21cf00f..3d6d7132a2e 100644 --- a/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts @@ -29,8 +29,8 @@ export interface EdatePostRequestBody extends AdditionalDataHolder, Parsable { startDate?: Json; } export function serializeEdatePostRequestBody(writer: SerializationWriter, edatePostRequestBody: EdatePostRequestBody | undefined = {} as EdatePostRequestBody) : void { - writer.writeObjectValue("months", edatePostRequestBody.months, ); - writer.writeObjectValue("startDate", edatePostRequestBody.startDate, ); + writer.writeObjectValue("months", edatePostRequestBody.months, serializeJson); + writer.writeObjectValue("startDate", edatePostRequestBody.startDate, serializeJson); writer.writeAdditionalData(edatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/edate/edateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/edate/edateRequestBuilder.ts index 95a5747472c..eef4548adaa 100644 --- a/src/drives/item/items/item/workbook/functions/edate/edateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/edate/edateRequestBuilder.ts @@ -61,7 +61,7 @@ export class EdateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEdatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts index 37da8c1e8f3..015f448e85f 100644 --- a/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts @@ -29,8 +29,8 @@ export interface EffectPostRequestBody extends AdditionalDataHolder, Parsable { npery?: Json; } export function serializeEffectPostRequestBody(writer: SerializationWriter, effectPostRequestBody: EffectPostRequestBody | undefined = {} as EffectPostRequestBody) : void { - writer.writeObjectValue("nominalRate", effectPostRequestBody.nominalRate, ); - writer.writeObjectValue("npery", effectPostRequestBody.npery, ); + writer.writeObjectValue("nominalRate", effectPostRequestBody.nominalRate, serializeJson); + writer.writeObjectValue("npery", effectPostRequestBody.npery, serializeJson); writer.writeAdditionalData(effectPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/effect/effectRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/effect/effectRequestBuilder.ts index 1fb596dbe55..3401d989342 100644 --- a/src/drives/item/items/item/workbook/functions/effect/effectRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/effect/effectRequestBuilder.ts @@ -61,7 +61,7 @@ export class EffectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEffectPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts index 5b72b42c7c9..a5b95171c2e 100644 --- a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts @@ -29,8 +29,8 @@ export interface EoMonthPostRequestBody extends AdditionalDataHolder, Parsable { startDate?: Json; } export function serializeEoMonthPostRequestBody(writer: SerializationWriter, eoMonthPostRequestBody: EoMonthPostRequestBody | undefined = {} as EoMonthPostRequestBody) : void { - writer.writeObjectValue("months", eoMonthPostRequestBody.months, ); - writer.writeObjectValue("startDate", eoMonthPostRequestBody.startDate, ); + writer.writeObjectValue("months", eoMonthPostRequestBody.months, serializeJson); + writer.writeObjectValue("startDate", eoMonthPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(eoMonthPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthRequestBuilder.ts index d05f67f5edb..58312409a31 100644 --- a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthRequestBuilder.ts @@ -61,7 +61,7 @@ export class EoMonthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEoMonthPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts index fad0562086b..31250c40bcf 100644 --- a/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ErfPostRequestBody extends AdditionalDataHolder, Parsable { upperLimit?: Json; } export function serializeErfPostRequestBody(writer: SerializationWriter, erfPostRequestBody: ErfPostRequestBody | undefined = {} as ErfPostRequestBody) : void { - writer.writeObjectValue("lowerLimit", erfPostRequestBody.lowerLimit, ); - writer.writeObjectValue("upperLimit", erfPostRequestBody.upperLimit, ); + writer.writeObjectValue("lowerLimit", erfPostRequestBody.lowerLimit, serializeJson); + writer.writeObjectValue("upperLimit", erfPostRequestBody.upperLimit, serializeJson); writer.writeAdditionalData(erfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erf/erfRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/erf/erfRequestBuilder.ts index c8a796e36cb..7d1eb311e90 100644 --- a/src/drives/item/items/item/workbook/functions/erf/erfRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/erf/erfRequestBuilder.ts @@ -61,7 +61,7 @@ export class ErfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeErfPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts index f365e986ee1..3236f05b914 100644 --- a/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ErfCPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeErfCPostRequestBody(writer: SerializationWriter, erfCPostRequestBody: ErfCPostRequestBody | undefined = {} as ErfCPostRequestBody) : void { - writer.writeObjectValue("x", erfCPostRequestBody.x, ); + writer.writeObjectValue("x", erfCPostRequestBody.x, serializeJson); writer.writeAdditionalData(erfCPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erfC/erfCRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/erfC/erfCRequestBuilder.ts index 343413056b4..a32d77bcfb0 100644 --- a/src/drives/item/items/item/workbook/functions/erfC/erfCRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/erfC/erfCRequestBuilder.ts @@ -61,7 +61,7 @@ export class ErfCRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeErfCPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts index 6e70547fa27..cddc1cbb742 100644 --- a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface ErfC_PrecisePostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializeErfC_PrecisePostRequestBody(writer: SerializationWriter, erfC_PrecisePostRequestBody: ErfC_PrecisePostRequestBody | undefined = {} as ErfC_PrecisePostRequestBody) : void { - writer.writeObjectValue("X", erfC_PrecisePostRequestBody.x, ); + writer.writeObjectValue("X", erfC_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(erfC_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PreciseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PreciseRequestBuilder.ts index d0ef27df99e..4d4c88acb2c 100644 --- a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PreciseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PreciseRequestBuilder.ts @@ -61,7 +61,7 @@ export class ErfC_PreciseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeErfC_PrecisePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts index 00cc14151c4..ee6fbb75c33 100644 --- a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface Erf_PrecisePostRequestBody extends AdditionalDataHolder, Parsab x?: Json; } export function serializeErf_PrecisePostRequestBody(writer: SerializationWriter, erf_PrecisePostRequestBody: Erf_PrecisePostRequestBody | undefined = {} as Erf_PrecisePostRequestBody) : void { - writer.writeObjectValue("X", erf_PrecisePostRequestBody.x, ); + writer.writeObjectValue("X", erf_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(erf_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PreciseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PreciseRequestBuilder.ts index 79f58286ccf..82953adb7f9 100644 --- a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PreciseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PreciseRequestBuilder.ts @@ -61,7 +61,7 @@ export class Erf_PreciseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeErf_PrecisePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts index 9ca33d9e0e7..54863a50ee5 100644 --- a/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts @@ -24,7 +24,7 @@ export interface Error_TypePostRequestBody extends AdditionalDataHolder, Parsabl errorVal?: Json; } export function serializeError_TypePostRequestBody(writer: SerializationWriter, error_TypePostRequestBody: Error_TypePostRequestBody | undefined = {} as Error_TypePostRequestBody) : void { - writer.writeObjectValue("errorVal", error_TypePostRequestBody.errorVal, ); + writer.writeObjectValue("errorVal", error_TypePostRequestBody.errorVal, serializeJson); writer.writeAdditionalData(error_TypePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/error_Type/error_TypeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/error_Type/error_TypeRequestBuilder.ts index f0911447a71..cba26e4c32f 100644 --- a/src/drives/item/items/item/workbook/functions/error_Type/error_TypeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/error_Type/error_TypeRequestBuilder.ts @@ -61,7 +61,7 @@ export class Error_TypeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeError_TypePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts index c648404c971..2e6c6f9354d 100644 --- a/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface EvenPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeEvenPostRequestBody(writer: SerializationWriter, evenPostRequestBody: EvenPostRequestBody | undefined = {} as EvenPostRequestBody) : void { - writer.writeObjectValue("number", evenPostRequestBody.number, ); + writer.writeObjectValue("number", evenPostRequestBody.number, serializeJson); writer.writeAdditionalData(evenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/even/evenRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/even/evenRequestBuilder.ts index 7e750a7068a..949a57e7c24 100644 --- a/src/drives/item/items/item/workbook/functions/even/evenRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/even/evenRequestBuilder.ts @@ -61,7 +61,7 @@ export class EvenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvenPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts index b6d3f4576f5..f6f9fbe656f 100644 --- a/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ExactPostRequestBody extends AdditionalDataHolder, Parsable { text2?: Json; } export function serializeExactPostRequestBody(writer: SerializationWriter, exactPostRequestBody: ExactPostRequestBody | undefined = {} as ExactPostRequestBody) : void { - writer.writeObjectValue("text1", exactPostRequestBody.text1, ); - writer.writeObjectValue("text2", exactPostRequestBody.text2, ); + writer.writeObjectValue("text1", exactPostRequestBody.text1, serializeJson); + writer.writeObjectValue("text2", exactPostRequestBody.text2, serializeJson); writer.writeAdditionalData(exactPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/exact/exactRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/exact/exactRequestBuilder.ts index 11d45f16d2d..9ebe019c164 100644 --- a/src/drives/item/items/item/workbook/functions/exact/exactRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/exact/exactRequestBuilder.ts @@ -61,7 +61,7 @@ export class ExactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExactPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts index 917292d735c..7ca01c4db5a 100644 --- a/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ExpPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeExpPostRequestBody(writer: SerializationWriter, expPostRequestBody: ExpPostRequestBody | undefined = {} as ExpPostRequestBody) : void { - writer.writeObjectValue("number", expPostRequestBody.number, ); + writer.writeObjectValue("number", expPostRequestBody.number, serializeJson); writer.writeAdditionalData(expPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/exp/expRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/exp/expRequestBuilder.ts index bac9e9f3fb8..18af1645f30 100644 --- a/src/drives/item/items/item/workbook/functions/exp/expRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/exp/expRequestBuilder.ts @@ -61,7 +61,7 @@ export class ExpRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExpPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts index f9945203296..2fbdba9b9eb 100644 --- a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Expon_DistPostRequestBody extends AdditionalDataHolder, Parsabl x?: Json; } export function serializeExpon_DistPostRequestBody(writer: SerializationWriter, expon_DistPostRequestBody: Expon_DistPostRequestBody | undefined = {} as Expon_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", expon_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("lambda", expon_DistPostRequestBody.lambda, ); - writer.writeObjectValue("x", expon_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", expon_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("lambda", expon_DistPostRequestBody.lambda, serializeJson); + writer.writeObjectValue("x", expon_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(expon_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistRequestBuilder.ts index aacd90f56de..129a5bb07c1 100644 --- a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Expon_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExpon_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts index 62184b6b2a5..f0706f21220 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface F_DistPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeF_DistPostRequestBody(writer: SerializationWriter, f_DistPostRequestBody: F_DistPostRequestBody | undefined = {} as F_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", f_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom1", f_DistPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_DistPostRequestBody.degFreedom2, ); - writer.writeObjectValue("x", f_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", f_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom1", f_DistPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_DistPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("x", f_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(f_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistRequestBuilder.ts index c1ae13cceec..bf21ecac863 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class F_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeF_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts index 53bdd571cbb..4018544ec3e 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_Dist_RTPostRequestBody extends AdditionalDataHolder, Parsable x?: Json; } export function serializeF_Dist_RTPostRequestBody(writer: SerializationWriter, f_Dist_RTPostRequestBody: F_Dist_RTPostRequestBody | undefined = {} as F_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_Dist_RTPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_Dist_RTPostRequestBody.degFreedom2, ); - writer.writeObjectValue("x", f_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom1", f_Dist_RTPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_Dist_RTPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("x", f_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(f_Dist_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTRequestBuilder.ts index 1d4162b6406..df8bbc136f6 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTRequestBuilder.ts @@ -61,7 +61,7 @@ export class F_Dist_RTRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeF_Dist_RTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts index b08c114ed09..9b288f2f2e3 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_InvPostRequestBody extends AdditionalDataHolder, Parsable { probability?: Json; } export function serializeF_InvPostRequestBody(writer: SerializationWriter, f_InvPostRequestBody: F_InvPostRequestBody | undefined = {} as F_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_InvPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_InvPostRequestBody.degFreedom2, ); - writer.writeObjectValue("probability", f_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom1", f_InvPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_InvPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("probability", f_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(f_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvRequestBuilder.ts index 1d849307151..61200d157d2 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class F_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeF_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts index 7555691387e..36af91412de 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_Inv_RTPostRequestBody extends AdditionalDataHolder, Parsable probability?: Json; } export function serializeF_Inv_RTPostRequestBody(writer: SerializationWriter, f_Inv_RTPostRequestBody: F_Inv_RTPostRequestBody | undefined = {} as F_Inv_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_Inv_RTPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_Inv_RTPostRequestBody.degFreedom2, ); - writer.writeObjectValue("probability", f_Inv_RTPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom1", f_Inv_RTPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_Inv_RTPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("probability", f_Inv_RTPostRequestBody.probability, serializeJson); writer.writeAdditionalData(f_Inv_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTRequestBuilder.ts index 00e99b615bf..a788ccb033c 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTRequestBuilder.ts @@ -61,7 +61,7 @@ export class F_Inv_RTRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeF_Inv_RTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts index 9714f0d31cb..85abda0d783 100644 --- a/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FactPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeFactPostRequestBody(writer: SerializationWriter, factPostRequestBody: FactPostRequestBody | undefined = {} as FactPostRequestBody) : void { - writer.writeObjectValue("number", factPostRequestBody.number, ); + writer.writeObjectValue("number", factPostRequestBody.number, serializeJson); writer.writeAdditionalData(factPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fact/factRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fact/factRequestBuilder.ts index d9138bace91..7ba679349eb 100644 --- a/src/drives/item/items/item/workbook/functions/fact/factRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fact/factRequestBuilder.ts @@ -61,7 +61,7 @@ export class FactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFactPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts index b8d5079f690..ce7c6fbf9c7 100644 --- a/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts @@ -24,7 +24,7 @@ export interface FactDoublePostRequestBody extends AdditionalDataHolder, Parsabl number?: Json; } export function serializeFactDoublePostRequestBody(writer: SerializationWriter, factDoublePostRequestBody: FactDoublePostRequestBody | undefined = {} as FactDoublePostRequestBody) : void { - writer.writeObjectValue("number", factDoublePostRequestBody.number, ); + writer.writeObjectValue("number", factDoublePostRequestBody.number, serializeJson); writer.writeAdditionalData(factDoublePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/factDouble/factDoubleRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/factDouble/factDoubleRequestBuilder.ts index 462387f3870..9bc2ff4df68 100644 --- a/src/drives/item/items/item/workbook/functions/factDouble/factDoubleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/factDouble/factDoubleRequestBuilder.ts @@ -61,7 +61,7 @@ export class FactDoubleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFactDoublePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/falseEscaped/falseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/falseEscaped/falseRequestBuilder.ts index c2af0065232..9d7b29790cd 100644 --- a/src/drives/item/items/item/workbook/functions/falseEscaped/falseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/falseEscaped/falseRequestBuilder.ts @@ -58,7 +58,7 @@ export class FalseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts index 976f0466ff9..f1a8a51fddf 100644 --- a/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FindPostRequestBody extends AdditionalDataHolder, Parsable { withinText?: Json; } export function serializeFindPostRequestBody(writer: SerializationWriter, findPostRequestBody: FindPostRequestBody | undefined = {} as FindPostRequestBody) : void { - writer.writeObjectValue("findText", findPostRequestBody.findText, ); - writer.writeObjectValue("startNum", findPostRequestBody.startNum, ); - writer.writeObjectValue("withinText", findPostRequestBody.withinText, ); + writer.writeObjectValue("findText", findPostRequestBody.findText, serializeJson); + writer.writeObjectValue("startNum", findPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("withinText", findPostRequestBody.withinText, serializeJson); writer.writeAdditionalData(findPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/find/findRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/find/findRequestBuilder.ts index d52c2b9f6e2..f5d07a547a8 100644 --- a/src/drives/item/items/item/workbook/functions/find/findRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/find/findRequestBuilder.ts @@ -61,7 +61,7 @@ export class FindRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFindPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts index 2324422cfa0..0cec70456cf 100644 --- a/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FindBPostRequestBody extends AdditionalDataHolder, Parsable { withinText?: Json; } export function serializeFindBPostRequestBody(writer: SerializationWriter, findBPostRequestBody: FindBPostRequestBody | undefined = {} as FindBPostRequestBody) : void { - writer.writeObjectValue("findText", findBPostRequestBody.findText, ); - writer.writeObjectValue("startNum", findBPostRequestBody.startNum, ); - writer.writeObjectValue("withinText", findBPostRequestBody.withinText, ); + writer.writeObjectValue("findText", findBPostRequestBody.findText, serializeJson); + writer.writeObjectValue("startNum", findBPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("withinText", findBPostRequestBody.withinText, serializeJson); writer.writeAdditionalData(findBPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/findB/findBRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/findB/findBRequestBuilder.ts index 356e1cfe65b..e85074571ea 100644 --- a/src/drives/item/items/item/workbook/functions/findB/findBRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/findB/findBRequestBuilder.ts @@ -61,7 +61,7 @@ export class FindBRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFindBPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts index a5be030f6df..01468968e41 100644 --- a/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FisherPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeFisherPostRequestBody(writer: SerializationWriter, fisherPostRequestBody: FisherPostRequestBody | undefined = {} as FisherPostRequestBody) : void { - writer.writeObjectValue("x", fisherPostRequestBody.x, ); + writer.writeObjectValue("x", fisherPostRequestBody.x, serializeJson); writer.writeAdditionalData(fisherPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fisher/fisherRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fisher/fisherRequestBuilder.ts index c7c53519d36..4fcf3610e61 100644 --- a/src/drives/item/items/item/workbook/functions/fisher/fisherRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fisher/fisherRequestBuilder.ts @@ -61,7 +61,7 @@ export class FisherRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFisherPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts index 1c3d54d0305..6c3959793c9 100644 --- a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FisherInvPostRequestBody extends AdditionalDataHolder, Parsable y?: Json; } export function serializeFisherInvPostRequestBody(writer: SerializationWriter, fisherInvPostRequestBody: FisherInvPostRequestBody | undefined = {} as FisherInvPostRequestBody) : void { - writer.writeObjectValue("y", fisherInvPostRequestBody.y, ); + writer.writeObjectValue("y", fisherInvPostRequestBody.y, serializeJson); writer.writeAdditionalData(fisherInvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvRequestBuilder.ts index 2b63fc24525..9b4d12b7fc2 100644 --- a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvRequestBuilder.ts @@ -61,7 +61,7 @@ export class FisherInvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFisherInvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts index cdb2bb2d242..4c112505af1 100644 --- a/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FixedPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeFixedPostRequestBody(writer: SerializationWriter, fixedPostRequestBody: FixedPostRequestBody | undefined = {} as FixedPostRequestBody) : void { - writer.writeObjectValue("decimals", fixedPostRequestBody.decimals, ); - writer.writeObjectValue("noCommas", fixedPostRequestBody.noCommas, ); - writer.writeObjectValue("number", fixedPostRequestBody.number, ); + writer.writeObjectValue("decimals", fixedPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("noCommas", fixedPostRequestBody.noCommas, serializeJson); + writer.writeObjectValue("number", fixedPostRequestBody.number, serializeJson); writer.writeAdditionalData(fixedPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fixed/fixedRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fixed/fixedRequestBuilder.ts index 27ebea9788d..6e3d06bea18 100644 --- a/src/drives/item/items/item/workbook/functions/fixed/fixedRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fixed/fixedRequestBuilder.ts @@ -61,7 +61,7 @@ export class FixedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFixedPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts index b05d7717fc6..0323cfe2df6 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Floor_MathPostRequestBody extends AdditionalDataHolder, Parsabl significance?: Json; } export function serializeFloor_MathPostRequestBody(writer: SerializationWriter, floor_MathPostRequestBody: Floor_MathPostRequestBody | undefined = {} as Floor_MathPostRequestBody) : void { - writer.writeObjectValue("mode", floor_MathPostRequestBody.mode, ); - writer.writeObjectValue("number", floor_MathPostRequestBody.number, ); - writer.writeObjectValue("significance", floor_MathPostRequestBody.significance, ); + writer.writeObjectValue("mode", floor_MathPostRequestBody.mode, serializeJson); + writer.writeObjectValue("number", floor_MathPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", floor_MathPostRequestBody.significance, serializeJson); writer.writeAdditionalData(floor_MathPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathRequestBuilder.ts index 004a58b5b2e..bd29586e790 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathRequestBuilder.ts @@ -61,7 +61,7 @@ export class Floor_MathRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFloor_MathPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts index 3f31e547cee..c819d3a42ed 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts @@ -29,8 +29,8 @@ export interface Floor_PrecisePostRequestBody extends AdditionalDataHolder, Pars significance?: Json; } export function serializeFloor_PrecisePostRequestBody(writer: SerializationWriter, floor_PrecisePostRequestBody: Floor_PrecisePostRequestBody | undefined = {} as Floor_PrecisePostRequestBody) : void { - writer.writeObjectValue("number", floor_PrecisePostRequestBody.number, ); - writer.writeObjectValue("significance", floor_PrecisePostRequestBody.significance, ); + writer.writeObjectValue("number", floor_PrecisePostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", floor_PrecisePostRequestBody.significance, serializeJson); writer.writeAdditionalData(floor_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PreciseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PreciseRequestBuilder.ts index 7400c8876cf..9f497aa3ff9 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PreciseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PreciseRequestBuilder.ts @@ -61,7 +61,7 @@ export class Floor_PreciseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFloor_PrecisePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/functionsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/functionsRequestBuilder.ts index 8b221ed0977..04854611318 100644 --- a/src/drives/item/items/item/workbook/functions/functionsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/functionsRequestBuilder.ts @@ -2683,7 +2683,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -2701,7 +2701,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -2720,7 +2720,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookFunctions); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts index 9e2238d3ea8..051ef41437c 100644 --- a/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts @@ -44,11 +44,11 @@ export interface FvPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeFvPostRequestBody(writer: SerializationWriter, fvPostRequestBody: FvPostRequestBody | undefined = {} as FvPostRequestBody) : void { - writer.writeObjectValue("nper", fvPostRequestBody.nper, ); - writer.writeObjectValue("pmt", fvPostRequestBody.pmt, ); - writer.writeObjectValue("pv", fvPostRequestBody.pv, ); - writer.writeObjectValue("rate", fvPostRequestBody.rate, ); - writer.writeObjectValue("type", fvPostRequestBody.type, ); + writer.writeObjectValue("nper", fvPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", fvPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", fvPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", fvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", fvPostRequestBody.type, serializeJson); writer.writeAdditionalData(fvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fv/fvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fv/fvRequestBuilder.ts index 9023ea25f29..2514c28f7e8 100644 --- a/src/drives/item/items/item/workbook/functions/fv/fvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fv/fvRequestBuilder.ts @@ -61,7 +61,7 @@ export class FvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts index a858f15ded5..04495e20c13 100644 --- a/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts @@ -29,8 +29,8 @@ export interface FvschedulePostRequestBody extends AdditionalDataHolder, Parsabl schedule?: Json; } export function serializeFvschedulePostRequestBody(writer: SerializationWriter, fvschedulePostRequestBody: FvschedulePostRequestBody | undefined = {} as FvschedulePostRequestBody) : void { - writer.writeObjectValue("principal", fvschedulePostRequestBody.principal, ); - writer.writeObjectValue("schedule", fvschedulePostRequestBody.schedule, ); + writer.writeObjectValue("principal", fvschedulePostRequestBody.principal, serializeJson); + writer.writeObjectValue("schedule", fvschedulePostRequestBody.schedule, serializeJson); writer.writeAdditionalData(fvschedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fvschedule/fvscheduleRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/fvschedule/fvscheduleRequestBuilder.ts index b4f84082739..75f3bc76667 100644 --- a/src/drives/item/items/item/workbook/functions/fvschedule/fvscheduleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/fvschedule/fvscheduleRequestBuilder.ts @@ -61,7 +61,7 @@ export class FvscheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFvschedulePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts index e9733b1fa9b..f106410096e 100644 --- a/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGammaPostRequestBody(writer: SerializationWriter, gammaPostRequestBody: GammaPostRequestBody | undefined = {} as GammaPostRequestBody) : void { - writer.writeObjectValue("x", gammaPostRequestBody.x, ); + writer.writeObjectValue("x", gammaPostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma/gammaRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gamma/gammaRequestBuilder.ts index 8cb6113e2e3..5d5d67f6000 100644 --- a/src/drives/item/items/item/workbook/functions/gamma/gammaRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gamma/gammaRequestBuilder.ts @@ -61,7 +61,7 @@ export class GammaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGammaPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts index 2978a5e1059..f00c2b7071d 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaLnPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGammaLnPostRequestBody(writer: SerializationWriter, gammaLnPostRequestBody: GammaLnPostRequestBody | undefined = {} as GammaLnPostRequestBody) : void { - writer.writeObjectValue("x", gammaLnPostRequestBody.x, ); + writer.writeObjectValue("x", gammaLnPostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaLnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnRequestBuilder.ts index 8750ee549a4..a878187e47c 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnRequestBuilder.ts @@ -61,7 +61,7 @@ export class GammaLnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGammaLnPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts index 5c1006087c8..03c80b4afcb 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaLn_PrecisePostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializeGammaLn_PrecisePostRequestBody(writer: SerializationWriter, gammaLn_PrecisePostRequestBody: GammaLn_PrecisePostRequestBody | undefined = {} as GammaLn_PrecisePostRequestBody) : void { - writer.writeObjectValue("x", gammaLn_PrecisePostRequestBody.x, ); + writer.writeObjectValue("x", gammaLn_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaLn_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PreciseRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PreciseRequestBuilder.ts index 28796ecd6ce..dbe16ff1dd2 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PreciseRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PreciseRequestBuilder.ts @@ -61,7 +61,7 @@ export class GammaLn_PreciseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGammaLn_PrecisePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts index 26a41b4d29c..c171ebcb32a 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface Gamma_DistPostRequestBody extends AdditionalDataHolder, Parsabl x?: Json; } export function serializeGamma_DistPostRequestBody(writer: SerializationWriter, gamma_DistPostRequestBody: Gamma_DistPostRequestBody | undefined = {} as Gamma_DistPostRequestBody) : void { - writer.writeObjectValue("alpha", gamma_DistPostRequestBody.alpha, ); - writer.writeObjectValue("beta", gamma_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", gamma_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", gamma_DistPostRequestBody.x, ); + writer.writeObjectValue("alpha", gamma_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", gamma_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", gamma_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", gamma_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(gamma_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistRequestBuilder.ts index 12e967115c0..a7db4fbf702 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Gamma_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGamma_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts index f96ca7ef10f..1e75f807f07 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Gamma_InvPostRequestBody extends AdditionalDataHolder, Parsable probability?: Json; } export function serializeGamma_InvPostRequestBody(writer: SerializationWriter, gamma_InvPostRequestBody: Gamma_InvPostRequestBody | undefined = {} as Gamma_InvPostRequestBody) : void { - writer.writeObjectValue("alpha", gamma_InvPostRequestBody.alpha, ); - writer.writeObjectValue("beta", gamma_InvPostRequestBody.beta, ); - writer.writeObjectValue("probability", gamma_InvPostRequestBody.probability, ); + writer.writeObjectValue("alpha", gamma_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", gamma_InvPostRequestBody.beta, serializeJson); + writer.writeObjectValue("probability", gamma_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(gamma_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvRequestBuilder.ts index c32392e7b78..490f548d14a 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class Gamma_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGamma_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts index 05744d9dc84..d2b63d7d852 100644 --- a/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GaussPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGaussPostRequestBody(writer: SerializationWriter, gaussPostRequestBody: GaussPostRequestBody | undefined = {} as GaussPostRequestBody) : void { - writer.writeObjectValue("x", gaussPostRequestBody.x, ); + writer.writeObjectValue("x", gaussPostRequestBody.x, serializeJson); writer.writeAdditionalData(gaussPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gauss/gaussRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gauss/gaussRequestBuilder.ts index 7318e476a24..c6acfe33a4f 100644 --- a/src/drives/item/items/item/workbook/functions/gauss/gaussRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gauss/gaussRequestBuilder.ts @@ -61,7 +61,7 @@ export class GaussRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGaussPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts index 91c0a5df345..2c5a8dc1a2e 100644 --- a/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GcdPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeGcdPostRequestBody(writer: SerializationWriter, gcdPostRequestBody: GcdPostRequestBody | undefined = {} as GcdPostRequestBody) : void { - writer.writeObjectValue("values", gcdPostRequestBody.values, ); + writer.writeObjectValue("values", gcdPostRequestBody.values, serializeJson); writer.writeAdditionalData(gcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gcd/gcdRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/gcd/gcdRequestBuilder.ts index c3ef12cdba3..ee420f43115 100644 --- a/src/drives/item/items/item/workbook/functions/gcd/gcdRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/gcd/gcdRequestBuilder.ts @@ -61,7 +61,7 @@ export class GcdRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGcdPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts index bbc97942b37..af18a429a00 100644 --- a/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts @@ -29,8 +29,8 @@ export interface GeStepPostRequestBody extends AdditionalDataHolder, Parsable { step?: Json; } export function serializeGeStepPostRequestBody(writer: SerializationWriter, geStepPostRequestBody: GeStepPostRequestBody | undefined = {} as GeStepPostRequestBody) : void { - writer.writeObjectValue("number", geStepPostRequestBody.number, ); - writer.writeObjectValue("step", geStepPostRequestBody.step, ); + writer.writeObjectValue("number", geStepPostRequestBody.number, serializeJson); + writer.writeObjectValue("step", geStepPostRequestBody.step, serializeJson); writer.writeAdditionalData(geStepPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/geStep/geStepRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/geStep/geStepRequestBuilder.ts index 591b71ed499..97b997adbe2 100644 --- a/src/drives/item/items/item/workbook/functions/geStep/geStepRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/geStep/geStepRequestBuilder.ts @@ -61,7 +61,7 @@ export class GeStepRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGeStepPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts index ef1fa416a24..7a15e75f33e 100644 --- a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GeoMeanPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeGeoMeanPostRequestBody(writer: SerializationWriter, geoMeanPostRequestBody: GeoMeanPostRequestBody | undefined = {} as GeoMeanPostRequestBody) : void { - writer.writeObjectValue("values", geoMeanPostRequestBody.values, ); + writer.writeObjectValue("values", geoMeanPostRequestBody.values, serializeJson); writer.writeAdditionalData(geoMeanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanRequestBuilder.ts index 76d656a6e91..ec0d98f7ef6 100644 --- a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanRequestBuilder.ts @@ -61,7 +61,7 @@ export class GeoMeanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGeoMeanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts index 0b56976738e..6a8a0e6d6b8 100644 --- a/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HarMeanPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeHarMeanPostRequestBody(writer: SerializationWriter, harMeanPostRequestBody: HarMeanPostRequestBody | undefined = {} as HarMeanPostRequestBody) : void { - writer.writeObjectValue("values", harMeanPostRequestBody.values, ); + writer.writeObjectValue("values", harMeanPostRequestBody.values, serializeJson); writer.writeAdditionalData(harMeanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/harMean/harMeanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/harMean/harMeanRequestBuilder.ts index 6d43c763dec..2af9937f804 100644 --- a/src/drives/item/items/item/workbook/functions/harMean/harMeanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/harMean/harMeanRequestBuilder.ts @@ -61,7 +61,7 @@ export class HarMeanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHarMeanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts index 9c502d4f91c..a079042bb5e 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Hex2BinPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeHex2BinPostRequestBody(writer: SerializationWriter, hex2BinPostRequestBody: Hex2BinPostRequestBody | undefined = {} as Hex2BinPostRequestBody) : void { - writer.writeObjectValue("number", hex2BinPostRequestBody.number, ); - writer.writeObjectValue("places", hex2BinPostRequestBody.places, ); + writer.writeObjectValue("number", hex2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", hex2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(hex2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinRequestBuilder.ts index 6056bd7dfbe..f4d626ad64b 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinRequestBuilder.ts @@ -61,7 +61,7 @@ export class Hex2BinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHex2BinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts index c535b936dee..7fe3eb13a66 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Hex2DecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeHex2DecPostRequestBody(writer: SerializationWriter, hex2DecPostRequestBody: Hex2DecPostRequestBody | undefined = {} as Hex2DecPostRequestBody) : void { - writer.writeObjectValue("number", hex2DecPostRequestBody.number, ); + writer.writeObjectValue("number", hex2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(hex2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecRequestBuilder.ts index d53b39965da..9d23b024410 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecRequestBuilder.ts @@ -61,7 +61,7 @@ export class Hex2DecRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHex2DecPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts index 258676ac10b..711f421f3a1 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Hex2OctPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeHex2OctPostRequestBody(writer: SerializationWriter, hex2OctPostRequestBody: Hex2OctPostRequestBody | undefined = {} as Hex2OctPostRequestBody) : void { - writer.writeObjectValue("number", hex2OctPostRequestBody.number, ); - writer.writeObjectValue("places", hex2OctPostRequestBody.places, ); + writer.writeObjectValue("number", hex2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", hex2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(hex2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctRequestBuilder.ts index caf95ad4ff3..e5446d3cf7e 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctRequestBuilder.ts @@ -61,7 +61,7 @@ export class Hex2OctRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHex2OctPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts index a4c0371a6e6..1182f897221 100644 --- a/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts @@ -39,10 +39,10 @@ export interface HlookupPostRequestBody extends AdditionalDataHolder, Parsable { tableArray?: Json; } export function serializeHlookupPostRequestBody(writer: SerializationWriter, hlookupPostRequestBody: HlookupPostRequestBody | undefined = {} as HlookupPostRequestBody) : void { - writer.writeObjectValue("lookupValue", hlookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("rangeLookup", hlookupPostRequestBody.rangeLookup, ); - writer.writeObjectValue("rowIndexNum", hlookupPostRequestBody.rowIndexNum, ); - writer.writeObjectValue("tableArray", hlookupPostRequestBody.tableArray, ); + writer.writeObjectValue("lookupValue", hlookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("rangeLookup", hlookupPostRequestBody.rangeLookup, serializeJson); + writer.writeObjectValue("rowIndexNum", hlookupPostRequestBody.rowIndexNum, serializeJson); + writer.writeObjectValue("tableArray", hlookupPostRequestBody.tableArray, serializeJson); writer.writeAdditionalData(hlookupPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hlookup/hlookupRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hlookup/hlookupRequestBuilder.ts index 3c7f7475ff5..59053f6ca7c 100644 --- a/src/drives/item/items/item/workbook/functions/hlookup/hlookupRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hlookup/hlookupRequestBuilder.ts @@ -61,7 +61,7 @@ export class HlookupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHlookupPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts index 500b66b2a1f..5a9b836a716 100644 --- a/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HourPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeHourPostRequestBody(writer: SerializationWriter, hourPostRequestBody: HourPostRequestBody | undefined = {} as HourPostRequestBody) : void { - writer.writeObjectValue("serialNumber", hourPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", hourPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(hourPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hour/hourRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hour/hourRequestBuilder.ts index 10ee15bba24..9d329dbaa50 100644 --- a/src/drives/item/items/item/workbook/functions/hour/hourRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hour/hourRequestBuilder.ts @@ -61,7 +61,7 @@ export class HourRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHourPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts index 59c6bb42b2f..2de7db174bb 100644 --- a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts @@ -44,11 +44,11 @@ export interface HypGeom_DistPostRequestBody extends AdditionalDataHolder, Parsa sampleS?: Json; } export function serializeHypGeom_DistPostRequestBody(writer: SerializationWriter, hypGeom_DistPostRequestBody: HypGeom_DistPostRequestBody | undefined = {} as HypGeom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", hypGeom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberPop", hypGeom_DistPostRequestBody.numberPop, ); - writer.writeObjectValue("numberSample", hypGeom_DistPostRequestBody.numberSample, ); - writer.writeObjectValue("populationS", hypGeom_DistPostRequestBody.populationS, ); - writer.writeObjectValue("sampleS", hypGeom_DistPostRequestBody.sampleS, ); + writer.writeObjectValue("cumulative", hypGeom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberPop", hypGeom_DistPostRequestBody.numberPop, serializeJson); + writer.writeObjectValue("numberSample", hypGeom_DistPostRequestBody.numberSample, serializeJson); + writer.writeObjectValue("populationS", hypGeom_DistPostRequestBody.populationS, serializeJson); + writer.writeObjectValue("sampleS", hypGeom_DistPostRequestBody.sampleS, serializeJson); writer.writeAdditionalData(hypGeom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistRequestBuilder.ts index b2b042fb24f..2832fc543be 100644 --- a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class HypGeom_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHypGeom_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts index 77806b89f05..4c979e1e2bc 100644 --- a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts @@ -29,8 +29,8 @@ export interface HyperlinkPostRequestBody extends AdditionalDataHolder, Parsable linkLocation?: Json; } export function serializeHyperlinkPostRequestBody(writer: SerializationWriter, hyperlinkPostRequestBody: HyperlinkPostRequestBody | undefined = {} as HyperlinkPostRequestBody) : void { - writer.writeObjectValue("friendlyName", hyperlinkPostRequestBody.friendlyName, ); - writer.writeObjectValue("linkLocation", hyperlinkPostRequestBody.linkLocation, ); + writer.writeObjectValue("friendlyName", hyperlinkPostRequestBody.friendlyName, serializeJson); + writer.writeObjectValue("linkLocation", hyperlinkPostRequestBody.linkLocation, serializeJson); writer.writeAdditionalData(hyperlinkPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkRequestBuilder.ts index 6480811ec0b..e991a852f57 100644 --- a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkRequestBuilder.ts @@ -61,7 +61,7 @@ export class HyperlinkRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHyperlinkPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts index 7f5f3d8f2b5..3094347a066 100644 --- a/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts @@ -34,9 +34,9 @@ export interface IfPostRequestBody extends AdditionalDataHolder, Parsable { valueIfTrue?: Json; } export function serializeIfPostRequestBody(writer: SerializationWriter, ifPostRequestBody: IfPostRequestBody | undefined = {} as IfPostRequestBody) : void { - writer.writeObjectValue("logicalTest", ifPostRequestBody.logicalTest, ); - writer.writeObjectValue("valueIfFalse", ifPostRequestBody.valueIfFalse, ); - writer.writeObjectValue("valueIfTrue", ifPostRequestBody.valueIfTrue, ); + writer.writeObjectValue("logicalTest", ifPostRequestBody.logicalTest, serializeJson); + writer.writeObjectValue("valueIfFalse", ifPostRequestBody.valueIfFalse, serializeJson); + writer.writeObjectValue("valueIfTrue", ifPostRequestBody.valueIfTrue, serializeJson); writer.writeAdditionalData(ifPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ifEscaped/ifRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ifEscaped/ifRequestBuilder.ts index 62b45eeec5b..46f811db0a2 100644 --- a/src/drives/item/items/item/workbook/functions/ifEscaped/ifRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ifEscaped/ifRequestBuilder.ts @@ -61,7 +61,7 @@ export class IfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIfPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts index b913384b355..0b905e2fe1f 100644 --- a/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImAbsPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImAbsPostRequestBody(writer: SerializationWriter, imAbsPostRequestBody: ImAbsPostRequestBody | undefined = {} as ImAbsPostRequestBody) : void { - writer.writeObjectValue("inumber", imAbsPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imAbsPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imAbsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imAbs/imAbsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imAbs/imAbsRequestBuilder.ts index 3962e211ebd..b4e03930a54 100644 --- a/src/drives/item/items/item/workbook/functions/imAbs/imAbsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imAbs/imAbsRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImAbsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImAbsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts index 24b66e98ec2..226af89a745 100644 --- a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImArgumentPostRequestBody extends AdditionalDataHolder, Parsabl inumber?: Json; } export function serializeImArgumentPostRequestBody(writer: SerializationWriter, imArgumentPostRequestBody: ImArgumentPostRequestBody | undefined = {} as ImArgumentPostRequestBody) : void { - writer.writeObjectValue("inumber", imArgumentPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imArgumentPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imArgumentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentRequestBuilder.ts index 75cfb8eec8c..ed3367aba64 100644 --- a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImArgumentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImArgumentPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts index f46547628cc..950b28787b9 100644 --- a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImConjugatePostRequestBody extends AdditionalDataHolder, Parsab inumber?: Json; } export function serializeImConjugatePostRequestBody(writer: SerializationWriter, imConjugatePostRequestBody: ImConjugatePostRequestBody | undefined = {} as ImConjugatePostRequestBody) : void { - writer.writeObjectValue("inumber", imConjugatePostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imConjugatePostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imConjugatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugateRequestBuilder.ts index 2eb5955f1f1..811e472b2e6 100644 --- a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugateRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImConjugateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImConjugatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts index 08350d1ccc3..cfeb573376f 100644 --- a/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCosPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCosPostRequestBody(writer: SerializationWriter, imCosPostRequestBody: ImCosPostRequestBody | undefined = {} as ImCosPostRequestBody) : void { - writer.writeObjectValue("inumber", imCosPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCosPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCos/imCosRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imCos/imCosRequestBuilder.ts index 418fb864142..6977e5119cf 100644 --- a/src/drives/item/items/item/workbook/functions/imCos/imCosRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imCos/imCosRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImCosRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImCosPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts index ab3bc75a41e..6aa752425b2 100644 --- a/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCoshPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCoshPostRequestBody(writer: SerializationWriter, imCoshPostRequestBody: ImCoshPostRequestBody | undefined = {} as ImCoshPostRequestBody) : void { - writer.writeObjectValue("inumber", imCoshPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCoshPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCoshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCosh/imCoshRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imCosh/imCoshRequestBuilder.ts index 074d321b87b..4440e48ce03 100644 --- a/src/drives/item/items/item/workbook/functions/imCosh/imCoshRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imCosh/imCoshRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImCoshRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImCoshPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts index 9ff4a4d40c7..42aa36a4164 100644 --- a/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCotPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCotPostRequestBody(writer: SerializationWriter, imCotPostRequestBody: ImCotPostRequestBody | undefined = {} as ImCotPostRequestBody) : void { - writer.writeObjectValue("inumber", imCotPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCotPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCot/imCotRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imCot/imCotRequestBuilder.ts index 93750b6a461..65e0e86887d 100644 --- a/src/drives/item/items/item/workbook/functions/imCot/imCotRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imCot/imCotRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImCotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImCotPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts index e7e58279ac0..6b0df965e49 100644 --- a/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCscPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCscPostRequestBody(writer: SerializationWriter, imCscPostRequestBody: ImCscPostRequestBody | undefined = {} as ImCscPostRequestBody) : void { - writer.writeObjectValue("inumber", imCscPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCscPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCsc/imCscRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imCsc/imCscRequestBuilder.ts index 701b34fa86a..c370d10e42f 100644 --- a/src/drives/item/items/item/workbook/functions/imCsc/imCscRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imCsc/imCscRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImCscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImCscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts index 67d56cb4258..e7d6a65206a 100644 --- a/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCschPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCschPostRequestBody(writer: SerializationWriter, imCschPostRequestBody: ImCschPostRequestBody | undefined = {} as ImCschPostRequestBody) : void { - writer.writeObjectValue("inumber", imCschPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCschPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCschPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCsch/imCschRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imCsch/imCschRequestBuilder.ts index 24948f1fb2f..5fdfe1ff3dd 100644 --- a/src/drives/item/items/item/workbook/functions/imCsch/imCschRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imCsch/imCschRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImCschRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImCschPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts index 23e35c4f910..a9436ba211a 100644 --- a/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImDivPostRequestBody extends AdditionalDataHolder, Parsable { inumber2?: Json; } export function serializeImDivPostRequestBody(writer: SerializationWriter, imDivPostRequestBody: ImDivPostRequestBody | undefined = {} as ImDivPostRequestBody) : void { - writer.writeObjectValue("inumber1", imDivPostRequestBody.inumber1, ); - writer.writeObjectValue("inumber2", imDivPostRequestBody.inumber2, ); + writer.writeObjectValue("inumber1", imDivPostRequestBody.inumber1, serializeJson); + writer.writeObjectValue("inumber2", imDivPostRequestBody.inumber2, serializeJson); writer.writeAdditionalData(imDivPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imDiv/imDivRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imDiv/imDivRequestBuilder.ts index f347d4891f2..809f5f1b8a0 100644 --- a/src/drives/item/items/item/workbook/functions/imDiv/imDivRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imDiv/imDivRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImDivRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImDivPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts index e9b40a1c110..ef2b54a915c 100644 --- a/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImExpPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImExpPostRequestBody(writer: SerializationWriter, imExpPostRequestBody: ImExpPostRequestBody | undefined = {} as ImExpPostRequestBody) : void { - writer.writeObjectValue("inumber", imExpPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imExpPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imExpPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imExp/imExpRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imExp/imExpRequestBuilder.ts index 71f91505562..e90ec8d6478 100644 --- a/src/drives/item/items/item/workbook/functions/imExp/imExpRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imExp/imExpRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImExpRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImExpPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts index 4bdc0da24ab..c0f7ac2e71f 100644 --- a/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLnPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLnPostRequestBody(writer: SerializationWriter, imLnPostRequestBody: ImLnPostRequestBody | undefined = {} as ImLnPostRequestBody) : void { - writer.writeObjectValue("inumber", imLnPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLnPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLn/imLnRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imLn/imLnRequestBuilder.ts index e92563ee703..7f8408026d0 100644 --- a/src/drives/item/items/item/workbook/functions/imLn/imLnRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imLn/imLnRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImLnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImLnPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts index 5b0737f3b7e..fab349af10f 100644 --- a/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLog10PostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLog10PostRequestBody(writer: SerializationWriter, imLog10PostRequestBody: ImLog10PostRequestBody | undefined = {} as ImLog10PostRequestBody) : void { - writer.writeObjectValue("inumber", imLog10PostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLog10PostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLog10PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLog10/imLog10RequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imLog10/imLog10RequestBuilder.ts index fb13cffc4a8..fccbc4a208e 100644 --- a/src/drives/item/items/item/workbook/functions/imLog10/imLog10RequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imLog10/imLog10RequestBuilder.ts @@ -61,7 +61,7 @@ export class ImLog10RequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImLog10PostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts index 3980e5601fe..0e4ef3bb0e9 100644 --- a/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLog2PostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLog2PostRequestBody(writer: SerializationWriter, imLog2PostRequestBody: ImLog2PostRequestBody | undefined = {} as ImLog2PostRequestBody) : void { - writer.writeObjectValue("inumber", imLog2PostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLog2PostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLog2PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLog2/imLog2RequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imLog2/imLog2RequestBuilder.ts index 38f486717b5..f01d0a40dd2 100644 --- a/src/drives/item/items/item/workbook/functions/imLog2/imLog2RequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imLog2/imLog2RequestBuilder.ts @@ -61,7 +61,7 @@ export class ImLog2RequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImLog2PostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts index 2323b72f34f..e57b9e53fab 100644 --- a/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImPowerPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeImPowerPostRequestBody(writer: SerializationWriter, imPowerPostRequestBody: ImPowerPostRequestBody | undefined = {} as ImPowerPostRequestBody) : void { - writer.writeObjectValue("inumber", imPowerPostRequestBody.inumber, ); - writer.writeObjectValue("number", imPowerPostRequestBody.number, ); + writer.writeObjectValue("inumber", imPowerPostRequestBody.inumber, serializeJson); + writer.writeObjectValue("number", imPowerPostRequestBody.number, serializeJson); writer.writeAdditionalData(imPowerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imPower/imPowerRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imPower/imPowerRequestBuilder.ts index 4f867e0d7cc..14d1ed73569 100644 --- a/src/drives/item/items/item/workbook/functions/imPower/imPowerRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imPower/imPowerRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImPowerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImPowerPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts index 8f81ac4952c..a3bf76a212c 100644 --- a/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImProductPostRequestBody extends AdditionalDataHolder, Parsable values?: Json; } export function serializeImProductPostRequestBody(writer: SerializationWriter, imProductPostRequestBody: ImProductPostRequestBody | undefined = {} as ImProductPostRequestBody) : void { - writer.writeObjectValue("values", imProductPostRequestBody.values, ); + writer.writeObjectValue("values", imProductPostRequestBody.values, serializeJson); writer.writeAdditionalData(imProductPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imProduct/imProductRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imProduct/imProductRequestBuilder.ts index ba574ffe549..0bbef334bf8 100644 --- a/src/drives/item/items/item/workbook/functions/imProduct/imProductRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imProduct/imProductRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImProductRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImProductPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts index 4ef3d5dfb31..06711ac344a 100644 --- a/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImRealPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImRealPostRequestBody(writer: SerializationWriter, imRealPostRequestBody: ImRealPostRequestBody | undefined = {} as ImRealPostRequestBody) : void { - writer.writeObjectValue("inumber", imRealPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imRealPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imRealPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imReal/imRealRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imReal/imRealRequestBuilder.ts index ce8c593e5fe..c7a34fd46e7 100644 --- a/src/drives/item/items/item/workbook/functions/imReal/imRealRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imReal/imRealRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImRealRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImRealPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts index 3bc94734fbb..8db6b16607f 100644 --- a/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSecPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSecPostRequestBody(writer: SerializationWriter, imSecPostRequestBody: ImSecPostRequestBody | undefined = {} as ImSecPostRequestBody) : void { - writer.writeObjectValue("inumber", imSecPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSecPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSec/imSecRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSec/imSecRequestBuilder.ts index dfb25690c6f..a5b33af0f5d 100644 --- a/src/drives/item/items/item/workbook/functions/imSec/imSecRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSec/imSecRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSecRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSecPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts index a499003ed8a..e27c42bdd89 100644 --- a/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSechPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSechPostRequestBody(writer: SerializationWriter, imSechPostRequestBody: ImSechPostRequestBody | undefined = {} as ImSechPostRequestBody) : void { - writer.writeObjectValue("inumber", imSechPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSechPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSechPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSech/imSechRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSech/imSechRequestBuilder.ts index b469d442f4a..3722b4f5b96 100644 --- a/src/drives/item/items/item/workbook/functions/imSech/imSechRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSech/imSechRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSechRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSechPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts index ffeb390bdc5..5a293ccc0ec 100644 --- a/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSinPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSinPostRequestBody(writer: SerializationWriter, imSinPostRequestBody: ImSinPostRequestBody | undefined = {} as ImSinPostRequestBody) : void { - writer.writeObjectValue("inumber", imSinPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSinPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSin/imSinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSin/imSinRequestBuilder.ts index 0d13719bbd3..5aa172d1a9b 100644 --- a/src/drives/item/items/item/workbook/functions/imSin/imSinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSin/imSinRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts index f2a19e33826..f184a026c0b 100644 --- a/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSinhPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSinhPostRequestBody(writer: SerializationWriter, imSinhPostRequestBody: ImSinhPostRequestBody | undefined = {} as ImSinhPostRequestBody) : void { - writer.writeObjectValue("inumber", imSinhPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSinhPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSinhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSinh/imSinhRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSinh/imSinhRequestBuilder.ts index 33810e76cd9..21baf8662f7 100644 --- a/src/drives/item/items/item/workbook/functions/imSinh/imSinhRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSinh/imSinhRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSinhRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSinhPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts index 2089e1917a9..87bd351c79f 100644 --- a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSqrtPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSqrtPostRequestBody(writer: SerializationWriter, imSqrtPostRequestBody: ImSqrtPostRequestBody | undefined = {} as ImSqrtPostRequestBody) : void { - writer.writeObjectValue("inumber", imSqrtPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSqrtPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSqrtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtRequestBuilder.ts index 7a59172621c..611dc101e32 100644 --- a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSqrtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSqrtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts index 4c1ca9645f3..00cfa91a238 100644 --- a/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImSubPostRequestBody extends AdditionalDataHolder, Parsable { inumber2?: Json; } export function serializeImSubPostRequestBody(writer: SerializationWriter, imSubPostRequestBody: ImSubPostRequestBody | undefined = {} as ImSubPostRequestBody) : void { - writer.writeObjectValue("inumber1", imSubPostRequestBody.inumber1, ); - writer.writeObjectValue("inumber2", imSubPostRequestBody.inumber2, ); + writer.writeObjectValue("inumber1", imSubPostRequestBody.inumber1, serializeJson); + writer.writeObjectValue("inumber2", imSubPostRequestBody.inumber2, serializeJson); writer.writeAdditionalData(imSubPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSub/imSubRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSub/imSubRequestBuilder.ts index fb9c4b6d694..f0ad5aa71d5 100644 --- a/src/drives/item/items/item/workbook/functions/imSub/imSubRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSub/imSubRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSubRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSubPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts index b2b5eb7b4cc..5c9c0005701 100644 --- a/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSumPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeImSumPostRequestBody(writer: SerializationWriter, imSumPostRequestBody: ImSumPostRequestBody | undefined = {} as ImSumPostRequestBody) : void { - writer.writeObjectValue("values", imSumPostRequestBody.values, ); + writer.writeObjectValue("values", imSumPostRequestBody.values, serializeJson); writer.writeAdditionalData(imSumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSum/imSumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imSum/imSumRequestBuilder.ts index b786044fb0a..20e9f1d8bd9 100644 --- a/src/drives/item/items/item/workbook/functions/imSum/imSumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imSum/imSumRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImSumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImSumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts index cf7a213ecb4..c60e595bdc7 100644 --- a/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImTanPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImTanPostRequestBody(writer: SerializationWriter, imTanPostRequestBody: ImTanPostRequestBody | undefined = {} as ImTanPostRequestBody) : void { - writer.writeObjectValue("inumber", imTanPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imTanPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imTanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imTan/imTanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imTan/imTanRequestBuilder.ts index bfaf2eef57b..06f71ca1ef4 100644 --- a/src/drives/item/items/item/workbook/functions/imTan/imTanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imTan/imTanRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImTanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImTanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts index 5d8bc35a947..eaae7c2fa3f 100644 --- a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImaginaryPostRequestBody extends AdditionalDataHolder, Parsable inumber?: Json; } export function serializeImaginaryPostRequestBody(writer: SerializationWriter, imaginaryPostRequestBody: ImaginaryPostRequestBody | undefined = {} as ImaginaryPostRequestBody) : void { - writer.writeObjectValue("inumber", imaginaryPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imaginaryPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imaginaryPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryRequestBuilder.ts index d7fb7330d2e..e338254b45b 100644 --- a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryRequestBuilder.ts @@ -61,7 +61,7 @@ export class ImaginaryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeImaginaryPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts index 8017ed2dd19..6c27793d7e0 100644 --- a/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IntPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIntPostRequestBody(writer: SerializationWriter, intPostRequestBody: IntPostRequestBody | undefined = {} as IntPostRequestBody) : void { - writer.writeObjectValue("number", intPostRequestBody.number, ); + writer.writeObjectValue("number", intPostRequestBody.number, serializeJson); writer.writeAdditionalData(intPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/int/intRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/int/intRequestBuilder.ts index 9fd6face10d..1ce443bf42a 100644 --- a/src/drives/item/items/item/workbook/functions/int/intRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/int/intRequestBuilder.ts @@ -61,7 +61,7 @@ export class IntRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIntPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts index f713d68d3f7..1dd2df3dbcc 100644 --- a/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts @@ -44,11 +44,11 @@ export interface IntRatePostRequestBody extends AdditionalDataHolder, Parsable { settlement?: Json; } export function serializeIntRatePostRequestBody(writer: SerializationWriter, intRatePostRequestBody: IntRatePostRequestBody | undefined = {} as IntRatePostRequestBody) : void { - writer.writeObjectValue("basis", intRatePostRequestBody.basis, ); - writer.writeObjectValue("investment", intRatePostRequestBody.investment, ); - writer.writeObjectValue("maturity", intRatePostRequestBody.maturity, ); - writer.writeObjectValue("redemption", intRatePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", intRatePostRequestBody.settlement, ); + writer.writeObjectValue("basis", intRatePostRequestBody.basis, serializeJson); + writer.writeObjectValue("investment", intRatePostRequestBody.investment, serializeJson); + writer.writeObjectValue("maturity", intRatePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("redemption", intRatePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", intRatePostRequestBody.settlement, serializeJson); writer.writeAdditionalData(intRatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/intRate/intRateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/intRate/intRateRequestBuilder.ts index ffa907a16c6..b267393a223 100644 --- a/src/drives/item/items/item/workbook/functions/intRate/intRateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/intRate/intRateRequestBuilder.ts @@ -61,7 +61,7 @@ export class IntRateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIntRatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts index 6ab0613698b..b6ad7c2228a 100644 --- a/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts @@ -49,12 +49,12 @@ export interface IpmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeIpmtPostRequestBody(writer: SerializationWriter, ipmtPostRequestBody: IpmtPostRequestBody | undefined = {} as IpmtPostRequestBody) : void { - writer.writeObjectValue("fv", ipmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", ipmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ipmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ipmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ipmtPostRequestBody.rate, ); - writer.writeObjectValue("type", ipmtPostRequestBody.type, ); + writer.writeObjectValue("fv", ipmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", ipmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ipmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ipmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ipmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", ipmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(ipmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ipmt/ipmtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ipmt/ipmtRequestBuilder.ts index 9238c2c5bbe..917bb4c8285 100644 --- a/src/drives/item/items/item/workbook/functions/ipmt/ipmtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ipmt/ipmtRequestBuilder.ts @@ -61,7 +61,7 @@ export class IpmtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIpmtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts index 89c1b5e69bd..75227815de4 100644 --- a/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts @@ -29,8 +29,8 @@ export interface IrrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeIrrPostRequestBody(writer: SerializationWriter, irrPostRequestBody: IrrPostRequestBody | undefined = {} as IrrPostRequestBody) : void { - writer.writeObjectValue("guess", irrPostRequestBody.guess, ); - writer.writeObjectValue("values", irrPostRequestBody.values, ); + writer.writeObjectValue("guess", irrPostRequestBody.guess, serializeJson); + writer.writeObjectValue("values", irrPostRequestBody.values, serializeJson); writer.writeAdditionalData(irrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/irr/irrRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/irr/irrRequestBuilder.ts index 6f9df71c6a8..c2845e77ab4 100644 --- a/src/drives/item/items/item/workbook/functions/irr/irrRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/irr/irrRequestBuilder.ts @@ -61,7 +61,7 @@ export class IrrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIrrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts index 014c6f6b2c2..d5238535bdf 100644 --- a/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsErrPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsErrPostRequestBody(writer: SerializationWriter, isErrPostRequestBody: IsErrPostRequestBody | undefined = {} as IsErrPostRequestBody) : void { - writer.writeObjectValue("value", isErrPostRequestBody.value, ); + writer.writeObjectValue("value", isErrPostRequestBody.value, serializeJson); writer.writeAdditionalData(isErrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isErr/isErrRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isErr/isErrRequestBuilder.ts index eb24d9e7eeb..79af1c34438 100644 --- a/src/drives/item/items/item/workbook/functions/isErr/isErrRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isErr/isErrRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsErrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsErrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts index e8095e809b5..660e9fc44fe 100644 --- a/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsErrorPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsErrorPostRequestBody(writer: SerializationWriter, isErrorPostRequestBody: IsErrorPostRequestBody | undefined = {} as IsErrorPostRequestBody) : void { - writer.writeObjectValue("value", isErrorPostRequestBody.value, ); + writer.writeObjectValue("value", isErrorPostRequestBody.value, serializeJson); writer.writeAdditionalData(isErrorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isError/isErrorRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isError/isErrorRequestBuilder.ts index cbdc7088910..74deb9c1a5b 100644 --- a/src/drives/item/items/item/workbook/functions/isError/isErrorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isError/isErrorRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsErrorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsErrorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts index 0096a4a8624..3347848f112 100644 --- a/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsEvenPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIsEvenPostRequestBody(writer: SerializationWriter, isEvenPostRequestBody: IsEvenPostRequestBody | undefined = {} as IsEvenPostRequestBody) : void { - writer.writeObjectValue("number", isEvenPostRequestBody.number, ); + writer.writeObjectValue("number", isEvenPostRequestBody.number, serializeJson); writer.writeAdditionalData(isEvenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isEven/isEvenRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isEven/isEvenRequestBuilder.ts index 7194d5faa27..39f478af08d 100644 --- a/src/drives/item/items/item/workbook/functions/isEven/isEvenRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isEven/isEvenRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsEvenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsEvenPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts index e73bca8e027..fc32a0fc848 100644 --- a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsFormulaPostRequestBody extends AdditionalDataHolder, Parsable reference?: Json; } export function serializeIsFormulaPostRequestBody(writer: SerializationWriter, isFormulaPostRequestBody: IsFormulaPostRequestBody | undefined = {} as IsFormulaPostRequestBody) : void { - writer.writeObjectValue("reference", isFormulaPostRequestBody.reference, ); + writer.writeObjectValue("reference", isFormulaPostRequestBody.reference, serializeJson); writer.writeAdditionalData(isFormulaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaRequestBuilder.ts index b04e2a3791b..7a278f8af83 100644 --- a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsFormulaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsFormulaPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts index 1fe121e040c..524c32bc52d 100644 --- a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsLogicalPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsLogicalPostRequestBody(writer: SerializationWriter, isLogicalPostRequestBody: IsLogicalPostRequestBody | undefined = {} as IsLogicalPostRequestBody) : void { - writer.writeObjectValue("value", isLogicalPostRequestBody.value, ); + writer.writeObjectValue("value", isLogicalPostRequestBody.value, serializeJson); writer.writeAdditionalData(isLogicalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalRequestBuilder.ts index bf30c2f82aa..79997eecedc 100644 --- a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsLogicalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsLogicalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts index 3a392e19c21..2f006995ae8 100644 --- a/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNAPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsNAPostRequestBody(writer: SerializationWriter, isNAPostRequestBody: IsNAPostRequestBody | undefined = {} as IsNAPostRequestBody) : void { - writer.writeObjectValue("value", isNAPostRequestBody.value, ); + writer.writeObjectValue("value", isNAPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNA/isNARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isNA/isNARequestBuilder.ts index 4dc69001cd7..3f10b56441e 100644 --- a/src/drives/item/items/item/workbook/functions/isNA/isNARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isNA/isNARequestBuilder.ts @@ -61,7 +61,7 @@ export class IsNARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsNAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts index eacc2cacc53..293cfb1f36c 100644 --- a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNonTextPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsNonTextPostRequestBody(writer: SerializationWriter, isNonTextPostRequestBody: IsNonTextPostRequestBody | undefined = {} as IsNonTextPostRequestBody) : void { - writer.writeObjectValue("value", isNonTextPostRequestBody.value, ); + writer.writeObjectValue("value", isNonTextPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNonTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextRequestBuilder.ts index 63db8845d1e..4a6d3287302 100644 --- a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsNonTextRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsNonTextPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts index 2217bab988f..789e12b5e48 100644 --- a/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNumberPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsNumberPostRequestBody(writer: SerializationWriter, isNumberPostRequestBody: IsNumberPostRequestBody | undefined = {} as IsNumberPostRequestBody) : void { - writer.writeObjectValue("value", isNumberPostRequestBody.value, ); + writer.writeObjectValue("value", isNumberPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNumberPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNumber/isNumberRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isNumber/isNumberRequestBuilder.ts index 14212c5bb13..636899ddd94 100644 --- a/src/drives/item/items/item/workbook/functions/isNumber/isNumberRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isNumber/isNumberRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsNumberRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsNumberPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts index 96567629c5a..46429d87188 100644 --- a/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsOddPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIsOddPostRequestBody(writer: SerializationWriter, isOddPostRequestBody: IsOddPostRequestBody | undefined = {} as IsOddPostRequestBody) : void { - writer.writeObjectValue("number", isOddPostRequestBody.number, ); + writer.writeObjectValue("number", isOddPostRequestBody.number, serializeJson); writer.writeAdditionalData(isOddPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isOdd/isOddRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isOdd/isOddRequestBuilder.ts index 1fd0871f229..e6dafca0853 100644 --- a/src/drives/item/items/item/workbook/functions/isOdd/isOddRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isOdd/isOddRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsOddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsOddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts index 4b6cbc87931..648bd02a46d 100644 --- a/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsTextPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsTextPostRequestBody(writer: SerializationWriter, isTextPostRequestBody: IsTextPostRequestBody | undefined = {} as IsTextPostRequestBody) : void { - writer.writeObjectValue("value", isTextPostRequestBody.value, ); + writer.writeObjectValue("value", isTextPostRequestBody.value, serializeJson); writer.writeAdditionalData(isTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isText/isTextRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isText/isTextRequestBuilder.ts index 18d61bb706d..4989e88802e 100644 --- a/src/drives/item/items/item/workbook/functions/isText/isTextRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isText/isTextRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsTextRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsTextPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts index 0c153c7c013..af636a38061 100644 --- a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsoWeekNumPostRequestBody extends AdditionalDataHolder, Parsabl date?: Json; } export function serializeIsoWeekNumPostRequestBody(writer: SerializationWriter, isoWeekNumPostRequestBody: IsoWeekNumPostRequestBody | undefined = {} as IsoWeekNumPostRequestBody) : void { - writer.writeObjectValue("date", isoWeekNumPostRequestBody.date, ); + writer.writeObjectValue("date", isoWeekNumPostRequestBody.date, serializeJson); writer.writeAdditionalData(isoWeekNumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumRequestBuilder.ts index 6fea5ab428e..6f957d1c97a 100644 --- a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsoWeekNumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsoWeekNumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts index ce8c1ef5278..9f5e7c03e23 100644 --- a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Iso_CeilingPostRequestBody extends AdditionalDataHolder, Parsab significance?: Json; } export function serializeIso_CeilingPostRequestBody(writer: SerializationWriter, iso_CeilingPostRequestBody: Iso_CeilingPostRequestBody | undefined = {} as Iso_CeilingPostRequestBody) : void { - writer.writeObjectValue("number", iso_CeilingPostRequestBody.number, ); - writer.writeObjectValue("significance", iso_CeilingPostRequestBody.significance, ); + writer.writeObjectValue("number", iso_CeilingPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", iso_CeilingPostRequestBody.significance, serializeJson); writer.writeAdditionalData(iso_CeilingPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingRequestBuilder.ts index 167a2b00181..0091c093026 100644 --- a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingRequestBuilder.ts @@ -61,7 +61,7 @@ export class Iso_CeilingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIso_CeilingPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts index 93dcb7f92c2..a7bf24be287 100644 --- a/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts @@ -39,10 +39,10 @@ export interface IspmtPostRequestBody extends AdditionalDataHolder, Parsable { rate?: Json; } export function serializeIspmtPostRequestBody(writer: SerializationWriter, ispmtPostRequestBody: IspmtPostRequestBody | undefined = {} as IspmtPostRequestBody) : void { - writer.writeObjectValue("nper", ispmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ispmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ispmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ispmtPostRequestBody.rate, ); + writer.writeObjectValue("nper", ispmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ispmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ispmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ispmtPostRequestBody.rate, serializeJson); writer.writeAdditionalData(ispmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ispmt/ispmtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ispmt/ispmtRequestBuilder.ts index 5e2d58ba49a..ca661cbffd1 100644 --- a/src/drives/item/items/item/workbook/functions/ispmt/ispmtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ispmt/ispmtRequestBuilder.ts @@ -61,7 +61,7 @@ export class IspmtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIspmtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts index 05a0b80e84a..bc52eb69a73 100644 --- a/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsrefPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsrefPostRequestBody(writer: SerializationWriter, isrefPostRequestBody: IsrefPostRequestBody | undefined = {} as IsrefPostRequestBody) : void { - writer.writeObjectValue("value", isrefPostRequestBody.value, ); + writer.writeObjectValue("value", isrefPostRequestBody.value, serializeJson); writer.writeAdditionalData(isrefPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isref/isrefRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/isref/isrefRequestBuilder.ts index 398f04672a0..e4544420df1 100644 --- a/src/drives/item/items/item/workbook/functions/isref/isrefRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/isref/isrefRequestBuilder.ts @@ -61,7 +61,7 @@ export class IsrefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIsrefPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts index b3abe27eff4..9d9ba0dc299 100644 --- a/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts @@ -24,7 +24,7 @@ export interface KurtPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeKurtPostRequestBody(writer: SerializationWriter, kurtPostRequestBody: KurtPostRequestBody | undefined = {} as KurtPostRequestBody) : void { - writer.writeObjectValue("values", kurtPostRequestBody.values, ); + writer.writeObjectValue("values", kurtPostRequestBody.values, serializeJson); writer.writeAdditionalData(kurtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/kurt/kurtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/kurt/kurtRequestBuilder.ts index f4a8f15fecd..957aae7cf6f 100644 --- a/src/drives/item/items/item/workbook/functions/kurt/kurtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/kurt/kurtRequestBuilder.ts @@ -61,7 +61,7 @@ export class KurtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeKurtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts index 3097065c253..b055fa86e3e 100644 --- a/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts @@ -29,8 +29,8 @@ export interface LargePostRequestBody extends AdditionalDataHolder, Parsable { k?: Json; } export function serializeLargePostRequestBody(writer: SerializationWriter, largePostRequestBody: LargePostRequestBody | undefined = {} as LargePostRequestBody) : void { - writer.writeObjectValue("array", largePostRequestBody.array, ); - writer.writeObjectValue("k", largePostRequestBody.k, ); + writer.writeObjectValue("array", largePostRequestBody.array, serializeJson); + writer.writeObjectValue("k", largePostRequestBody.k, serializeJson); writer.writeAdditionalData(largePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/large/largeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/large/largeRequestBuilder.ts index 26468b1d61d..edcb3b23741 100644 --- a/src/drives/item/items/item/workbook/functions/large/largeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/large/largeRequestBuilder.ts @@ -61,7 +61,7 @@ export class LargeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLargePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts index ce20fd7e63f..97536449651 100644 --- a/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LcmPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeLcmPostRequestBody(writer: SerializationWriter, lcmPostRequestBody: LcmPostRequestBody | undefined = {} as LcmPostRequestBody) : void { - writer.writeObjectValue("values", lcmPostRequestBody.values, ); + writer.writeObjectValue("values", lcmPostRequestBody.values, serializeJson); writer.writeAdditionalData(lcmPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lcm/lcmRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/lcm/lcmRequestBuilder.ts index ca68be9b355..055de366185 100644 --- a/src/drives/item/items/item/workbook/functions/lcm/lcmRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/lcm/lcmRequestBuilder.ts @@ -61,7 +61,7 @@ export class LcmRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLcmPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts index 89788f85f7f..1299e47e63f 100644 --- a/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LeftPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLeftPostRequestBody(writer: SerializationWriter, leftPostRequestBody: LeftPostRequestBody | undefined = {} as LeftPostRequestBody) : void { - writer.writeObjectValue("numChars", leftPostRequestBody.numChars, ); - writer.writeObjectValue("text", leftPostRequestBody.text, ); + writer.writeObjectValue("numChars", leftPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("text", leftPostRequestBody.text, serializeJson); writer.writeAdditionalData(leftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/left/leftRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/left/leftRequestBuilder.ts index 22688bbed56..5ae81f21671 100644 --- a/src/drives/item/items/item/workbook/functions/left/leftRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/left/leftRequestBuilder.ts @@ -61,7 +61,7 @@ export class LeftRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLeftPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts index ab754f650ea..3e20f673455 100644 --- a/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LeftbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLeftbPostRequestBody(writer: SerializationWriter, leftbPostRequestBody: LeftbPostRequestBody | undefined = {} as LeftbPostRequestBody) : void { - writer.writeObjectValue("numBytes", leftbPostRequestBody.numBytes, ); - writer.writeObjectValue("text", leftbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", leftbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("text", leftbPostRequestBody.text, serializeJson); writer.writeAdditionalData(leftbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/leftb/leftbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/leftb/leftbRequestBuilder.ts index 72da0793d0b..af8a2548234 100644 --- a/src/drives/item/items/item/workbook/functions/leftb/leftbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/leftb/leftbRequestBuilder.ts @@ -61,7 +61,7 @@ export class LeftbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLeftbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts index a90bc88bb2b..e3623f76496 100644 --- a/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LenPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLenPostRequestBody(writer: SerializationWriter, lenPostRequestBody: LenPostRequestBody | undefined = {} as LenPostRequestBody) : void { - writer.writeObjectValue("text", lenPostRequestBody.text, ); + writer.writeObjectValue("text", lenPostRequestBody.text, serializeJson); writer.writeAdditionalData(lenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/len/lenRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/len/lenRequestBuilder.ts index 78e4e415f1f..545a0a1387a 100644 --- a/src/drives/item/items/item/workbook/functions/len/lenRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/len/lenRequestBuilder.ts @@ -61,7 +61,7 @@ export class LenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLenPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts index 2f0279923e6..c79dfb4aa0a 100644 --- a/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LenbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLenbPostRequestBody(writer: SerializationWriter, lenbPostRequestBody: LenbPostRequestBody | undefined = {} as LenbPostRequestBody) : void { - writer.writeObjectValue("text", lenbPostRequestBody.text, ); + writer.writeObjectValue("text", lenbPostRequestBody.text, serializeJson); writer.writeAdditionalData(lenbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lenb/lenbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/lenb/lenbRequestBuilder.ts index 178b88d89e2..6e5c4b943fc 100644 --- a/src/drives/item/items/item/workbook/functions/lenb/lenbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/lenb/lenbRequestBuilder.ts @@ -61,7 +61,7 @@ export class LenbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLenbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts index 60965084621..59583e69a29 100644 --- a/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LnPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLnPostRequestBody(writer: SerializationWriter, lnPostRequestBody: LnPostRequestBody | undefined = {} as LnPostRequestBody) : void { - writer.writeObjectValue("number", lnPostRequestBody.number, ); + writer.writeObjectValue("number", lnPostRequestBody.number, serializeJson); writer.writeAdditionalData(lnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ln/lnRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ln/lnRequestBuilder.ts index 6936ee9011c..6e06992b63d 100644 --- a/src/drives/item/items/item/workbook/functions/ln/lnRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ln/lnRequestBuilder.ts @@ -61,7 +61,7 @@ export class LnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLnPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts index a515c3375dd..140bd1e6de2 100644 --- a/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LogPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLogPostRequestBody(writer: SerializationWriter, logPostRequestBody: LogPostRequestBody | undefined = {} as LogPostRequestBody) : void { - writer.writeObjectValue("base", logPostRequestBody.base, ); - writer.writeObjectValue("number", logPostRequestBody.number, ); + writer.writeObjectValue("base", logPostRequestBody.base, serializeJson); + writer.writeObjectValue("number", logPostRequestBody.number, serializeJson); writer.writeAdditionalData(logPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/log/logRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/log/logRequestBuilder.ts index 0890ffab158..c51df48ab92 100644 --- a/src/drives/item/items/item/workbook/functions/log/logRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/log/logRequestBuilder.ts @@ -61,7 +61,7 @@ export class LogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLogPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts index e6825f6bcbe..044ffd911b4 100644 --- a/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts @@ -24,7 +24,7 @@ export interface Log10PostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLog10PostRequestBody(writer: SerializationWriter, log10PostRequestBody: Log10PostRequestBody | undefined = {} as Log10PostRequestBody) : void { - writer.writeObjectValue("number", log10PostRequestBody.number, ); + writer.writeObjectValue("number", log10PostRequestBody.number, serializeJson); writer.writeAdditionalData(log10PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/log10/log10RequestBuilder.ts b/src/drives/item/items/item/workbook/functions/log10/log10RequestBuilder.ts index 9d0166da257..e885e010854 100644 --- a/src/drives/item/items/item/workbook/functions/log10/log10RequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/log10/log10RequestBuilder.ts @@ -61,7 +61,7 @@ export class Log10RequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLog10PostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts index cb384e59a96..6eeacfb8acd 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface LogNorm_DistPostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializeLogNorm_DistPostRequestBody(writer: SerializationWriter, logNorm_DistPostRequestBody: LogNorm_DistPostRequestBody | undefined = {} as LogNorm_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", logNorm_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", logNorm_DistPostRequestBody.mean, ); - writer.writeObjectValue("standardDev", logNorm_DistPostRequestBody.standardDev, ); - writer.writeObjectValue("x", logNorm_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", logNorm_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", logNorm_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", logNorm_DistPostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", logNorm_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(logNorm_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistRequestBuilder.ts index 8be5e142222..b34e5e4f83b 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class LogNorm_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLogNorm_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts index 08552bbb467..7254bdc971c 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface LogNorm_InvPostRequestBody extends AdditionalDataHolder, Parsab standardDev?: Json; } export function serializeLogNorm_InvPostRequestBody(writer: SerializationWriter, logNorm_InvPostRequestBody: LogNorm_InvPostRequestBody | undefined = {} as LogNorm_InvPostRequestBody) : void { - writer.writeObjectValue("mean", logNorm_InvPostRequestBody.mean, ); - writer.writeObjectValue("probability", logNorm_InvPostRequestBody.probability, ); - writer.writeObjectValue("standardDev", logNorm_InvPostRequestBody.standardDev, ); + writer.writeObjectValue("mean", logNorm_InvPostRequestBody.mean, serializeJson); + writer.writeObjectValue("probability", logNorm_InvPostRequestBody.probability, serializeJson); + writer.writeObjectValue("standardDev", logNorm_InvPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(logNorm_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvRequestBuilder.ts index 069a836ff55..a61dc97f66d 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class LogNorm_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLogNorm_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts index 3626377193d..83c7cd307fa 100644 --- a/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts @@ -34,9 +34,9 @@ export interface LookupPostRequestBody extends AdditionalDataHolder, Parsable { resultVector?: Json; } export function serializeLookupPostRequestBody(writer: SerializationWriter, lookupPostRequestBody: LookupPostRequestBody | undefined = {} as LookupPostRequestBody) : void { - writer.writeObjectValue("lookupValue", lookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("lookupVector", lookupPostRequestBody.lookupVector, ); - writer.writeObjectValue("resultVector", lookupPostRequestBody.resultVector, ); + writer.writeObjectValue("lookupValue", lookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("lookupVector", lookupPostRequestBody.lookupVector, serializeJson); + writer.writeObjectValue("resultVector", lookupPostRequestBody.resultVector, serializeJson); writer.writeAdditionalData(lookupPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lookup/lookupRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/lookup/lookupRequestBuilder.ts index 178f034f1de..890d3b059ed 100644 --- a/src/drives/item/items/item/workbook/functions/lookup/lookupRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/lookup/lookupRequestBuilder.ts @@ -61,7 +61,7 @@ export class LookupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLookupPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts index 4912e858b8d..6f355618552 100644 --- a/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LowerPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLowerPostRequestBody(writer: SerializationWriter, lowerPostRequestBody: LowerPostRequestBody | undefined = {} as LowerPostRequestBody) : void { - writer.writeObjectValue("text", lowerPostRequestBody.text, ); + writer.writeObjectValue("text", lowerPostRequestBody.text, serializeJson); writer.writeAdditionalData(lowerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lower/lowerRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/lower/lowerRequestBuilder.ts index 7a13d4fa322..3c95165ad75 100644 --- a/src/drives/item/items/item/workbook/functions/lower/lowerRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/lower/lowerRequestBuilder.ts @@ -61,7 +61,7 @@ export class LowerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLowerPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts index cbccf3c570c..23cf96b7120 100644 --- a/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MatchPostRequestBody extends AdditionalDataHolder, Parsable { matchType?: Json; } export function serializeMatchPostRequestBody(writer: SerializationWriter, matchPostRequestBody: MatchPostRequestBody | undefined = {} as MatchPostRequestBody) : void { - writer.writeObjectValue("lookupArray", matchPostRequestBody.lookupArray, ); - writer.writeObjectValue("lookupValue", matchPostRequestBody.lookupValue, ); - writer.writeObjectValue("matchType", matchPostRequestBody.matchType, ); + writer.writeObjectValue("lookupArray", matchPostRequestBody.lookupArray, serializeJson); + writer.writeObjectValue("lookupValue", matchPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("matchType", matchPostRequestBody.matchType, serializeJson); writer.writeAdditionalData(matchPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/match/matchRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/match/matchRequestBuilder.ts index 339c2218e7e..d6b77261a9e 100644 --- a/src/drives/item/items/item/workbook/functions/match/matchRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/match/matchRequestBuilder.ts @@ -61,7 +61,7 @@ export class MatchRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMatchPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts index ba28bc33d8b..9cdd3ad7a84 100644 --- a/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MaxPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMaxPostRequestBody(writer: SerializationWriter, maxPostRequestBody: MaxPostRequestBody | undefined = {} as MaxPostRequestBody) : void { - writer.writeObjectValue("values", maxPostRequestBody.values, ); + writer.writeObjectValue("values", maxPostRequestBody.values, serializeJson); writer.writeAdditionalData(maxPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/max/maxRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/max/maxRequestBuilder.ts index 1291f9befeb..e8973cdb080 100644 --- a/src/drives/item/items/item/workbook/functions/max/maxRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/max/maxRequestBuilder.ts @@ -61,7 +61,7 @@ export class MaxRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMaxPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts index 68e23677be2..0e4eec28bb0 100644 --- a/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MaxAPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMaxAPostRequestBody(writer: SerializationWriter, maxAPostRequestBody: MaxAPostRequestBody | undefined = {} as MaxAPostRequestBody) : void { - writer.writeObjectValue("values", maxAPostRequestBody.values, ); + writer.writeObjectValue("values", maxAPostRequestBody.values, serializeJson); writer.writeAdditionalData(maxAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/maxA/maxARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/maxA/maxARequestBuilder.ts index db30aca4b95..97145a61647 100644 --- a/src/drives/item/items/item/workbook/functions/maxA/maxARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/maxA/maxARequestBuilder.ts @@ -61,7 +61,7 @@ export class MaxARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMaxAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts index 4275f7a94a8..71cf90878a1 100644 --- a/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts @@ -49,12 +49,12 @@ export interface MdurationPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeMdurationPostRequestBody(writer: SerializationWriter, mdurationPostRequestBody: MdurationPostRequestBody | undefined = {} as MdurationPostRequestBody) : void { - writer.writeObjectValue("basis", mdurationPostRequestBody.basis, ); - writer.writeObjectValue("coupon", mdurationPostRequestBody.coupon, ); - writer.writeObjectValue("frequency", mdurationPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", mdurationPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", mdurationPostRequestBody.settlement, ); - writer.writeObjectValue("yld", mdurationPostRequestBody.yld, ); + writer.writeObjectValue("basis", mdurationPostRequestBody.basis, serializeJson); + writer.writeObjectValue("coupon", mdurationPostRequestBody.coupon, serializeJson); + writer.writeObjectValue("frequency", mdurationPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", mdurationPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", mdurationPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", mdurationPostRequestBody.yld, serializeJson); writer.writeAdditionalData(mdurationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mduration/mdurationRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/mduration/mdurationRequestBuilder.ts index a61fbd056d4..a8daaa70ecb 100644 --- a/src/drives/item/items/item/workbook/functions/mduration/mdurationRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/mduration/mdurationRequestBuilder.ts @@ -61,7 +61,7 @@ export class MdurationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMdurationPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts index c5cfb7e6783..5dcb9ea93b8 100644 --- a/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MedianPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMedianPostRequestBody(writer: SerializationWriter, medianPostRequestBody: MedianPostRequestBody | undefined = {} as MedianPostRequestBody) : void { - writer.writeObjectValue("values", medianPostRequestBody.values, ); + writer.writeObjectValue("values", medianPostRequestBody.values, serializeJson); writer.writeAdditionalData(medianPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/median/medianRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/median/medianRequestBuilder.ts index dcea59edabd..dc27dcea76e 100644 --- a/src/drives/item/items/item/workbook/functions/median/medianRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/median/medianRequestBuilder.ts @@ -61,7 +61,7 @@ export class MedianRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMedianPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts index c471f56252f..7a14d27c114 100644 --- a/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MidPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeMidPostRequestBody(writer: SerializationWriter, midPostRequestBody: MidPostRequestBody | undefined = {} as MidPostRequestBody) : void { - writer.writeObjectValue("numChars", midPostRequestBody.numChars, ); - writer.writeObjectValue("startNum", midPostRequestBody.startNum, ); - writer.writeObjectValue("text", midPostRequestBody.text, ); + writer.writeObjectValue("numChars", midPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("startNum", midPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("text", midPostRequestBody.text, serializeJson); writer.writeAdditionalData(midPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mid/midRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/mid/midRequestBuilder.ts index 43dff1ba3d2..651d4843986 100644 --- a/src/drives/item/items/item/workbook/functions/mid/midRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/mid/midRequestBuilder.ts @@ -61,7 +61,7 @@ export class MidRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMidPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts index 37949395213..bc18fb5873f 100644 --- a/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MidbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeMidbPostRequestBody(writer: SerializationWriter, midbPostRequestBody: MidbPostRequestBody | undefined = {} as MidbPostRequestBody) : void { - writer.writeObjectValue("numBytes", midbPostRequestBody.numBytes, ); - writer.writeObjectValue("startNum", midbPostRequestBody.startNum, ); - writer.writeObjectValue("text", midbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", midbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("startNum", midbPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("text", midbPostRequestBody.text, serializeJson); writer.writeAdditionalData(midbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/midb/midbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/midb/midbRequestBuilder.ts index 127caf38041..3ba3d9fa807 100644 --- a/src/drives/item/items/item/workbook/functions/midb/midbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/midb/midbRequestBuilder.ts @@ -61,7 +61,7 @@ export class MidbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMidbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts index 89d163ef253..82a6e9cc3c0 100644 --- a/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMinPostRequestBody(writer: SerializationWriter, minPostRequestBody: MinPostRequestBody | undefined = {} as MinPostRequestBody) : void { - writer.writeObjectValue("values", minPostRequestBody.values, ); + writer.writeObjectValue("values", minPostRequestBody.values, serializeJson); writer.writeAdditionalData(minPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/min/minRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/min/minRequestBuilder.ts index 9e8757a30fb..7f32bffa171 100644 --- a/src/drives/item/items/item/workbook/functions/min/minRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/min/minRequestBuilder.ts @@ -61,7 +61,7 @@ export class MinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts index b20a9f75ead..20e2d5bb83d 100644 --- a/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinAPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMinAPostRequestBody(writer: SerializationWriter, minAPostRequestBody: MinAPostRequestBody | undefined = {} as MinAPostRequestBody) : void { - writer.writeObjectValue("values", minAPostRequestBody.values, ); + writer.writeObjectValue("values", minAPostRequestBody.values, serializeJson); writer.writeAdditionalData(minAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/minA/minARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/minA/minARequestBuilder.ts index 40c1a67cb6c..fc8c775572b 100644 --- a/src/drives/item/items/item/workbook/functions/minA/minARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/minA/minARequestBuilder.ts @@ -61,7 +61,7 @@ export class MinARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMinAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts index a89348f1b87..fd9e97beee7 100644 --- a/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinutePostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeMinutePostRequestBody(writer: SerializationWriter, minutePostRequestBody: MinutePostRequestBody | undefined = {} as MinutePostRequestBody) : void { - writer.writeObjectValue("serialNumber", minutePostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", minutePostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(minutePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/minute/minuteRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/minute/minuteRequestBuilder.ts index ac4445210d2..7d826cf263b 100644 --- a/src/drives/item/items/item/workbook/functions/minute/minuteRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/minute/minuteRequestBuilder.ts @@ -61,7 +61,7 @@ export class MinuteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMinutePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts index 332f1d948c8..002e4b6ea75 100644 --- a/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MirrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMirrPostRequestBody(writer: SerializationWriter, mirrPostRequestBody: MirrPostRequestBody | undefined = {} as MirrPostRequestBody) : void { - writer.writeObjectValue("financeRate", mirrPostRequestBody.financeRate, ); - writer.writeObjectValue("reinvestRate", mirrPostRequestBody.reinvestRate, ); - writer.writeObjectValue("values", mirrPostRequestBody.values, ); + writer.writeObjectValue("financeRate", mirrPostRequestBody.financeRate, serializeJson); + writer.writeObjectValue("reinvestRate", mirrPostRequestBody.reinvestRate, serializeJson); + writer.writeObjectValue("values", mirrPostRequestBody.values, serializeJson); writer.writeAdditionalData(mirrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mirr/mirrRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/mirr/mirrRequestBuilder.ts index a324d29e740..8dc917852a0 100644 --- a/src/drives/item/items/item/workbook/functions/mirr/mirrRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/mirr/mirrRequestBuilder.ts @@ -61,7 +61,7 @@ export class MirrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMirrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts index 075f1873cdc..e54ccdb3cef 100644 --- a/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ModPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeModPostRequestBody(writer: SerializationWriter, modPostRequestBody: ModPostRequestBody | undefined = {} as ModPostRequestBody) : void { - writer.writeObjectValue("divisor", modPostRequestBody.divisor, ); - writer.writeObjectValue("number", modPostRequestBody.number, ); + writer.writeObjectValue("divisor", modPostRequestBody.divisor, serializeJson); + writer.writeObjectValue("number", modPostRequestBody.number, serializeJson); writer.writeAdditionalData(modPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mod/modRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/mod/modRequestBuilder.ts index 670ca339a59..02189a5c192 100644 --- a/src/drives/item/items/item/workbook/functions/mod/modRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/mod/modRequestBuilder.ts @@ -61,7 +61,7 @@ export class ModRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeModPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts index 155663b5cc7..cfdf4a3edb4 100644 --- a/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MonthPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeMonthPostRequestBody(writer: SerializationWriter, monthPostRequestBody: MonthPostRequestBody | undefined = {} as MonthPostRequestBody) : void { - writer.writeObjectValue("serialNumber", monthPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", monthPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(monthPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/month/monthRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/month/monthRequestBuilder.ts index ace0a540b2e..4bcaf9a83b4 100644 --- a/src/drives/item/items/item/workbook/functions/month/monthRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/month/monthRequestBuilder.ts @@ -61,7 +61,7 @@ export class MonthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMonthPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts index c637e550f3b..fa50644cb65 100644 --- a/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts @@ -29,8 +29,8 @@ export interface MroundPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeMroundPostRequestBody(writer: SerializationWriter, mroundPostRequestBody: MroundPostRequestBody | undefined = {} as MroundPostRequestBody) : void { - writer.writeObjectValue("multiple", mroundPostRequestBody.multiple, ); - writer.writeObjectValue("number", mroundPostRequestBody.number, ); + writer.writeObjectValue("multiple", mroundPostRequestBody.multiple, serializeJson); + writer.writeObjectValue("number", mroundPostRequestBody.number, serializeJson); writer.writeAdditionalData(mroundPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mround/mroundRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/mround/mroundRequestBuilder.ts index e47c71dc962..9624a97de94 100644 --- a/src/drives/item/items/item/workbook/functions/mround/mroundRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/mround/mroundRequestBuilder.ts @@ -61,7 +61,7 @@ export class MroundRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMroundPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts index e1d74f583d2..256ffdcf27a 100644 --- a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MultiNomialPostRequestBody extends AdditionalDataHolder, Parsab values?: Json; } export function serializeMultiNomialPostRequestBody(writer: SerializationWriter, multiNomialPostRequestBody: MultiNomialPostRequestBody | undefined = {} as MultiNomialPostRequestBody) : void { - writer.writeObjectValue("values", multiNomialPostRequestBody.values, ); + writer.writeObjectValue("values", multiNomialPostRequestBody.values, serializeJson); writer.writeAdditionalData(multiNomialPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialRequestBuilder.ts index 8b59185ff7a..398b9d2347c 100644 --- a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialRequestBuilder.ts @@ -61,7 +61,7 @@ export class MultiNomialRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMultiNomialPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts index 2df930ba4b8..e219bd8b9e8 100644 --- a/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts @@ -24,7 +24,7 @@ export interface NPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeNPostRequestBody(writer: SerializationWriter, nPostRequestBody: NPostRequestBody | undefined = {} as NPostRequestBody) : void { - writer.writeObjectValue("value", nPostRequestBody.value, ); + writer.writeObjectValue("value", nPostRequestBody.value, serializeJson); writer.writeAdditionalData(nPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/n/nRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/n/nRequestBuilder.ts index 4972d648387..6a15b23e3ba 100644 --- a/src/drives/item/items/item/workbook/functions/n/nRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/n/nRequestBuilder.ts @@ -61,7 +61,7 @@ export class NRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/na/naRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/na/naRequestBuilder.ts index fc7b4757264..575a10a3521 100644 --- a/src/drives/item/items/item/workbook/functions/na/naRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/na/naRequestBuilder.ts @@ -58,7 +58,7 @@ export class NaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts index efa599368a6..eac9b62664a 100644 --- a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface NegBinom_DistPostRequestBody extends AdditionalDataHolder, Pars probabilityS?: Json; } export function serializeNegBinom_DistPostRequestBody(writer: SerializationWriter, negBinom_DistPostRequestBody: NegBinom_DistPostRequestBody | undefined = {} as NegBinom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", negBinom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberF", negBinom_DistPostRequestBody.numberF, ); - writer.writeObjectValue("numberS", negBinom_DistPostRequestBody.numberS, ); - writer.writeObjectValue("probabilityS", negBinom_DistPostRequestBody.probabilityS, ); + writer.writeObjectValue("cumulative", negBinom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberF", negBinom_DistPostRequestBody.numberF, serializeJson); + writer.writeObjectValue("numberS", negBinom_DistPostRequestBody.numberS, serializeJson); + writer.writeObjectValue("probabilityS", negBinom_DistPostRequestBody.probabilityS, serializeJson); writer.writeAdditionalData(negBinom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistRequestBuilder.ts index e13efe4063f..586fbda3f47 100644 --- a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class NegBinom_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNegBinom_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts index 53cd9ddcfc7..6b94deb0e41 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts @@ -34,9 +34,9 @@ export interface NetworkDaysPostRequestBody extends AdditionalDataHolder, Parsab startDate?: Json; } export function serializeNetworkDaysPostRequestBody(writer: SerializationWriter, networkDaysPostRequestBody: NetworkDaysPostRequestBody | undefined = {} as NetworkDaysPostRequestBody) : void { - writer.writeObjectValue("endDate", networkDaysPostRequestBody.endDate, ); - writer.writeObjectValue("holidays", networkDaysPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", networkDaysPostRequestBody.startDate, ); + writer.writeObjectValue("endDate", networkDaysPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("holidays", networkDaysPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", networkDaysPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(networkDaysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysRequestBuilder.ts index ec146a91da3..52e36132a28 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysRequestBuilder.ts @@ -61,7 +61,7 @@ export class NetworkDaysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNetworkDaysPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts index 61a36d71ad5..33f42c28e91 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts @@ -39,10 +39,10 @@ export interface NetworkDays_IntlPostRequestBody extends AdditionalDataHolder, P weekend?: Json; } export function serializeNetworkDays_IntlPostRequestBody(writer: SerializationWriter, networkDays_IntlPostRequestBody: NetworkDays_IntlPostRequestBody | undefined = {} as NetworkDays_IntlPostRequestBody) : void { - writer.writeObjectValue("endDate", networkDays_IntlPostRequestBody.endDate, ); - writer.writeObjectValue("holidays", networkDays_IntlPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", networkDays_IntlPostRequestBody.startDate, ); - writer.writeObjectValue("weekend", networkDays_IntlPostRequestBody.weekend, ); + writer.writeObjectValue("endDate", networkDays_IntlPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("holidays", networkDays_IntlPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", networkDays_IntlPostRequestBody.startDate, serializeJson); + writer.writeObjectValue("weekend", networkDays_IntlPostRequestBody.weekend, serializeJson); writer.writeAdditionalData(networkDays_IntlPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlRequestBuilder.ts index 54087a5b8c8..564208a3afe 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlRequestBuilder.ts @@ -61,7 +61,7 @@ export class NetworkDays_IntlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNetworkDays_IntlPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts index c170113ffac..4dea049c8dd 100644 --- a/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts @@ -29,8 +29,8 @@ export interface NominalPostRequestBody extends AdditionalDataHolder, Parsable { npery?: Json; } export function serializeNominalPostRequestBody(writer: SerializationWriter, nominalPostRequestBody: NominalPostRequestBody | undefined = {} as NominalPostRequestBody) : void { - writer.writeObjectValue("effectRate", nominalPostRequestBody.effectRate, ); - writer.writeObjectValue("npery", nominalPostRequestBody.npery, ); + writer.writeObjectValue("effectRate", nominalPostRequestBody.effectRate, serializeJson); + writer.writeObjectValue("npery", nominalPostRequestBody.npery, serializeJson); writer.writeAdditionalData(nominalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/nominal/nominalRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/nominal/nominalRequestBuilder.ts index 46adebfd60d..be32fcfde7f 100644 --- a/src/drives/item/items/item/workbook/functions/nominal/nominalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/nominal/nominalRequestBuilder.ts @@ -61,7 +61,7 @@ export class NominalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNominalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts index 4996fb025cd..335fd6a1750 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface Norm_DistPostRequestBody extends AdditionalDataHolder, Parsable x?: Json; } export function serializeNorm_DistPostRequestBody(writer: SerializationWriter, norm_DistPostRequestBody: Norm_DistPostRequestBody | undefined = {} as Norm_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", norm_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", norm_DistPostRequestBody.mean, ); - writer.writeObjectValue("standardDev", norm_DistPostRequestBody.standardDev, ); - writer.writeObjectValue("x", norm_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", norm_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", norm_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", norm_DistPostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", norm_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(norm_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistRequestBuilder.ts index 082e9b6620f..d1b1e840ea9 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Norm_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNorm_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts index caa68999711..185790647f6 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Norm_InvPostRequestBody extends AdditionalDataHolder, Parsable standardDev?: Json; } export function serializeNorm_InvPostRequestBody(writer: SerializationWriter, norm_InvPostRequestBody: Norm_InvPostRequestBody | undefined = {} as Norm_InvPostRequestBody) : void { - writer.writeObjectValue("mean", norm_InvPostRequestBody.mean, ); - writer.writeObjectValue("probability", norm_InvPostRequestBody.probability, ); - writer.writeObjectValue("standardDev", norm_InvPostRequestBody.standardDev, ); + writer.writeObjectValue("mean", norm_InvPostRequestBody.mean, serializeJson); + writer.writeObjectValue("probability", norm_InvPostRequestBody.probability, serializeJson); + writer.writeObjectValue("standardDev", norm_InvPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(norm_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvRequestBuilder.ts index 191e4f97bdc..26a19e80bb1 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class Norm_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNorm_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts index ed4e4c339d3..5fffe3dc416 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Norm_S_DistPostRequestBody extends AdditionalDataHolder, Parsab z?: Json; } export function serializeNorm_S_DistPostRequestBody(writer: SerializationWriter, norm_S_DistPostRequestBody: Norm_S_DistPostRequestBody | undefined = {} as Norm_S_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", norm_S_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("z", norm_S_DistPostRequestBody.z, ); + writer.writeObjectValue("cumulative", norm_S_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("z", norm_S_DistPostRequestBody.z, serializeJson); writer.writeAdditionalData(norm_S_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistRequestBuilder.ts index 2d932203372..ba754db7796 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Norm_S_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNorm_S_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts index 04beff45baa..7aea72430c5 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Norm_S_InvPostRequestBody extends AdditionalDataHolder, Parsabl probability?: Json; } export function serializeNorm_S_InvPostRequestBody(writer: SerializationWriter, norm_S_InvPostRequestBody: Norm_S_InvPostRequestBody | undefined = {} as Norm_S_InvPostRequestBody) : void { - writer.writeObjectValue("probability", norm_S_InvPostRequestBody.probability, ); + writer.writeObjectValue("probability", norm_S_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(norm_S_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvRequestBuilder.ts index f4a4ce9dcc0..616b2c3cc87 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class Norm_S_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNorm_S_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts index d342d91fea4..2f7910d68f6 100644 --- a/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts @@ -24,7 +24,7 @@ export interface NotPostRequestBody extends AdditionalDataHolder, Parsable { logical?: Json; } export function serializeNotPostRequestBody(writer: SerializationWriter, notPostRequestBody: NotPostRequestBody | undefined = {} as NotPostRequestBody) : void { - writer.writeObjectValue("logical", notPostRequestBody.logical, ); + writer.writeObjectValue("logical", notPostRequestBody.logical, serializeJson); writer.writeAdditionalData(notPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/not/notRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/not/notRequestBuilder.ts index 4c1b4e1163a..690ed6da5d5 100644 --- a/src/drives/item/items/item/workbook/functions/not/notRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/not/notRequestBuilder.ts @@ -61,7 +61,7 @@ export class NotRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/now/nowRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/now/nowRequestBuilder.ts index 8e5768d4c5a..51f0c1cb2dd 100644 --- a/src/drives/item/items/item/workbook/functions/now/nowRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/now/nowRequestBuilder.ts @@ -58,7 +58,7 @@ export class NowRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts index 5ab559ad8dc..09686727751 100644 --- a/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts @@ -44,11 +44,11 @@ export interface NperPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeNperPostRequestBody(writer: SerializationWriter, nperPostRequestBody: NperPostRequestBody | undefined = {} as NperPostRequestBody) : void { - writer.writeObjectValue("fv", nperPostRequestBody.fv, ); - writer.writeObjectValue("pmt", nperPostRequestBody.pmt, ); - writer.writeObjectValue("pv", nperPostRequestBody.pv, ); - writer.writeObjectValue("rate", nperPostRequestBody.rate, ); - writer.writeObjectValue("type", nperPostRequestBody.type, ); + writer.writeObjectValue("fv", nperPostRequestBody.fv, serializeJson); + writer.writeObjectValue("pmt", nperPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", nperPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", nperPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", nperPostRequestBody.type, serializeJson); writer.writeAdditionalData(nperPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/nper/nperRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/nper/nperRequestBuilder.ts index 693f28c4548..a711fa93b8f 100644 --- a/src/drives/item/items/item/workbook/functions/nper/nperRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/nper/nperRequestBuilder.ts @@ -61,7 +61,7 @@ export class NperRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNperPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts index 5541a5de5ab..59226e21aed 100644 --- a/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts @@ -29,8 +29,8 @@ export interface NpvPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeNpvPostRequestBody(writer: SerializationWriter, npvPostRequestBody: NpvPostRequestBody | undefined = {} as NpvPostRequestBody) : void { - writer.writeObjectValue("rate", npvPostRequestBody.rate, ); - writer.writeObjectValue("values", npvPostRequestBody.values, ); + writer.writeObjectValue("rate", npvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("values", npvPostRequestBody.values, serializeJson); writer.writeAdditionalData(npvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/npv/npvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/npv/npvRequestBuilder.ts index 4f6ff8045ab..3466c0f786a 100644 --- a/src/drives/item/items/item/workbook/functions/npv/npvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/npv/npvRequestBuilder.ts @@ -61,7 +61,7 @@ export class NpvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNpvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts index e9e2edfa543..18ac2bc8896 100644 --- a/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts @@ -34,9 +34,9 @@ export interface NumberValuePostRequestBody extends AdditionalDataHolder, Parsab text?: Json; } export function serializeNumberValuePostRequestBody(writer: SerializationWriter, numberValuePostRequestBody: NumberValuePostRequestBody | undefined = {} as NumberValuePostRequestBody) : void { - writer.writeObjectValue("decimalSeparator", numberValuePostRequestBody.decimalSeparator, ); - writer.writeObjectValue("groupSeparator", numberValuePostRequestBody.groupSeparator, ); - writer.writeObjectValue("text", numberValuePostRequestBody.text, ); + writer.writeObjectValue("decimalSeparator", numberValuePostRequestBody.decimalSeparator, serializeJson); + writer.writeObjectValue("groupSeparator", numberValuePostRequestBody.groupSeparator, serializeJson); + writer.writeObjectValue("text", numberValuePostRequestBody.text, serializeJson); writer.writeAdditionalData(numberValuePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/numberValue/numberValueRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/numberValue/numberValueRequestBuilder.ts index 3c39320dd72..f5730e59961 100644 --- a/src/drives/item/items/item/workbook/functions/numberValue/numberValueRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/numberValue/numberValueRequestBuilder.ts @@ -61,7 +61,7 @@ export class NumberValueRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNumberValuePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts index d3c04477308..2ef97e8fe4d 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Oct2BinPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeOct2BinPostRequestBody(writer: SerializationWriter, oct2BinPostRequestBody: Oct2BinPostRequestBody | undefined = {} as Oct2BinPostRequestBody) : void { - writer.writeObjectValue("number", oct2BinPostRequestBody.number, ); - writer.writeObjectValue("places", oct2BinPostRequestBody.places, ); + writer.writeObjectValue("number", oct2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", oct2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(oct2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinRequestBuilder.ts index 77b1fac1d60..7b29d6fef80 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinRequestBuilder.ts @@ -61,7 +61,7 @@ export class Oct2BinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOct2BinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts index 2ccc6cc12f2..954d7c2a513 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Oct2DecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeOct2DecPostRequestBody(writer: SerializationWriter, oct2DecPostRequestBody: Oct2DecPostRequestBody | undefined = {} as Oct2DecPostRequestBody) : void { - writer.writeObjectValue("number", oct2DecPostRequestBody.number, ); + writer.writeObjectValue("number", oct2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(oct2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecRequestBuilder.ts index c565f1f3882..96452e66c86 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecRequestBuilder.ts @@ -61,7 +61,7 @@ export class Oct2DecRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOct2DecPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts index 1d17c85e00b..0b3b7ddb472 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Oct2HexPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeOct2HexPostRequestBody(writer: SerializationWriter, oct2HexPostRequestBody: Oct2HexPostRequestBody | undefined = {} as Oct2HexPostRequestBody) : void { - writer.writeObjectValue("number", oct2HexPostRequestBody.number, ); - writer.writeObjectValue("places", oct2HexPostRequestBody.places, ); + writer.writeObjectValue("number", oct2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", oct2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(oct2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexRequestBuilder.ts index cbc2b7ad51a..5d6a9c432bb 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexRequestBuilder.ts @@ -61,7 +61,7 @@ export class Oct2HexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOct2HexPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts index 51b27023079..2fcc278e1d7 100644 --- a/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OddPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeOddPostRequestBody(writer: SerializationWriter, oddPostRequestBody: OddPostRequestBody | undefined = {} as OddPostRequestBody) : void { - writer.writeObjectValue("number", oddPostRequestBody.number, ); + writer.writeObjectValue("number", oddPostRequestBody.number, serializeJson); writer.writeAdditionalData(oddPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/odd/oddRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/odd/oddRequestBuilder.ts index 1d61c427065..14baef6fa19 100644 --- a/src/drives/item/items/item/workbook/functions/odd/oddRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/odd/oddRequestBuilder.ts @@ -61,7 +61,7 @@ export class OddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts index 79667161621..b94ea12ddbe 100644 --- a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts @@ -64,15 +64,15 @@ export interface OddFPricePostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeOddFPricePostRequestBody(writer: SerializationWriter, oddFPricePostRequestBody: OddFPricePostRequestBody | undefined = {} as OddFPricePostRequestBody) : void { - writer.writeObjectValue("basis", oddFPricePostRequestBody.basis, ); - writer.writeObjectValue("firstCoupon", oddFPricePostRequestBody.firstCoupon, ); - writer.writeObjectValue("frequency", oddFPricePostRequestBody.frequency, ); - writer.writeObjectValue("issue", oddFPricePostRequestBody.issue, ); - writer.writeObjectValue("maturity", oddFPricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", oddFPricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddFPricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddFPricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", oddFPricePostRequestBody.yld, ); + writer.writeObjectValue("basis", oddFPricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("firstCoupon", oddFPricePostRequestBody.firstCoupon, serializeJson); + writer.writeObjectValue("frequency", oddFPricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", oddFPricePostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", oddFPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", oddFPricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddFPricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddFPricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", oddFPricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(oddFPricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPriceRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPriceRequestBuilder.ts index dbd3947deba..58a42e77a45 100644 --- a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPriceRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPriceRequestBuilder.ts @@ -61,7 +61,7 @@ export class OddFPriceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOddFPricePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts index c431f297834..39927c48448 100644 --- a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts @@ -64,15 +64,15 @@ export interface OddFYieldPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeOddFYieldPostRequestBody(writer: SerializationWriter, oddFYieldPostRequestBody: OddFYieldPostRequestBody | undefined = {} as OddFYieldPostRequestBody) : void { - writer.writeObjectValue("basis", oddFYieldPostRequestBody.basis, ); - writer.writeObjectValue("firstCoupon", oddFYieldPostRequestBody.firstCoupon, ); - writer.writeObjectValue("frequency", oddFYieldPostRequestBody.frequency, ); - writer.writeObjectValue("issue", oddFYieldPostRequestBody.issue, ); - writer.writeObjectValue("maturity", oddFYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", oddFYieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", oddFYieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddFYieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddFYieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", oddFYieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("firstCoupon", oddFYieldPostRequestBody.firstCoupon, serializeJson); + writer.writeObjectValue("frequency", oddFYieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", oddFYieldPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", oddFYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", oddFYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", oddFYieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddFYieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddFYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(oddFYieldPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldRequestBuilder.ts index 2353158710c..9f757adcfdd 100644 --- a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldRequestBuilder.ts @@ -61,7 +61,7 @@ export class OddFYieldRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOddFYieldPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts index fb7063edfe0..2f0cf3b05dd 100644 --- a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts @@ -59,14 +59,14 @@ export interface OddLPricePostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeOddLPricePostRequestBody(writer: SerializationWriter, oddLPricePostRequestBody: OddLPricePostRequestBody | undefined = {} as OddLPricePostRequestBody) : void { - writer.writeObjectValue("basis", oddLPricePostRequestBody.basis, ); - writer.writeObjectValue("frequency", oddLPricePostRequestBody.frequency, ); - writer.writeObjectValue("lastInterest", oddLPricePostRequestBody.lastInterest, ); - writer.writeObjectValue("maturity", oddLPricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", oddLPricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddLPricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddLPricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", oddLPricePostRequestBody.yld, ); + writer.writeObjectValue("basis", oddLPricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", oddLPricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("lastInterest", oddLPricePostRequestBody.lastInterest, serializeJson); + writer.writeObjectValue("maturity", oddLPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", oddLPricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddLPricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddLPricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", oddLPricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(oddLPricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPriceRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPriceRequestBuilder.ts index 346c99a5a68..55aabd29908 100644 --- a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPriceRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPriceRequestBuilder.ts @@ -61,7 +61,7 @@ export class OddLPriceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOddLPricePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts index 892adc01a89..ecda8f75c54 100644 --- a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts @@ -59,14 +59,14 @@ export interface OddLYieldPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeOddLYieldPostRequestBody(writer: SerializationWriter, oddLYieldPostRequestBody: OddLYieldPostRequestBody | undefined = {} as OddLYieldPostRequestBody) : void { - writer.writeObjectValue("basis", oddLYieldPostRequestBody.basis, ); - writer.writeObjectValue("frequency", oddLYieldPostRequestBody.frequency, ); - writer.writeObjectValue("lastInterest", oddLYieldPostRequestBody.lastInterest, ); - writer.writeObjectValue("maturity", oddLYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", oddLYieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", oddLYieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddLYieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddLYieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", oddLYieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", oddLYieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("lastInterest", oddLYieldPostRequestBody.lastInterest, serializeJson); + writer.writeObjectValue("maturity", oddLYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", oddLYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", oddLYieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddLYieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddLYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(oddLYieldPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldRequestBuilder.ts index c9b20d47b78..2044cfdcdd4 100644 --- a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldRequestBuilder.ts @@ -61,7 +61,7 @@ export class OddLYieldRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOddLYieldPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts index 07f185dc29d..071d697e917 100644 --- a/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeOrPostRequestBody(writer: SerializationWriter, orPostRequestBody: OrPostRequestBody | undefined = {} as OrPostRequestBody) : void { - writer.writeObjectValue("values", orPostRequestBody.values, ); + writer.writeObjectValue("values", orPostRequestBody.values, serializeJson); writer.writeAdditionalData(orPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/or/orRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/or/orRequestBuilder.ts index e2dd20f0806..691b2566394 100644 --- a/src/drives/item/items/item/workbook/functions/or/orRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/or/orRequestBuilder.ts @@ -61,7 +61,7 @@ export class OrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts index 05db3c28c7b..a7d50688db9 100644 --- a/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PdurationPostRequestBody extends AdditionalDataHolder, Parsable rate?: Json; } export function serializePdurationPostRequestBody(writer: SerializationWriter, pdurationPostRequestBody: PdurationPostRequestBody | undefined = {} as PdurationPostRequestBody) : void { - writer.writeObjectValue("fv", pdurationPostRequestBody.fv, ); - writer.writeObjectValue("pv", pdurationPostRequestBody.pv, ); - writer.writeObjectValue("rate", pdurationPostRequestBody.rate, ); + writer.writeObjectValue("fv", pdurationPostRequestBody.fv, serializeJson); + writer.writeObjectValue("pv", pdurationPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", pdurationPostRequestBody.rate, serializeJson); writer.writeAdditionalData(pdurationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pduration/pdurationRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/pduration/pdurationRequestBuilder.ts index a4db86e5bae..2c1b26dadbc 100644 --- a/src/drives/item/items/item/workbook/functions/pduration/pdurationRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/pduration/pdurationRequestBuilder.ts @@ -61,7 +61,7 @@ export class PdurationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePdurationPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts index 4e0e06ff5ab..4d62a1b4257 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PercentRank_ExcPostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializePercentRank_ExcPostRequestBody(writer: SerializationWriter, percentRank_ExcPostRequestBody: PercentRank_ExcPostRequestBody | undefined = {} as PercentRank_ExcPostRequestBody) : void { - writer.writeObjectValue("array", percentRank_ExcPostRequestBody.array, ); - writer.writeObjectValue("significance", percentRank_ExcPostRequestBody.significance, ); - writer.writeObjectValue("x", percentRank_ExcPostRequestBody.x, ); + writer.writeObjectValue("array", percentRank_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("significance", percentRank_ExcPostRequestBody.significance, serializeJson); + writer.writeObjectValue("x", percentRank_ExcPostRequestBody.x, serializeJson); writer.writeAdditionalData(percentRank_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcRequestBuilder.ts index 9731933d9a8..9e3f3d3ef32 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcRequestBuilder.ts @@ -61,7 +61,7 @@ export class PercentRank_ExcRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePercentRank_ExcPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts index 3b1af5aab9f..49daf22e631 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PercentRank_IncPostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializePercentRank_IncPostRequestBody(writer: SerializationWriter, percentRank_IncPostRequestBody: PercentRank_IncPostRequestBody | undefined = {} as PercentRank_IncPostRequestBody) : void { - writer.writeObjectValue("array", percentRank_IncPostRequestBody.array, ); - writer.writeObjectValue("significance", percentRank_IncPostRequestBody.significance, ); - writer.writeObjectValue("x", percentRank_IncPostRequestBody.x, ); + writer.writeObjectValue("array", percentRank_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("significance", percentRank_IncPostRequestBody.significance, serializeJson); + writer.writeObjectValue("x", percentRank_IncPostRequestBody.x, serializeJson); writer.writeAdditionalData(percentRank_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncRequestBuilder.ts index 0a42f2ff9e9..460b253420b 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncRequestBuilder.ts @@ -61,7 +61,7 @@ export class PercentRank_IncRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePercentRank_IncPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts index d2a0859de91..3d454f2be07 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Percentile_ExcPostRequestBody extends AdditionalDataHolder, Par k?: Json; } export function serializePercentile_ExcPostRequestBody(writer: SerializationWriter, percentile_ExcPostRequestBody: Percentile_ExcPostRequestBody | undefined = {} as Percentile_ExcPostRequestBody) : void { - writer.writeObjectValue("array", percentile_ExcPostRequestBody.array, ); - writer.writeObjectValue("k", percentile_ExcPostRequestBody.k, ); + writer.writeObjectValue("array", percentile_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", percentile_ExcPostRequestBody.k, serializeJson); writer.writeAdditionalData(percentile_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcRequestBuilder.ts index a56deeae269..3198a0175bd 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcRequestBuilder.ts @@ -61,7 +61,7 @@ export class Percentile_ExcRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePercentile_ExcPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts index 01a40e1e9e4..c25a6f0353b 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Percentile_IncPostRequestBody extends AdditionalDataHolder, Par k?: Json; } export function serializePercentile_IncPostRequestBody(writer: SerializationWriter, percentile_IncPostRequestBody: Percentile_IncPostRequestBody | undefined = {} as Percentile_IncPostRequestBody) : void { - writer.writeObjectValue("array", percentile_IncPostRequestBody.array, ); - writer.writeObjectValue("k", percentile_IncPostRequestBody.k, ); + writer.writeObjectValue("array", percentile_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", percentile_IncPostRequestBody.k, serializeJson); writer.writeAdditionalData(percentile_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncRequestBuilder.ts index 0209f41f39a..26354c886c2 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncRequestBuilder.ts @@ -61,7 +61,7 @@ export class Percentile_IncRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePercentile_IncPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts index 1b5106b896c..d65482491f1 100644 --- a/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PermutPostRequestBody extends AdditionalDataHolder, Parsable { numberChosen?: Json; } export function serializePermutPostRequestBody(writer: SerializationWriter, permutPostRequestBody: PermutPostRequestBody | undefined = {} as PermutPostRequestBody) : void { - writer.writeObjectValue("number", permutPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", permutPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", permutPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", permutPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(permutPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/permut/permutRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/permut/permutRequestBuilder.ts index 5a43ac1dc7f..a6529e48348 100644 --- a/src/drives/item/items/item/workbook/functions/permut/permutRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/permut/permutRequestBuilder.ts @@ -61,7 +61,7 @@ export class PermutRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermutPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts index d205e69d795..258c0ac67f4 100644 --- a/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PermutationaPostRequestBody extends AdditionalDataHolder, Parsa numberChosen?: Json; } export function serializePermutationaPostRequestBody(writer: SerializationWriter, permutationaPostRequestBody: PermutationaPostRequestBody | undefined = {} as PermutationaPostRequestBody) : void { - writer.writeObjectValue("number", permutationaPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", permutationaPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", permutationaPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", permutationaPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(permutationaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/permutationa/permutationaRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/permutationa/permutationaRequestBuilder.ts index 76138507467..e505f6e49b2 100644 --- a/src/drives/item/items/item/workbook/functions/permutationa/permutationaRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/permutationa/permutationaRequestBuilder.ts @@ -61,7 +61,7 @@ export class PermutationaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermutationaPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts index c2eb0c920c5..732149c8186 100644 --- a/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts @@ -24,7 +24,7 @@ export interface PhiPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializePhiPostRequestBody(writer: SerializationWriter, phiPostRequestBody: PhiPostRequestBody | undefined = {} as PhiPostRequestBody) : void { - writer.writeObjectValue("x", phiPostRequestBody.x, ); + writer.writeObjectValue("x", phiPostRequestBody.x, serializeJson); writer.writeAdditionalData(phiPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/phi/phiRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/phi/phiRequestBuilder.ts index ade7c7b2731..5fd9dc59254 100644 --- a/src/drives/item/items/item/workbook/functions/phi/phiRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/phi/phiRequestBuilder.ts @@ -61,7 +61,7 @@ export class PhiRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePhiPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/pi/piRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/pi/piRequestBuilder.ts index 71490dacd4a..decb9a9b0fd 100644 --- a/src/drives/item/items/item/workbook/functions/pi/piRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/pi/piRequestBuilder.ts @@ -58,7 +58,7 @@ export class PiRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts index e0f6e3baf67..e2df5d47b73 100644 --- a/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePmtPostRequestBody(writer: SerializationWriter, pmtPostRequestBody: PmtPostRequestBody | undefined = {} as PmtPostRequestBody) : void { - writer.writeObjectValue("fv", pmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", pmtPostRequestBody.nper, ); - writer.writeObjectValue("pv", pmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", pmtPostRequestBody.rate, ); - writer.writeObjectValue("type", pmtPostRequestBody.type, ); + writer.writeObjectValue("fv", pmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", pmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", pmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", pmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", pmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(pmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pmt/pmtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/pmt/pmtRequestBuilder.ts index 3a93e1488ee..1e0d1ea423b 100644 --- a/src/drives/item/items/item/workbook/functions/pmt/pmtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/pmt/pmtRequestBuilder.ts @@ -61,7 +61,7 @@ export class PmtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePmtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts index 7a3da9ef814..21dba6b848c 100644 --- a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Poisson_DistPostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializePoisson_DistPostRequestBody(writer: SerializationWriter, poisson_DistPostRequestBody: Poisson_DistPostRequestBody | undefined = {} as Poisson_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", poisson_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", poisson_DistPostRequestBody.mean, ); - writer.writeObjectValue("x", poisson_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", poisson_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", poisson_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("x", poisson_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(poisson_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistRequestBuilder.ts index 6d15d4178c0..4f02b112c05 100644 --- a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Poisson_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePoisson_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts index b18754cd295..6cce877f273 100644 --- a/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PowerPostRequestBody extends AdditionalDataHolder, Parsable { power?: Json; } export function serializePowerPostRequestBody(writer: SerializationWriter, powerPostRequestBody: PowerPostRequestBody | undefined = {} as PowerPostRequestBody) : void { - writer.writeObjectValue("number", powerPostRequestBody.number, ); - writer.writeObjectValue("power", powerPostRequestBody.power, ); + writer.writeObjectValue("number", powerPostRequestBody.number, serializeJson); + writer.writeObjectValue("power", powerPostRequestBody.power, serializeJson); writer.writeAdditionalData(powerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/power/powerRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/power/powerRequestBuilder.ts index 406fd3cee72..372f1f9eb84 100644 --- a/src/drives/item/items/item/workbook/functions/power/powerRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/power/powerRequestBuilder.ts @@ -61,7 +61,7 @@ export class PowerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePowerPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts index 70b181bc65c..71ea2ff34e3 100644 --- a/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts @@ -49,12 +49,12 @@ export interface PpmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePpmtPostRequestBody(writer: SerializationWriter, ppmtPostRequestBody: PpmtPostRequestBody | undefined = {} as PpmtPostRequestBody) : void { - writer.writeObjectValue("fv", ppmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", ppmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ppmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ppmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ppmtPostRequestBody.rate, ); - writer.writeObjectValue("type", ppmtPostRequestBody.type, ); + writer.writeObjectValue("fv", ppmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", ppmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ppmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ppmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ppmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", ppmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(ppmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ppmt/ppmtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/ppmt/ppmtRequestBuilder.ts index 9a0a01547dd..ca2d5546601 100644 --- a/src/drives/item/items/item/workbook/functions/ppmt/ppmtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/ppmt/ppmtRequestBuilder.ts @@ -61,7 +61,7 @@ export class PpmtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePpmtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts index 12b0cc42024..5c32c0e5a4d 100644 --- a/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts @@ -54,13 +54,13 @@ export interface PricePostRequestBody extends AdditionalDataHolder, Parsable { yld?: Json; } export function serializePricePostRequestBody(writer: SerializationWriter, pricePostRequestBody: PricePostRequestBody | undefined = {} as PricePostRequestBody) : void { - writer.writeObjectValue("basis", pricePostRequestBody.basis, ); - writer.writeObjectValue("frequency", pricePostRequestBody.frequency, ); - writer.writeObjectValue("maturity", pricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", pricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", pricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", pricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", pricePostRequestBody.yld, ); + writer.writeObjectValue("basis", pricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", pricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", pricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", pricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", pricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", pricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", pricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(pricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/price/priceRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/price/priceRequestBuilder.ts index c4555e8bcfc..e79b9465dd2 100644 --- a/src/drives/item/items/item/workbook/functions/price/priceRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/price/priceRequestBuilder.ts @@ -61,7 +61,7 @@ export class PriceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePricePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts index c079bdc99eb..26dea56c9ee 100644 --- a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PriceDiscPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializePriceDiscPostRequestBody(writer: SerializationWriter, priceDiscPostRequestBody: PriceDiscPostRequestBody | undefined = {} as PriceDiscPostRequestBody) : void { - writer.writeObjectValue("basis", priceDiscPostRequestBody.basis, ); - writer.writeObjectValue("discount", priceDiscPostRequestBody.discount, ); - writer.writeObjectValue("maturity", priceDiscPostRequestBody.maturity, ); - writer.writeObjectValue("redemption", priceDiscPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", priceDiscPostRequestBody.settlement, ); + writer.writeObjectValue("basis", priceDiscPostRequestBody.basis, serializeJson); + writer.writeObjectValue("discount", priceDiscPostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", priceDiscPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("redemption", priceDiscPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", priceDiscPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(priceDiscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscRequestBuilder.ts index 6b9c69d6836..275224cc0ed 100644 --- a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscRequestBuilder.ts @@ -61,7 +61,7 @@ export class PriceDiscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePriceDiscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts index 4f0fadfbf63..e99e5f837ee 100644 --- a/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts @@ -49,12 +49,12 @@ export interface PriceMatPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializePriceMatPostRequestBody(writer: SerializationWriter, priceMatPostRequestBody: PriceMatPostRequestBody | undefined = {} as PriceMatPostRequestBody) : void { - writer.writeObjectValue("basis", priceMatPostRequestBody.basis, ); - writer.writeObjectValue("issue", priceMatPostRequestBody.issue, ); - writer.writeObjectValue("maturity", priceMatPostRequestBody.maturity, ); - writer.writeObjectValue("rate", priceMatPostRequestBody.rate, ); - writer.writeObjectValue("settlement", priceMatPostRequestBody.settlement, ); - writer.writeObjectValue("yld", priceMatPostRequestBody.yld, ); + writer.writeObjectValue("basis", priceMatPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", priceMatPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", priceMatPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", priceMatPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", priceMatPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", priceMatPostRequestBody.yld, serializeJson); writer.writeAdditionalData(priceMatPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/priceMat/priceMatRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/priceMat/priceMatRequestBuilder.ts index d06cb1aacd3..870588f2b5c 100644 --- a/src/drives/item/items/item/workbook/functions/priceMat/priceMatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/priceMat/priceMatRequestBuilder.ts @@ -61,7 +61,7 @@ export class PriceMatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePriceMatPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts index 5212800bc19..3ce3ff69699 100644 --- a/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProductPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeProductPostRequestBody(writer: SerializationWriter, productPostRequestBody: ProductPostRequestBody | undefined = {} as ProductPostRequestBody) : void { - writer.writeObjectValue("values", productPostRequestBody.values, ); + writer.writeObjectValue("values", productPostRequestBody.values, serializeJson); writer.writeAdditionalData(productPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/product/productRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/product/productRequestBuilder.ts index 55a0285732f..20f7de17c79 100644 --- a/src/drives/item/items/item/workbook/functions/product/productRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/product/productRequestBuilder.ts @@ -61,7 +61,7 @@ export class ProductRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProductPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts index 4dab7444dcd..4d6ae888765 100644 --- a/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProperPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeProperPostRequestBody(writer: SerializationWriter, properPostRequestBody: ProperPostRequestBody | undefined = {} as ProperPostRequestBody) : void { - writer.writeObjectValue("text", properPostRequestBody.text, ); + writer.writeObjectValue("text", properPostRequestBody.text, serializeJson); writer.writeAdditionalData(properPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/proper/properRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/proper/properRequestBuilder.ts index 880b54c2f5b..55960d80d78 100644 --- a/src/drives/item/items/item/workbook/functions/proper/properRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/proper/properRequestBuilder.ts @@ -61,7 +61,7 @@ export class ProperRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProperPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts index 701597bdf02..56506da89da 100644 --- a/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PvPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePvPostRequestBody(writer: SerializationWriter, pvPostRequestBody: PvPostRequestBody | undefined = {} as PvPostRequestBody) : void { - writer.writeObjectValue("fv", pvPostRequestBody.fv, ); - writer.writeObjectValue("nper", pvPostRequestBody.nper, ); - writer.writeObjectValue("pmt", pvPostRequestBody.pmt, ); - writer.writeObjectValue("rate", pvPostRequestBody.rate, ); - writer.writeObjectValue("type", pvPostRequestBody.type, ); + writer.writeObjectValue("fv", pvPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", pvPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", pvPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("rate", pvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", pvPostRequestBody.type, serializeJson); writer.writeAdditionalData(pvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pv/pvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/pv/pvRequestBuilder.ts index 3e12b559d89..a7d96bf83f7 100644 --- a/src/drives/item/items/item/workbook/functions/pv/pvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/pv/pvRequestBuilder.ts @@ -61,7 +61,7 @@ export class PvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts index 125658282d4..20b5f9fdd00 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Quartile_ExcPostRequestBody extends AdditionalDataHolder, Parsa quart?: Json; } export function serializeQuartile_ExcPostRequestBody(writer: SerializationWriter, quartile_ExcPostRequestBody: Quartile_ExcPostRequestBody | undefined = {} as Quartile_ExcPostRequestBody) : void { - writer.writeObjectValue("array", quartile_ExcPostRequestBody.array, ); - writer.writeObjectValue("quart", quartile_ExcPostRequestBody.quart, ); + writer.writeObjectValue("array", quartile_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("quart", quartile_ExcPostRequestBody.quart, serializeJson); writer.writeAdditionalData(quartile_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcRequestBuilder.ts index 378b0a819a0..6ed42c222aa 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcRequestBuilder.ts @@ -61,7 +61,7 @@ export class Quartile_ExcRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeQuartile_ExcPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts index b49b5fabd71..be2cfe4580e 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Quartile_IncPostRequestBody extends AdditionalDataHolder, Parsa quart?: Json; } export function serializeQuartile_IncPostRequestBody(writer: SerializationWriter, quartile_IncPostRequestBody: Quartile_IncPostRequestBody | undefined = {} as Quartile_IncPostRequestBody) : void { - writer.writeObjectValue("array", quartile_IncPostRequestBody.array, ); - writer.writeObjectValue("quart", quartile_IncPostRequestBody.quart, ); + writer.writeObjectValue("array", quartile_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("quart", quartile_IncPostRequestBody.quart, serializeJson); writer.writeAdditionalData(quartile_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncRequestBuilder.ts index cd0bcc9f9c2..155fd1c1541 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncRequestBuilder.ts @@ -61,7 +61,7 @@ export class Quartile_IncRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeQuartile_IncPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts index 51d320f3144..f78f9b19f59 100644 --- a/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts @@ -29,8 +29,8 @@ export interface QuotientPostRequestBody extends AdditionalDataHolder, Parsable numerator?: Json; } export function serializeQuotientPostRequestBody(writer: SerializationWriter, quotientPostRequestBody: QuotientPostRequestBody | undefined = {} as QuotientPostRequestBody) : void { - writer.writeObjectValue("denominator", quotientPostRequestBody.denominator, ); - writer.writeObjectValue("numerator", quotientPostRequestBody.numerator, ); + writer.writeObjectValue("denominator", quotientPostRequestBody.denominator, serializeJson); + writer.writeObjectValue("numerator", quotientPostRequestBody.numerator, serializeJson); writer.writeAdditionalData(quotientPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quotient/quotientRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/quotient/quotientRequestBuilder.ts index 1f85b78e0d4..0beb72c4521 100644 --- a/src/drives/item/items/item/workbook/functions/quotient/quotientRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/quotient/quotientRequestBuilder.ts @@ -61,7 +61,7 @@ export class QuotientRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeQuotientPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts index 0a4f4d9e589..516dd8e0227 100644 --- a/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RadiansPostRequestBody extends AdditionalDataHolder, Parsable { angle?: Json; } export function serializeRadiansPostRequestBody(writer: SerializationWriter, radiansPostRequestBody: RadiansPostRequestBody | undefined = {} as RadiansPostRequestBody) : void { - writer.writeObjectValue("angle", radiansPostRequestBody.angle, ); + writer.writeObjectValue("angle", radiansPostRequestBody.angle, serializeJson); writer.writeAdditionalData(radiansPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/radians/radiansRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/radians/radiansRequestBuilder.ts index 4320c1fa569..461f3ffbf79 100644 --- a/src/drives/item/items/item/workbook/functions/radians/radiansRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/radians/radiansRequestBuilder.ts @@ -61,7 +61,7 @@ export class RadiansRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRadiansPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rand/randRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rand/randRequestBuilder.ts index bcda23c8ac7..f28490efad9 100644 --- a/src/drives/item/items/item/workbook/functions/rand/randRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rand/randRequestBuilder.ts @@ -58,7 +58,7 @@ export class RandRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts index 75d71ff6649..ce430ad8a27 100644 --- a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RandBetweenPostRequestBody extends AdditionalDataHolder, Parsab top?: Json; } export function serializeRandBetweenPostRequestBody(writer: SerializationWriter, randBetweenPostRequestBody: RandBetweenPostRequestBody | undefined = {} as RandBetweenPostRequestBody) : void { - writer.writeObjectValue("bottom", randBetweenPostRequestBody.bottom, ); - writer.writeObjectValue("top", randBetweenPostRequestBody.top, ); + writer.writeObjectValue("bottom", randBetweenPostRequestBody.bottom, serializeJson); + writer.writeObjectValue("top", randBetweenPostRequestBody.top, serializeJson); writer.writeAdditionalData(randBetweenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenRequestBuilder.ts index 8c7f05eead1..ab5b4096506 100644 --- a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenRequestBuilder.ts @@ -61,7 +61,7 @@ export class RandBetweenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRandBetweenPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts index bcb9f20fce3..93b3e56ddec 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Rank_AvgPostRequestBody extends AdditionalDataHolder, Parsable ref?: Json; } export function serializeRank_AvgPostRequestBody(writer: SerializationWriter, rank_AvgPostRequestBody: Rank_AvgPostRequestBody | undefined = {} as Rank_AvgPostRequestBody) : void { - writer.writeObjectValue("number", rank_AvgPostRequestBody.number, ); - writer.writeObjectValue("order", rank_AvgPostRequestBody.order, ); - writer.writeObjectValue("ref", rank_AvgPostRequestBody.ref, ); + writer.writeObjectValue("number", rank_AvgPostRequestBody.number, serializeJson); + writer.writeObjectValue("order", rank_AvgPostRequestBody.order, serializeJson); + writer.writeObjectValue("ref", rank_AvgPostRequestBody.ref, serializeJson); writer.writeAdditionalData(rank_AvgPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgRequestBuilder.ts index 516de548f5d..9ef5a7b51cd 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgRequestBuilder.ts @@ -61,7 +61,7 @@ export class Rank_AvgRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRank_AvgPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts index 5f625fbbdbe..cab803c2d09 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Rank_EqPostRequestBody extends AdditionalDataHolder, Parsable { ref?: Json; } export function serializeRank_EqPostRequestBody(writer: SerializationWriter, rank_EqPostRequestBody: Rank_EqPostRequestBody | undefined = {} as Rank_EqPostRequestBody) : void { - writer.writeObjectValue("number", rank_EqPostRequestBody.number, ); - writer.writeObjectValue("order", rank_EqPostRequestBody.order, ); - writer.writeObjectValue("ref", rank_EqPostRequestBody.ref, ); + writer.writeObjectValue("number", rank_EqPostRequestBody.number, serializeJson); + writer.writeObjectValue("order", rank_EqPostRequestBody.order, serializeJson); + writer.writeObjectValue("ref", rank_EqPostRequestBody.ref, serializeJson); writer.writeAdditionalData(rank_EqPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqRequestBuilder.ts index 2ecbcdf8489..f7aaf70b982 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqRequestBuilder.ts @@ -61,7 +61,7 @@ export class Rank_EqRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRank_EqPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts index 9dcdd5f80cd..51ae1e72894 100644 --- a/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts @@ -49,12 +49,12 @@ export interface RatePostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeRatePostRequestBody(writer: SerializationWriter, ratePostRequestBody: RatePostRequestBody | undefined = {} as RatePostRequestBody) : void { - writer.writeObjectValue("fv", ratePostRequestBody.fv, ); - writer.writeObjectValue("guess", ratePostRequestBody.guess, ); - writer.writeObjectValue("nper", ratePostRequestBody.nper, ); - writer.writeObjectValue("pmt", ratePostRequestBody.pmt, ); - writer.writeObjectValue("pv", ratePostRequestBody.pv, ); - writer.writeObjectValue("type", ratePostRequestBody.type, ); + writer.writeObjectValue("fv", ratePostRequestBody.fv, serializeJson); + writer.writeObjectValue("guess", ratePostRequestBody.guess, serializeJson); + writer.writeObjectValue("nper", ratePostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", ratePostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", ratePostRequestBody.pv, serializeJson); + writer.writeObjectValue("type", ratePostRequestBody.type, serializeJson); writer.writeAdditionalData(ratePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rate/rateRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rate/rateRequestBuilder.ts index f3aa761de04..7ac9823a3d8 100644 --- a/src/drives/item/items/item/workbook/functions/rate/rateRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rate/rateRequestBuilder.ts @@ -61,7 +61,7 @@ export class RateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRatePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts index 012a73a56a4..693b9d5a1c6 100644 --- a/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts @@ -44,11 +44,11 @@ export interface ReceivedPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeReceivedPostRequestBody(writer: SerializationWriter, receivedPostRequestBody: ReceivedPostRequestBody | undefined = {} as ReceivedPostRequestBody) : void { - writer.writeObjectValue("basis", receivedPostRequestBody.basis, ); - writer.writeObjectValue("discount", receivedPostRequestBody.discount, ); - writer.writeObjectValue("investment", receivedPostRequestBody.investment, ); - writer.writeObjectValue("maturity", receivedPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", receivedPostRequestBody.settlement, ); + writer.writeObjectValue("basis", receivedPostRequestBody.basis, serializeJson); + writer.writeObjectValue("discount", receivedPostRequestBody.discount, serializeJson); + writer.writeObjectValue("investment", receivedPostRequestBody.investment, serializeJson); + writer.writeObjectValue("maturity", receivedPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", receivedPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(receivedPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/received/receivedRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/received/receivedRequestBuilder.ts index cfa04a5762e..3a4249aae1f 100644 --- a/src/drives/item/items/item/workbook/functions/received/receivedRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/received/receivedRequestBuilder.ts @@ -61,7 +61,7 @@ export class ReceivedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReceivedPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts index 2f5c2bb05d5..1dae9031aac 100644 --- a/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts @@ -39,10 +39,10 @@ export interface ReplacePostRequestBody extends AdditionalDataHolder, Parsable { startNum?: Json; } export function serializeReplacePostRequestBody(writer: SerializationWriter, replacePostRequestBody: ReplacePostRequestBody | undefined = {} as ReplacePostRequestBody) : void { - writer.writeObjectValue("newText", replacePostRequestBody.newText, ); - writer.writeObjectValue("numChars", replacePostRequestBody.numChars, ); - writer.writeObjectValue("oldText", replacePostRequestBody.oldText, ); - writer.writeObjectValue("startNum", replacePostRequestBody.startNum, ); + writer.writeObjectValue("newText", replacePostRequestBody.newText, serializeJson); + writer.writeObjectValue("numChars", replacePostRequestBody.numChars, serializeJson); + writer.writeObjectValue("oldText", replacePostRequestBody.oldText, serializeJson); + writer.writeObjectValue("startNum", replacePostRequestBody.startNum, serializeJson); writer.writeAdditionalData(replacePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/replace/replaceRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/replace/replaceRequestBuilder.ts index 4bf26882eb1..23fc95f9f5d 100644 --- a/src/drives/item/items/item/workbook/functions/replace/replaceRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/replace/replaceRequestBuilder.ts @@ -61,7 +61,7 @@ export class ReplaceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplacePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts index ca7f6c6ae21..dea11283939 100644 --- a/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts @@ -39,10 +39,10 @@ export interface ReplaceBPostRequestBody extends AdditionalDataHolder, Parsable startNum?: Json; } export function serializeReplaceBPostRequestBody(writer: SerializationWriter, replaceBPostRequestBody: ReplaceBPostRequestBody | undefined = {} as ReplaceBPostRequestBody) : void { - writer.writeObjectValue("newText", replaceBPostRequestBody.newText, ); - writer.writeObjectValue("numBytes", replaceBPostRequestBody.numBytes, ); - writer.writeObjectValue("oldText", replaceBPostRequestBody.oldText, ); - writer.writeObjectValue("startNum", replaceBPostRequestBody.startNum, ); + writer.writeObjectValue("newText", replaceBPostRequestBody.newText, serializeJson); + writer.writeObjectValue("numBytes", replaceBPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("oldText", replaceBPostRequestBody.oldText, serializeJson); + writer.writeObjectValue("startNum", replaceBPostRequestBody.startNum, serializeJson); writer.writeAdditionalData(replaceBPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/replaceB/replaceBRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/replaceB/replaceBRequestBuilder.ts index 02d88bb014c..0d6d28ae1d8 100644 --- a/src/drives/item/items/item/workbook/functions/replaceB/replaceBRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/replaceB/replaceBRequestBuilder.ts @@ -61,7 +61,7 @@ export class ReplaceBRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplaceBPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts index b88980b3d0d..f786459c448 100644 --- a/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ReptPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeReptPostRequestBody(writer: SerializationWriter, reptPostRequestBody: ReptPostRequestBody | undefined = {} as ReptPostRequestBody) : void { - writer.writeObjectValue("numberTimes", reptPostRequestBody.numberTimes, ); - writer.writeObjectValue("text", reptPostRequestBody.text, ); + writer.writeObjectValue("numberTimes", reptPostRequestBody.numberTimes, serializeJson); + writer.writeObjectValue("text", reptPostRequestBody.text, serializeJson); writer.writeAdditionalData(reptPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rept/reptRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rept/reptRequestBuilder.ts index ac626f7f0e6..3e793cb7d28 100644 --- a/src/drives/item/items/item/workbook/functions/rept/reptRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rept/reptRequestBuilder.ts @@ -61,7 +61,7 @@ export class ReptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReptPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts index fbb7c5ad105..180e641ae24 100644 --- a/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RightPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeRightPostRequestBody(writer: SerializationWriter, rightPostRequestBody: RightPostRequestBody | undefined = {} as RightPostRequestBody) : void { - writer.writeObjectValue("numChars", rightPostRequestBody.numChars, ); - writer.writeObjectValue("text", rightPostRequestBody.text, ); + writer.writeObjectValue("numChars", rightPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("text", rightPostRequestBody.text, serializeJson); writer.writeAdditionalData(rightPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/right/rightRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/right/rightRequestBuilder.ts index e46fc7a7669..02883c2a540 100644 --- a/src/drives/item/items/item/workbook/functions/right/rightRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/right/rightRequestBuilder.ts @@ -61,7 +61,7 @@ export class RightRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRightPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts index d208db550af..32d517ae5ba 100644 --- a/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RightbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeRightbPostRequestBody(writer: SerializationWriter, rightbPostRequestBody: RightbPostRequestBody | undefined = {} as RightbPostRequestBody) : void { - writer.writeObjectValue("numBytes", rightbPostRequestBody.numBytes, ); - writer.writeObjectValue("text", rightbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", rightbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("text", rightbPostRequestBody.text, serializeJson); writer.writeAdditionalData(rightbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rightb/rightbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rightb/rightbRequestBuilder.ts index a722376cae4..4fc3c8dda4f 100644 --- a/src/drives/item/items/item/workbook/functions/rightb/rightbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rightb/rightbRequestBuilder.ts @@ -61,7 +61,7 @@ export class RightbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRightbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts index 4b8a27c0e79..3fa3101087b 100644 --- a/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RomanPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeRomanPostRequestBody(writer: SerializationWriter, romanPostRequestBody: RomanPostRequestBody | undefined = {} as RomanPostRequestBody) : void { - writer.writeObjectValue("form", romanPostRequestBody.form, ); - writer.writeObjectValue("number", romanPostRequestBody.number, ); + writer.writeObjectValue("form", romanPostRequestBody.form, serializeJson); + writer.writeObjectValue("number", romanPostRequestBody.number, serializeJson); writer.writeAdditionalData(romanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roman/romanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/roman/romanRequestBuilder.ts index 3a74352bc49..9a1352e01d1 100644 --- a/src/drives/item/items/item/workbook/functions/roman/romanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/roman/romanRequestBuilder.ts @@ -61,7 +61,7 @@ export class RomanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRomanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts index f88f70d6fc7..3ad5e088f46 100644 --- a/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundPostRequestBody extends AdditionalDataHolder, Parsable { numDigits?: Json; } export function serializeRoundPostRequestBody(writer: SerializationWriter, roundPostRequestBody: RoundPostRequestBody | undefined = {} as RoundPostRequestBody) : void { - writer.writeObjectValue("number", roundPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/round/roundRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/round/roundRequestBuilder.ts index f33abe63fd1..67688bb5fa6 100644 --- a/src/drives/item/items/item/workbook/functions/round/roundRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/round/roundRequestBuilder.ts @@ -61,7 +61,7 @@ export class RoundRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoundPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts index 9b51009f06f..759aeb0e4f5 100644 --- a/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundDownPostRequestBody extends AdditionalDataHolder, Parsable numDigits?: Json; } export function serializeRoundDownPostRequestBody(writer: SerializationWriter, roundDownPostRequestBody: RoundDownPostRequestBody | undefined = {} as RoundDownPostRequestBody) : void { - writer.writeObjectValue("number", roundDownPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundDownPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundDownPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundDownPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundDownPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roundDown/roundDownRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/roundDown/roundDownRequestBuilder.ts index aeef8b31704..bee150eb6ff 100644 --- a/src/drives/item/items/item/workbook/functions/roundDown/roundDownRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/roundDown/roundDownRequestBuilder.ts @@ -61,7 +61,7 @@ export class RoundDownRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoundDownPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts index aa6d0c69169..e142548c799 100644 --- a/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundUpPostRequestBody extends AdditionalDataHolder, Parsable { numDigits?: Json; } export function serializeRoundUpPostRequestBody(writer: SerializationWriter, roundUpPostRequestBody: RoundUpPostRequestBody | undefined = {} as RoundUpPostRequestBody) : void { - writer.writeObjectValue("number", roundUpPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundUpPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundUpPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundUpPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundUpPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roundUp/roundUpRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/roundUp/roundUpRequestBuilder.ts index 74f95169808..a9f6e0a3863 100644 --- a/src/drives/item/items/item/workbook/functions/roundUp/roundUpRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/roundUp/roundUpRequestBuilder.ts @@ -61,7 +61,7 @@ export class RoundUpRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRoundUpPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts index a79037a6c93..e29c059f3e6 100644 --- a/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RowsPostRequestBody extends AdditionalDataHolder, Parsable { array?: Json; } export function serializeRowsPostRequestBody(writer: SerializationWriter, rowsPostRequestBody: RowsPostRequestBody | undefined = {} as RowsPostRequestBody) : void { - writer.writeObjectValue("array", rowsPostRequestBody.array, ); + writer.writeObjectValue("array", rowsPostRequestBody.array, serializeJson); writer.writeAdditionalData(rowsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rows/rowsRequestBuilder.ts index 84d5c65f389..5b1ed7f5bae 100644 --- a/src/drives/item/items/item/workbook/functions/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rows/rowsRequestBuilder.ts @@ -61,7 +61,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRowsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts index f7c8747b5bf..8cb315927b4 100644 --- a/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts @@ -34,9 +34,9 @@ export interface RriPostRequestBody extends AdditionalDataHolder, Parsable { pv?: Json; } export function serializeRriPostRequestBody(writer: SerializationWriter, rriPostRequestBody: RriPostRequestBody | undefined = {} as RriPostRequestBody) : void { - writer.writeObjectValue("fv", rriPostRequestBody.fv, ); - writer.writeObjectValue("nper", rriPostRequestBody.nper, ); - writer.writeObjectValue("pv", rriPostRequestBody.pv, ); + writer.writeObjectValue("fv", rriPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", rriPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", rriPostRequestBody.pv, serializeJson); writer.writeAdditionalData(rriPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rri/rriRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/rri/rriRequestBuilder.ts index db35dae297f..e454f1048fb 100644 --- a/src/drives/item/items/item/workbook/functions/rri/rriRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/rri/rriRequestBuilder.ts @@ -61,7 +61,7 @@ export class RriRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRriPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts index eab7ad8b728..49aee8d6551 100644 --- a/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeSecPostRequestBody(writer: SerializationWriter, secPostRequestBody: SecPostRequestBody | undefined = {} as SecPostRequestBody) : void { - writer.writeObjectValue("number", secPostRequestBody.number, ); + writer.writeObjectValue("number", secPostRequestBody.number, serializeJson); writer.writeAdditionalData(secPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/sec/secRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sec/secRequestBuilder.ts index 35df9d477f0..32e8dbca285 100644 --- a/src/drives/item/items/item/workbook/functions/sec/secRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sec/secRequestBuilder.ts @@ -61,7 +61,7 @@ export class SecRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSecPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts index 096f2c69a37..9c6ba2266db 100644 --- a/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SechPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeSechPostRequestBody(writer: SerializationWriter, sechPostRequestBody: SechPostRequestBody | undefined = {} as SechPostRequestBody) : void { - writer.writeObjectValue("number", sechPostRequestBody.number, ); + writer.writeObjectValue("number", sechPostRequestBody.number, serializeJson); writer.writeAdditionalData(sechPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/sech/sechRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sech/sechRequestBuilder.ts index ce1d56542fb..7b2bf67605a 100644 --- a/src/drives/item/items/item/workbook/functions/sech/sechRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sech/sechRequestBuilder.ts @@ -61,7 +61,7 @@ export class SechRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSechPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts index ea15726d1be..22217938cc6 100644 --- a/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SecondPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeSecondPostRequestBody(writer: SerializationWriter, secondPostRequestBody: SecondPostRequestBody | undefined = {} as SecondPostRequestBody) : void { - writer.writeObjectValue("serialNumber", secondPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", secondPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(secondPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/second/secondRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/second/secondRequestBuilder.ts index 31e8525ca6d..911f11a0f73 100644 --- a/src/drives/item/items/item/workbook/functions/second/secondRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/second/secondRequestBuilder.ts @@ -61,7 +61,7 @@ export class SecondRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSecondPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts index ae71272ba8c..842675be4dc 100644 --- a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSeriesSumPostRequestBody(seriesSumPostRequestBody } } export function serializeSeriesSumPostRequestBody(writer: SerializationWriter, seriesSumPostRequestBody: SeriesSumPostRequestBody | undefined = {} as SeriesSumPostRequestBody) : void { - writer.writeObjectValue("coefficients", seriesSumPostRequestBody.coefficients, ); - writer.writeObjectValue("m", seriesSumPostRequestBody.m, ); - writer.writeObjectValue("n", seriesSumPostRequestBody.n, ); - writer.writeObjectValue("x", seriesSumPostRequestBody.x, ); + writer.writeObjectValue("coefficients", seriesSumPostRequestBody.coefficients, serializeJson); + writer.writeObjectValue("m", seriesSumPostRequestBody.m, serializeJson); + writer.writeObjectValue("n", seriesSumPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", seriesSumPostRequestBody.x, serializeJson); writer.writeAdditionalData(seriesSumPostRequestBody.additionalData); } export interface SeriesSumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumRequestBuilder.ts index d6ea84b354d..5e77023dca4 100644 --- a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumRequestBuilder.ts @@ -61,7 +61,7 @@ export class SeriesSumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSeriesSumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts index df8f6f0c539..87cc24ad48c 100644 --- a/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSheetPostRequestBody(sheetPostRequestBody: SheetP } } export function serializeSheetPostRequestBody(writer: SerializationWriter, sheetPostRequestBody: SheetPostRequestBody | undefined = {} as SheetPostRequestBody) : void { - writer.writeObjectValue("value", sheetPostRequestBody.value, ); + writer.writeObjectValue("value", sheetPostRequestBody.value, serializeJson); writer.writeAdditionalData(sheetPostRequestBody.additionalData); } export interface SheetPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sheet/sheetRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sheet/sheetRequestBuilder.ts index 2a7bd931c1a..234805bc65c 100644 --- a/src/drives/item/items/item/workbook/functions/sheet/sheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sheet/sheetRequestBuilder.ts @@ -61,7 +61,7 @@ export class SheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSheetPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts index a2246228193..c57ba8f3988 100644 --- a/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSheetsPostRequestBody(sheetsPostRequestBody: Shee } } export function serializeSheetsPostRequestBody(writer: SerializationWriter, sheetsPostRequestBody: SheetsPostRequestBody | undefined = {} as SheetsPostRequestBody) : void { - writer.writeObjectValue("reference", sheetsPostRequestBody.reference, ); + writer.writeObjectValue("reference", sheetsPostRequestBody.reference, serializeJson); writer.writeAdditionalData(sheetsPostRequestBody.additionalData); } export interface SheetsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sheets/sheetsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sheets/sheetsRequestBuilder.ts index 95084e773ac..f2eefff13cf 100644 --- a/src/drives/item/items/item/workbook/functions/sheets/sheetsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sheets/sheetsRequestBuilder.ts @@ -61,7 +61,7 @@ export class SheetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSheetsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts index f09d651d70b..10ceccf96b0 100644 --- a/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSignPostRequestBody(signPostRequestBody: SignPost } } export function serializeSignPostRequestBody(writer: SerializationWriter, signPostRequestBody: SignPostRequestBody | undefined = {} as SignPostRequestBody) : void { - writer.writeObjectValue("number", signPostRequestBody.number, ); + writer.writeObjectValue("number", signPostRequestBody.number, serializeJson); writer.writeAdditionalData(signPostRequestBody.additionalData); } export interface SignPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sign/signRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sign/signRequestBuilder.ts index cfc315f176a..2d50c5524f4 100644 --- a/src/drives/item/items/item/workbook/functions/sign/signRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sign/signRequestBuilder.ts @@ -61,7 +61,7 @@ export class SignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSignPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts index a94000f9d1d..d62e6f9d72c 100644 --- a/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSinPostRequestBody(sinPostRequestBody: SinPostReq } } export function serializeSinPostRequestBody(writer: SerializationWriter, sinPostRequestBody: SinPostRequestBody | undefined = {} as SinPostRequestBody) : void { - writer.writeObjectValue("number", sinPostRequestBody.number, ); + writer.writeObjectValue("number", sinPostRequestBody.number, serializeJson); writer.writeAdditionalData(sinPostRequestBody.additionalData); } export interface SinPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sin/sinRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sin/sinRequestBuilder.ts index e8f6c97b8dc..ffb0c7d96ec 100644 --- a/src/drives/item/items/item/workbook/functions/sin/sinRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sin/sinRequestBuilder.ts @@ -61,7 +61,7 @@ export class SinRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSinPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts index 73489cfb1ec..1e49a4ffa9f 100644 --- a/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSinhPostRequestBody(sinhPostRequestBody: SinhPost } } export function serializeSinhPostRequestBody(writer: SerializationWriter, sinhPostRequestBody: SinhPostRequestBody | undefined = {} as SinhPostRequestBody) : void { - writer.writeObjectValue("number", sinhPostRequestBody.number, ); + writer.writeObjectValue("number", sinhPostRequestBody.number, serializeJson); writer.writeAdditionalData(sinhPostRequestBody.additionalData); } export interface SinhPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sinh/sinhRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sinh/sinhRequestBuilder.ts index e4e25feb86b..f441f5c8dc4 100644 --- a/src/drives/item/items/item/workbook/functions/sinh/sinhRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sinh/sinhRequestBuilder.ts @@ -61,7 +61,7 @@ export class SinhRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSinhPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts index a85ced860a2..f85cc3105b6 100644 --- a/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSkewPostRequestBody(skewPostRequestBody: SkewPost } } export function serializeSkewPostRequestBody(writer: SerializationWriter, skewPostRequestBody: SkewPostRequestBody | undefined = {} as SkewPostRequestBody) : void { - writer.writeObjectValue("values", skewPostRequestBody.values, ); + writer.writeObjectValue("values", skewPostRequestBody.values, serializeJson); writer.writeAdditionalData(skewPostRequestBody.additionalData); } export interface SkewPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/skew/skewRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/skew/skewRequestBuilder.ts index 8a9c7e294ab..96363e4c6ea 100644 --- a/src/drives/item/items/item/workbook/functions/skew/skewRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/skew/skewRequestBuilder.ts @@ -61,7 +61,7 @@ export class SkewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSkewPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts index 86c000bd666..c07a9380070 100644 --- a/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSkew_pPostRequestBody(skew_pPostRequestBody: Skew } } export function serializeSkew_pPostRequestBody(writer: SerializationWriter, skew_pPostRequestBody: Skew_pPostRequestBody | undefined = {} as Skew_pPostRequestBody) : void { - writer.writeObjectValue("values", skew_pPostRequestBody.values, ); + writer.writeObjectValue("values", skew_pPostRequestBody.values, serializeJson); writer.writeAdditionalData(skew_pPostRequestBody.additionalData); } export interface Skew_pPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/skew_p/skew_pRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/skew_p/skew_pRequestBuilder.ts index c847defbcea..42a8dc0a8f0 100644 --- a/src/drives/item/items/item/workbook/functions/skew_p/skew_pRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/skew_p/skew_pRequestBuilder.ts @@ -61,7 +61,7 @@ export class Skew_pRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSkew_pPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts index 0c3126ce2d5..ca18702cf7c 100644 --- a/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoSlnPostRequestBody(slnPostRequestBody: SlnPostReq } } export function serializeSlnPostRequestBody(writer: SerializationWriter, slnPostRequestBody: SlnPostRequestBody | undefined = {} as SlnPostRequestBody) : void { - writer.writeObjectValue("cost", slnPostRequestBody.cost, ); - writer.writeObjectValue("life", slnPostRequestBody.life, ); - writer.writeObjectValue("salvage", slnPostRequestBody.salvage, ); + writer.writeObjectValue("cost", slnPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", slnPostRequestBody.life, serializeJson); + writer.writeObjectValue("salvage", slnPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(slnPostRequestBody.additionalData); } export interface SlnPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sln/slnRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sln/slnRequestBuilder.ts index 9396b04ff50..7b258ab9145 100644 --- a/src/drives/item/items/item/workbook/functions/sln/slnRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sln/slnRequestBuilder.ts @@ -61,7 +61,7 @@ export class SlnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSlnPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts index 53aae4b6fa0..268c8a234e7 100644 --- a/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSmallPostRequestBody(smallPostRequestBody: SmallP } } export function serializeSmallPostRequestBody(writer: SerializationWriter, smallPostRequestBody: SmallPostRequestBody | undefined = {} as SmallPostRequestBody) : void { - writer.writeObjectValue("array", smallPostRequestBody.array, ); - writer.writeObjectValue("k", smallPostRequestBody.k, ); + writer.writeObjectValue("array", smallPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", smallPostRequestBody.k, serializeJson); writer.writeAdditionalData(smallPostRequestBody.additionalData); } export interface SmallPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/small/smallRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/small/smallRequestBuilder.ts index 446f08fd1cc..9521b259f88 100644 --- a/src/drives/item/items/item/workbook/functions/small/smallRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/small/smallRequestBuilder.ts @@ -61,7 +61,7 @@ export class SmallRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSmallPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts index 57190232937..eeee94465fd 100644 --- a/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSqrtPostRequestBody(sqrtPostRequestBody: SqrtPost } } export function serializeSqrtPostRequestBody(writer: SerializationWriter, sqrtPostRequestBody: SqrtPostRequestBody | undefined = {} as SqrtPostRequestBody) : void { - writer.writeObjectValue("number", sqrtPostRequestBody.number, ); + writer.writeObjectValue("number", sqrtPostRequestBody.number, serializeJson); writer.writeAdditionalData(sqrtPostRequestBody.additionalData); } export interface SqrtPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sqrt/sqrtRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sqrt/sqrtRequestBuilder.ts index 4f71b674c3a..738aa3cf32f 100644 --- a/src/drives/item/items/item/workbook/functions/sqrt/sqrtRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sqrt/sqrtRequestBuilder.ts @@ -61,7 +61,7 @@ export class SqrtRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSqrtPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts index fe4bccc3f2b..6956454c6a8 100644 --- a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSqrtPiPostRequestBody(sqrtPiPostRequestBody: Sqrt } } export function serializeSqrtPiPostRequestBody(writer: SerializationWriter, sqrtPiPostRequestBody: SqrtPiPostRequestBody | undefined = {} as SqrtPiPostRequestBody) : void { - writer.writeObjectValue("number", sqrtPiPostRequestBody.number, ); + writer.writeObjectValue("number", sqrtPiPostRequestBody.number, serializeJson); writer.writeAdditionalData(sqrtPiPostRequestBody.additionalData); } export interface SqrtPiPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiRequestBuilder.ts index a8eb66ad942..53569564783 100644 --- a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiRequestBuilder.ts @@ -61,7 +61,7 @@ export class SqrtPiRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSqrtPiPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts index e9754d49a20..3fe9a6ce319 100644 --- a/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDevAPostRequestBody(stDevAPostRequestBody: StDe } } export function serializeStDevAPostRequestBody(writer: SerializationWriter, stDevAPostRequestBody: StDevAPostRequestBody | undefined = {} as StDevAPostRequestBody) : void { - writer.writeObjectValue("values", stDevAPostRequestBody.values, ); + writer.writeObjectValue("values", stDevAPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDevAPostRequestBody.additionalData); } export interface StDevAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDevA/stDevARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/stDevA/stDevARequestBuilder.ts index 3b0c459df9f..7d9939ef0e7 100644 --- a/src/drives/item/items/item/workbook/functions/stDevA/stDevARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/stDevA/stDevARequestBuilder.ts @@ -61,7 +61,7 @@ export class StDevARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStDevAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts index 67221cfbf45..46a8e6fc03d 100644 --- a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDevPAPostRequestBody(stDevPAPostRequestBody: St } } export function serializeStDevPAPostRequestBody(writer: SerializationWriter, stDevPAPostRequestBody: StDevPAPostRequestBody | undefined = {} as StDevPAPostRequestBody) : void { - writer.writeObjectValue("values", stDevPAPostRequestBody.values, ); + writer.writeObjectValue("values", stDevPAPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDevPAPostRequestBody.additionalData); } export interface StDevPAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPARequestBuilder.ts index f22c0c0614b..d1d8dec38dc 100644 --- a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPARequestBuilder.ts @@ -61,7 +61,7 @@ export class StDevPARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStDevPAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts index bd648995112..54bbeffaf8e 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDev_PPostRequestBody(stDev_PPostRequestBody: St } } export function serializeStDev_PPostRequestBody(writer: SerializationWriter, stDev_PPostRequestBody: StDev_PPostRequestBody | undefined = {} as StDev_PPostRequestBody) : void { - writer.writeObjectValue("values", stDev_PPostRequestBody.values, ); + writer.writeObjectValue("values", stDev_PPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDev_PPostRequestBody.additionalData); } export interface StDev_PPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PRequestBuilder.ts index ede0e131858..d5dc79fbc70 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PRequestBuilder.ts @@ -61,7 +61,7 @@ export class StDev_PRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStDev_PPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts index 7ca49642510..9e4f208df22 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDev_SPostRequestBody(stDev_SPostRequestBody: St } } export function serializeStDev_SPostRequestBody(writer: SerializationWriter, stDev_SPostRequestBody: StDev_SPostRequestBody | undefined = {} as StDev_SPostRequestBody) : void { - writer.writeObjectValue("values", stDev_SPostRequestBody.values, ); + writer.writeObjectValue("values", stDev_SPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDev_SPostRequestBody.additionalData); } export interface StDev_SPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SRequestBuilder.ts index f1c183d2554..80399fb5c94 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SRequestBuilder.ts @@ -61,7 +61,7 @@ export class StDev_SRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStDev_SPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts index 3d9117b9814..cebf92651d3 100644 --- a/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoStandardizePostRequestBody(standardizePostRequest } } export function serializeStandardizePostRequestBody(writer: SerializationWriter, standardizePostRequestBody: StandardizePostRequestBody | undefined = {} as StandardizePostRequestBody) : void { - writer.writeObjectValue("mean", standardizePostRequestBody.mean, ); - writer.writeObjectValue("standardDev", standardizePostRequestBody.standardDev, ); - writer.writeObjectValue("x", standardizePostRequestBody.x, ); + writer.writeObjectValue("mean", standardizePostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", standardizePostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", standardizePostRequestBody.x, serializeJson); writer.writeAdditionalData(standardizePostRequestBody.additionalData); } export interface StandardizePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/standardize/standardizeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/standardize/standardizeRequestBuilder.ts index 7f7fdbc25f2..c955415ede9 100644 --- a/src/drives/item/items/item/workbook/functions/standardize/standardizeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/standardize/standardizeRequestBuilder.ts @@ -61,7 +61,7 @@ export class StandardizeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStandardizePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts index 5727e17fc97..1353f00e6c1 100644 --- a/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSubstitutePostRequestBody(substitutePostRequestBo } } export function serializeSubstitutePostRequestBody(writer: SerializationWriter, substitutePostRequestBody: SubstitutePostRequestBody | undefined = {} as SubstitutePostRequestBody) : void { - writer.writeObjectValue("instanceNum", substitutePostRequestBody.instanceNum, ); - writer.writeObjectValue("newText", substitutePostRequestBody.newText, ); - writer.writeObjectValue("oldText", substitutePostRequestBody.oldText, ); - writer.writeObjectValue("text", substitutePostRequestBody.text, ); + writer.writeObjectValue("instanceNum", substitutePostRequestBody.instanceNum, serializeJson); + writer.writeObjectValue("newText", substitutePostRequestBody.newText, serializeJson); + writer.writeObjectValue("oldText", substitutePostRequestBody.oldText, serializeJson); + writer.writeObjectValue("text", substitutePostRequestBody.text, serializeJson); writer.writeAdditionalData(substitutePostRequestBody.additionalData); } export interface SubstitutePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/substitute/substituteRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/substitute/substituteRequestBuilder.ts index fe5ee9493e4..81bb589ccb4 100644 --- a/src/drives/item/items/item/workbook/functions/substitute/substituteRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/substitute/substituteRequestBuilder.ts @@ -61,7 +61,7 @@ export class SubstituteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubstitutePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts index 8cd12eceafe..82820e51e99 100644 --- a/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSubtotalPostRequestBody(subtotalPostRequestBody: } } export function serializeSubtotalPostRequestBody(writer: SerializationWriter, subtotalPostRequestBody: SubtotalPostRequestBody | undefined = {} as SubtotalPostRequestBody) : void { - writer.writeObjectValue("functionNum", subtotalPostRequestBody.functionNum, ); - writer.writeObjectValue("values", subtotalPostRequestBody.values, ); + writer.writeObjectValue("functionNum", subtotalPostRequestBody.functionNum, serializeJson); + writer.writeObjectValue("values", subtotalPostRequestBody.values, serializeJson); writer.writeAdditionalData(subtotalPostRequestBody.additionalData); } export interface SubtotalPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/subtotal/subtotalRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/subtotal/subtotalRequestBuilder.ts index fa27b56ff79..c38c20acd17 100644 --- a/src/drives/item/items/item/workbook/functions/subtotal/subtotalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/subtotal/subtotalRequestBuilder.ts @@ -61,7 +61,7 @@ export class SubtotalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubtotalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts index 24788aae6b9..a8099fbdf46 100644 --- a/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSumPostRequestBody(sumPostRequestBody: SumPostReq } } export function serializeSumPostRequestBody(writer: SerializationWriter, sumPostRequestBody: SumPostRequestBody | undefined = {} as SumPostRequestBody) : void { - writer.writeObjectValue("values", sumPostRequestBody.values, ); + writer.writeObjectValue("values", sumPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumPostRequestBody.additionalData); } export interface SumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sum/sumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sum/sumRequestBuilder.ts index de41cd52ec0..b62da8b53a8 100644 --- a/src/drives/item/items/item/workbook/functions/sum/sumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sum/sumRequestBuilder.ts @@ -61,7 +61,7 @@ export class SumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts index 9180caa8f18..6198bb9bdad 100644 --- a/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoSumIfPostRequestBody(sumIfPostRequestBody: SumIfP } } export function serializeSumIfPostRequestBody(writer: SerializationWriter, sumIfPostRequestBody: SumIfPostRequestBody | undefined = {} as SumIfPostRequestBody) : void { - writer.writeObjectValue("criteria", sumIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", sumIfPostRequestBody.range, ); - writer.writeObjectValue("sumRange", sumIfPostRequestBody.sumRange, ); + writer.writeObjectValue("criteria", sumIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", sumIfPostRequestBody.range, serializeJson); + writer.writeObjectValue("sumRange", sumIfPostRequestBody.sumRange, serializeJson); writer.writeAdditionalData(sumIfPostRequestBody.additionalData); } export interface SumIfPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumIf/sumIfRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sumIf/sumIfRequestBuilder.ts index 256dfb2fd65..07deccf0fa0 100644 --- a/src/drives/item/items/item/workbook/functions/sumIf/sumIfRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sumIf/sumIfRequestBuilder.ts @@ -61,7 +61,7 @@ export class SumIfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSumIfPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts index d03e5d11d19..3dd7bad8ff4 100644 --- a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSumIfsPostRequestBody(sumIfsPostRequestBody: SumI } } export function serializeSumIfsPostRequestBody(writer: SerializationWriter, sumIfsPostRequestBody: SumIfsPostRequestBody | undefined = {} as SumIfsPostRequestBody) : void { - writer.writeObjectValue("sumRange", sumIfsPostRequestBody.sumRange, ); - writer.writeObjectValue("values", sumIfsPostRequestBody.values, ); + writer.writeObjectValue("sumRange", sumIfsPostRequestBody.sumRange, serializeJson); + writer.writeObjectValue("values", sumIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumIfsPostRequestBody.additionalData); } export interface SumIfsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsRequestBuilder.ts index b9389a388aa..15ef8bb4154 100644 --- a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsRequestBuilder.ts @@ -61,7 +61,7 @@ export class SumIfsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSumIfsPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts index 260ad7e87a2..08c3c03af6f 100644 --- a/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSumSqPostRequestBody(sumSqPostRequestBody: SumSqP } } export function serializeSumSqPostRequestBody(writer: SerializationWriter, sumSqPostRequestBody: SumSqPostRequestBody | undefined = {} as SumSqPostRequestBody) : void { - writer.writeObjectValue("values", sumSqPostRequestBody.values, ); + writer.writeObjectValue("values", sumSqPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumSqPostRequestBody.additionalData); } export interface SumSqPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumSq/sumSqRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/sumSq/sumSqRequestBuilder.ts index 3cf29790829..058363714ca 100644 --- a/src/drives/item/items/item/workbook/functions/sumSq/sumSqRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/sumSq/sumSqRequestBuilder.ts @@ -61,7 +61,7 @@ export class SumSqRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSumSqPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts index bb3a0da6961..21ce8b25dc4 100644 --- a/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSydPostRequestBody(sydPostRequestBody: SydPostReq } } export function serializeSydPostRequestBody(writer: SerializationWriter, sydPostRequestBody: SydPostRequestBody | undefined = {} as SydPostRequestBody) : void { - writer.writeObjectValue("cost", sydPostRequestBody.cost, ); - writer.writeObjectValue("life", sydPostRequestBody.life, ); - writer.writeObjectValue("per", sydPostRequestBody.per, ); - writer.writeObjectValue("salvage", sydPostRequestBody.salvage, ); + writer.writeObjectValue("cost", sydPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", sydPostRequestBody.life, serializeJson); + writer.writeObjectValue("per", sydPostRequestBody.per, serializeJson); + writer.writeObjectValue("salvage", sydPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(sydPostRequestBody.additionalData); } export interface SydPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/syd/sydRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/syd/sydRequestBuilder.ts index afc3fa9a136..15d109b7aa6 100644 --- a/src/drives/item/items/item/workbook/functions/syd/sydRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/syd/sydRequestBuilder.ts @@ -61,7 +61,7 @@ export class SydRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSydPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts index 5985e4d188c..ec1b76778fc 100644 --- a/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTPostRequestBody(tPostRequestBody: TPostRequestBo } } export function serializeTPostRequestBody(writer: SerializationWriter, tPostRequestBody: TPostRequestBody | undefined = {} as TPostRequestBody) : void { - writer.writeObjectValue("value", tPostRequestBody.value, ); + writer.writeObjectValue("value", tPostRequestBody.value, serializeJson); writer.writeAdditionalData(tPostRequestBody.additionalData); } export interface TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t/tRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t/tRequestBuilder.ts index d626d361271..907793dac5f 100644 --- a/src/drives/item/items/item/workbook/functions/t/tRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t/tRequestBuilder.ts @@ -61,7 +61,7 @@ export class TRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts index 0defa17b22c..83793f6afe1 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoT_DistPostRequestBody(t_DistPostRequestBody: T_Di } } export function serializeT_DistPostRequestBody(writer: SerializationWriter, t_DistPostRequestBody: T_DistPostRequestBody | undefined = {} as T_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", t_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom", t_DistPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", t_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom", t_DistPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_DistPostRequestBody.additionalData); } export interface T_DistPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistRequestBuilder.ts index 7b5340be407..3bef1397e29 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class T_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeT_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts index 6e430621ca3..3e5b83ccce4 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Dist_2TPostRequestBody(t_Dist_2TPostRequestBody } } export function serializeT_Dist_2TPostRequestBody(writer: SerializationWriter, t_Dist_2TPostRequestBody: T_Dist_2TPostRequestBody | undefined = {} as T_Dist_2TPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Dist_2TPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_Dist_2TPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", t_Dist_2TPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_Dist_2TPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_Dist_2TPostRequestBody.additionalData); } export interface T_Dist_2TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TRequestBuilder.ts index 4bd0c1673e2..c8a61892449 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TRequestBuilder.ts @@ -61,7 +61,7 @@ export class T_Dist_2TRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeT_Dist_2TPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts index 3f21b501f6e..0b697f49012 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Dist_RTPostRequestBody(t_Dist_RTPostRequestBody } } export function serializeT_Dist_RTPostRequestBody(writer: SerializationWriter, t_Dist_RTPostRequestBody: T_Dist_RTPostRequestBody | undefined = {} as T_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Dist_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", t_Dist_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_Dist_RTPostRequestBody.additionalData); } export interface T_Dist_RTPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTRequestBuilder.ts index e412cc6436b..cad8693cc3b 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTRequestBuilder.ts @@ -61,7 +61,7 @@ export class T_Dist_RTRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeT_Dist_RTPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts index 16774924a4a..f31c4e0b1fd 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_InvPostRequestBody(t_InvPostRequestBody: T_InvP } } export function serializeT_InvPostRequestBody(writer: SerializationWriter, t_InvPostRequestBody: T_InvPostRequestBody | undefined = {} as T_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_InvPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", t_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", t_InvPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", t_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(t_InvPostRequestBody.additionalData); } export interface T_InvPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvRequestBuilder.ts index 7f2d371202c..935369b5ac5 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvRequestBuilder.ts @@ -61,7 +61,7 @@ export class T_InvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeT_InvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts index b3a66bf400b..3bb1bcf720e 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Inv_2TPostRequestBody(t_Inv_2TPostRequestBody: } } export function serializeT_Inv_2TPostRequestBody(writer: SerializationWriter, t_Inv_2TPostRequestBody: T_Inv_2TPostRequestBody | undefined = {} as T_Inv_2TPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Inv_2TPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", t_Inv_2TPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", t_Inv_2TPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", t_Inv_2TPostRequestBody.probability, serializeJson); writer.writeAdditionalData(t_Inv_2TPostRequestBody.additionalData); } export interface T_Inv_2TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TRequestBuilder.ts index 083e70b1cd1..3cbb1f90561 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TRequestBuilder.ts @@ -61,7 +61,7 @@ export class T_Inv_2TRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeT_Inv_2TPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts index 0bdba42ac1f..6e2987dcf0e 100644 --- a/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTanPostRequestBody(tanPostRequestBody: TanPostReq } } export function serializeTanPostRequestBody(writer: SerializationWriter, tanPostRequestBody: TanPostRequestBody | undefined = {} as TanPostRequestBody) : void { - writer.writeObjectValue("number", tanPostRequestBody.number, ); + writer.writeObjectValue("number", tanPostRequestBody.number, serializeJson); writer.writeAdditionalData(tanPostRequestBody.additionalData); } export interface TanPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tan/tanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/tan/tanRequestBuilder.ts index bf8be45c06b..03983714015 100644 --- a/src/drives/item/items/item/workbook/functions/tan/tanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/tan/tanRequestBuilder.ts @@ -61,7 +61,7 @@ export class TanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts index 0fd82b488df..8200f954f3f 100644 --- a/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTanhPostRequestBody(tanhPostRequestBody: TanhPost } } export function serializeTanhPostRequestBody(writer: SerializationWriter, tanhPostRequestBody: TanhPostRequestBody | undefined = {} as TanhPostRequestBody) : void { - writer.writeObjectValue("number", tanhPostRequestBody.number, ); + writer.writeObjectValue("number", tanhPostRequestBody.number, serializeJson); writer.writeAdditionalData(tanhPostRequestBody.additionalData); } export interface TanhPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tanh/tanhRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/tanh/tanhRequestBuilder.ts index fa95b20c53f..ca23967baeb 100644 --- a/src/drives/item/items/item/workbook/functions/tanh/tanhRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/tanh/tanhRequestBuilder.ts @@ -61,7 +61,7 @@ export class TanhRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTanhPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts index 76e1c620953..41acda3cf47 100644 --- a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillEqPostRequestBody(tbillEqPostRequestBody: Tb } } export function serializeTbillEqPostRequestBody(writer: SerializationWriter, tbillEqPostRequestBody: TbillEqPostRequestBody | undefined = {} as TbillEqPostRequestBody) : void { - writer.writeObjectValue("discount", tbillEqPostRequestBody.discount, ); - writer.writeObjectValue("maturity", tbillEqPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", tbillEqPostRequestBody.settlement, ); + writer.writeObjectValue("discount", tbillEqPostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", tbillEqPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", tbillEqPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillEqPostRequestBody.additionalData); } export interface TbillEqPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqRequestBuilder.ts index 61c889b3806..cb048ab8c0b 100644 --- a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqRequestBuilder.ts @@ -61,7 +61,7 @@ export class TbillEqRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTbillEqPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts index c9bd428264b..d26c8ddd5b4 100644 --- a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillPricePostRequestBody(tbillPricePostRequestBo } } export function serializeTbillPricePostRequestBody(writer: SerializationWriter, tbillPricePostRequestBody: TbillPricePostRequestBody | undefined = {} as TbillPricePostRequestBody) : void { - writer.writeObjectValue("discount", tbillPricePostRequestBody.discount, ); - writer.writeObjectValue("maturity", tbillPricePostRequestBody.maturity, ); - writer.writeObjectValue("settlement", tbillPricePostRequestBody.settlement, ); + writer.writeObjectValue("discount", tbillPricePostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", tbillPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", tbillPricePostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillPricePostRequestBody.additionalData); } export interface TbillPricePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPriceRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPriceRequestBuilder.ts index 667c3285429..5ffb8af7b89 100644 --- a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPriceRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPriceRequestBuilder.ts @@ -61,7 +61,7 @@ export class TbillPriceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTbillPricePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts index 69fd4076847..7f1c5c6b9b6 100644 --- a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillYieldPostRequestBody(tbillYieldPostRequestBo } } export function serializeTbillYieldPostRequestBody(writer: SerializationWriter, tbillYieldPostRequestBody: TbillYieldPostRequestBody | undefined = {} as TbillYieldPostRequestBody) : void { - writer.writeObjectValue("maturity", tbillYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", tbillYieldPostRequestBody.pr, ); - writer.writeObjectValue("settlement", tbillYieldPostRequestBody.settlement, ); + writer.writeObjectValue("maturity", tbillYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", tbillYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("settlement", tbillYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillYieldPostRequestBody.additionalData); } export interface TbillYieldPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldRequestBuilder.ts index a9c3a11eafd..9429f9fe58d 100644 --- a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldRequestBuilder.ts @@ -61,7 +61,7 @@ export class TbillYieldRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTbillYieldPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts index 8fc76ddb13c..5649cc8940e 100644 --- a/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTextPostRequestBody(textPostRequestBody: TextPost } } export function serializeTextPostRequestBody(writer: SerializationWriter, textPostRequestBody: TextPostRequestBody | undefined = {} as TextPostRequestBody) : void { - writer.writeObjectValue("formatText", textPostRequestBody.formatText, ); - writer.writeObjectValue("value", textPostRequestBody.value, ); + writer.writeObjectValue("formatText", textPostRequestBody.formatText, serializeJson); + writer.writeObjectValue("value", textPostRequestBody.value, serializeJson); writer.writeAdditionalData(textPostRequestBody.additionalData); } export interface TextPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/text/textRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/text/textRequestBuilder.ts index 65b933b31e1..e1c684e579d 100644 --- a/src/drives/item/items/item/workbook/functions/text/textRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/text/textRequestBuilder.ts @@ -61,7 +61,7 @@ export class TextRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTextPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts index 502d158d616..f586ec7344a 100644 --- a/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTimePostRequestBody(timePostRequestBody: TimePost } } export function serializeTimePostRequestBody(writer: SerializationWriter, timePostRequestBody: TimePostRequestBody | undefined = {} as TimePostRequestBody) : void { - writer.writeObjectValue("hour", timePostRequestBody.hour, ); - writer.writeObjectValue("minute", timePostRequestBody.minute, ); - writer.writeObjectValue("second", timePostRequestBody.second, ); + writer.writeObjectValue("hour", timePostRequestBody.hour, serializeJson); + writer.writeObjectValue("minute", timePostRequestBody.minute, serializeJson); + writer.writeObjectValue("second", timePostRequestBody.second, serializeJson); writer.writeAdditionalData(timePostRequestBody.additionalData); } export interface TimePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/time/timeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/time/timeRequestBuilder.ts index 28dd3b6976f..a2ccc90c6d8 100644 --- a/src/drives/item/items/item/workbook/functions/time/timeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/time/timeRequestBuilder.ts @@ -61,7 +61,7 @@ export class TimeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts index 23054c13a4f..99a85b85bf4 100644 --- a/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTimevaluePostRequestBody(timevaluePostRequestBody } } export function serializeTimevaluePostRequestBody(writer: SerializationWriter, timevaluePostRequestBody: TimevaluePostRequestBody | undefined = {} as TimevaluePostRequestBody) : void { - writer.writeObjectValue("timeText", timevaluePostRequestBody.timeText, ); + writer.writeObjectValue("timeText", timevaluePostRequestBody.timeText, serializeJson); writer.writeAdditionalData(timevaluePostRequestBody.additionalData); } export interface TimevaluePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/timevalue/timevalueRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/timevalue/timevalueRequestBuilder.ts index 7fc993d093f..4a21f9bce7c 100644 --- a/src/drives/item/items/item/workbook/functions/timevalue/timevalueRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/timevalue/timevalueRequestBuilder.ts @@ -61,7 +61,7 @@ export class TimevalueRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimevaluePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/today/todayRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/today/todayRequestBuilder.ts index 8c2cae04c33..000a6500dbf 100644 --- a/src/drives/item/items/item/workbook/functions/today/todayRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/today/todayRequestBuilder.ts @@ -58,7 +58,7 @@ export class TodayRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts index 78b9f878b53..480339072b1 100644 --- a/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTrimPostRequestBody(trimPostRequestBody: TrimPost } } export function serializeTrimPostRequestBody(writer: SerializationWriter, trimPostRequestBody: TrimPostRequestBody | undefined = {} as TrimPostRequestBody) : void { - writer.writeObjectValue("text", trimPostRequestBody.text, ); + writer.writeObjectValue("text", trimPostRequestBody.text, serializeJson); writer.writeAdditionalData(trimPostRequestBody.additionalData); } export interface TrimPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trim/trimRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/trim/trimRequestBuilder.ts index 7a764ffb53a..9f5d1f581c3 100644 --- a/src/drives/item/items/item/workbook/functions/trim/trimRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/trim/trimRequestBuilder.ts @@ -61,7 +61,7 @@ export class TrimRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTrimPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts index 63c69938bba..6bd665e2e9d 100644 --- a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTrimMeanPostRequestBody(trimMeanPostRequestBody: } } export function serializeTrimMeanPostRequestBody(writer: SerializationWriter, trimMeanPostRequestBody: TrimMeanPostRequestBody | undefined = {} as TrimMeanPostRequestBody) : void { - writer.writeObjectValue("array", trimMeanPostRequestBody.array, ); - writer.writeObjectValue("percent", trimMeanPostRequestBody.percent, ); + writer.writeObjectValue("array", trimMeanPostRequestBody.array, serializeJson); + writer.writeObjectValue("percent", trimMeanPostRequestBody.percent, serializeJson); writer.writeAdditionalData(trimMeanPostRequestBody.additionalData); } export interface TrimMeanPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanRequestBuilder.ts index 6df5e6b45dd..fe24488d80c 100644 --- a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanRequestBuilder.ts @@ -61,7 +61,7 @@ export class TrimMeanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTrimMeanPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/trueEscaped/trueRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/trueEscaped/trueRequestBuilder.ts index 10b8562399a..f5b17b89e5f 100644 --- a/src/drives/item/items/item/workbook/functions/trueEscaped/trueRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/trueEscaped/trueRequestBuilder.ts @@ -58,7 +58,7 @@ export class TrueRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts index 98dfe464a6e..1521787931e 100644 --- a/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTruncPostRequestBody(truncPostRequestBody: TruncP } } export function serializeTruncPostRequestBody(writer: SerializationWriter, truncPostRequestBody: TruncPostRequestBody | undefined = {} as TruncPostRequestBody) : void { - writer.writeObjectValue("number", truncPostRequestBody.number, ); - writer.writeObjectValue("numDigits", truncPostRequestBody.numDigits, ); + writer.writeObjectValue("number", truncPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", truncPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(truncPostRequestBody.additionalData); } export interface TruncPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trunc/truncRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/trunc/truncRequestBuilder.ts index a5c8cb950dd..c8137a2a417 100644 --- a/src/drives/item/items/item/workbook/functions/trunc/truncRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/trunc/truncRequestBuilder.ts @@ -61,7 +61,7 @@ export class TruncRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTruncPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts index 5c400dd1990..126afdab704 100644 --- a/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTypePostRequestBody(typePostRequestBody: TypePost } } export function serializeTypePostRequestBody(writer: SerializationWriter, typePostRequestBody: TypePostRequestBody | undefined = {} as TypePostRequestBody) : void { - writer.writeObjectValue("value", typePostRequestBody.value, ); + writer.writeObjectValue("value", typePostRequestBody.value, serializeJson); writer.writeAdditionalData(typePostRequestBody.additionalData); } export interface TypePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/type/typeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/type/typeRequestBuilder.ts index c028831377e..e8aa77bcb53 100644 --- a/src/drives/item/items/item/workbook/functions/type/typeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/type/typeRequestBuilder.ts @@ -61,7 +61,7 @@ export class TypeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTypePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts index 29c9c98734b..1495c04ac86 100644 --- a/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnicharPostRequestBody(unicharPostRequestBody: Un } } export function serializeUnicharPostRequestBody(writer: SerializationWriter, unicharPostRequestBody: UnicharPostRequestBody | undefined = {} as UnicharPostRequestBody) : void { - writer.writeObjectValue("number", unicharPostRequestBody.number, ); + writer.writeObjectValue("number", unicharPostRequestBody.number, serializeJson); writer.writeAdditionalData(unicharPostRequestBody.additionalData); } export interface UnicharPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/unichar/unicharRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/unichar/unicharRequestBuilder.ts index 0d8e9812be9..977cec520c0 100644 --- a/src/drives/item/items/item/workbook/functions/unichar/unicharRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/unichar/unicharRequestBuilder.ts @@ -61,7 +61,7 @@ export class UnicharRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnicharPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts index e3c34eec0f8..8e0e446f561 100644 --- a/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnicodePostRequestBody(unicodePostRequestBody: Un } } export function serializeUnicodePostRequestBody(writer: SerializationWriter, unicodePostRequestBody: UnicodePostRequestBody | undefined = {} as UnicodePostRequestBody) : void { - writer.writeObjectValue("text", unicodePostRequestBody.text, ); + writer.writeObjectValue("text", unicodePostRequestBody.text, serializeJson); writer.writeAdditionalData(unicodePostRequestBody.additionalData); } export interface UnicodePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/unicode/unicodeRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/unicode/unicodeRequestBuilder.ts index b47f41fc38c..d4fbbf52266 100644 --- a/src/drives/item/items/item/workbook/functions/unicode/unicodeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/unicode/unicodeRequestBuilder.ts @@ -61,7 +61,7 @@ export class UnicodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnicodePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts index d4985aed70d..f4bb696eeb9 100644 --- a/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpperPostRequestBody(upperPostRequestBody: UpperP } } export function serializeUpperPostRequestBody(writer: SerializationWriter, upperPostRequestBody: UpperPostRequestBody | undefined = {} as UpperPostRequestBody) : void { - writer.writeObjectValue("text", upperPostRequestBody.text, ); + writer.writeObjectValue("text", upperPostRequestBody.text, serializeJson); writer.writeAdditionalData(upperPostRequestBody.additionalData); } export interface UpperPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/upper/upperRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/upper/upperRequestBuilder.ts index afc8c47ff94..9bed36aeb15 100644 --- a/src/drives/item/items/item/workbook/functions/upper/upperRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/upper/upperRequestBuilder.ts @@ -61,7 +61,7 @@ export class UpperRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpperPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts index 65b24235637..5225dee64fa 100644 --- a/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoUsdollarPostRequestBody(usdollarPostRequestBody: } } export function serializeUsdollarPostRequestBody(writer: SerializationWriter, usdollarPostRequestBody: UsdollarPostRequestBody | undefined = {} as UsdollarPostRequestBody) : void { - writer.writeObjectValue("decimals", usdollarPostRequestBody.decimals, ); - writer.writeObjectValue("number", usdollarPostRequestBody.number, ); + writer.writeObjectValue("decimals", usdollarPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("number", usdollarPostRequestBody.number, serializeJson); writer.writeAdditionalData(usdollarPostRequestBody.additionalData); } export interface UsdollarPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/usdollar/usdollarRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/usdollar/usdollarRequestBuilder.ts index 185d2c361f7..f66608d2c2c 100644 --- a/src/drives/item/items/item/workbook/functions/usdollar/usdollarRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/usdollar/usdollarRequestBuilder.ts @@ -61,7 +61,7 @@ export class UsdollarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUsdollarPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts index 1a3b3abd891..17bbafc592a 100644 --- a/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoValuePostRequestBody(valuePostRequestBody: ValueP } } export function serializeValuePostRequestBody(writer: SerializationWriter, valuePostRequestBody: ValuePostRequestBody | undefined = {} as ValuePostRequestBody) : void { - writer.writeObjectValue("text", valuePostRequestBody.text, ); + writer.writeObjectValue("text", valuePostRequestBody.text, serializeJson); writer.writeAdditionalData(valuePostRequestBody.additionalData); } export interface ValuePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/value/valueRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/value/valueRequestBuilder.ts index 442b68a0b30..86c48bf3a73 100644 --- a/src/drives/item/items/item/workbook/functions/value/valueRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/value/valueRequestBuilder.ts @@ -61,7 +61,7 @@ export class ValueRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValuePostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts index 864e7198ca2..514a79fb834 100644 --- a/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVarAPostRequestBody(varAPostRequestBody: VarAPost } } export function serializeVarAPostRequestBody(writer: SerializationWriter, varAPostRequestBody: VarAPostRequestBody | undefined = {} as VarAPostRequestBody) : void { - writer.writeObjectValue("values", varAPostRequestBody.values, ); + writer.writeObjectValue("values", varAPostRequestBody.values, serializeJson); writer.writeAdditionalData(varAPostRequestBody.additionalData); } export interface VarAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/varA/varARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/varA/varARequestBuilder.ts index 83286997b8f..36a65a0cd06 100644 --- a/src/drives/item/items/item/workbook/functions/varA/varARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/varA/varARequestBuilder.ts @@ -61,7 +61,7 @@ export class VarARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVarAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts index f444f99985c..8bf8db66f31 100644 --- a/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVarPAPostRequestBody(varPAPostRequestBody: VarPAP } } export function serializeVarPAPostRequestBody(writer: SerializationWriter, varPAPostRequestBody: VarPAPostRequestBody | undefined = {} as VarPAPostRequestBody) : void { - writer.writeObjectValue("values", varPAPostRequestBody.values, ); + writer.writeObjectValue("values", varPAPostRequestBody.values, serializeJson); writer.writeAdditionalData(varPAPostRequestBody.additionalData); } export interface VarPAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/varPA/varPARequestBuilder.ts b/src/drives/item/items/item/workbook/functions/varPA/varPARequestBuilder.ts index e5cacba31c1..eaeab1e1cef 100644 --- a/src/drives/item/items/item/workbook/functions/varPA/varPARequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/varPA/varPARequestBuilder.ts @@ -61,7 +61,7 @@ export class VarPARequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVarPAPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts index 404a309a9fd..98aa18d9b97 100644 --- a/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVar_PPostRequestBody(var_PPostRequestBody: Var_PP } } export function serializeVar_PPostRequestBody(writer: SerializationWriter, var_PPostRequestBody: Var_PPostRequestBody | undefined = {} as Var_PPostRequestBody) : void { - writer.writeObjectValue("values", var_PPostRequestBody.values, ); + writer.writeObjectValue("values", var_PPostRequestBody.values, serializeJson); writer.writeAdditionalData(var_PPostRequestBody.additionalData); } export interface Var_PPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/var_P/var_PRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/var_P/var_PRequestBuilder.ts index acc6c3c793c..ccf59f42a8c 100644 --- a/src/drives/item/items/item/workbook/functions/var_P/var_PRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/var_P/var_PRequestBuilder.ts @@ -61,7 +61,7 @@ export class Var_PRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVar_PPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts index 08c6bb99463..7aa7091cd9b 100644 --- a/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVar_SPostRequestBody(var_SPostRequestBody: Var_SP } } export function serializeVar_SPostRequestBody(writer: SerializationWriter, var_SPostRequestBody: Var_SPostRequestBody | undefined = {} as Var_SPostRequestBody) : void { - writer.writeObjectValue("values", var_SPostRequestBody.values, ); + writer.writeObjectValue("values", var_SPostRequestBody.values, serializeJson); writer.writeAdditionalData(var_SPostRequestBody.additionalData); } export interface Var_SPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/var_S/var_SRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/var_S/var_SRequestBuilder.ts index 2d16daf0d8b..24ff8fc8b88 100644 --- a/src/drives/item/items/item/workbook/functions/var_S/var_SRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/var_S/var_SRequestBuilder.ts @@ -61,7 +61,7 @@ export class Var_SRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVar_SPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts index d6702b82514..998d48eb684 100644 --- a/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts @@ -20,13 +20,13 @@ export function deserializeIntoVdbPostRequestBody(vdbPostRequestBody: VdbPostReq } } export function serializeVdbPostRequestBody(writer: SerializationWriter, vdbPostRequestBody: VdbPostRequestBody | undefined = {} as VdbPostRequestBody) : void { - writer.writeObjectValue("cost", vdbPostRequestBody.cost, ); - writer.writeObjectValue("endPeriod", vdbPostRequestBody.endPeriod, ); - writer.writeObjectValue("factor", vdbPostRequestBody.factor, ); - writer.writeObjectValue("life", vdbPostRequestBody.life, ); - writer.writeObjectValue("noSwitch", vdbPostRequestBody.noSwitch, ); - writer.writeObjectValue("salvage", vdbPostRequestBody.salvage, ); - writer.writeObjectValue("startPeriod", vdbPostRequestBody.startPeriod, ); + writer.writeObjectValue("cost", vdbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("endPeriod", vdbPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("factor", vdbPostRequestBody.factor, serializeJson); + writer.writeObjectValue("life", vdbPostRequestBody.life, serializeJson); + writer.writeObjectValue("noSwitch", vdbPostRequestBody.noSwitch, serializeJson); + writer.writeObjectValue("salvage", vdbPostRequestBody.salvage, serializeJson); + writer.writeObjectValue("startPeriod", vdbPostRequestBody.startPeriod, serializeJson); writer.writeAdditionalData(vdbPostRequestBody.additionalData); } export interface VdbPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/vdb/vdbRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/vdb/vdbRequestBuilder.ts index 9b39a8d0652..ea02483a114 100644 --- a/src/drives/item/items/item/workbook/functions/vdb/vdbRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/vdb/vdbRequestBuilder.ts @@ -61,7 +61,7 @@ export class VdbRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVdbPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts index 87128af2bb8..c6431f192f2 100644 --- a/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoVlookupPostRequestBody(vlookupPostRequestBody: Vl } } export function serializeVlookupPostRequestBody(writer: SerializationWriter, vlookupPostRequestBody: VlookupPostRequestBody | undefined = {} as VlookupPostRequestBody) : void { - writer.writeObjectValue("colIndexNum", vlookupPostRequestBody.colIndexNum, ); - writer.writeObjectValue("lookupValue", vlookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("rangeLookup", vlookupPostRequestBody.rangeLookup, ); - writer.writeObjectValue("tableArray", vlookupPostRequestBody.tableArray, ); + writer.writeObjectValue("colIndexNum", vlookupPostRequestBody.colIndexNum, serializeJson); + writer.writeObjectValue("lookupValue", vlookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("rangeLookup", vlookupPostRequestBody.rangeLookup, serializeJson); + writer.writeObjectValue("tableArray", vlookupPostRequestBody.tableArray, serializeJson); writer.writeAdditionalData(vlookupPostRequestBody.additionalData); } export interface VlookupPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/vlookup/vlookupRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/vlookup/vlookupRequestBuilder.ts index 54bd015a243..94e434d813b 100644 --- a/src/drives/item/items/item/workbook/functions/vlookup/vlookupRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/vlookup/vlookupRequestBuilder.ts @@ -61,7 +61,7 @@ export class VlookupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeVlookupPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts index 22d18272dbc..01de7fa01a0 100644 --- a/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoWeekNumPostRequestBody(weekNumPostRequestBody: We } } export function serializeWeekNumPostRequestBody(writer: SerializationWriter, weekNumPostRequestBody: WeekNumPostRequestBody | undefined = {} as WeekNumPostRequestBody) : void { - writer.writeObjectValue("returnType", weekNumPostRequestBody.returnType, ); - writer.writeObjectValue("serialNumber", weekNumPostRequestBody.serialNumber, ); + writer.writeObjectValue("returnType", weekNumPostRequestBody.returnType, serializeJson); + writer.writeObjectValue("serialNumber", weekNumPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(weekNumPostRequestBody.additionalData); } export interface WeekNumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weekNum/weekNumRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/weekNum/weekNumRequestBuilder.ts index a7b49a3e29d..0d44576b0e8 100644 --- a/src/drives/item/items/item/workbook/functions/weekNum/weekNumRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/weekNum/weekNumRequestBuilder.ts @@ -61,7 +61,7 @@ export class WeekNumRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWeekNumPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts index 2f00187994f..ad05ce72119 100644 --- a/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoWeekdayPostRequestBody(weekdayPostRequestBody: We } } export function serializeWeekdayPostRequestBody(writer: SerializationWriter, weekdayPostRequestBody: WeekdayPostRequestBody | undefined = {} as WeekdayPostRequestBody) : void { - writer.writeObjectValue("returnType", weekdayPostRequestBody.returnType, ); - writer.writeObjectValue("serialNumber", weekdayPostRequestBody.serialNumber, ); + writer.writeObjectValue("returnType", weekdayPostRequestBody.returnType, serializeJson); + writer.writeObjectValue("serialNumber", weekdayPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(weekdayPostRequestBody.additionalData); } export interface WeekdayPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weekday/weekdayRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/weekday/weekdayRequestBuilder.ts index a9fbfcd808f..15df86daa07 100644 --- a/src/drives/item/items/item/workbook/functions/weekday/weekdayRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/weekday/weekdayRequestBuilder.ts @@ -61,7 +61,7 @@ export class WeekdayRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWeekdayPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts index bb36842199e..3421f211708 100644 --- a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoWeibull_DistPostRequestBody(weibull_DistPostReque } } export function serializeWeibull_DistPostRequestBody(writer: SerializationWriter, weibull_DistPostRequestBody: Weibull_DistPostRequestBody | undefined = {} as Weibull_DistPostRequestBody) : void { - writer.writeObjectValue("alpha", weibull_DistPostRequestBody.alpha, ); - writer.writeObjectValue("beta", weibull_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", weibull_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", weibull_DistPostRequestBody.x, ); + writer.writeObjectValue("alpha", weibull_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", weibull_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", weibull_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", weibull_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(weibull_DistPostRequestBody.additionalData); } export interface Weibull_DistPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistRequestBuilder.ts index 0366f295c8c..d1f19edcdd0 100644 --- a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistRequestBuilder.ts @@ -61,7 +61,7 @@ export class Weibull_DistRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWeibull_DistPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts index 38546b59286..ed0ee88bd81 100644 --- a/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoWorkDayPostRequestBody(workDayPostRequestBody: Wo } } export function serializeWorkDayPostRequestBody(writer: SerializationWriter, workDayPostRequestBody: WorkDayPostRequestBody | undefined = {} as WorkDayPostRequestBody) : void { - writer.writeObjectValue("days", workDayPostRequestBody.days, ); - writer.writeObjectValue("holidays", workDayPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", workDayPostRequestBody.startDate, ); + writer.writeObjectValue("days", workDayPostRequestBody.days, serializeJson); + writer.writeObjectValue("holidays", workDayPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", workDayPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(workDayPostRequestBody.additionalData); } export interface WorkDayPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/workDay/workDayRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/workDay/workDayRequestBuilder.ts index a8413736b8a..a8eb20de765 100644 --- a/src/drives/item/items/item/workbook/functions/workDay/workDayRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/workDay/workDayRequestBuilder.ts @@ -61,7 +61,7 @@ export class WorkDayRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkDayPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts index 614232de95b..6fdf9cbb737 100644 --- a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoWorkDay_IntlPostRequestBody(workDay_IntlPostReque } } export function serializeWorkDay_IntlPostRequestBody(writer: SerializationWriter, workDay_IntlPostRequestBody: WorkDay_IntlPostRequestBody | undefined = {} as WorkDay_IntlPostRequestBody) : void { - writer.writeObjectValue("days", workDay_IntlPostRequestBody.days, ); - writer.writeObjectValue("holidays", workDay_IntlPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", workDay_IntlPostRequestBody.startDate, ); - writer.writeObjectValue("weekend", workDay_IntlPostRequestBody.weekend, ); + writer.writeObjectValue("days", workDay_IntlPostRequestBody.days, serializeJson); + writer.writeObjectValue("holidays", workDay_IntlPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", workDay_IntlPostRequestBody.startDate, serializeJson); + writer.writeObjectValue("weekend", workDay_IntlPostRequestBody.weekend, serializeJson); writer.writeAdditionalData(workDay_IntlPostRequestBody.additionalData); } export interface WorkDay_IntlPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlRequestBuilder.ts index 62086a0d76e..e2e0cb279af 100644 --- a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlRequestBuilder.ts @@ -61,7 +61,7 @@ export class WorkDay_IntlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkDay_IntlPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts index a0f0093d037..3b61d35b88e 100644 --- a/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoXirrPostRequestBody(xirrPostRequestBody: XirrPost } } export function serializeXirrPostRequestBody(writer: SerializationWriter, xirrPostRequestBody: XirrPostRequestBody | undefined = {} as XirrPostRequestBody) : void { - writer.writeObjectValue("dates", xirrPostRequestBody.dates, ); - writer.writeObjectValue("guess", xirrPostRequestBody.guess, ); - writer.writeObjectValue("values", xirrPostRequestBody.values, ); + writer.writeObjectValue("dates", xirrPostRequestBody.dates, serializeJson); + writer.writeObjectValue("guess", xirrPostRequestBody.guess, serializeJson); + writer.writeObjectValue("values", xirrPostRequestBody.values, serializeJson); writer.writeAdditionalData(xirrPostRequestBody.additionalData); } export interface XirrPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xirr/xirrRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/xirr/xirrRequestBuilder.ts index e2a7c79f1d2..9471df42c03 100644 --- a/src/drives/item/items/item/workbook/functions/xirr/xirrRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/xirr/xirrRequestBuilder.ts @@ -61,7 +61,7 @@ export class XirrRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeXirrPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts index f4e5135e52f..590e6c377a1 100644 --- a/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoXnpvPostRequestBody(xnpvPostRequestBody: XnpvPost } } export function serializeXnpvPostRequestBody(writer: SerializationWriter, xnpvPostRequestBody: XnpvPostRequestBody | undefined = {} as XnpvPostRequestBody) : void { - writer.writeObjectValue("dates", xnpvPostRequestBody.dates, ); - writer.writeObjectValue("rate", xnpvPostRequestBody.rate, ); - writer.writeObjectValue("values", xnpvPostRequestBody.values, ); + writer.writeObjectValue("dates", xnpvPostRequestBody.dates, serializeJson); + writer.writeObjectValue("rate", xnpvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("values", xnpvPostRequestBody.values, serializeJson); writer.writeAdditionalData(xnpvPostRequestBody.additionalData); } export interface XnpvPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xnpv/xnpvRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/xnpv/xnpvRequestBuilder.ts index 692a7e1cfe8..f6e71324a8b 100644 --- a/src/drives/item/items/item/workbook/functions/xnpv/xnpvRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/xnpv/xnpvRequestBuilder.ts @@ -61,7 +61,7 @@ export class XnpvRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeXnpvPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts index 20e2accd19f..d3c6222f378 100644 --- a/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoXorPostRequestBody(xorPostRequestBody: XorPostReq } } export function serializeXorPostRequestBody(writer: SerializationWriter, xorPostRequestBody: XorPostRequestBody | undefined = {} as XorPostRequestBody) : void { - writer.writeObjectValue("values", xorPostRequestBody.values, ); + writer.writeObjectValue("values", xorPostRequestBody.values, serializeJson); writer.writeAdditionalData(xorPostRequestBody.additionalData); } export interface XorPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xor/xorRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/xor/xorRequestBuilder.ts index f4e96339841..68b1230d54a 100644 --- a/src/drives/item/items/item/workbook/functions/xor/xorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/xor/xorRequestBuilder.ts @@ -61,7 +61,7 @@ export class XorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeXorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts index ab4276de423..2ec2168e51b 100644 --- a/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoYearPostRequestBody(yearPostRequestBody: YearPost } } export function serializeYearPostRequestBody(writer: SerializationWriter, yearPostRequestBody: YearPostRequestBody | undefined = {} as YearPostRequestBody) : void { - writer.writeObjectValue("serialNumber", yearPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", yearPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(yearPostRequestBody.additionalData); } export interface YearPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/year/yearRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/year/yearRequestBuilder.ts index 46e56c014ed..e2528c2bc01 100644 --- a/src/drives/item/items/item/workbook/functions/year/yearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/year/yearRequestBuilder.ts @@ -61,7 +61,7 @@ export class YearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeYearPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts index 40737d58219..fdb48c29ac7 100644 --- a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoYearFracPostRequestBody(yearFracPostRequestBody: } } export function serializeYearFracPostRequestBody(writer: SerializationWriter, yearFracPostRequestBody: YearFracPostRequestBody | undefined = {} as YearFracPostRequestBody) : void { - writer.writeObjectValue("basis", yearFracPostRequestBody.basis, ); - writer.writeObjectValue("endDate", yearFracPostRequestBody.endDate, ); - writer.writeObjectValue("startDate", yearFracPostRequestBody.startDate, ); + writer.writeObjectValue("basis", yearFracPostRequestBody.basis, serializeJson); + writer.writeObjectValue("endDate", yearFracPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("startDate", yearFracPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(yearFracPostRequestBody.additionalData); } export interface YearFracPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracRequestBuilder.ts index d41bab4d4e6..7d3fe83f8e8 100644 --- a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracRequestBuilder.ts @@ -61,7 +61,7 @@ export class YearFracRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeYearFracPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts index 4cc11ca4bf2..0968ce9403e 100644 --- a/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts @@ -20,13 +20,13 @@ export function deserializeIntoYieldPostRequestBody(yieldPostRequestBody: YieldP } } export function serializeYieldPostRequestBody(writer: SerializationWriter, yieldPostRequestBody: YieldPostRequestBody | undefined = {} as YieldPostRequestBody) : void { - writer.writeObjectValue("basis", yieldPostRequestBody.basis, ); - writer.writeObjectValue("frequency", yieldPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", yieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", yieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", yieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", yieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", yieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", yieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", yieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", yieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", yieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldPostRequestBody.additionalData); } export interface YieldPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yield/yieldRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/yield/yieldRequestBuilder.ts index 0a51b786e1b..5c76792c5d9 100644 --- a/src/drives/item/items/item/workbook/functions/yield/yieldRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/yield/yieldRequestBuilder.ts @@ -61,7 +61,7 @@ export class YieldRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeYieldPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts index 950078c38ad..cca1cd09c3a 100644 --- a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts @@ -18,11 +18,11 @@ export function deserializeIntoYieldDiscPostRequestBody(yieldDiscPostRequestBody } } export function serializeYieldDiscPostRequestBody(writer: SerializationWriter, yieldDiscPostRequestBody: YieldDiscPostRequestBody | undefined = {} as YieldDiscPostRequestBody) : void { - writer.writeObjectValue("basis", yieldDiscPostRequestBody.basis, ); - writer.writeObjectValue("maturity", yieldDiscPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldDiscPostRequestBody.pr, ); - writer.writeObjectValue("redemption", yieldDiscPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", yieldDiscPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldDiscPostRequestBody.basis, serializeJson); + writer.writeObjectValue("maturity", yieldDiscPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldDiscPostRequestBody.pr, serializeJson); + writer.writeObjectValue("redemption", yieldDiscPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", yieldDiscPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldDiscPostRequestBody.additionalData); } export interface YieldDiscPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscRequestBuilder.ts index 4f210c8ce90..21a8f8c8eaf 100644 --- a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscRequestBuilder.ts @@ -61,7 +61,7 @@ export class YieldDiscRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeYieldDiscPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts index f6b869d0f12..051ec2fb566 100644 --- a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts @@ -19,12 +19,12 @@ export function deserializeIntoYieldMatPostRequestBody(yieldMatPostRequestBody: } } export function serializeYieldMatPostRequestBody(writer: SerializationWriter, yieldMatPostRequestBody: YieldMatPostRequestBody | undefined = {} as YieldMatPostRequestBody) : void { - writer.writeObjectValue("basis", yieldMatPostRequestBody.basis, ); - writer.writeObjectValue("issue", yieldMatPostRequestBody.issue, ); - writer.writeObjectValue("maturity", yieldMatPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldMatPostRequestBody.pr, ); - writer.writeObjectValue("rate", yieldMatPostRequestBody.rate, ); - writer.writeObjectValue("settlement", yieldMatPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldMatPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", yieldMatPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", yieldMatPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldMatPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", yieldMatPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", yieldMatPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldMatPostRequestBody.additionalData); } export interface YieldMatPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatRequestBuilder.ts index 734551c2ebf..6cf85c60619 100644 --- a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatRequestBuilder.ts @@ -61,7 +61,7 @@ export class YieldMatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeYieldMatPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts index 6aca8df2d4f..b1235e7640c 100644 --- a/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoZ_TestPostRequestBody(z_TestPostRequestBody: Z_Te } } export function serializeZ_TestPostRequestBody(writer: SerializationWriter, z_TestPostRequestBody: Z_TestPostRequestBody | undefined = {} as Z_TestPostRequestBody) : void { - writer.writeObjectValue("array", z_TestPostRequestBody.array, ); - writer.writeObjectValue("sigma", z_TestPostRequestBody.sigma, ); - writer.writeObjectValue("x", z_TestPostRequestBody.x, ); + writer.writeObjectValue("array", z_TestPostRequestBody.array, serializeJson); + writer.writeObjectValue("sigma", z_TestPostRequestBody.sigma, serializeJson); + writer.writeObjectValue("x", z_TestPostRequestBody.x, serializeJson); writer.writeAdditionalData(z_TestPostRequestBody.additionalData); } export interface Z_TestPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/z_Test/z_TestRequestBuilder.ts b/src/drives/item/items/item/workbook/functions/z_Test/z_TestRequestBuilder.ts index 5d94f100998..a7b2b524a02 100644 --- a/src/drives/item/items/item/workbook/functions/z_Test/z_TestRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/functions/z_Test/z_TestRequestBuilder.ts @@ -61,7 +61,7 @@ export class Z_TestRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeZ_TestPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts index fa5aea4ab2b..d0441a9ab5c 100644 --- a/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("comment", addPostRequestBody.comment); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("reference", addPostRequestBody.reference, ); + writer.writeObjectValue("reference", addPostRequestBody.reference, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/names/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/names/add/addRequestBuilder.ts index 1d84f2cc6c4..a939b95120a 100644 --- a/src/drives/item/items/item/workbook/names/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts b/src/drives/item/items/item/workbook/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts index 0d53e8231ea..64ecc3851df 100644 --- a/src/drives/item/items/item/workbook/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddFormulaLocalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddFormulaLocalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts index cd6b951f988..d5cc25441e5 100644 --- a/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/names/item/workbookNamedItemItemRequestBuilder.ts b/src/drives/item/items/item/workbook/names/item/workbookNamedItemItemRequestBuilder.ts index 5aba9d6a30d..61e955d5ee8 100644 --- a/src/drives/item/items/item/workbook/names/item/workbookNamedItemItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/item/workbookNamedItemItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookNamedItem); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/names/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/names/item/worksheet/worksheetRequestBuilder.ts index 072639f4db2..e42038236b0 100644 --- a/src/drives/item/items/item/workbook/names/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/names/namesRequestBuilder.ts b/src/drives/item/items/item/workbook/names/namesRequestBuilder.ts index 87ebf1c6774..f78eb9baa25 100644 --- a/src/drives/item/items/item/workbook/names/namesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/namesRequestBuilder.ts @@ -158,7 +158,7 @@ export class NamesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class NamesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookNamedItem); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/operations/item/workbookOperationItemRequestBuilder.ts b/src/drives/item/items/item/workbook/operations/item/workbookOperationItemRequestBuilder.ts index a1d719baab9..10cfc202444 100644 --- a/src/drives/item/items/item/workbook/operations/item/workbookOperationItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/operations/item/workbookOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class WorkbookOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class WorkbookOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class WorkbookOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookOperation); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/operations/operationsRequestBuilder.ts b/src/drives/item/items/item/workbook/operations/operationsRequestBuilder.ts index 3abf43d5ec6..1d9c5223d88 100644 --- a/src/drives/item/items/item/workbook/operations/operationsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/operations/operationsRequestBuilder.ts @@ -127,7 +127,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookOperation); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/refreshSession/refreshSessionRequestBuilder.ts b/src/drives/item/items/item/workbook/refreshSession/refreshSessionRequestBuilder.ts index 92540253e34..46245e74792 100644 --- a/src/drives/item/items/item/workbook/refreshSession/refreshSessionRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/refreshSession/refreshSessionRequestBuilder.ts @@ -56,7 +56,7 @@ export class RefreshSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/sessionInfoResourceWithKey/sessionInfoResourceWithKeyRequestBuilder.ts b/src/drives/item/items/item/workbook/sessionInfoResourceWithKey/sessionInfoResourceWithKeyRequestBuilder.ts index 20917984e55..36204a558ff 100644 --- a/src/drives/item/items/item/workbook/sessionInfoResourceWithKey/sessionInfoResourceWithKeyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/sessionInfoResourceWithKey/sessionInfoResourceWithKeyRequestBuilder.ts @@ -60,7 +60,7 @@ export class SessionInfoResourceWithKeyRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tableRowOperationResultWithKey/tableRowOperationResultWithKeyRequestBuilder.ts b/src/drives/item/items/item/workbook/tableRowOperationResultWithKey/tableRowOperationResultWithKeyRequestBuilder.ts index 37fa68fbfd2..8b913969919 100644 --- a/src/drives/item/items/item/workbook/tableRowOperationResultWithKey/tableRowOperationResultWithKeyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tableRowOperationResultWithKey/tableRowOperationResultWithKeyRequestBuilder.ts @@ -60,7 +60,7 @@ export class TableRowOperationResultWithKeyRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts index 76e574713d1..d35105dbc46 100644 --- a/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts @@ -30,11 +30,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add"); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: AddRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/count/countRequestBuilder.ts index 72cabacc651..93dff0b0257 100644 --- a/src/drives/item/items/item/workbook/tables/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/clearFilters/clearFiltersRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/clearFilters/clearFiltersRequestBuilder.ts index b79c4c45b4a..f7632d45e89 100644 --- a/src/drives/item/items/item/workbook/tables/item/clearFilters/clearFiltersRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/clearFilters/clearFiltersRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearFiltersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts index d66d0e063c7..140bb1773bc 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/add/addRequestBuilder.ts index ea47422e4bf..128bba15e88 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts index 9aa5b84f2d3..0c6085e10c0 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts @@ -162,7 +162,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableColumn); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/count/countRequestBuilder.ts index a20598e78df..cce1245cff7 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts index 2297d2b4eb2..21f52db1ca0 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class DataBodyRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts index 4314c2a3480..cafa7adbafe 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeObjectValue("criteria", applyPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", applyPostRequestBody.criteria, serializeWorkbookFilterCriteria); writer.writeAdditionalData(applyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyRequestBuilder.ts index 01ea44153b7..72f3287658d 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ApplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts index 88f33b66365..6df86f31917 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyBottomItemsFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyBottomItemsFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts index e0ad5b8e728..b34a9c23153 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyBottomPercentFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyBottomPercentFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts index 9cb262ad222..fd2f24a6435 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyCellColorFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyCellColorFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts index 71c40435b6f..0055360c84f 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyCustomFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyCustomFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts index c7c640c6c6c..23d26cb7ffc 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyDynamicFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyDynamicFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts index f0fe498969a..7a737763cb3 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyFontColorFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyFontColorFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts index bfad1adbc1e..c58feb6d9d8 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyIconFilterPostRequestBody(applyIconFilterPos } } export function serializeApplyIconFilterPostRequestBody(writer: SerializationWriter, applyIconFilterPostRequestBody: ApplyIconFilterPostRequestBody | undefined = {} as ApplyIconFilterPostRequestBody) : void { - writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, ); + writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, serializeWorkbookIcon); writer.writeAdditionalData(applyIconFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts index a5702502bdb..4332d089901 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyIconFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyIconFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts index 41eae15b59f..127b854b734 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyTopItemsFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyTopItemsFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts index 0ce7175f6e9..b5810c8a34d 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyTopPercentFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyTopPercentFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts index 53ae7b55899..bd8c51a6578 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyValuesFilterPostRequestBody(applyValuesFilte } } export function serializeApplyValuesFilterPostRequestBody(writer: SerializationWriter, applyValuesFilterPostRequestBody: ApplyValuesFilterPostRequestBody | undefined = {} as ApplyValuesFilterPostRequestBody) : void { - writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, ); + writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, serializeJson); writer.writeAdditionalData(applyValuesFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts index 4e5c4d21853..5e94fdb9320 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyValuesFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyValuesFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clearRequestBuilder.ts index b7db4292f9a..cc42f2a0508 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/filterRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/filterRequestBuilder.ts index 562113aaf0f..598c49cc05e 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/filterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/filterRequestBuilder.ts @@ -205,7 +205,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -242,7 +242,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookFilter); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts index 48aefb85c15..efcb6ffea47 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class HeaderRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/range/rangeRequestBuilder.ts index 3ff9e532465..03d6aae3672 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts index 054ad3cd4c3..f763d4ae468 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class TotalRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts index ab5751a5df8..bab7c4a2205 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableColumn); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index cd59b65d7aa..cfb19b0cb57 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/convertToRange/convertToRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/convertToRange/convertToRangeRequestBuilder.ts index 65c4e19af77..f5887f33c81 100644 --- a/src/drives/item/items/item/workbook/tables/item/convertToRange/convertToRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/convertToRange/convertToRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class ConvertToRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts index c24f10b5049..1baaac73d9c 100644 --- a/src/drives/item/items/item/workbook/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class DataBodyRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts index 83c39231a4d..d836351af24 100644 --- a/src/drives/item/items/item/workbook/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class HeaderRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/range/rangeRequestBuilder.ts index e11121ea487..b89de351e22 100644 --- a/src/drives/item/items/item/workbook/tables/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts index e896a6f1f0a..d9c89ad9447 100644 --- a/src/drives/item/items/item/workbook/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReapplyFiltersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts index 8117a1a0470..5e41668ff24 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/rows/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/add/addRequestBuilder.ts index f9973aa3863..0c349917bb4 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/rows/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/count/countRequestBuilder.ts index f4c0dc10a05..79a61214270 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/rows/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/item/range/rangeRequestBuilder.ts index 7a1ff245b0b..1c8fd731507 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/item/range/rangeRequestBuilder.ts @@ -58,7 +58,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts index 85a480b71e3..c5ab2faa705 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableRow); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index e28b156ff00..3432f7e33a1 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts index 7c3784bfe6f..de889b2f9e0 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -162,7 +162,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableRow); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts index 1bf33846d51..2f9612d1c8f 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts @@ -34,7 +34,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, ); + writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, serializeWorkbookSortField); writer.writeBooleanValue("matchCase", applyPostRequestBody.matchCase); writer.writeStringValue("method", applyPostRequestBody.method); writer.writeAdditionalData(applyPostRequestBody.additionalData); diff --git a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyRequestBuilder.ts index 43f6f0a2137..dda81380134 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ApplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/sort/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/sort/clear/clearRequestBuilder.ts index 8d670a91ac1..9762562ceea 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/sort/reapply/reapplyRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/sort/reapply/reapplyRequestBuilder.ts index 4194d41c268..04aca6ff967 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/reapply/reapplyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/reapply/reapplyRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReapplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/sort/sortRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/sort/sortRequestBuilder.ts index 7a34b7fd185..bce1092ebdf 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/sortRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/sortRequestBuilder.ts @@ -143,7 +143,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableSort); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts index e5213ce657b..eff2170f308 100644 --- a/src/drives/item/items/item/workbook/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class TotalRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/item/workbookTableItemRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/workbookTableItemRequestBuilder.ts index 3aeddb61ff8..6aaf762247f 100644 --- a/src/drives/item/items/item/workbook/tables/item/workbookTableItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/workbookTableItemRequestBuilder.ts @@ -201,7 +201,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -219,7 +219,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -238,7 +238,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/tables/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/worksheet/worksheetRequestBuilder.ts index 841943da36a..c8169b40b9b 100644 --- a/src/drives/item/items/item/workbook/tables/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index b846c0b2162..b0bc563b5a3 100644 --- a/src/drives/item/items/item/workbook/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts index c62dce8e2ce..a1227d3e689 100644 --- a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts @@ -161,7 +161,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/workbookRequestBuilder.ts b/src/drives/item/items/item/workbook/workbookRequestBuilder.ts index 56160641f0b..3ef53631aea 100644 --- a/src/drives/item/items/item/workbook/workbookRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/workbookRequestBuilder.ts @@ -149,7 +149,7 @@ export class WorkbookRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Workbook */ @@ -211,11 +211,11 @@ export class WorkbookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -229,7 +229,7 @@ export class WorkbookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -248,7 +248,7 @@ export class WorkbookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbook); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/add/addRequestBuilder.ts index dc0340e2a4d..5bdab2d3ee0 100644 --- a/src/drives/item/items/item/workbook/worksheets/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/cellWithRowWithColumn/cellWithRowWithColumnRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/cellWithRowWithColumn/cellWithRowWithColumnRequestBuilder.ts index 6560748446f..0a82cd0ab6d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/cellWithRowWithColumn/cellWithRowWithColumnRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/cellWithRowWithColumn/cellWithRowWithColumnRequestBuilder.ts @@ -62,7 +62,7 @@ export class CellWithRowWithColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts index a54ad77c0bc..b81dc07f866 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("seriesBy", addPostRequestBody.seriesBy); - writer.writeObjectValue("sourceData", addPostRequestBody.sourceData, ); + writer.writeObjectValue("sourceData", addPostRequestBody.sourceData, serializeJson); writer.writeStringValue("type", addPostRequestBody.type); writer.writeAdditionalData(addPostRequestBody.additionalData); } diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addRequestBuilder.ts index 0d065b6a3fd..5dc1b7a2f00 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/chartsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/chartsRequestBuilder.ts index 9395e70d421..63550412528 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/chartsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/chartsRequestBuilder.ts @@ -172,7 +172,7 @@ export class ChartsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class ChartsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChart); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/count/countRequestBuilder.ts index 0f0b453f40f..a45e4ac6d59 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axesRequestBuilder.ts index b4e0381b197..1f58ec87ac2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axesRequestBuilder.ts @@ -142,7 +142,7 @@ export class AxesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AxesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AxesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxes); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/categoryAxisRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/categoryAxisRequestBuilder.ts index f8ddd70d1ea..1c0b3b48da0 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/categoryAxisRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/categoryAxisRequestBuilder.ts @@ -149,7 +149,7 @@ export class CategoryAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class CategoryAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class CategoryAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxis); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/font/fontRequestBuilder.ts index ccf62488919..e2538d6f33d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/font/fontRequestBuilder.ts @@ -123,7 +123,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/formatRequestBuilder.ts index 51a4d474462..d568f25f1db 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/clear/clearRequestBuilder.ts index 81953ae8037..7ef26d3355d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/lineRequestBuilder.ts index 713ecf30975..44e556d5038 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/format/line/lineRequestBuilder.ts @@ -130,7 +130,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/formatRequestBuilder.ts index 455bafea1af..5688f1b2d5e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts index 52c9c9a8966..2a66fd41bdc 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/lineRequestBuilder.ts index 179f091872d..7dc413acf21 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/majorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/majorGridlinesRequestBuilder.ts index e6a1067e39e..a6f7d94e405 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/majorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/majorGridlines/majorGridlinesRequestBuilder.ts @@ -128,7 +128,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/formatRequestBuilder.ts index 2ac6c5a366d..80254d32a59 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts index ccb94b49c44..f36e478f59f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/lineRequestBuilder.ts index 2100fdda32e..23800cb7c87 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/minorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/minorGridlinesRequestBuilder.ts index 67895c5b8d6..6b6b3d31796 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/minorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/minorGridlines/minorGridlinesRequestBuilder.ts @@ -130,7 +130,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/font/fontRequestBuilder.ts index 6b1a8cc9723..98e10f2cb8a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/formatRequestBuilder.ts index 95a329661e4..498df831304 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitleFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/titleRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/titleRequestBuilder.ts index 377c53a12ea..42208e1586c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/titleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryAxis/title/titleRequestBuilder.ts @@ -130,7 +130,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitle); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/font/fontRequestBuilder.ts index da9ddd1e1d3..092fa53ec99 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/font/fontRequestBuilder.ts @@ -123,7 +123,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/formatRequestBuilder.ts index 63006f37ab3..527ef13583e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/clear/clearRequestBuilder.ts index 7efd7c74f35..803fb0174d3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/lineRequestBuilder.ts index 9ef7d9c9260..931caefa380 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/format/line/lineRequestBuilder.ts @@ -130,7 +130,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/formatRequestBuilder.ts index 3d57d0dda38..3aa2544ca0e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts index 978c6b64e3c..e2751ff71fe 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/lineRequestBuilder.ts index add8e5599e1..b99b262fa53 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/majorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/majorGridlinesRequestBuilder.ts index 7584b06d45b..d347c52ac80 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/majorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/majorGridlines/majorGridlinesRequestBuilder.ts @@ -128,7 +128,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/formatRequestBuilder.ts index 62630f69d02..921e96daf13 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts index bfa12934eee..c026098dafb 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/lineRequestBuilder.ts index e24264f7386..d65f90943b4 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/minorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/minorGridlinesRequestBuilder.ts index 274f6be3c8a..666e18dba21 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/minorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/minorGridlines/minorGridlinesRequestBuilder.ts @@ -130,7 +130,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/seriesAxisRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/seriesAxisRequestBuilder.ts index 92a07c8f3f1..40265f3c34c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/seriesAxisRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/seriesAxisRequestBuilder.ts @@ -149,7 +149,7 @@ export class SeriesAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SeriesAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SeriesAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxis); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/font/fontRequestBuilder.ts index 23f419e1589..c3468cf7552 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/formatRequestBuilder.ts index 465079063ab..6ccedd22d96 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitleFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/titleRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/titleRequestBuilder.ts index f03e3a108a9..cf19ce601e8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/titleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesAxis/title/titleRequestBuilder.ts @@ -130,7 +130,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitle); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/font/fontRequestBuilder.ts index 37e555abc1b..1949c5b3b02 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/font/fontRequestBuilder.ts @@ -123,7 +123,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/formatRequestBuilder.ts index 6ad90cfb014..c3dbae44a1c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/clear/clearRequestBuilder.ts index df8523de221..f1d04edde3e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/lineRequestBuilder.ts index 0990bd3071b..c31ee33cfc9 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/format/line/lineRequestBuilder.ts @@ -130,7 +130,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/formatRequestBuilder.ts index 026d9abab92..5fa50129619 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts index 97c3dd7de78..dfdfe94c185 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/lineRequestBuilder.ts index 9e48fab68b3..ad7c911ab6c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/majorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/majorGridlinesRequestBuilder.ts index 3594b7078e6..6c6fb24fbdd 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/majorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/majorGridlines/majorGridlinesRequestBuilder.ts @@ -128,7 +128,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class MajorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/formatRequestBuilder.ts index 5d0b78e2487..0e2cedafc52 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlinesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts index 207eaa4270b..31f923e226e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/lineRequestBuilder.ts index f3074cf4306..a1a14023b38 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/minorGridlinesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/minorGridlinesRequestBuilder.ts index 5cba9600f9b..b2b24deadc8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/minorGridlinesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/minorGridlines/minorGridlinesRequestBuilder.ts @@ -130,7 +130,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class MinorGridlinesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartGridlines); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/font/fontRequestBuilder.ts index 771c9429e04..d45235abdcc 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/formatRequestBuilder.ts index 51572728d69..ebf02eb5ab1 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitleFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/titleRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/titleRequestBuilder.ts index 45cfddd8b85..3edb2a8a523 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/titleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/title/titleRequestBuilder.ts @@ -130,7 +130,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxisTitle); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/valueAxisRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/valueAxisRequestBuilder.ts index 83bec0a3d4b..72fe54c523a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/valueAxisRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueAxis/valueAxisRequestBuilder.ts @@ -151,7 +151,7 @@ export class ValueAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -169,7 +169,7 @@ export class ValueAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class ValueAxisRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAxis); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/dataLabelsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/dataLabelsRequestBuilder.ts index 4ad91d320bf..71c437ce590 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/dataLabelsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/dataLabelsRequestBuilder.ts @@ -130,7 +130,7 @@ export class DataLabelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class DataLabelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class DataLabelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartDataLabels); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/clear/clearRequestBuilder.ts index 29db1009d60..1eb2a5416d7 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/fillRequestBuilder.ts index 6074bef6eea..38e2e55489e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index fd8b5dc6b4c..1d4af91538c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/font/fontRequestBuilder.ts index dd5bdb448ce..0af5f4eae79 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/formatRequestBuilder.ts index b46117a480c..da4093524c0 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/dataLabels/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartDataLabelFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clearRequestBuilder.ts index 584a36462da..e80f7d99d86 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fillRequestBuilder.ts index 3fe0410c5ec..bac9f6be880 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index f28fc9dbb72..ed77ed80601 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/fontRequestBuilder.ts index df0c0a8f990..d98cb059645 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/formatRequestBuilder.ts index 21ee2f70664..2ab5ca314a9 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartAreaFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/image/imageRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/image/imageRequestBuilder.ts index e24a10aa737..0abdc9d7b3c 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/image/imageRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/image/imageRequestBuilder.ts @@ -58,7 +58,7 @@ export class ImageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidth/imageWithWidthRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidth/imageWithWidthRequestBuilder.ts index 645dc028f55..7f5ac91d3aa 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidth/imageWithWidthRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidth/imageWithWidthRequestBuilder.ts @@ -60,7 +60,7 @@ export class ImageWithWidthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeight/imageWithWidthWithHeightRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeight/imageWithWidthWithHeightRequestBuilder.ts index 74123e13402..4fb75fa0f65 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeight/imageWithWidthWithHeightRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeight/imageWithWidthWithHeightRequestBuilder.ts @@ -62,7 +62,7 @@ export class ImageWithWidthWithHeightRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeightWithFittingMode/imageWithWidthWithHeightWithFittingModeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeightWithFittingMode/imageWithWidthWithHeightWithFittingModeRequestBuilder.ts index 1fa73cef33b..69e8ab74b4b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeightWithFittingMode/imageWithWidthWithHeightWithFittingModeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/imageWithWidthWithHeightWithFittingMode/imageWithWidthWithHeightWithFittingModeRequestBuilder.ts @@ -64,7 +64,7 @@ export class ImageWithWidthWithHeightWithFittingModeRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clearRequestBuilder.ts index 3b2b7e9e0e7..0d7b1cd8e1b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fillRequestBuilder.ts index 340279307e7..910f4aa4a36 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index b45f151d510..e8e5ee69216 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/fontRequestBuilder.ts index 2305d25932b..cafa25344ae 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/formatRequestBuilder.ts index 788274e9456..c436d7deae8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLegendFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legendRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legendRequestBuilder.ts index 1075eb3afd2..77af39bf636 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legendRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legendRequestBuilder.ts @@ -130,7 +130,7 @@ export class LegendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class LegendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class LegendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLegend); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/countRequestBuilder.ts index f6ed4c86017..ae27d8d06ab 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clearRequestBuilder.ts index 4ff05a703e8..0755f853fa5 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fillRequestBuilder.ts index 1030c1e94cd..2c3135e0e23 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index 41d7fbfdc16..aa7e9ae64c2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/formatRequestBuilder.ts index ec9bedf3079..d885d6d1229 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartSeriesFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clearRequestBuilder.ts index 95ab9a13ba7..75b65e58445 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/lineRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/lineRequestBuilder.ts index e352f644ed6..4afac1c39da 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/lineRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/lineRequestBuilder.ts @@ -128,7 +128,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class LineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartLineFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/countRequestBuilder.ts index 1384eb5bbdb..59ab38262e4 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clearRequestBuilder.ts index 38dc6dbb2d1..114ed014392 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fillRequestBuilder.ts index 9e5ac30201b..bbd08265436 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index 543ecbd3afb..e3da0c58d33 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/formatRequestBuilder.ts index 70e5f1925a8..0b40df40b2d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/formatRequestBuilder.ts @@ -128,7 +128,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartPointFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbookChartPointItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbookChartPointItemRequestBuilder.ts index 44dcb2dc6b0..7021a160390 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbookChartPointItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbookChartPointItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class WorkbookChartPointItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class WorkbookChartPointItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class WorkbookChartPointItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartPoint); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index 7ff374cd0e9..665c4de369b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts index 879fdc73581..828ce70e9b8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts @@ -99,10 +99,10 @@ export class PointsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of chartpoint objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookChartPointCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PointsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -141,7 +141,7 @@ export class PointsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookChartPointFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of chartpoint objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -155,7 +155,7 @@ export class PointsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class PointsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartPoint); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbookChartSeriesItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbookChartSeriesItemRequestBuilder.ts index a7469559c6f..1314a93d13b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbookChartSeriesItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbookChartSeriesItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class WorkbookChartSeriesItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class WorkbookChartSeriesItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class WorkbookChartSeriesItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartSeries); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index c2678f5bc13..12800fd3ec3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts index 70b0dafdd50..c461cdc8b22 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts @@ -102,7 +102,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookChartSeriesCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: SeriesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -155,7 +155,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartSeries); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts index e8a62cd9932..d81bcfa7837 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts @@ -16,7 +16,7 @@ export function deserializeIntoSetDataPostRequestBody(setDataPostRequestBody: Se } export function serializeSetDataPostRequestBody(writer: SerializationWriter, setDataPostRequestBody: SetDataPostRequestBody | undefined = {} as SetDataPostRequestBody) : void { writer.writeStringValue("seriesBy", setDataPostRequestBody.seriesBy); - writer.writeObjectValue("sourceData", setDataPostRequestBody.sourceData, ); + writer.writeObjectValue("sourceData", setDataPostRequestBody.sourceData, serializeJson); writer.writeAdditionalData(setDataPostRequestBody.additionalData); } export interface SetDataPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataRequestBuilder.ts index 2294188218c..c6f3d8977b4 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetDataRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetDataPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts index dc0d3754ada..65d88e14813 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSetPositionPostRequestBody(setPositionPostRequest } } export function serializeSetPositionPostRequestBody(writer: SerializationWriter, setPositionPostRequestBody: SetPositionPostRequestBody | undefined = {} as SetPositionPostRequestBody) : void { - writer.writeObjectValue("endCell", setPositionPostRequestBody.endCell, ); - writer.writeObjectValue("startCell", setPositionPostRequestBody.startCell, ); + writer.writeObjectValue("endCell", setPositionPostRequestBody.endCell, serializeJson); + writer.writeObjectValue("startCell", setPositionPostRequestBody.startCell, serializeJson); writer.writeAdditionalData(setPositionPostRequestBody.additionalData); } export interface SetPositionPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionRequestBuilder.ts index e6bcc2c8b63..db6ac6eb264 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetPositionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetPositionPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clearRequestBuilder.ts index 0a312d55cf4..6f55dacffc2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fillRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fillRequestBuilder.ts index 2aa30895c8d..4ee6fa156a8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fillRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fillRequestBuilder.ts @@ -135,7 +135,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FillRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFill); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/setSolidColor/setSolidColorRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/setSolidColor/setSolidColorRequestBuilder.ts index 03240a46cae..fc9f70df558 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/setSolidColor/setSolidColorRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/setSolidColor/setSolidColorRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetSolidColorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetSolidColorPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/fontRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/fontRequestBuilder.ts index 8d5cfab563e..a9eadbba4d8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/fontRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/fontRequestBuilder.ts @@ -121,7 +121,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FontRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartFont); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/formatRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/formatRequestBuilder.ts index 6d71fa431bf..41b2a2e48b6 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/formatRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/formatRequestBuilder.ts @@ -135,7 +135,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class FormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartTitleFormat); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/titleRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/titleRequestBuilder.ts index fc640cf04e9..c78c0a40951 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/titleRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/title/titleRequestBuilder.ts @@ -130,7 +130,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class TitleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChartTitle); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/workbookChartItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/workbookChartItemRequestBuilder.ts index dfaa8980799..0b651082211 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/workbookChartItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/workbookChartItemRequestBuilder.ts @@ -230,7 +230,7 @@ export class WorkbookChartItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -248,7 +248,7 @@ export class WorkbookChartItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -267,7 +267,7 @@ export class WorkbookChartItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookChart); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheetRequestBuilder.ts index 7402d8d9775..90f515fd021 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index 93abcc62cd4..cf91638917e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/itemWithNameRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/itemWithNameRequestBuilder.ts index 1cb2208ab60..5e042177e5d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/itemWithNameRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/itemWithNameRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemWithNameRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts index 1a02db7a158..dd73e4f2ea3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("comment", addPostRequestBody.comment); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("reference", addPostRequestBody.reference, ); + writer.writeObjectValue("reference", addPostRequestBody.reference, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/add/addRequestBuilder.ts index b32c86c4c2e..1d62f154206 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts index e16b4b9ddec..9273fc506b9 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/addFormulaLocal/addFormulaLocalRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddFormulaLocalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddFormulaLocalPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts index 99eaef3f758..56debc710e3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/item/workbookNamedItemItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/item/workbookNamedItemItemRequestBuilder.ts index 29576a50de6..6cc140eee3d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/item/workbookNamedItemItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/item/workbookNamedItemItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class WorkbookNamedItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookNamedItem); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheetRequestBuilder.ts index 209a7c3f646..a6927fa5d23 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/namesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/namesRequestBuilder.ts index 71108e8f62f..db3edaab18f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/namesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/namesRequestBuilder.ts @@ -158,7 +158,7 @@ export class NamesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class NamesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookNamedItem); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/refresh/refreshRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/refresh/refreshRequestBuilder.ts index 5b73c2d52ff..18147f606f2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/refresh/refreshRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/refresh/refreshRequestBuilder.ts @@ -56,7 +56,7 @@ export class RefreshRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/workbookPivotTableItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/workbookPivotTableItemRequestBuilder.ts index 888d24f4460..e1c973c64c0 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/workbookPivotTableItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/workbookPivotTableItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class WorkbookPivotTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class WorkbookPivotTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class WorkbookPivotTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookPivotTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/worksheet/worksheetRequestBuilder.ts index 99d089f17d1..b575b8985fb 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/pivotTablesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/pivotTablesRequestBuilder.ts index f3fc10e09b5..3279a41df75 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/pivotTablesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/pivotTablesRequestBuilder.ts @@ -151,7 +151,7 @@ export class PivotTablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class PivotTablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookPivotTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/refreshAll/refreshAllRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/refreshAll/refreshAllRequestBuilder.ts index 906ad2bd107..c4a09988009 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/pivotTables/refreshAll/refreshAllRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/pivotTables/refreshAll/refreshAllRequestBuilder.ts @@ -56,7 +56,7 @@ export class RefreshAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts index ef092331b55..faef87faa2f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProtectPostRequestBody extends AdditionalDataHolder, Parsable { options?: WorkbookWorksheetProtectionOptions; } export function serializeProtectPostRequestBody(writer: SerializationWriter, protectPostRequestBody: ProtectPostRequestBody | undefined = {} as ProtectPostRequestBody) : void { - writer.writeObjectValue("options", protectPostRequestBody.options, ); + writer.writeObjectValue("options", protectPostRequestBody.options, serializeWorkbookWorksheetProtectionOptions); writer.writeAdditionalData(protectPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectRequestBuilder.ts index 3ee80ca153b..148f5d1b3c1 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectRequestBuilder.ts @@ -60,7 +60,7 @@ export class ProtectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProtectPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/protection/protectionRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/protection/protectionRequestBuilder.ts index 2d878d08001..55ae8046289 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/protection/protectionRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/protection/protectionRequestBuilder.ts @@ -136,7 +136,7 @@ export class ProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class ProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class ProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookWorksheetProtection); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotectRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotectRequestBuilder.ts index 218e28cb843..94780b22745 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotectRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotectRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnprotectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/range/rangeRequestBuilder.ts index 132164765ca..d120d3cf14e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/range/rangeRequestBuilder.ts @@ -58,7 +58,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/rangeWithAddress/rangeWithAddressRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/rangeWithAddress/rangeWithAddressRequestBuilder.ts index 039f43865cd..5212d492740 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/rangeWithAddress/rangeWithAddressRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/rangeWithAddress/rangeWithAddressRequestBuilder.ts @@ -60,7 +60,7 @@ export class RangeWithAddressRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts index 43064c0b536..7f2996d4ed1 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts @@ -30,11 +30,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add"); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: AddRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/count/countRequestBuilder.ts index 827fd77d474..3d8ffc6a6b9 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/clearFilters/clearFiltersRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/clearFilters/clearFiltersRequestBuilder.ts index 057e2e29db0..dca1726dae1 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/clearFilters/clearFiltersRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/clearFilters/clearFiltersRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearFiltersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts index 6a4aa972217..1d5a8dc28d2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addRequestBuilder.ts index e0e210157d5..513ae994db1 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts index 3503973df5c..c24cee60769 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts @@ -162,7 +162,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableColumn); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/countRequestBuilder.ts index 783cdeadc90..e2eb8b2d3d6 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts index 220e05f6e75..fd63bcdbedb 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/dataBodyRange/dataBodyRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class DataBodyRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts index 1378e7c559f..966afd17032 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeObjectValue("criteria", applyPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", applyPostRequestBody.criteria, serializeWorkbookFilterCriteria); writer.writeAdditionalData(applyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyRequestBuilder.ts index 01901c54002..efce3311470 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ApplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts index 6f2a4cb6957..7634244b4a8 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomItemsFilter/applyBottomItemsFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyBottomItemsFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyBottomItemsFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts index f8c661f1dfc..d9f6593d363 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyBottomPercentFilter/applyBottomPercentFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyBottomPercentFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyBottomPercentFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts index 4e80d5e73d2..134dad0630d 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCellColorFilter/applyCellColorFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyCellColorFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyCellColorFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts index 6873e77d8e1..6623cf14a41 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyCustomFilter/applyCustomFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyCustomFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyCustomFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts index ab341dcccac..451538de0f6 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyDynamicFilter/applyDynamicFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyDynamicFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyDynamicFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts index c06bc49a10f..b42ef379deb 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyFontColorFilter/applyFontColorFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyFontColorFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyFontColorFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts index a42c5957865..11d54505f85 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyIconFilterPostRequestBody(applyIconFilterPos } } export function serializeApplyIconFilterPostRequestBody(writer: SerializationWriter, applyIconFilterPostRequestBody: ApplyIconFilterPostRequestBody | undefined = {} as ApplyIconFilterPostRequestBody) : void { - writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, ); + writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, serializeWorkbookIcon); writer.writeAdditionalData(applyIconFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts index e86ad4f36e2..1ba56291b9e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyIconFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyIconFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts index 52dd6def0a3..bd3dabc3988 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopItemsFilter/applyTopItemsFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyTopItemsFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyTopItemsFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts index d2b690ec8c2..69ff44d0330 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyTopPercentFilter/applyTopPercentFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyTopPercentFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyTopPercentFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts index a408405f370..c5c834accce 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyValuesFilterPostRequestBody(applyValuesFilte } } export function serializeApplyValuesFilterPostRequestBody(writer: SerializationWriter, applyValuesFilterPostRequestBody: ApplyValuesFilterPostRequestBody | undefined = {} as ApplyValuesFilterPostRequestBody) : void { - writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, ); + writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, serializeJson); writer.writeAdditionalData(applyValuesFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts index ff94da4a90b..3bdb68d8fd4 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterRequestBuilder.ts @@ -59,7 +59,7 @@ export class ApplyValuesFilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyValuesFilterPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clearRequestBuilder.ts index cc37af92c6a..5249be27cd2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filterRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filterRequestBuilder.ts index f509e91cbb0..eab471202ae 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filterRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filterRequestBuilder.ts @@ -205,7 +205,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -242,7 +242,7 @@ export class FilterRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookFilter); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts index d1aad05d7a8..dbd290e7a1e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/headerRowRange/headerRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class HeaderRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/rangeRequestBuilder.ts index e565a83500b..dabf3b1158a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts index 4a1f217ba05..bf6879ea7a7 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/totalRowRange/totalRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class TotalRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts index cee6947634a..db2f391f27f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbookTableColumnItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class WorkbookTableColumnItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableColumn); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index 574960871f7..6a3b79680dc 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/convertToRange/convertToRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/convertToRange/convertToRangeRequestBuilder.ts index 4a460a7a13e..e59cfd3564f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/convertToRange/convertToRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/convertToRange/convertToRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class ConvertToRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts index 9eb5db2500b..ba4eb99adcb 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/dataBodyRange/dataBodyRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class DataBodyRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts index c943b11db2c..eef812ce352 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/headerRowRange/headerRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class HeaderRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/range/rangeRequestBuilder.ts index f09b2d6fe6e..aa260e3b183 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/range/rangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts index 3cef59d39d6..ff863aa0964 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/reapplyFilters/reapplyFiltersRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReapplyFiltersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts index 896ff84e5b6..a0a845909ce 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addRequestBuilder.ts index 428ec754755..93638b9db33 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/countRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/countRequestBuilder.ts index 5663e35c84f..6963c584935 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/countRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/countRequestBuilder.ts @@ -58,7 +58,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/rangeRequestBuilder.ts index e94112e91b6..838710d2a7e 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/rangeRequestBuilder.ts @@ -58,7 +58,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts index 8e530dc8011..960d64cab9a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbookTableRowItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class WorkbookTableRowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableRow); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index 9d3db5385ef..df993aeef07 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts index 90e1acf6c20..78fa7026a9b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -162,7 +162,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableRow); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts index 8cf3540eaf5..c79b2156938 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts @@ -34,7 +34,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, ); + writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, serializeWorkbookSortField); writer.writeBooleanValue("matchCase", applyPostRequestBody.matchCase); writer.writeStringValue("method", applyPostRequestBody.method); writer.writeAdditionalData(applyPostRequestBody.additionalData); diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyRequestBuilder.ts index e4956643d8c..e20888df661 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ApplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApplyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clearRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clearRequestBuilder.ts index 26bc1c1fefd..0dccdac8f48 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clearRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clearRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapplyRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapplyRequestBuilder.ts index f71f16edcc2..b1dcc814802 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapplyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapplyRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReapplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sortRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sortRequestBuilder.ts index ad9361e995b..19c7350b3df 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sortRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sortRequestBuilder.ts @@ -143,7 +143,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class SortRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTableSort); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts index dec3724d1e1..4d1f918024a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/totalRowRange/totalRowRangeRequestBuilder.ts @@ -59,7 +59,7 @@ export class TotalRowRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/workbookTableItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/workbookTableItemRequestBuilder.ts index 7c28682ed0e..f37d22681b7 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/workbookTableItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/workbookTableItemRequestBuilder.ts @@ -198,7 +198,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -216,7 +216,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -235,7 +235,7 @@ export class WorkbookTableItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheetRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheetRequestBuilder.ts index 4af883e199a..3a85576d574 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheetRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheetRequestBuilder.ts @@ -73,7 +73,7 @@ export class WorksheetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts index 2bf94986158..74407c7859b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/itemAtWithIndex/itemAtWithIndexRequestBuilder.ts @@ -60,7 +60,7 @@ export class ItemAtWithIndexRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/tablesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/tablesRequestBuilder.ts index b79f7f7f563..44f022dd9fc 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/tablesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/tablesRequestBuilder.ts @@ -161,7 +161,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookTable); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/item/usedRange/usedRangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/usedRange/usedRangeRequestBuilder.ts index 7ca6d741177..c2152048004 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/usedRange/usedRangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/usedRange/usedRangeRequestBuilder.ts @@ -58,7 +58,7 @@ export class UsedRangeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/usedRangeWithValuesOnly/usedRangeWithValuesOnlyRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/usedRangeWithValuesOnly/usedRangeWithValuesOnlyRequestBuilder.ts index 911f8ff87ae..5c47c2cc545 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/usedRangeWithValuesOnly/usedRangeWithValuesOnlyRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/usedRangeWithValuesOnly/usedRangeWithValuesOnlyRequestBuilder.ts @@ -60,7 +60,7 @@ export class UsedRangeWithValuesOnlyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/items/item/workbook/worksheets/item/workbookWorksheetItemRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/workbookWorksheetItemRequestBuilder.ts index 90ee5045ada..084c9bc9d95 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/workbookWorksheetItemRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/workbookWorksheetItemRequestBuilder.ts @@ -196,7 +196,7 @@ export class WorkbookWorksheetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -214,7 +214,7 @@ export class WorkbookWorksheetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -233,7 +233,7 @@ export class WorkbookWorksheetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookWorksheet); return requestInfo; }; diff --git a/src/drives/item/items/item/workbook/worksheets/worksheetsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/worksheetsRequestBuilder.ts index 1342f3e07e4..1c288f21366 100644 --- a/src/drives/item/items/item/workbook/worksheets/worksheetsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/worksheetsRequestBuilder.ts @@ -108,7 +108,7 @@ export class WorksheetsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookWorksheetCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: WorksheetsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -151,7 +151,7 @@ export class WorksheetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class WorksheetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkbookWorksheet); return requestInfo; }; diff --git a/src/drives/item/items/itemsRequestBuilder.ts b/src/drives/item/items/itemsRequestBuilder.ts index 93a6d5f8f0f..50c70d85cb1 100644 --- a/src/drives/item/items/itemsRequestBuilder.ts +++ b/src/drives/item/items/itemsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDriveItem); return requestInfo; }; diff --git a/src/drives/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/drives/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index 9f097d1c9ac..8651c28fa15 100644 --- a/src/drives/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/drives/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 5bb773c8d63..6818c000312 100644 --- a/src/drives/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5e61a314e1a..af92f0c4a58 100644 --- a/src/drives/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/columns/columnsRequestBuilder.ts b/src/drives/item/list/columns/columnsRequestBuilder.ts index 14d31d02775..92482e20a03 100644 --- a/src/drives/item/list/columns/columnsRequestBuilder.ts +++ b/src/drives/item/list/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/drives/item/list/columns/item/columnDefinitionItemRequestBuilder.ts b/src/drives/item/list/columns/item/columnDefinitionItemRequestBuilder.ts index 20d33b551da..d6561450d8f 100644 --- a/src/drives/item/list/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/drives/item/list/columns/item/columnDefinitionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/drives/item/list/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/drives/item/list/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index c01d6f4bc38..5da16c70d4d 100644 --- a/src/drives/item/list/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/drives/item/list/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/addCopy/addCopyRequestBuilder.ts b/src/drives/item/list/contentTypes/addCopy/addCopyRequestBuilder.ts index f0902d4f2cf..ec5ce1cca98 100644 --- a/src/drives/item/list/contentTypes/addCopy/addCopyRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/addCopy/addCopyRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts b/src/drives/item/list/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts index 96c22e70c26..238de02ecdd 100644 --- a/src/drives/item/list/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyFromContentTypeHubRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyFromContentTypeHubPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/contentTypesRequestBuilder.ts b/src/drives/item/list/contentTypes/contentTypesRequestBuilder.ts index e2dff67e301..c55a43c10a3 100644 --- a/src/drives/item/list/contentTypes/contentTypesRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/contentTypesRequestBuilder.ts @@ -165,7 +165,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -184,7 +184,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index bd6488f11ff..db778d73570 100644 --- a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts index 2637bdccdac..955f9a4b1da 100644 --- a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts b/src/drives/item/list/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts index fb3ac6a7bb5..4b0e2af0363 100644 --- a/src/drives/item/list/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssociateWithHubSitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssociateWithHubSitesPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts index 1c402bf5241..7ac924c1bb1 100644 --- a/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -73,7 +73,7 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts b/src/drives/item/list/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts index 4beb8ea2255..0c0dd39571c 100644 --- a/src/drives/item/list/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts @@ -116,7 +116,7 @@ export class BaseTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts b/src/drives/item/list/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts index 68957dfe36e..82cc7deb222 100644 --- a/src/drives/item/list/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts index f8a20f133d0..e867207361e 100644 --- a/src/drives/item/list/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts @@ -143,7 +143,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts index 50ec10319a2..2a88183375d 100644 --- a/src/drives/item/list/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts index 7d65d92840a..0bca61e5709 100644 --- a/src/drives/item/list/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ColumnPositionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts index 5d9e8de4441..49fd5440507 100644 --- a/src/drives/item/list/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/columns/columnsRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columns/columnsRequestBuilder.ts index d7a522b5fca..a10b3229a72 100644 --- a/src/drives/item/list/contentTypes/item/columns/columnsRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts index 1219d885c73..120c37adbcf 100644 --- a/src/drives/item/list/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/drives/item/list/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index 515135d66b8..8f90dabfdd6 100644 --- a/src/drives/item/list/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/contentTypeItemRequestBuilder.ts b/src/drives/item/list/contentTypes/item/contentTypeItemRequestBuilder.ts index a4ac3b9a035..c7d4b14f7d0 100644 --- a/src/drives/item/list/contentTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/contentTypeItemRequestBuilder.ts @@ -191,7 +191,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -209,7 +209,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -228,7 +228,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index c2839abeefe..b17b8defd86 100644 --- a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts index cad5d81d0fc..4c5d3d8ce6f 100644 --- a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts @@ -60,7 +60,7 @@ export class CopyToDefaultContentLocationRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToDefaultContentLocationPostRequestBody); return requestInfo; }; diff --git a/src/drives/item/list/contentTypes/item/isPublished/isPublishedRequestBuilder.ts b/src/drives/item/list/contentTypes/item/isPublished/isPublishedRequestBuilder.ts index 58c755f6bd6..c7d98e97408 100644 --- a/src/drives/item/list/contentTypes/item/isPublished/isPublishedRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/isPublished/isPublishedRequestBuilder.ts @@ -58,7 +58,7 @@ export class IsPublishedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/publish/publishRequestBuilder.ts b/src/drives/item/list/contentTypes/item/publish/publishRequestBuilder.ts index 5ac2a841b3d..87c0c301ddd 100644 --- a/src/drives/item/list/contentTypes/item/publish/publishRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/publish/publishRequestBuilder.ts @@ -56,7 +56,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/contentTypes/item/unpublish/unpublishRequestBuilder.ts b/src/drives/item/list/contentTypes/item/unpublish/unpublishRequestBuilder.ts index a85c03b7768..9462b6c6bae 100644 --- a/src/drives/item/list/contentTypes/item/unpublish/unpublishRequestBuilder.ts +++ b/src/drives/item/list/contentTypes/item/unpublish/unpublishRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnpublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/createdByUser/createdByUserRequestBuilder.ts b/src/drives/item/list/createdByUser/createdByUserRequestBuilder.ts index 3634d3b09df..6096b02d53d 100644 --- a/src/drives/item/list/createdByUser/createdByUserRequestBuilder.ts +++ b/src/drives/item/list/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/list/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index bf2b6141635..5f0773a10af 100644 --- a/src/drives/item/list/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/list/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/list/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/list/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 491e0029cb1..84313d48206 100644 --- a/src/drives/item/list/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/list/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/drive/driveRequestBuilder.ts b/src/drives/item/list/drive/driveRequestBuilder.ts index ae6903e7e51..6ab6b2315af 100644 --- a/src/drives/item/list/drive/driveRequestBuilder.ts +++ b/src/drives/item/list/drive/driveRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/analytics/analyticsRequestBuilder.ts b/src/drives/item/list/items/item/analytics/analyticsRequestBuilder.ts index 39443cc7132..6367ee8e23d 100644 --- a/src/drives/item/list/items/item/analytics/analyticsRequestBuilder.ts +++ b/src/drives/item/list/items/item/analytics/analyticsRequestBuilder.ts @@ -73,7 +73,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/createdByUser/createdByUserRequestBuilder.ts b/src/drives/item/list/items/item/createdByUser/createdByUserRequestBuilder.ts index 0d6d07dd4ac..030c297d9de 100644 --- a/src/drives/item/list/items/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/drives/item/list/items/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/list/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 8f0194bbb62..cd61b6370c4 100644 --- a/src/drives/item/list/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/list/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/list/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/list/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index df5fbbb369c..b12156aa52e 100644 --- a/src/drives/item/list/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/list/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts b/src/drives/item/list/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts index 1c960e5ffaf..e057bdf8c17 100644 --- a/src/drives/item/list/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts +++ b/src/drives/item/list/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class DocumentSetVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DocumentSetVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDocumentSetVersion); return requestInfo; }; diff --git a/src/drives/item/list/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts b/src/drives/item/list/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts index 8d7476827b9..7277d5fceda 100644 --- a/src/drives/item/list/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts +++ b/src/drives/item/list/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDocumentSetVersion); return requestInfo; }; diff --git a/src/drives/item/list/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts b/src/drives/item/list/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts index 827e64f7251..e7e77f849b6 100644 --- a/src/drives/item/list/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts +++ b/src/drives/item/list/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts @@ -121,7 +121,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/drives/item/list/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts b/src/drives/item/list/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts index 2797dbd3b60..9883b527750 100644 --- a/src/drives/item/list/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts +++ b/src/drives/item/list/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts @@ -56,7 +56,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/driveItem/content/contentRequestBuilder.ts b/src/drives/item/list/items/item/driveItem/content/contentRequestBuilder.ts index 59d8c9bbdf3..9cdb4f72a08 100644 --- a/src/drives/item/list/items/item/driveItem/content/contentRequestBuilder.ts +++ b/src/drives/item/list/items/item/driveItem/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/list/items/item/driveItem/driveItemRequestBuilder.ts b/src/drives/item/list/items/item/driveItem/driveItemRequestBuilder.ts index 398e9a7d8a5..df13b8c8bb5 100644 --- a/src/drives/item/list/items/item/driveItem/driveItemRequestBuilder.ts +++ b/src/drives/item/list/items/item/driveItem/driveItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/fields/fieldsRequestBuilder.ts b/src/drives/item/list/items/item/fields/fieldsRequestBuilder.ts index a509eb51b12..b489914e44d 100644 --- a/src/drives/item/list/items/item/fields/fieldsRequestBuilder.ts +++ b/src/drives/item/list/items/item/fields/fieldsRequestBuilder.ts @@ -122,7 +122,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index 879090df3fd..73f748a6494 100644 --- a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts index 0705e3a1c44..51680f0909e 100644 --- a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts +++ b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetActivitiesByIntervalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 0ed1c0d1f70..ebacfccad45 100644 --- a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts index 4045f97d949..22eec14dccd 100644 --- a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts +++ b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts @@ -99,7 +99,7 @@ export class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/drives/item/list/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index 48278c56ce0..3273ff1d6e3 100644 --- a/src/drives/item/list/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/drives/item/list/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/list/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index da6d125f151..089450b9901 100644 --- a/src/drives/item/list/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/list/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 10452055bf3..2bd1391dc39 100644 --- a/src/drives/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/listItemItemRequestBuilder.ts b/src/drives/item/list/items/item/listItemItemRequestBuilder.ts index a40649aa6bd..1eda04c4638 100644 --- a/src/drives/item/list/items/item/listItemItemRequestBuilder.ts +++ b/src/drives/item/list/items/item/listItemItemRequestBuilder.ts @@ -193,7 +193,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -211,7 +211,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -230,7 +230,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItem); return requestInfo; }; diff --git a/src/drives/item/list/items/item/versions/item/fields/fieldsRequestBuilder.ts b/src/drives/item/list/items/item/versions/item/fields/fieldsRequestBuilder.ts index 33b6d17fd35..a26c4ce772b 100644 --- a/src/drives/item/list/items/item/versions/item/fields/fieldsRequestBuilder.ts +++ b/src/drives/item/list/items/item/versions/item/fields/fieldsRequestBuilder.ts @@ -121,7 +121,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/drives/item/list/items/item/versions/item/listItemVersionItemRequestBuilder.ts b/src/drives/item/list/items/item/versions/item/listItemVersionItemRequestBuilder.ts index 149d99fbb31..3e87aec00e9 100644 --- a/src/drives/item/list/items/item/versions/item/listItemVersionItemRequestBuilder.ts +++ b/src/drives/item/list/items/item/versions/item/listItemVersionItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItemVersion); return requestInfo; }; diff --git a/src/drives/item/list/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts b/src/drives/item/list/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts index 32131c08b41..8542afe74b4 100644 --- a/src/drives/item/list/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts +++ b/src/drives/item/list/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts @@ -56,7 +56,7 @@ export class RestoreVersionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/items/item/versions/versionsRequestBuilder.ts b/src/drives/item/list/items/item/versions/versionsRequestBuilder.ts index f40501ecf56..2869422af00 100644 --- a/src/drives/item/list/items/item/versions/versionsRequestBuilder.ts +++ b/src/drives/item/list/items/item/versions/versionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItemVersion); return requestInfo; }; diff --git a/src/drives/item/list/items/itemsRequestBuilder.ts b/src/drives/item/list/items/itemsRequestBuilder.ts index 36e4d26e5a0..46be27dd5f6 100644 --- a/src/drives/item/list/items/itemsRequestBuilder.ts +++ b/src/drives/item/list/items/itemsRequestBuilder.ts @@ -141,7 +141,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItem); return requestInfo; }; diff --git a/src/drives/item/list/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/drives/item/list/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index 308e3d8fcc1..06817406f2b 100644 --- a/src/drives/item/list/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/drives/item/list/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/drives/item/list/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index bfa6cce7397..d85a7ef21a0 100644 --- a/src/drives/item/list/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/drives/item/list/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/drives/item/list/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/drives/item/list/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index b7770eddb1e..399e2e6734a 100644 --- a/src/drives/item/list/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/drives/item/list/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/listRequestBuilder.ts b/src/drives/item/list/listRequestBuilder.ts index 4b34f6f6d05..c3110cc5804 100644 --- a/src/drives/item/list/listRequestBuilder.ts +++ b/src/drives/item/list/listRequestBuilder.ts @@ -177,7 +177,7 @@ export class ListRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -195,7 +195,7 @@ export class ListRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -214,7 +214,7 @@ export class ListRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeList); return requestInfo; }; diff --git a/src/drives/item/list/operations/item/richLongRunningOperationItemRequestBuilder.ts b/src/drives/item/list/operations/item/richLongRunningOperationItemRequestBuilder.ts index 7f68d043ab6..dd9fb7cc6a7 100644 --- a/src/drives/item/list/operations/item/richLongRunningOperationItemRequestBuilder.ts +++ b/src/drives/item/list/operations/item/richLongRunningOperationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/drives/item/list/operations/operationsRequestBuilder.ts b/src/drives/item/list/operations/operationsRequestBuilder.ts index 492b1a16388..e0f6d76ab03 100644 --- a/src/drives/item/list/operations/operationsRequestBuilder.ts +++ b/src/drives/item/list/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/drives/item/list/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts b/src/drives/item/list/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts index d1135a61d17..8efba61bbb8 100644 --- a/src/drives/item/list/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts +++ b/src/drives/item/list/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReauthorizeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/list/subscriptions/item/subscriptionItemRequestBuilder.ts b/src/drives/item/list/subscriptions/item/subscriptionItemRequestBuilder.ts index ae4c6c7c111..b9d0e83a42f 100644 --- a/src/drives/item/list/subscriptions/item/subscriptionItemRequestBuilder.ts +++ b/src/drives/item/list/subscriptions/item/subscriptionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/drives/item/list/subscriptions/subscriptionsRequestBuilder.ts b/src/drives/item/list/subscriptions/subscriptionsRequestBuilder.ts index eab65f2d22a..f960bb02f2f 100644 --- a/src/drives/item/list/subscriptions/subscriptionsRequestBuilder.ts +++ b/src/drives/item/list/subscriptions/subscriptionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/drives/item/recent/recentGetResponse.ts b/src/drives/item/recent/recentGetResponse.ts index 77d6cbd557d..8f05f249f3e 100644 --- a/src/drives/item/recent/recentGetResponse.ts +++ b/src/drives/item/recent/recentGetResponse.ts @@ -23,7 +23,7 @@ export interface RecentGetResponse extends BaseCollectionPaginationCountResponse } export function serializeRecentGetResponse(writer: SerializationWriter, recentGetResponse: RecentGetResponse | undefined = {} as RecentGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, recentGetResponse) - writer.writeCollectionOfObjectValues("value", recentGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", recentGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/recent/recentRequestBuilder.ts b/src/drives/item/recent/recentRequestBuilder.ts index b0e65217ef4..48be1c5e86b 100644 --- a/src/drives/item/recent/recentRequestBuilder.ts +++ b/src/drives/item/recent/recentRequestBuilder.ts @@ -93,7 +93,7 @@ export class RecentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/root/content/contentRequestBuilder.ts b/src/drives/item/root/content/contentRequestBuilder.ts index e349bd7bf8b..959258e9812 100644 --- a/src/drives/item/root/content/contentRequestBuilder.ts +++ b/src/drives/item/root/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/root/rootRequestBuilder.ts b/src/drives/item/root/rootRequestBuilder.ts index e4839d4ce91..8cefb1ac389 100644 --- a/src/drives/item/root/rootRequestBuilder.ts +++ b/src/drives/item/root/rootRequestBuilder.ts @@ -81,7 +81,7 @@ export class RootRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/searchWithQ/searchWithQGetResponse.ts b/src/drives/item/searchWithQ/searchWithQGetResponse.ts index e123a628033..2b488b5caf9 100644 --- a/src/drives/item/searchWithQ/searchWithQGetResponse.ts +++ b/src/drives/item/searchWithQ/searchWithQGetResponse.ts @@ -23,7 +23,7 @@ export interface SearchWithQGetResponse extends BaseCollectionPaginationCountRes } export function serializeSearchWithQGetResponse(writer: SerializationWriter, searchWithQGetResponse: SearchWithQGetResponse | undefined = {} as SearchWithQGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, searchWithQGetResponse) - writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/searchWithQ/searchWithQRequestBuilder.ts b/src/drives/item/searchWithQ/searchWithQRequestBuilder.ts index fa742b6eb19..eef1e20ad18 100644 --- a/src/drives/item/searchWithQ/searchWithQRequestBuilder.ts +++ b/src/drives/item/searchWithQ/searchWithQRequestBuilder.ts @@ -95,7 +95,7 @@ export class SearchWithQRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts b/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts index 719b0e8ac82..9ceb00b8f64 100644 --- a/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts +++ b/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSharedWithMeGetResponse(sharedWithMeGetResponse: } export function serializeSharedWithMeGetResponse(writer: SerializationWriter, sharedWithMeGetResponse: SharedWithMeGetResponse | undefined = {} as SharedWithMeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, sharedWithMeGetResponse) - writer.writeCollectionOfObjectValues("value", sharedWithMeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", sharedWithMeGetResponse.value, serializeDriveItem); } export interface SharedWithMeGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/drives/item/sharedWithMe/sharedWithMeRequestBuilder.ts b/src/drives/item/sharedWithMe/sharedWithMeRequestBuilder.ts index a2b7eb10a80..a6f2f38be36 100644 --- a/src/drives/item/sharedWithMe/sharedWithMeRequestBuilder.ts +++ b/src/drives/item/sharedWithMe/sharedWithMeRequestBuilder.ts @@ -93,7 +93,7 @@ export class SharedWithMeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/special/item/content/contentRequestBuilder.ts b/src/drives/item/special/item/content/contentRequestBuilder.ts index fa9dff11353..51fa479ded1 100644 --- a/src/drives/item/special/item/content/contentRequestBuilder.ts +++ b/src/drives/item/special/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/drives/item/special/item/driveItemItemRequestBuilder.ts b/src/drives/item/special/item/driveItemItemRequestBuilder.ts index 0195bfce2ba..2bb3d7b761d 100644 --- a/src/drives/item/special/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/special/item/driveItemItemRequestBuilder.ts @@ -81,7 +81,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/drives/item/special/specialRequestBuilder.ts b/src/drives/item/special/specialRequestBuilder.ts index 11ea810b0c1..689f31275bf 100644 --- a/src/drives/item/special/specialRequestBuilder.ts +++ b/src/drives/item/special/specialRequestBuilder.ts @@ -116,7 +116,7 @@ export class SpecialRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/classesRequestBuilder.ts b/src/education/classes/classesRequestBuilder.ts index 47b633952fe..a0458d04d66 100644 --- a/src/education/classes/classesRequestBuilder.ts +++ b/src/education/classes/classesRequestBuilder.ts @@ -152,7 +152,7 @@ export class ClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationClass); return requestInfo; }; diff --git a/src/education/classes/delta/deltaGetResponse.ts b/src/education/classes/delta/deltaGetResponse.ts index f128a07d4fd..4523912fc81 100644 --- a/src/education/classes/delta/deltaGetResponse.ts +++ b/src/education/classes/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationClass); } // tslint:enable // eslint-enable diff --git a/src/education/classes/delta/deltaRequestBuilder.ts b/src/education/classes/delta/deltaRequestBuilder.ts index 7a27be6c7c6..e59f39ef112 100644 --- a/src/education/classes/delta/deltaRequestBuilder.ts +++ b/src/education/classes/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignmentCategories/assignmentCategoriesRequestBuilder.ts b/src/education/classes/item/assignmentCategories/assignmentCategoriesRequestBuilder.ts index ffc2492af9f..95fe99ef435 100644 --- a/src/education/classes/item/assignmentCategories/assignmentCategoriesRequestBuilder.ts +++ b/src/education/classes/item/assignmentCategories/assignmentCategoriesRequestBuilder.ts @@ -152,7 +152,7 @@ export class AssignmentCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class AssignmentCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationCategory); return requestInfo; }; diff --git a/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts b/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts index 16536d129f3..54be6346b4b 100644 --- a/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignmentCategories/delta/deltaRequestBuilder.ts b/src/education/classes/item/assignmentCategories/delta/deltaRequestBuilder.ts index 5bdbeea6ee5..6ad46be98a5 100644 --- a/src/education/classes/item/assignmentCategories/delta/deltaRequestBuilder.ts +++ b/src/education/classes/item/assignmentCategories/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignmentCategories/item/educationCategoryItemRequestBuilder.ts b/src/education/classes/item/assignmentCategories/item/educationCategoryItemRequestBuilder.ts index 223b2970573..4e4392d7841 100644 --- a/src/education/classes/item/assignmentCategories/item/educationCategoryItemRequestBuilder.ts +++ b/src/education/classes/item/assignmentCategories/item/educationCategoryItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationCategory); return requestInfo; }; diff --git a/src/education/classes/item/assignmentDefaults/assignmentDefaultsRequestBuilder.ts b/src/education/classes/item/assignmentDefaults/assignmentDefaultsRequestBuilder.ts index 11464e7e66e..90aae96fdd8 100644 --- a/src/education/classes/item/assignmentDefaults/assignmentDefaultsRequestBuilder.ts +++ b/src/education/classes/item/assignmentDefaults/assignmentDefaultsRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignmentDefaultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignmentDefaultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignmentDefaultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentDefaults); return requestInfo; }; diff --git a/src/education/classes/item/assignmentSettings/assignmentSettingsRequestBuilder.ts b/src/education/classes/item/assignmentSettings/assignmentSettingsRequestBuilder.ts index 25db5128cea..3fa8f9c88ff 100644 --- a/src/education/classes/item/assignmentSettings/assignmentSettingsRequestBuilder.ts +++ b/src/education/classes/item/assignmentSettings/assignmentSettingsRequestBuilder.ts @@ -122,7 +122,7 @@ export class AssignmentSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class AssignmentSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AssignmentSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentSettings); return requestInfo; }; diff --git a/src/education/classes/item/assignments/assignmentsRequestBuilder.ts b/src/education/classes/item/assignments/assignmentsRequestBuilder.ts index 7dcf2ca5ab8..61c566d616d 100644 --- a/src/education/classes/item/assignments/assignmentsRequestBuilder.ts +++ b/src/education/classes/item/assignments/assignmentsRequestBuilder.ts @@ -152,7 +152,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/classes/item/assignments/delta/deltaGetResponse.ts b/src/education/classes/item/assignments/delta/deltaGetResponse.ts index 27b3d09153e..7288c024614 100644 --- a/src/education/classes/item/assignments/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignments/delta/deltaRequestBuilder.ts b/src/education/classes/item/assignments/delta/deltaRequestBuilder.ts index be31f7bbc9c..9b128db6556 100644 --- a/src/education/classes/item/assignments/delta/deltaRequestBuilder.ts +++ b/src/education/classes/item/assignments/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/categories/categoriesRequestBuilder.ts b/src/education/classes/item/assignments/item/categories/categoriesRequestBuilder.ts index 5597e0e7b62..75d67d0a935 100644 --- a/src/education/classes/item/assignments/item/categories/categoriesRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/categories/categoriesRequestBuilder.ts @@ -159,7 +159,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -178,7 +178,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationCategory); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts index bb1e4ce173d..7f09a66565f 100644 --- a/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignments/item/categories/delta/deltaRequestBuilder.ts b/src/education/classes/item/assignments/item/categories/delta/deltaRequestBuilder.ts index eb8f91359b1..6104552007f 100644 --- a/src/education/classes/item/assignments/item/categories/delta/deltaRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/categories/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/categories/item/ref/refRequestBuilder.ts b/src/education/classes/item/assignments/item/categories/item/ref/refRequestBuilder.ts index 0c4b48086b3..fb5ce47519b 100644 --- a/src/education/classes/item/assignments/item/categories/item/ref/refRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/categories/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/categories/ref/refRequestBuilder.ts b/src/education/classes/item/assignments/item/categories/ref/refRequestBuilder.ts index 735b6cd83b5..bf1c80b1204 100644 --- a/src/education/classes/item/assignments/item/categories/ref/refRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/categories/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/educationAssignmentItemRequestBuilder.ts b/src/education/classes/item/assignments/item/educationAssignmentItemRequestBuilder.ts index d3d45f60a74..06790cb5da7 100644 --- a/src/education/classes/item/assignments/item/educationAssignmentItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/educationAssignmentItemRequestBuilder.ts @@ -173,7 +173,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -210,7 +210,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/publish/publishRequestBuilder.ts b/src/education/classes/item/assignments/item/publish/publishRequestBuilder.ts index 04cc70dfc80..b93a76b59d6 100644 --- a/src/education/classes/item/assignments/item/publish/publishRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/publish/publishRequestBuilder.ts @@ -59,7 +59,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts b/src/education/classes/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts index d7f16f3655b..4b4bfc7a106 100644 --- a/src/education/classes/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/resources/resourcesRequestBuilder.ts b/src/education/classes/item/assignments/item/resources/resourcesRequestBuilder.ts index fb8ed33e688..e79a1444638 100644 --- a/src/education/classes/item/assignments/item/resources/resourcesRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/rubric/ref/refRequestBuilder.ts b/src/education/classes/item/assignments/item/rubric/ref/refRequestBuilder.ts index d49a6895a52..c0c5baab90e 100644 --- a/src/education/classes/item/assignments/item/rubric/ref/refRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/rubric/ref/refRequestBuilder.ts @@ -109,7 +109,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -126,7 +126,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/rubric/rubricRequestBuilder.ts b/src/education/classes/item/assignments/item/rubric/rubricRequestBuilder.ts index f51b49ba9f4..630bb9145f6 100644 --- a/src/education/classes/item/assignments/item/rubric/rubricRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/rubric/rubricRequestBuilder.ts @@ -131,7 +131,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts b/src/education/classes/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts index 070a70a750c..c6f79bbd3fb 100644 --- a/src/education/classes/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpFeedbackResourcesFolderRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/classes/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index 2ddc53fd88e..09f894a967b 100644 --- a/src/education/classes/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts index b0309abc2fe..1c5446de259 100644 --- a/src/education/classes/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts @@ -178,7 +178,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -215,7 +215,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts index f9a28485c80..84982524fc7 100644 --- a/src/education/classes/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts index 71ef28c4210..f61d877828e 100644 --- a/src/education/classes/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts @@ -145,7 +145,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts index 55643846d89..45712d7588d 100644 --- a/src/education/classes/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReassignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts index cd26515a526..026b9d3eec0 100644 --- a/src/education/classes/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts index 001db5ce1b3..0debf2be1f6 100644 --- a/src/education/classes/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts index 9045d150069..27ee515e945 100644 --- a/src/education/classes/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReturnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index 85994a0e52d..8d8e8aae311 100644 --- a/src/education/classes/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts index eba4711060e..1827c5167dc 100644 --- a/src/education/classes/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts @@ -59,7 +59,7 @@ export class SubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts index 64b68789a9f..cf307357298 100644 --- a/src/education/classes/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts index 3834849d2a6..a1fad5edcb7 100644 --- a/src/education/classes/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts index 8f73932e920..179f82e5228 100644 --- a/src/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/assignments/item/submissions/submissionsRequestBuilder.ts b/src/education/classes/item/assignments/item/submissions/submissionsRequestBuilder.ts index c21a4af35a4..1fd67aed974 100644 --- a/src/education/classes/item/assignments/item/submissions/submissionsRequestBuilder.ts +++ b/src/education/classes/item/assignments/item/submissions/submissionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/classes/item/educationClassItemRequestBuilder.ts b/src/education/classes/item/educationClassItemRequestBuilder.ts index 13f667e2501..f824f79613c 100644 --- a/src/education/classes/item/educationClassItemRequestBuilder.ts +++ b/src/education/classes/item/educationClassItemRequestBuilder.ts @@ -180,7 +180,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -198,7 +198,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationClass); return requestInfo; }; diff --git a/src/education/classes/item/group/groupRequestBuilder.ts b/src/education/classes/item/group/groupRequestBuilder.ts index 411673053d9..88e3d798a3c 100644 --- a/src/education/classes/item/group/groupRequestBuilder.ts +++ b/src/education/classes/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/education/classes/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5288ab03d97..3b1b3e8f87c 100644 --- a/src/education/classes/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/education/classes/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/members/item/ref/refRequestBuilder.ts b/src/education/classes/item/members/item/ref/refRequestBuilder.ts index 768b4a2d50e..5826124e1f7 100644 --- a/src/education/classes/item/members/item/ref/refRequestBuilder.ts +++ b/src/education/classes/item/members/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/members/membersRequestBuilder.ts b/src/education/classes/item/members/membersRequestBuilder.ts index c20cf1e3ca1..953cd393f0c 100644 --- a/src/education/classes/item/members/membersRequestBuilder.ts +++ b/src/education/classes/item/members/membersRequestBuilder.ts @@ -124,7 +124,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/members/ref/refRequestBuilder.ts b/src/education/classes/item/members/ref/refRequestBuilder.ts index 70b8f439544..3608c65e4ab 100644 --- a/src/education/classes/item/members/ref/refRequestBuilder.ts +++ b/src/education/classes/item/members/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/classes/item/schools/item/educationSchoolItemRequestBuilder.ts b/src/education/classes/item/schools/item/educationSchoolItemRequestBuilder.ts index df4ce81b917..5c79a44c503 100644 --- a/src/education/classes/item/schools/item/educationSchoolItemRequestBuilder.ts +++ b/src/education/classes/item/schools/item/educationSchoolItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/schools/schoolsRequestBuilder.ts b/src/education/classes/item/schools/schoolsRequestBuilder.ts index d770d4f0b4f..8ad114c40f7 100644 --- a/src/education/classes/item/schools/schoolsRequestBuilder.ts +++ b/src/education/classes/item/schools/schoolsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SchoolsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/teachers/item/ref/refRequestBuilder.ts b/src/education/classes/item/teachers/item/ref/refRequestBuilder.ts index 9a524a8a8e7..667ba969ae2 100644 --- a/src/education/classes/item/teachers/item/ref/refRequestBuilder.ts +++ b/src/education/classes/item/teachers/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/classes/item/teachers/ref/refRequestBuilder.ts b/src/education/classes/item/teachers/ref/refRequestBuilder.ts index c4c60a1a5a0..fadc60f52c0 100644 --- a/src/education/classes/item/teachers/ref/refRequestBuilder.ts +++ b/src/education/classes/item/teachers/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/classes/item/teachers/teachersRequestBuilder.ts b/src/education/classes/item/teachers/teachersRequestBuilder.ts index 9629611f870..9e909788971 100644 --- a/src/education/classes/item/teachers/teachersRequestBuilder.ts +++ b/src/education/classes/item/teachers/teachersRequestBuilder.ts @@ -124,7 +124,7 @@ export class TeachersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/educationRequestBuilder.ts b/src/education/educationRequestBuilder.ts index 0410314f64d..243c72f1182 100644 --- a/src/education/educationRequestBuilder.ts +++ b/src/education/educationRequestBuilder.ts @@ -126,7 +126,7 @@ export class EducationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class EducationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRoot); return requestInfo; }; diff --git a/src/education/me/assignments/assignmentsRequestBuilder.ts b/src/education/me/assignments/assignmentsRequestBuilder.ts index 0af3d7b23c9..c98371a0f99 100644 --- a/src/education/me/assignments/assignmentsRequestBuilder.ts +++ b/src/education/me/assignments/assignmentsRequestBuilder.ts @@ -151,7 +151,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/me/assignments/delta/deltaGetResponse.ts b/src/education/me/assignments/delta/deltaGetResponse.ts index 8c71591339b..44473b4d339 100644 --- a/src/education/me/assignments/delta/deltaGetResponse.ts +++ b/src/education/me/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/me/assignments/delta/deltaRequestBuilder.ts b/src/education/me/assignments/delta/deltaRequestBuilder.ts index ccea433336a..1fcb4561cf6 100644 --- a/src/education/me/assignments/delta/deltaRequestBuilder.ts +++ b/src/education/me/assignments/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/categories/categoriesRequestBuilder.ts b/src/education/me/assignments/item/categories/categoriesRequestBuilder.ts index f7251dc5b11..81dd6395992 100644 --- a/src/education/me/assignments/item/categories/categoriesRequestBuilder.ts +++ b/src/education/me/assignments/item/categories/categoriesRequestBuilder.ts @@ -159,7 +159,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -178,7 +178,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationCategory); return requestInfo; }; diff --git a/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts index 97091f13fd8..0d3b79a5394 100644 --- a/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/me/assignments/item/categories/delta/deltaRequestBuilder.ts b/src/education/me/assignments/item/categories/delta/deltaRequestBuilder.ts index d595785c4fe..534485be4e1 100644 --- a/src/education/me/assignments/item/categories/delta/deltaRequestBuilder.ts +++ b/src/education/me/assignments/item/categories/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/categories/item/ref/refRequestBuilder.ts b/src/education/me/assignments/item/categories/item/ref/refRequestBuilder.ts index 5ac013f0eae..b908349b019 100644 --- a/src/education/me/assignments/item/categories/item/ref/refRequestBuilder.ts +++ b/src/education/me/assignments/item/categories/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/categories/ref/refRequestBuilder.ts b/src/education/me/assignments/item/categories/ref/refRequestBuilder.ts index a5a087d4887..ee62f9c60bd 100644 --- a/src/education/me/assignments/item/categories/ref/refRequestBuilder.ts +++ b/src/education/me/assignments/item/categories/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/me/assignments/item/educationAssignmentItemRequestBuilder.ts b/src/education/me/assignments/item/educationAssignmentItemRequestBuilder.ts index 29206e6b6bb..cedadf77758 100644 --- a/src/education/me/assignments/item/educationAssignmentItemRequestBuilder.ts +++ b/src/education/me/assignments/item/educationAssignmentItemRequestBuilder.ts @@ -170,7 +170,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -207,7 +207,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/me/assignments/item/publish/publishRequestBuilder.ts b/src/education/me/assignments/item/publish/publishRequestBuilder.ts index 485c5f9f1f9..c069e00706d 100644 --- a/src/education/me/assignments/item/publish/publishRequestBuilder.ts +++ b/src/education/me/assignments/item/publish/publishRequestBuilder.ts @@ -59,7 +59,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts b/src/education/me/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts index 54c108a9778..135583a82d5 100644 --- a/src/education/me/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts +++ b/src/education/me/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/resources/resourcesRequestBuilder.ts b/src/education/me/assignments/item/resources/resourcesRequestBuilder.ts index da5730a8ec7..a1edbde4642 100644 --- a/src/education/me/assignments/item/resources/resourcesRequestBuilder.ts +++ b/src/education/me/assignments/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/rubric/ref/refRequestBuilder.ts b/src/education/me/assignments/item/rubric/ref/refRequestBuilder.ts index c76162aa753..c2fa0d0018c 100644 --- a/src/education/me/assignments/item/rubric/ref/refRequestBuilder.ts +++ b/src/education/me/assignments/item/rubric/ref/refRequestBuilder.ts @@ -109,7 +109,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -126,7 +126,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/education/me/assignments/item/rubric/rubricRequestBuilder.ts b/src/education/me/assignments/item/rubric/rubricRequestBuilder.ts index 258f8546dd2..d7aa53f6079 100644 --- a/src/education/me/assignments/item/rubric/rubricRequestBuilder.ts +++ b/src/education/me/assignments/item/rubric/rubricRequestBuilder.ts @@ -131,7 +131,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/me/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts b/src/education/me/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts index 22c0e855887..a06f36208a0 100644 --- a/src/education/me/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts +++ b/src/education/me/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpFeedbackResourcesFolderRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/me/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index 633ba61a845..bd95f897ce9 100644 --- a/src/education/me/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/me/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts index 3fd13c42861..ba080da792e 100644 --- a/src/education/me/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts @@ -178,7 +178,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -215,7 +215,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts index d9adcbc88fc..3c867934f18 100644 --- a/src/education/me/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts index 7046f72cb70..916cf8a3f55 100644 --- a/src/education/me/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts @@ -145,7 +145,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts index ddbebeb4eaa..ded0e6a058e 100644 --- a/src/education/me/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReassignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts index d5578ca1a69..29c26f39fc8 100644 --- a/src/education/me/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts index 2ef4d1efe66..34e9cb72b53 100644 --- a/src/education/me/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts index 90b30f6e1d3..8c8b5229466 100644 --- a/src/education/me/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReturnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index ad855ab1fd5..348794d16b5 100644 --- a/src/education/me/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/item/submit/submitRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/submit/submitRequestBuilder.ts index 6dad3d72b4b..8537ad858f5 100644 --- a/src/education/me/assignments/item/submissions/item/submit/submitRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/submit/submitRequestBuilder.ts @@ -59,7 +59,7 @@ export class SubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts index f97a2827578..ad08bf7bb13 100644 --- a/src/education/me/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts index 11341c698a9..65674a632fd 100644 --- a/src/education/me/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/me/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts b/src/education/me/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts index 426f412b80b..e5c33be7afd 100644 --- a/src/education/me/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/assignments/item/submissions/submissionsRequestBuilder.ts b/src/education/me/assignments/item/submissions/submissionsRequestBuilder.ts index bdadcc6e315..6db72285a8c 100644 --- a/src/education/me/assignments/item/submissions/submissionsRequestBuilder.ts +++ b/src/education/me/assignments/item/submissions/submissionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/me/classes/classesRequestBuilder.ts b/src/education/me/classes/classesRequestBuilder.ts index 11b871dec58..4eb67bc526f 100644 --- a/src/education/me/classes/classesRequestBuilder.ts +++ b/src/education/me/classes/classesRequestBuilder.ts @@ -117,7 +117,7 @@ export class ClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/classes/item/educationClassItemRequestBuilder.ts b/src/education/me/classes/item/educationClassItemRequestBuilder.ts index 8524e9cd3ce..75a3764849d 100644 --- a/src/education/me/classes/item/educationClassItemRequestBuilder.ts +++ b/src/education/me/classes/item/educationClassItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/meRequestBuilder.ts b/src/education/me/meRequestBuilder.ts index 098f1cef2db..87fdced099b 100644 --- a/src/education/me/meRequestBuilder.ts +++ b/src/education/me/meRequestBuilder.ts @@ -163,7 +163,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationUser); return requestInfo; }; diff --git a/src/education/me/rubrics/item/educationRubricItemRequestBuilder.ts b/src/education/me/rubrics/item/educationRubricItemRequestBuilder.ts index a4a55c88188..5841c9f8ee7 100644 --- a/src/education/me/rubrics/item/educationRubricItemRequestBuilder.ts +++ b/src/education/me/rubrics/item/educationRubricItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/me/rubrics/rubricsRequestBuilder.ts b/src/education/me/rubrics/rubricsRequestBuilder.ts index 520eb4e9fec..0973c03bc2b 100644 --- a/src/education/me/rubrics/rubricsRequestBuilder.ts +++ b/src/education/me/rubrics/rubricsRequestBuilder.ts @@ -145,7 +145,7 @@ export class RubricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RubricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/me/schools/item/educationSchoolItemRequestBuilder.ts b/src/education/me/schools/item/educationSchoolItemRequestBuilder.ts index c8e1b786cfd..2568352418f 100644 --- a/src/education/me/schools/item/educationSchoolItemRequestBuilder.ts +++ b/src/education/me/schools/item/educationSchoolItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/schools/schoolsRequestBuilder.ts b/src/education/me/schools/schoolsRequestBuilder.ts index e9a3010f6c2..8082b011fb4 100644 --- a/src/education/me/schools/schoolsRequestBuilder.ts +++ b/src/education/me/schools/schoolsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SchoolsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/taughtClasses/item/educationClassItemRequestBuilder.ts b/src/education/me/taughtClasses/item/educationClassItemRequestBuilder.ts index f4a3831ed00..3670d530d9d 100644 --- a/src/education/me/taughtClasses/item/educationClassItemRequestBuilder.ts +++ b/src/education/me/taughtClasses/item/educationClassItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/taughtClasses/taughtClassesRequestBuilder.ts b/src/education/me/taughtClasses/taughtClassesRequestBuilder.ts index 6f66a804fae..98843b0d2c4 100644 --- a/src/education/me/taughtClasses/taughtClassesRequestBuilder.ts +++ b/src/education/me/taughtClasses/taughtClassesRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaughtClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/user/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/education/me/user/mailboxSettings/mailboxSettingsRequestBuilder.ts index a0ac7e33148..90158a2f0a6 100644 --- a/src/education/me/user/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/education/me/user/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/education/me/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/education/me/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 1935ec49d54..1ba5ab9adee 100644 --- a/src/education/me/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/education/me/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/me/user/userRequestBuilder.ts b/src/education/me/user/userRequestBuilder.ts index 2edc151ad64..12d8e576fcb 100644 --- a/src/education/me/user/userRequestBuilder.ts +++ b/src/education/me/user/userRequestBuilder.ts @@ -88,7 +88,7 @@ export class UserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/delta/deltaGetResponse.ts b/src/education/schools/delta/deltaGetResponse.ts index 62ddd4b46bc..cfde94e5347 100644 --- a/src/education/schools/delta/deltaGetResponse.ts +++ b/src/education/schools/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationSchool); } // tslint:enable // eslint-enable diff --git a/src/education/schools/delta/deltaRequestBuilder.ts b/src/education/schools/delta/deltaRequestBuilder.ts index df2bc3b7e20..d221bcdfeb2 100644 --- a/src/education/schools/delta/deltaRequestBuilder.ts +++ b/src/education/schools/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/item/administrativeUnit/administrativeUnitRequestBuilder.ts b/src/education/schools/item/administrativeUnit/administrativeUnitRequestBuilder.ts index 9d5875ee54e..0b6112ab131 100644 --- a/src/education/schools/item/administrativeUnit/administrativeUnitRequestBuilder.ts +++ b/src/education/schools/item/administrativeUnit/administrativeUnitRequestBuilder.ts @@ -99,7 +99,7 @@ export class AdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -118,7 +118,7 @@ export class AdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAdministrativeUnit); return requestInfo; }; diff --git a/src/education/schools/item/classes/classesRequestBuilder.ts b/src/education/schools/item/classes/classesRequestBuilder.ts index 9f20256b57c..e77f71747ee 100644 --- a/src/education/schools/item/classes/classesRequestBuilder.ts +++ b/src/education/schools/item/classes/classesRequestBuilder.ts @@ -124,7 +124,7 @@ export class ClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/item/classes/item/ref/refRequestBuilder.ts b/src/education/schools/item/classes/item/ref/refRequestBuilder.ts index 925c526fc00..003bc7eaf5f 100644 --- a/src/education/schools/item/classes/item/ref/refRequestBuilder.ts +++ b/src/education/schools/item/classes/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/item/classes/ref/refRequestBuilder.ts b/src/education/schools/item/classes/ref/refRequestBuilder.ts index 18fe9ac4771..0608e7920eb 100644 --- a/src/education/schools/item/classes/ref/refRequestBuilder.ts +++ b/src/education/schools/item/classes/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/schools/item/educationSchoolItemRequestBuilder.ts b/src/education/schools/item/educationSchoolItemRequestBuilder.ts index 5bebfaa0510..8c74049fd29 100644 --- a/src/education/schools/item/educationSchoolItemRequestBuilder.ts +++ b/src/education/schools/item/educationSchoolItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSchool); return requestInfo; }; diff --git a/src/education/schools/item/users/item/ref/refRequestBuilder.ts b/src/education/schools/item/users/item/ref/refRequestBuilder.ts index 19c1d08df35..17ac8850b89 100644 --- a/src/education/schools/item/users/item/ref/refRequestBuilder.ts +++ b/src/education/schools/item/users/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/item/users/ref/refRequestBuilder.ts b/src/education/schools/item/users/ref/refRequestBuilder.ts index ab61d83cf9d..6f461e36603 100644 --- a/src/education/schools/item/users/ref/refRequestBuilder.ts +++ b/src/education/schools/item/users/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/schools/item/users/usersRequestBuilder.ts b/src/education/schools/item/users/usersRequestBuilder.ts index a48e9eecd31..dd5c3ed639f 100644 --- a/src/education/schools/item/users/usersRequestBuilder.ts +++ b/src/education/schools/item/users/usersRequestBuilder.ts @@ -124,7 +124,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/schools/schoolsRequestBuilder.ts b/src/education/schools/schoolsRequestBuilder.ts index ea0e069d814..fa7f3766ab2 100644 --- a/src/education/schools/schoolsRequestBuilder.ts +++ b/src/education/schools/schoolsRequestBuilder.ts @@ -152,7 +152,7 @@ export class SchoolsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class SchoolsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSchool); return requestInfo; }; diff --git a/src/education/users/delta/deltaGetResponse.ts b/src/education/users/delta/deltaGetResponse.ts index c9c5e6a01d0..31f8d9d0c88 100644 --- a/src/education/users/delta/deltaGetResponse.ts +++ b/src/education/users/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationUser); } // tslint:enable // eslint-enable diff --git a/src/education/users/delta/deltaRequestBuilder.ts b/src/education/users/delta/deltaRequestBuilder.ts index 31d3ccb7aca..7a533eb88a2 100644 --- a/src/education/users/delta/deltaRequestBuilder.ts +++ b/src/education/users/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/assignmentsRequestBuilder.ts b/src/education/users/item/assignments/assignmentsRequestBuilder.ts index 28bdd6722da..3025ef87438 100644 --- a/src/education/users/item/assignments/assignmentsRequestBuilder.ts +++ b/src/education/users/item/assignments/assignmentsRequestBuilder.ts @@ -151,7 +151,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/users/item/assignments/delta/deltaGetResponse.ts b/src/education/users/item/assignments/delta/deltaGetResponse.ts index 27b3d09153e..7288c024614 100644 --- a/src/education/users/item/assignments/delta/deltaGetResponse.ts +++ b/src/education/users/item/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/users/item/assignments/delta/deltaRequestBuilder.ts b/src/education/users/item/assignments/delta/deltaRequestBuilder.ts index ac3f38bcabc..d4434be97bd 100644 --- a/src/education/users/item/assignments/delta/deltaRequestBuilder.ts +++ b/src/education/users/item/assignments/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/categories/categoriesRequestBuilder.ts b/src/education/users/item/assignments/item/categories/categoriesRequestBuilder.ts index 730cdafad67..5d168ef8894 100644 --- a/src/education/users/item/assignments/item/categories/categoriesRequestBuilder.ts +++ b/src/education/users/item/assignments/item/categories/categoriesRequestBuilder.ts @@ -159,7 +159,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -178,7 +178,7 @@ export class CategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationCategory); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts index bb1e4ce173d..7f09a66565f 100644 --- a/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/users/item/assignments/item/categories/delta/deltaRequestBuilder.ts b/src/education/users/item/assignments/item/categories/delta/deltaRequestBuilder.ts index 017bff30e15..7752faec460 100644 --- a/src/education/users/item/assignments/item/categories/delta/deltaRequestBuilder.ts +++ b/src/education/users/item/assignments/item/categories/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/categories/item/ref/refRequestBuilder.ts b/src/education/users/item/assignments/item/categories/item/ref/refRequestBuilder.ts index 34220e61368..0ea72ef3676 100644 --- a/src/education/users/item/assignments/item/categories/item/ref/refRequestBuilder.ts +++ b/src/education/users/item/assignments/item/categories/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/categories/ref/refRequestBuilder.ts b/src/education/users/item/assignments/item/categories/ref/refRequestBuilder.ts index c146fac2ccd..8de8c36a8be 100644 --- a/src/education/users/item/assignments/item/categories/ref/refRequestBuilder.ts +++ b/src/education/users/item/assignments/item/categories/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/educationAssignmentItemRequestBuilder.ts b/src/education/users/item/assignments/item/educationAssignmentItemRequestBuilder.ts index 06dcda9cbb5..fc94846b506 100644 --- a/src/education/users/item/assignments/item/educationAssignmentItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/educationAssignmentItemRequestBuilder.ts @@ -170,7 +170,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -207,7 +207,7 @@ export class EducationAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignment); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/publish/publishRequestBuilder.ts b/src/education/users/item/assignments/item/publish/publishRequestBuilder.ts index 029bd4b24b5..1df87e5f872 100644 --- a/src/education/users/item/assignments/item/publish/publishRequestBuilder.ts +++ b/src/education/users/item/assignments/item/publish/publishRequestBuilder.ts @@ -59,7 +59,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts b/src/education/users/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts index 81a10d6c088..a4b9173550f 100644 --- a/src/education/users/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/resources/item/educationAssignmentResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationAssignmentResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/resources/resourcesRequestBuilder.ts b/src/education/users/item/assignments/item/resources/resourcesRequestBuilder.ts index 8b7f67f42f8..92cd1b6d317 100644 --- a/src/education/users/item/assignments/item/resources/resourcesRequestBuilder.ts +++ b/src/education/users/item/assignments/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationAssignmentResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/rubric/ref/refRequestBuilder.ts b/src/education/users/item/assignments/item/rubric/ref/refRequestBuilder.ts index 0fc5178fc12..e53bd224282 100644 --- a/src/education/users/item/assignments/item/rubric/ref/refRequestBuilder.ts +++ b/src/education/users/item/assignments/item/rubric/ref/refRequestBuilder.ts @@ -109,7 +109,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -126,7 +126,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/rubric/rubricRequestBuilder.ts b/src/education/users/item/assignments/item/rubric/rubricRequestBuilder.ts index 6c52cdc74d3..a36600aa7e8 100644 --- a/src/education/users/item/assignments/item/rubric/rubricRequestBuilder.ts +++ b/src/education/users/item/assignments/item/rubric/rubricRequestBuilder.ts @@ -131,7 +131,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class RubricRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts b/src/education/users/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts index e4ccfb6d951..9553d0a5bed 100644 --- a/src/education/users/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts +++ b/src/education/users/item/assignments/item/setUpFeedbackResourcesFolder/setUpFeedbackResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpFeedbackResourcesFolderRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/users/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index 31deb5d6952..19f0e5991bf 100644 --- a/src/education/users/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/users/item/assignments/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts index f0d8bd65eb3..8f52fe47a80 100644 --- a/src/education/users/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/educationSubmissionItemRequestBuilder.ts @@ -178,7 +178,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -215,7 +215,7 @@ export class EducationSubmissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts index bb5100fc8de..cb57232d1a5 100644 --- a/src/education/users/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/outcomes/item/educationOutcomeItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationOutcomeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts index 001955ad8a6..7d0499ac4f9 100644 --- a/src/education/users/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/outcomes/outcomesRequestBuilder.ts @@ -145,7 +145,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OutcomesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationOutcome); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts index 2cd9a68b4e2..cc087477971 100644 --- a/src/education/users/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/reassign/reassignRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReassignRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts index b109b1d3021..508ee3b698b 100644 --- a/src/education/users/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/resources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts index ca6ec13f737..b3df73a80b4 100644 --- a/src/education/users/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/resources/resourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts index 23a77fd737e..71ace13694e 100644 --- a/src/education/users/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/returnEscaped/returnRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReturnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts index c71c72ff443..d76fbc72d2d 100644 --- a/src/education/users/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/setUpResourcesFolder/setUpResourcesFolderRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts index d7adc58c2b8..70c6b2eb182 100644 --- a/src/education/users/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/submit/submitRequestBuilder.ts @@ -59,7 +59,7 @@ export class SubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts index 347a988efd5..8bb3b5d74f5 100644 --- a/src/education/users/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/submittedResources/item/educationSubmissionResourceItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class EducationSubmissionResourceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts index 2a2ca7a4a1f..ae984285b25 100644 --- a/src/education/users/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/submittedResources/submittedResourcesRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmittedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmissionResource); return requestInfo; }; diff --git a/src/education/users/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts index 8d6096e8c3e..5902fdd8fc4 100644 --- a/src/education/users/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/item/unsubmit/unsubmitRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsubmitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/assignments/item/submissions/submissionsRequestBuilder.ts b/src/education/users/item/assignments/item/submissions/submissionsRequestBuilder.ts index 57a75ddf2f0..54f31d2abcf 100644 --- a/src/education/users/item/assignments/item/submissions/submissionsRequestBuilder.ts +++ b/src/education/users/item/assignments/item/submissions/submissionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SubmissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationSubmission); return requestInfo; }; diff --git a/src/education/users/item/classes/classesRequestBuilder.ts b/src/education/users/item/classes/classesRequestBuilder.ts index 29f7721e5f0..cfcab4733f1 100644 --- a/src/education/users/item/classes/classesRequestBuilder.ts +++ b/src/education/users/item/classes/classesRequestBuilder.ts @@ -117,7 +117,7 @@ export class ClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/classes/item/educationClassItemRequestBuilder.ts b/src/education/users/item/classes/item/educationClassItemRequestBuilder.ts index aeee1862cbc..730fdf8d696 100644 --- a/src/education/users/item/classes/item/educationClassItemRequestBuilder.ts +++ b/src/education/users/item/classes/item/educationClassItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/educationUserItemRequestBuilder.ts b/src/education/users/item/educationUserItemRequestBuilder.ts index 5b44b5a42d5..19bffa3ff7b 100644 --- a/src/education/users/item/educationUserItemRequestBuilder.ts +++ b/src/education/users/item/educationUserItemRequestBuilder.ts @@ -166,7 +166,7 @@ export class EducationUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -184,7 +184,7 @@ export class EducationUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -203,7 +203,7 @@ export class EducationUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationUser); return requestInfo; }; diff --git a/src/education/users/item/rubrics/item/educationRubricItemRequestBuilder.ts b/src/education/users/item/rubrics/item/educationRubricItemRequestBuilder.ts index d47a7aab5a9..3be4cf23c27 100644 --- a/src/education/users/item/rubrics/item/educationRubricItemRequestBuilder.ts +++ b/src/education/users/item/rubrics/item/educationRubricItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class EducationRubricItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/users/item/rubrics/rubricsRequestBuilder.ts b/src/education/users/item/rubrics/rubricsRequestBuilder.ts index 0e3b61e824d..18c45b8e7c4 100644 --- a/src/education/users/item/rubrics/rubricsRequestBuilder.ts +++ b/src/education/users/item/rubrics/rubricsRequestBuilder.ts @@ -145,7 +145,7 @@ export class RubricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class RubricsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationRubric); return requestInfo; }; diff --git a/src/education/users/item/schools/item/educationSchoolItemRequestBuilder.ts b/src/education/users/item/schools/item/educationSchoolItemRequestBuilder.ts index ed75e84c1ac..d884ee2b255 100644 --- a/src/education/users/item/schools/item/educationSchoolItemRequestBuilder.ts +++ b/src/education/users/item/schools/item/educationSchoolItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationSchoolItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/schools/schoolsRequestBuilder.ts b/src/education/users/item/schools/schoolsRequestBuilder.ts index 4b0966a15b5..63ace01a314 100644 --- a/src/education/users/item/schools/schoolsRequestBuilder.ts +++ b/src/education/users/item/schools/schoolsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SchoolsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/taughtClasses/item/educationClassItemRequestBuilder.ts b/src/education/users/item/taughtClasses/item/educationClassItemRequestBuilder.ts index c0822133603..f06a5ea8dc7 100644 --- a/src/education/users/item/taughtClasses/item/educationClassItemRequestBuilder.ts +++ b/src/education/users/item/taughtClasses/item/educationClassItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class EducationClassItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/taughtClasses/taughtClassesRequestBuilder.ts b/src/education/users/item/taughtClasses/taughtClassesRequestBuilder.ts index 9aecfb9c3db..1ecfd94c4d9 100644 --- a/src/education/users/item/taughtClasses/taughtClassesRequestBuilder.ts +++ b/src/education/users/item/taughtClasses/taughtClassesRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaughtClassesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/user/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/education/users/item/user/mailboxSettings/mailboxSettingsRequestBuilder.ts index b2e2bf76737..51f8faa3334 100644 --- a/src/education/users/item/user/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/education/users/item/user/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/education/users/item/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/education/users/item/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index c08ec517c8e..ae6869c95a0 100644 --- a/src/education/users/item/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/education/users/item/user/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/item/user/userRequestBuilder.ts b/src/education/users/item/user/userRequestBuilder.ts index f3ab4a06527..712b9e27999 100644 --- a/src/education/users/item/user/userRequestBuilder.ts +++ b/src/education/users/item/user/userRequestBuilder.ts @@ -88,7 +88,7 @@ export class UserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/education/users/usersRequestBuilder.ts b/src/education/users/usersRequestBuilder.ts index 4564a0bce9e..5295c549136 100644 --- a/src/education/users/usersRequestBuilder.ts +++ b/src/education/users/usersRequestBuilder.ts @@ -152,7 +152,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEducationUser); return requestInfo; }; diff --git a/src/employeeExperience/employeeExperienceRequestBuilder.ts b/src/employeeExperience/employeeExperienceRequestBuilder.ts index 8288d257132..ab99a7bf953 100644 --- a/src/employeeExperience/employeeExperienceRequestBuilder.ts +++ b/src/employeeExperience/employeeExperienceRequestBuilder.ts @@ -112,7 +112,7 @@ export class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -131,7 +131,7 @@ export class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEmployeeExperience); return requestInfo; }; diff --git a/src/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts b/src/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts index 60889c3002c..388c621f94d 100644 --- a/src/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts +++ b/src/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningCourseActivity); return requestInfo; }; diff --git a/src/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts b/src/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts index 58b8e8a22af..7e916efcb55 100644 --- a/src/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts +++ b/src/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningCourseActivity); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/item/learningContents/item/learningContentItemRequestBuilder.ts b/src/employeeExperience/learningProviders/item/learningContents/item/learningContentItemRequestBuilder.ts index 73f2d47a6c6..0d5ca8704a6 100644 --- a/src/employeeExperience/learningProviders/item/learningContents/item/learningContentItemRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/item/learningContents/item/learningContentItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class LearningContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class LearningContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class LearningContentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningContent); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/item/learningContents/learningContentsRequestBuilder.ts b/src/employeeExperience/learningProviders/item/learningContents/learningContentsRequestBuilder.ts index d56341c266b..1abeba5eba3 100644 --- a/src/employeeExperience/learningProviders/item/learningContents/learningContentsRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/item/learningContents/learningContentsRequestBuilder.ts @@ -144,7 +144,7 @@ export class LearningContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LearningContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningContent); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/item/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts b/src/employeeExperience/learningProviders/item/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts index 6043cf390d7..6c83ab80999 100644 --- a/src/employeeExperience/learningProviders/item/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/item/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningCourseActivity); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/item/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts b/src/employeeExperience/learningProviders/item/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts index 363a4e9c4de..f519533b779 100644 --- a/src/employeeExperience/learningProviders/item/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/item/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts @@ -144,7 +144,7 @@ export class LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningCourseActivity); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/item/learningProviderItemRequestBuilder.ts b/src/employeeExperience/learningProviders/item/learningProviderItemRequestBuilder.ts index 9fb15b1325f..0e746974c73 100644 --- a/src/employeeExperience/learningProviders/item/learningProviderItemRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/item/learningProviderItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class LearningProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class LearningProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class LearningProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningProvider); return requestInfo; }; diff --git a/src/employeeExperience/learningProviders/learningProvidersRequestBuilder.ts b/src/employeeExperience/learningProviders/learningProvidersRequestBuilder.ts index fc8b53eda2c..c3d75821b8d 100644 --- a/src/employeeExperience/learningProviders/learningProvidersRequestBuilder.ts +++ b/src/employeeExperience/learningProviders/learningProvidersRequestBuilder.ts @@ -145,7 +145,7 @@ export class LearningProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class LearningProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLearningProvider); return requestInfo; }; diff --git a/src/external/connections/connectionsRequestBuilder.ts b/src/external/connections/connectionsRequestBuilder.ts index d840079ddcd..1ca1a85d83a 100644 --- a/src/external/connections/connectionsRequestBuilder.ts +++ b/src/external/connections/connectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ConnectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ConnectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalConnection); return requestInfo; }; diff --git a/src/external/connections/item/externalConnectionItemRequestBuilder.ts b/src/external/connections/item/externalConnectionItemRequestBuilder.ts index 3f81b84dec0..dd6a7e5d1e9 100644 --- a/src/external/connections/item/externalConnectionItemRequestBuilder.ts +++ b/src/external/connections/item/externalConnectionItemRequestBuilder.ts @@ -152,7 +152,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -189,7 +189,7 @@ export class ExternalConnectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalConnection); return requestInfo; }; diff --git a/src/external/connections/item/groups/groupsRequestBuilder.ts b/src/external/connections/item/groups/groupsRequestBuilder.ts index 529d94228c5..d31f5a1fbc5 100644 --- a/src/external/connections/item/groups/groupsRequestBuilder.ts +++ b/src/external/connections/item/groups/groupsRequestBuilder.ts @@ -144,7 +144,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalGroup); return requestInfo; }; diff --git a/src/external/connections/item/groups/item/externalGroupItemRequestBuilder.ts b/src/external/connections/item/groups/item/externalGroupItemRequestBuilder.ts index 024f6fdc25f..dfae02068cf 100644 --- a/src/external/connections/item/groups/item/externalGroupItemRequestBuilder.ts +++ b/src/external/connections/item/groups/item/externalGroupItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class ExternalGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalGroup); return requestInfo; }; diff --git a/src/external/connections/item/groups/item/members/item/identityItemRequestBuilder.ts b/src/external/connections/item/groups/item/members/item/identityItemRequestBuilder.ts index 32d0127367f..8c2153a9312 100644 --- a/src/external/connections/item/groups/item/members/item/identityItemRequestBuilder.ts +++ b/src/external/connections/item/groups/item/members/item/identityItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class IdentityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentity); return requestInfo; }; diff --git a/src/external/connections/item/groups/item/members/membersRequestBuilder.ts b/src/external/connections/item/groups/item/members/membersRequestBuilder.ts index 191a4bdeeb6..8dce0a22a46 100644 --- a/src/external/connections/item/groups/item/members/membersRequestBuilder.ts +++ b/src/external/connections/item/groups/item/members/membersRequestBuilder.ts @@ -144,7 +144,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentity); return requestInfo; }; diff --git a/src/external/connections/item/items/item/activities/activitiesRequestBuilder.ts b/src/external/connections/item/items/item/activities/activitiesRequestBuilder.ts index 83acb498985..0332b072a78 100644 --- a/src/external/connections/item/items/item/activities/activitiesRequestBuilder.ts +++ b/src/external/connections/item/items/item/activities/activitiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalActivity); return requestInfo; }; diff --git a/src/external/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts b/src/external/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts index 045fa297a29..39da8aaf92e 100644 --- a/src/external/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts +++ b/src/external/connections/item/items/item/activities/item/externalActivityItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ExternalActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalActivity); return requestInfo; }; diff --git a/src/external/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts b/src/external/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts index 6d81162d70b..f5d36892658 100644 --- a/src/external/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts +++ b/src/external/connections/item/items/item/activities/item/performedBy/performedByRequestBuilder.ts @@ -73,7 +73,7 @@ export class PerformedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/external/connections/item/items/item/externalItemItemRequestBuilder.ts b/src/external/connections/item/items/item/externalItemItemRequestBuilder.ts index 74546f07f0d..2d960b20539 100644 --- a/src/external/connections/item/items/item/externalItemItemRequestBuilder.ts +++ b/src/external/connections/item/items/item/externalItemItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class ExternalItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalItem); return requestInfo; }; diff --git a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts index 479586d9863..7439ac68bf2 100644 --- a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts +++ b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddActivitiesPostRequestBody(addActivitiesPostReq } } export function serializeAddActivitiesPostRequestBody(writer: SerializationWriter, addActivitiesPostRequestBody: AddActivitiesPostRequestBody | undefined = {} as AddActivitiesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, ); + writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, serializeExternalActivity); writer.writeAdditionalData(addActivitiesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts index ee839bbfe9b..9669b3e0a4b 100644 --- a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts +++ b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddActivitiesPostResponse(addActivitiesPostRespon } export function serializeAddActivitiesPostResponse(writer: SerializationWriter, addActivitiesPostResponse: AddActivitiesPostResponse | undefined = {} as AddActivitiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addActivitiesPostResponse) - writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, serializeExternalActivityResult); } // tslint:enable // eslint-enable diff --git a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts index 42939308b60..f410b69e0d0 100644 --- a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts +++ b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/microsoftGraphExternalConnectorsAddActivitiesRequestBuilder.ts @@ -61,7 +61,7 @@ export class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddActivitiesPostRequestBody); return requestInfo; }; diff --git a/src/external/connections/item/items/itemsRequestBuilder.ts b/src/external/connections/item/items/itemsRequestBuilder.ts index 9220c866db5..11fcd425570 100644 --- a/src/external/connections/item/items/itemsRequestBuilder.ts +++ b/src/external/connections/item/items/itemsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternalItem); return requestInfo; }; diff --git a/src/external/connections/item/operations/item/connectionOperationItemRequestBuilder.ts b/src/external/connections/item/operations/item/connectionOperationItemRequestBuilder.ts index d4a7b5a443a..ac91c9dbf3a 100644 --- a/src/external/connections/item/operations/item/connectionOperationItemRequestBuilder.ts +++ b/src/external/connections/item/operations/item/connectionOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ConnectionOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectionOperation); return requestInfo; }; diff --git a/src/external/connections/item/operations/operationsRequestBuilder.ts b/src/external/connections/item/operations/operationsRequestBuilder.ts index d70cbc160a0..b1b657da580 100644 --- a/src/external/connections/item/operations/operationsRequestBuilder.ts +++ b/src/external/connections/item/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectionOperation); return requestInfo; }; diff --git a/src/external/connections/item/schema/schemaRequestBuilder.ts b/src/external/connections/item/schema/schemaRequestBuilder.ts index 2c0f4887e2c..cc1ba0bfa30 100644 --- a/src/external/connections/item/schema/schemaRequestBuilder.ts +++ b/src/external/connections/item/schema/schemaRequestBuilder.ts @@ -100,7 +100,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -119,7 +119,7 @@ export class SchemaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchema); return requestInfo; }; diff --git a/src/external/externalRequestBuilder.ts b/src/external/externalRequestBuilder.ts index 92cfa2a6be6..9f091a9e8ca 100644 --- a/src/external/externalRequestBuilder.ts +++ b/src/external/externalRequestBuilder.ts @@ -105,7 +105,7 @@ export class ExternalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -124,7 +124,7 @@ export class ExternalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExternal); return requestInfo; }; diff --git a/src/filterOperators/filterOperatorsRequestBuilder.ts b/src/filterOperators/filterOperatorsRequestBuilder.ts index f458a29f84b..e30c20a4e95 100644 --- a/src/filterOperators/filterOperatorsRequestBuilder.ts +++ b/src/filterOperators/filterOperatorsRequestBuilder.ts @@ -143,7 +143,7 @@ export class FilterOperatorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FilterOperatorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFilterOperatorSchema); return requestInfo; }; diff --git a/src/filterOperators/item/filterOperatorSchemaItemRequestBuilder.ts b/src/filterOperators/item/filterOperatorSchemaItemRequestBuilder.ts index 1cc6dbd686d..0a8b5aa7168 100644 --- a/src/filterOperators/item/filterOperatorSchemaItemRequestBuilder.ts +++ b/src/filterOperators/item/filterOperatorSchemaItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class FilterOperatorSchemaItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FilterOperatorSchemaItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FilterOperatorSchemaItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFilterOperatorSchema); return requestInfo; }; diff --git a/src/functions/functionsRequestBuilder.ts b/src/functions/functionsRequestBuilder.ts index 974980cefda..1a170131442 100644 --- a/src/functions/functionsRequestBuilder.ts +++ b/src/functions/functionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class FunctionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttributeMappingFunctionSchema); return requestInfo; }; diff --git a/src/functions/item/attributeMappingFunctionSchemaItemRequestBuilder.ts b/src/functions/item/attributeMappingFunctionSchemaItemRequestBuilder.ts index d369580b730..07acffdae2c 100644 --- a/src/functions/item/attributeMappingFunctionSchemaItemRequestBuilder.ts +++ b/src/functions/item/attributeMappingFunctionSchemaItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AttributeMappingFunctionSchemaItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AttributeMappingFunctionSchemaItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AttributeMappingFunctionSchemaItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttributeMappingFunctionSchema); return requestInfo; }; diff --git a/src/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts b/src/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts index c8c872c5bdf..662146c85d1 100644 --- a/src/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts +++ b/src/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts @@ -145,7 +145,7 @@ export class GroupLifecyclePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class GroupLifecyclePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupLifecyclePolicy); return requestInfo; }; diff --git a/src/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts b/src/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts index 6aac6082f4a..6d8296d547f 100644 --- a/src/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts +++ b/src/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddGroupPostRequestBody); return requestInfo; }; diff --git a/src/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts b/src/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts index df19715c025..e19cd42dacf 100644 --- a/src/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts +++ b/src/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupLifecyclePolicy); return requestInfo; }; diff --git a/src/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts b/src/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts index 7e516c3c565..2a489b05e0b 100644 --- a/src/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts +++ b/src/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class RemoveGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemoveGroupPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/delta/deltaGetResponse.ts b/src/groupSettingTemplates/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/groupSettingTemplates/delta/deltaGetResponse.ts +++ b/src/groupSettingTemplates/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/delta/deltaRequestBuilder.ts b/src/groupSettingTemplates/delta/deltaRequestBuilder.ts index bf8c90b3138..6f8bf9daa58 100644 --- a/src/groupSettingTemplates/delta/deltaRequestBuilder.ts +++ b/src/groupSettingTemplates/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index 8f3008f6904..c51c7913e26 100644 --- a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts b/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts +++ b/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/getByIds/getByIdsRequestBuilder.ts b/src/groupSettingTemplates/getByIds/getByIdsRequestBuilder.ts index 5772be5e2b3..57a33a050e2 100644 --- a/src/groupSettingTemplates/getByIds/getByIdsRequestBuilder.ts +++ b/src/groupSettingTemplates/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/groupSettingTemplatesRequestBuilder.ts b/src/groupSettingTemplates/groupSettingTemplatesRequestBuilder.ts index 2f3238126fe..b0eb3e1a73d 100644 --- a/src/groupSettingTemplates/groupSettingTemplatesRequestBuilder.ts +++ b/src/groupSettingTemplates/groupSettingTemplatesRequestBuilder.ts @@ -172,7 +172,7 @@ export class GroupSettingTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class GroupSettingTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSettingTemplate); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/groupSettingTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index b998088ceca..884926549b7 100644 --- a/src/groupSettingTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/groupSettingTemplates/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/groupSettingTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index b97606193dc..fdfe670f73c 100644 --- a/src/groupSettingTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/groupSettingTemplates/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/groupSettingTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index 03e8d893ce2..3beca0c2d86 100644 --- a/src/groupSettingTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/groupSettingTemplates/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/groupSettingTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index 6ab7f6901ac..bfd3320d3aa 100644 --- a/src/groupSettingTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/groupSettingTemplates/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/groupSettingTemplateItemRequestBuilder.ts b/src/groupSettingTemplates/item/groupSettingTemplateItemRequestBuilder.ts index 94be4654e12..3797e736d0a 100644 --- a/src/groupSettingTemplates/item/groupSettingTemplateItemRequestBuilder.ts +++ b/src/groupSettingTemplates/item/groupSettingTemplateItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class GroupSettingTemplateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class GroupSettingTemplateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class GroupSettingTemplateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSettingTemplate); return requestInfo; }; diff --git a/src/groupSettingTemplates/item/restore/restoreRequestBuilder.ts b/src/groupSettingTemplates/item/restore/restoreRequestBuilder.ts index fe73abde3a6..3b7cbf5aae2 100644 --- a/src/groupSettingTemplates/item/restore/restoreRequestBuilder.ts +++ b/src/groupSettingTemplates/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groupSettingTemplates/validateProperties/validatePropertiesRequestBuilder.ts b/src/groupSettingTemplates/validateProperties/validatePropertiesRequestBuilder.ts index bb4c437fec0..82a30133502 100644 --- a/src/groupSettingTemplates/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/groupSettingTemplates/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/groupSettings/groupSettingsRequestBuilder.ts b/src/groupSettings/groupSettingsRequestBuilder.ts index 8aaabe62c30..4d0d8465777 100644 --- a/src/groupSettings/groupSettingsRequestBuilder.ts +++ b/src/groupSettings/groupSettingsRequestBuilder.ts @@ -145,7 +145,7 @@ export class GroupSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class GroupSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSetting); return requestInfo; }; diff --git a/src/groupSettings/item/groupSettingItemRequestBuilder.ts b/src/groupSettings/item/groupSettingItemRequestBuilder.ts index 3a12401ca3d..3de8ceb8247 100644 --- a/src/groupSettings/item/groupSettingItemRequestBuilder.ts +++ b/src/groupSettings/item/groupSettingItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSetting); return requestInfo; }; diff --git a/src/groups/delta/deltaGetResponse.ts b/src/groups/delta/deltaGetResponse.ts index dedfad47285..59cf4219820 100644 --- a/src/groups/delta/deltaGetResponse.ts +++ b/src/groups/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeGroup); } // tslint:enable // eslint-enable diff --git a/src/groups/delta/deltaRequestBuilder.ts b/src/groups/delta/deltaRequestBuilder.ts index ecf37e3a5ba..379bec23050 100644 --- a/src/groups/delta/deltaRequestBuilder.ts +++ b/src/groups/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts index eb36104ed38..32608772b80 100644 --- a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts +++ b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetAvailableExtensionPropertiesPostRequestBody); return requestInfo; }; diff --git a/src/groups/getByIds/getByIdsPostResponse.ts b/src/groups/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/groups/getByIds/getByIdsPostResponse.ts +++ b/src/groups/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groups/getByIds/getByIdsRequestBuilder.ts b/src/groups/getByIds/getByIdsRequestBuilder.ts index 7a468b21280..d71b626fae8 100644 --- a/src/groups/getByIds/getByIdsRequestBuilder.ts +++ b/src/groups/getByIds/getByIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetByIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetByIdsPostRequestBody); return requestInfo; }; diff --git a/src/groups/groupsRequestBuilder.ts b/src/groups/groupsRequestBuilder.ts index 8e00e632a16..4b593530e57 100644 --- a/src/groups/groupsRequestBuilder.ts +++ b/src/groups/groupsRequestBuilder.ts @@ -173,7 +173,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -192,7 +192,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/acceptedSenders/acceptedSendersRequestBuilder.ts b/src/groups/item/acceptedSenders/acceptedSendersRequestBuilder.ts index 4dc4e5e6090..cf45492f8d1 100644 --- a/src/groups/item/acceptedSenders/acceptedSendersRequestBuilder.ts +++ b/src/groups/item/acceptedSenders/acceptedSendersRequestBuilder.ts @@ -116,7 +116,7 @@ export class AcceptedSendersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/acceptedSenders/item/ref/refRequestBuilder.ts b/src/groups/item/acceptedSenders/item/ref/refRequestBuilder.ts index 4e0e23facf4..11d7c6cb03b 100644 --- a/src/groups/item/acceptedSenders/item/ref/refRequestBuilder.ts +++ b/src/groups/item/acceptedSenders/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/acceptedSenders/ref/refRequestBuilder.ts b/src/groups/item/acceptedSenders/ref/refRequestBuilder.ts index 245b58dc3f1..3f21a45f65b 100644 --- a/src/groups/item/acceptedSenders/ref/refRequestBuilder.ts +++ b/src/groups/item/acceptedSenders/ref/refRequestBuilder.ts @@ -113,7 +113,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -132,7 +132,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/groups/item/addFavorite/addFavoriteRequestBuilder.ts b/src/groups/item/addFavorite/addFavoriteRequestBuilder.ts index df0a797fa4c..312d902ffda 100644 --- a/src/groups/item/addFavorite/addFavoriteRequestBuilder.ts +++ b/src/groups/item/addFavorite/addFavoriteRequestBuilder.ts @@ -56,7 +56,7 @@ export class AddFavoriteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts b/src/groups/item/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts index 464161a498e..db8585f92f7 100644 --- a/src/groups/item/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts +++ b/src/groups/item/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppRoleAssignment); return requestInfo; }; diff --git a/src/groups/item/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts b/src/groups/item/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts index 794c7efe5db..8f525c24912 100644 --- a/src/groups/item/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts +++ b/src/groups/item/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppRoleAssignment); return requestInfo; }; diff --git a/src/groups/item/assignLicense/assignLicensePostRequestBody.ts b/src/groups/item/assignLicense/assignLicensePostRequestBody.ts index 0ad23509d56..96de3ec53df 100644 --- a/src/groups/item/assignLicense/assignLicensePostRequestBody.ts +++ b/src/groups/item/assignLicense/assignLicensePostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAssignLicensePostRequestBody(assignLicensePostReq } } export function serializeAssignLicensePostRequestBody(writer: SerializationWriter, assignLicensePostRequestBody: AssignLicensePostRequestBody | undefined = {} as AssignLicensePostRequestBody) : void { - writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, ); + writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, serializeAssignedLicense); writer.writeCollectionOfPrimitiveValues("removeLicenses", assignLicensePostRequestBody.removeLicenses); writer.writeAdditionalData(assignLicensePostRequestBody.additionalData); } diff --git a/src/groups/item/assignLicense/assignLicenseRequestBuilder.ts b/src/groups/item/assignLicense/assignLicenseRequestBuilder.ts index 91282aa4171..9984761bdf5 100644 --- a/src/groups/item/assignLicense/assignLicenseRequestBuilder.ts +++ b/src/groups/item/assignLicense/assignLicenseRequestBuilder.ts @@ -62,7 +62,7 @@ export class AssignLicenseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignLicensePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts b/src/groups/item/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts index 0bbabcfe26e..5c804d0add8 100644 --- a/src/groups/item/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts +++ b/src/groups/item/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class AllowedCalendarSharingRolesWithUserRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts b/src/groups/item/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts index 8fec4a83862..b8d8b0b1a91 100644 --- a/src/groups/item/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts b/src/groups/item/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts index cc6d40e46a6..b063b54cefa 100644 --- a/src/groups/item/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendar/calendarRequestBuilder.ts index eea51c3090c..23a753e79dd 100644 --- a/src/groups/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendar/calendarRequestBuilder.ts @@ -107,7 +107,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/calendarViewRequestBuilder.ts b/src/groups/item/calendar/calendarView/calendarViewRequestBuilder.ts index e753725d928..761cb00a925 100644 --- a/src/groups/item/calendar/calendarView/calendarViewRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/calendarViewRequestBuilder.ts @@ -124,7 +124,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts b/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/calendarView/delta/deltaRequestBuilder.ts b/src/groups/item/calendar/calendarView/delta/deltaRequestBuilder.ts index 95d0ffb6fae..6c411258b3a 100644 --- a/src/groups/item/calendar/calendarView/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/accept/acceptRequestBuilder.ts index 4f78a65c3e2..9ac6a44cd9c 100644 --- a/src/groups/item/calendar/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts index ec82379bf2b..847e3133324 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 959ab98d2dc..b26fdb42aae 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index e8a6fc52a37..4035a3a5e06 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/calendar/calendarRequestBuilder.ts index 16eaa60ca09..08aa334c7f0 100644 --- a/src/groups/item/calendar/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/cancel/cancelRequestBuilder.ts index d3e4e03f98c..dfb37ddaf5a 100644 --- a/src/groups/item/calendar/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/decline/declineRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/decline/declineRequestBuilder.ts index a7732518d27..271c14c757a 100644 --- a/src/groups/item/calendar/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index bd3ade4f1b7..2759150335a 100644 --- a/src/groups/item/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/eventItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/eventItemRequestBuilder.ts index e4e2734c797..1b2b464023d 100644 --- a/src/groups/item/calendar/calendarView/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/eventItemRequestBuilder.ts @@ -154,7 +154,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts index 3532a93f869..5bd653b3989 100644 --- a/src/groups/item/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index 5e21bfb4400..71a6a06e112 100644 --- a/src/groups/item/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/forward/forwardRequestBuilder.ts index e72545d1dda..f06f36ea751 100644 --- a/src/groups/item/calendar/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts index 0929bcf7d01..b2a9b595e39 100644 --- a/src/groups/item/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/instancesRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/instancesRequestBuilder.ts index 2495044bc5f..1dec148f558 100644 --- a/src/groups/item/calendar/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index c64d7f0e967..1546113a3cd 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index e4fd90c6b2e..9d922b0b4e7 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 4b2789c22e1..69de5ef801f 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 7caa58e735d..406a326ca97 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index 965efc5f86f..3c344843dd8 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index 5046464a5ed..717c288dc92 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts index 5ef49b1c51f..b523b23d0c7 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 89236d38d78..c9bf16b8419 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts index 4666182c84c..20cafd6d8b1 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index 4c63649e28c..d902575a082 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 5ff876e7af0..892243d35cc 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index 4eded03d0bb..459d7fa751e 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 022959fb362..bd717c2eb0f 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index bad3067075d..0c29b295c40 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 5392187b593..5c2b86bdcf9 100644 --- a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 975ee96af44..29fcfe5e57e 100644 --- a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/delta/deltaGetResponse.ts b/src/groups/item/calendar/events/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/groups/item/calendar/events/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/events/delta/deltaRequestBuilder.ts b/src/groups/item/calendar/events/delta/deltaRequestBuilder.ts index b7856a75cde..da851fd9dff 100644 --- a/src/groups/item/calendar/events/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendar/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/eventsRequestBuilder.ts b/src/groups/item/calendar/events/eventsRequestBuilder.ts index afed42e9252..1430ae2b21b 100644 --- a/src/groups/item/calendar/events/eventsRequestBuilder.ts +++ b/src/groups/item/calendar/events/eventsRequestBuilder.ts @@ -148,7 +148,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendar/events/item/accept/acceptRequestBuilder.ts index 2fdd2c66301..322ca4aa408 100644 --- a/src/groups/item/calendar/events/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts index 1b6b613be55..b86ab3c7914 100644 --- a/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 3b61f6dea0c..105d31bc610 100644 --- a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts index 134a7a628ea..4b0f0ece655 100644 --- a/src/groups/item/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendar/events/item/calendar/calendarRequestBuilder.ts index af01ab32194..dd6e646c732 100644 --- a/src/groups/item/calendar/events/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendar/events/item/cancel/cancelRequestBuilder.ts index 04bf70836f2..cc62368c019 100644 --- a/src/groups/item/calendar/events/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/decline/declineRequestBuilder.ts b/src/groups/item/calendar/events/item/decline/declineRequestBuilder.ts index 752b8f331b4..e199eb4011b 100644 --- a/src/groups/item/calendar/events/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts index 2e549140b2a..69c9601640d 100644 --- a/src/groups/item/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/eventItemRequestBuilder.ts b/src/groups/item/calendar/events/item/eventItemRequestBuilder.ts index 9e54130919a..d90a0b0e6ee 100644 --- a/src/groups/item/calendar/events/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/eventItemRequestBuilder.ts @@ -199,7 +199,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -236,7 +236,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendar/events/item/extensions/extensionsRequestBuilder.ts index bc8bf436d84..2e286051c7b 100644 --- a/src/groups/item/calendar/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts index 2dde25234ac..8c47d360677 100644 --- a/src/groups/item/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendar/events/item/forward/forwardRequestBuilder.ts index d7870eb4de7..1a0dc2bb199 100644 --- a/src/groups/item/calendar/events/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/events/item/instances/delta/deltaRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/delta/deltaRequestBuilder.ts index e52fff6974d..0d196b18436 100644 --- a/src/groups/item/calendar/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/instancesRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/instancesRequestBuilder.ts index 5499d88d156..e3b188b16b7 100644 --- a/src/groups/item/calendar/events/item/instances/instancesRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts index 71228727067..ade3a9a2316 100644 --- a/src/groups/item/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index dd8c05a6405..5054cd26d3c 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 7ad9118cc56..f4cd2156c3a 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index ee07829ea1e..70b6f7f5934 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts index 5c4bd5d1971..0821a739718 100644 --- a/src/groups/item/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts index 06d9ea1df35..815ab5217e4 100644 --- a/src/groups/item/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/instances/item/decline/declineRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/decline/declineRequestBuilder.ts index 99c94b559eb..44df2adc4c4 100644 --- a/src/groups/item/calendar/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 0ec98f6675c..5b5d7cb793b 100644 --- a/src/groups/item/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/item/eventItemRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/eventItemRequestBuilder.ts index 899d57d11b3..cfb7bc2a42e 100644 --- a/src/groups/item/calendar/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts index 2c24cb137f1..1ca72eb77b1 100644 --- a/src/groups/item/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 954b64d56d8..c262fe0b044 100644 --- a/src/groups/item/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts index 829787a15fd..bb060da21a7 100644 --- a/src/groups/item/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 08c6c476881..f79515d5376 100644 --- a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index e693f8dc058..09def815e2e 100644 --- a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 6d0c41f4850..08411d20f34 100644 --- a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 56667d12e1b..b6232d1a354 100644 --- a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts b/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts index 56ea4737b86..816e5e88ce4 100644 --- a/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts +++ b/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts b/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts index 74d770330c4..805879805a0 100644 --- a/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts +++ b/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/getSchedule/getScheduleRequestBuilder.ts b/src/groups/item/calendar/getSchedule/getScheduleRequestBuilder.ts index 6dbed647fcc..1d46c02ecf4 100644 --- a/src/groups/item/calendar/getSchedule/getScheduleRequestBuilder.ts +++ b/src/groups/item/calendar/getSchedule/getScheduleRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetSchedulePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/calendarViewRequestBuilder.ts b/src/groups/item/calendarView/calendarViewRequestBuilder.ts index 26c19f69d8f..1de3e925f65 100644 --- a/src/groups/item/calendarView/calendarViewRequestBuilder.ts +++ b/src/groups/item/calendarView/calendarViewRequestBuilder.ts @@ -124,7 +124,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/delta/deltaGetResponse.ts b/src/groups/item/calendarView/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/groups/item/calendarView/delta/deltaGetResponse.ts +++ b/src/groups/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendarView/delta/deltaRequestBuilder.ts b/src/groups/item/calendarView/delta/deltaRequestBuilder.ts index ced33c6861a..1da69a0f757 100644 --- a/src/groups/item/calendarView/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendarView/item/accept/acceptRequestBuilder.ts index 44ae218ea8b..fe57643be4a 100644 --- a/src/groups/item/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index f1ed1fd1f9f..6cb006c281c 100644 --- a/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index fcef3e46c03..f48db4633f7 100644 --- a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index 544132bd2ba..403741f6743 100644 --- a/src/groups/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendarView/item/calendar/calendarRequestBuilder.ts index 5824d3f28cf..b4601585a40 100644 --- a/src/groups/item/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendarView/item/cancel/cancelRequestBuilder.ts index 6835e0d8a7e..ae5a4469019 100644 --- a/src/groups/item/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts b/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/decline/declineRequestBuilder.ts b/src/groups/item/calendarView/item/decline/declineRequestBuilder.ts index 292192688b7..d41dc13f88e 100644 --- a/src/groups/item/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index bdeb51a6002..aa88053059d 100644 --- a/src/groups/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/eventItemRequestBuilder.ts b/src/groups/item/calendarView/item/eventItemRequestBuilder.ts index 98ef3d7f937..66b08587590 100644 --- a/src/groups/item/calendarView/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/eventItemRequestBuilder.ts @@ -154,7 +154,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendarView/item/extensions/extensionsRequestBuilder.ts index a78031bffd6..e7f7aa2e87d 100644 --- a/src/groups/item/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index 2b5a710d312..58fd8faac34 100644 --- a/src/groups/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendarView/item/forward/forwardRequestBuilder.ts index ed504df9d22..e5fd6e9e423 100644 --- a/src/groups/item/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/groups/item/calendarView/item/instances/delta/deltaRequestBuilder.ts index 7ded563bde3..9212d312993 100644 --- a/src/groups/item/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/instancesRequestBuilder.ts b/src/groups/item/calendarView/item/instances/instancesRequestBuilder.ts index 370aa3d422d..8680765748d 100644 --- a/src/groups/item/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index cda811db498..c73ef8c3a73 100644 --- a/src/groups/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 5cc19d64bcd..477a391d245 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index a1cddd39dc1..49695d53281 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 1b7cb95db84..5de2a8663b7 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index 931c0d52ed4..a4c3d58db8e 100644 --- a/src/groups/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index dd7916af77c..ba7fb509e92 100644 --- a/src/groups/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts index c1f924a713f..6dd236658db 100644 --- a/src/groups/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 3e3213f7106..0c8ba4d5029 100644 --- a/src/groups/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/eventItemRequestBuilder.ts index b4bd965b4d2..209196d4541 100644 --- a/src/groups/item/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index fcdadeaa324..c390c9c4db9 100644 --- a/src/groups/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 6090ddba90b..e2377d249ad 100644 --- a/src/groups/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index 8c604576b36..f2a96de06a6 100644 --- a/src/groups/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 195912a5499..81b90462cdf 100644 --- a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 196a7aa4db7..2926737308f 100644 --- a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 15d8ba40a86..c55c0088b8c 100644 --- a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 672bd2a2162..94f76ae3e85 100644 --- a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts index ea851cfd4aa..46ca2e127f2 100644 --- a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts +++ b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCheckGrantedPermissionsForAppPostResponse(checkGr } export function serializeCheckGrantedPermissionsForAppPostResponse(writer: SerializationWriter, checkGrantedPermissionsForAppPostResponse: CheckGrantedPermissionsForAppPostResponse | undefined = {} as CheckGrantedPermissionsForAppPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, checkGrantedPermissionsForAppPostResponse) - writer.writeCollectionOfObjectValues("value", checkGrantedPermissionsForAppPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", checkGrantedPermissionsForAppPostResponse.value, serializeResourceSpecificPermissionGrant); } // tslint:enable // eslint-enable diff --git a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppRequestBuilder.ts b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppRequestBuilder.ts index fd94f441d80..350e0ff74f5 100644 --- a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppRequestBuilder.ts +++ b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppRequestBuilder.ts @@ -58,7 +58,7 @@ export class CheckGrantedPermissionsForAppRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/groups/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index f5cd2346701..2cf04504378 100644 --- a/src/groups/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/groups/item/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/groups/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index 3c0c0d50ef9..0026ebb8ac2 100644 --- a/src/groups/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/groups/item/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/conversationsRequestBuilder.ts b/src/groups/item/conversations/conversationsRequestBuilder.ts index edb75fce48f..2e09cc120d7 100644 --- a/src/groups/item/conversations/conversationsRequestBuilder.ts +++ b/src/groups/item/conversations/conversationsRequestBuilder.ts @@ -110,11 +110,11 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0|Find more info here} */ public post(body: Conversation, requestConfiguration?: ConversationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -141,11 +141,11 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -160,7 +160,7 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversation); return requestInfo; }; diff --git a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts index bbd0b653a73..3a8edcf2ce4 100644 --- a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts @@ -57,9 +57,9 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}"); }; /** - * This API is available in the following national cloud deployments. + * Delete conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -72,10 +72,10 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ConversationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -88,7 +88,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -101,11 +101,11 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -119,7 +119,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/conversationThreadItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/conversationThreadItemRequestBuilder.ts index cd999a978ba..b9decb12c70 100644 --- a/src/groups/item/conversations/item/threads/item/conversationThreadItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/conversationThreadItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationThread); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts index 8fb90c503dd..b13b952fce8 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts @@ -147,7 +147,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 598743e2c27..9257b6602ee 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index ab16586656b..a2d060b821e 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts index 59d2c314d9c..79368231db7 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts @@ -96,7 +96,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -114,7 +114,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts index ee60afdb86a..7169a956c65 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts index a41c1c9c0c9..295f858f075 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts index 1040545cf9a..2876b9f2774 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardRequestBuilder.ts index 53ae87d75c5..f77fe88cc95 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts index ac5e0ece86d..ed014fa7ade 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts @@ -147,7 +147,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 853d6b21376..1c674d945d4 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts index d782d525079..394f6cfde47 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts @@ -96,7 +96,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -114,7 +114,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts index 895cbce91c0..9aab24ef732 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts index b67a46f4bdf..a8ca9c40796 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts index bba5fbba456..05407de0e1d 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts index 7435e460027..6fae8a3eb5c 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts @@ -101,7 +101,7 @@ export class InReplyToRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts index 1161e33c5fb..469a875c9ed 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts index 5b355946d56..fd71b58cf84 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply"); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/item/postItemRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/postItemRequestBuilder.ts index 76b55aa1171..9a3a704fe19 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/postItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/postItemRequestBuilder.ts @@ -108,7 +108,7 @@ export class PostItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts index 87a1a0e9b29..366fb9296a6 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyRequestBuilder.ts index 8e1d90d8d2c..841263514d4 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply"); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts index 83d6949f418..2eb4a123f93 100644 --- a/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts @@ -113,7 +113,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts index b57379e4c85..3a668df8372 100644 --- a/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts index e63c412df5f..d9abf960198 100644 --- a/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply"); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/conversations/item/threads/threadsRequestBuilder.ts b/src/groups/item/conversations/item/threads/threadsRequestBuilder.ts index 359032017a2..65d4f09f3f6 100644 --- a/src/groups/item/conversations/item/threads/threadsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/threadsRequestBuilder.ts @@ -141,7 +141,7 @@ export class ThreadsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ThreadsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationThread); return requestInfo; }; diff --git a/src/groups/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts b/src/groups/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts index 2c59d239faf..7a11998232a 100644 --- a/src/groups/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts +++ b/src/groups/item/createdOnBehalfOf/createdOnBehalfOfRequestBuilder.ts @@ -73,7 +73,7 @@ export class CreatedOnBehalfOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/drive/driveRequestBuilder.ts b/src/groups/item/drive/driveRequestBuilder.ts index 7ff3f30462c..5e9a7ec2194 100644 --- a/src/groups/item/drive/driveRequestBuilder.ts +++ b/src/groups/item/drive/driveRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/drives/drivesRequestBuilder.ts b/src/groups/item/drives/drivesRequestBuilder.ts index 04106e794c5..ce8252c4fee 100644 --- a/src/groups/item/drives/drivesRequestBuilder.ts +++ b/src/groups/item/drives/drivesRequestBuilder.ts @@ -116,7 +116,7 @@ export class DrivesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/drives/item/driveItemRequestBuilder.ts b/src/groups/item/drives/item/driveItemRequestBuilder.ts index 48e90236070..ff9c8c74612 100644 --- a/src/groups/item/drives/item/driveItemRequestBuilder.ts +++ b/src/groups/item/drives/item/driveItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/delta/deltaGetResponse.ts b/src/groups/item/events/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/groups/item/events/delta/deltaGetResponse.ts +++ b/src/groups/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/events/delta/deltaRequestBuilder.ts b/src/groups/item/events/delta/deltaRequestBuilder.ts index 24647edebc8..b0eb0dd8f77 100644 --- a/src/groups/item/events/delta/deltaRequestBuilder.ts +++ b/src/groups/item/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/eventsRequestBuilder.ts b/src/groups/item/events/eventsRequestBuilder.ts index 3b3ac38eafa..0368de68768 100644 --- a/src/groups/item/events/eventsRequestBuilder.ts +++ b/src/groups/item/events/eventsRequestBuilder.ts @@ -144,7 +144,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/groups/item/events/item/accept/acceptRequestBuilder.ts b/src/groups/item/events/item/accept/acceptRequestBuilder.ts index 7709a6ce9e8..f1ec3c43779 100644 --- a/src/groups/item/events/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts index c8f1a3b3bc7..9679cb38d09 100644 --- a/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 62acd081e39..51221da13f5 100644 --- a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/events/item/attachments/item/attachmentItemRequestBuilder.ts index ed8a7f793ba..b4449cb84bb 100644 --- a/src/groups/item/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/calendar/calendarRequestBuilder.ts b/src/groups/item/events/item/calendar/calendarRequestBuilder.ts index 4c2a92819da..ad9ffa498f2 100644 --- a/src/groups/item/events/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/cancel/cancelRequestBuilder.ts b/src/groups/item/events/item/cancel/cancelRequestBuilder.ts index bb50916abd0..978dbfb0343 100644 --- a/src/groups/item/events/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/decline/declinePostRequestBody.ts b/src/groups/item/events/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/groups/item/events/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/decline/declineRequestBuilder.ts b/src/groups/item/events/item/decline/declineRequestBuilder.ts index 48f562b3b46..f7128ad2f67 100644 --- a/src/groups/item/events/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts index 6bf48cd3552..c0fbcd013b6 100644 --- a/src/groups/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/eventItemRequestBuilder.ts b/src/groups/item/events/item/eventItemRequestBuilder.ts index bccc454423c..78668759bbb 100644 --- a/src/groups/item/events/item/eventItemRequestBuilder.ts +++ b/src/groups/item/events/item/eventItemRequestBuilder.ts @@ -196,7 +196,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -214,7 +214,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -233,7 +233,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/groups/item/events/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/events/item/extensions/extensionsRequestBuilder.ts index 1069c22fe2b..d0d8f521422 100644 --- a/src/groups/item/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/events/item/extensions/item/extensionItemRequestBuilder.ts index 111180a2a4e..90d51bad620 100644 --- a/src/groups/item/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/events/item/forward/forwardPostRequestBody.ts b/src/groups/item/events/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/groups/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/forward/forwardRequestBuilder.ts b/src/groups/item/events/item/forward/forwardRequestBuilder.ts index b55572f9a07..5ee81a61481 100644 --- a/src/groups/item/events/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/delta/deltaGetResponse.ts b/src/groups/item/events/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/groups/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/events/item/instances/delta/deltaRequestBuilder.ts b/src/groups/item/events/item/instances/delta/deltaRequestBuilder.ts index e5feb18c123..3a72d9e436b 100644 --- a/src/groups/item/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/groups/item/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/instancesRequestBuilder.ts b/src/groups/item/events/item/instances/instancesRequestBuilder.ts index a675ef2f611..c75dd6f4314 100644 --- a/src/groups/item/events/item/instances/instancesRequestBuilder.ts +++ b/src/groups/item/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/groups/item/events/item/instances/item/accept/acceptRequestBuilder.ts index abc70f2bd58..14b5c2b9ea8 100644 --- a/src/groups/item/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 6e99ecb3a15..621c118d084 100644 --- a/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index fe356be74c6..ed040a864c3 100644 --- a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 0b2311d8f5d..e2d0c28e0f9 100644 --- a/src/groups/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/groups/item/events/item/instances/item/calendar/calendarRequestBuilder.ts index 0c4160c865f..3d9fdbf1c13 100644 --- a/src/groups/item/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/groups/item/events/item/instances/item/cancel/cancelRequestBuilder.ts index 85f1f19474a..716d23b2ef4 100644 --- a/src/groups/item/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/instances/item/decline/declineRequestBuilder.ts b/src/groups/item/events/item/instances/item/decline/declineRequestBuilder.ts index 77bdf554a65..aba8e5b1f41 100644 --- a/src/groups/item/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/groups/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 056e8dec6c6..287cd0218da 100644 --- a/src/groups/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/item/eventItemRequestBuilder.ts b/src/groups/item/events/item/instances/item/eventItemRequestBuilder.ts index 37d87ac1996..204f71acec2 100644 --- a/src/groups/item/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts index b50e6f0d131..0bc531c6973 100644 --- a/src/groups/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 656ba1a16d1..c7da0832aed 100644 --- a/src/groups/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/groups/item/events/item/instances/item/forward/forwardRequestBuilder.ts index 02626fe4cdb..a2368425616 100644 --- a/src/groups/item/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index cf73d143fc0..4e167a7180a 100644 --- a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 2dda06e7efd..440a5e7469c 100644 --- a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/groups/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 686658ac630..e6fc3710be0 100644 --- a/src/groups/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/groups/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index d8b988a8db2..873d74469fb 100644 --- a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/extensions/extensionsRequestBuilder.ts index a145506ddfd..accb86a4559 100644 --- a/src/groups/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/extensions/item/extensionItemRequestBuilder.ts index 973ec56deee..34248433f24 100644 --- a/src/groups/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/groups/item/getMemberGroups/getMemberGroupsRequestBuilder.ts index f367c6ddaa0..c3128ed64a6 100644 --- a/src/groups/item/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/groups/item/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/groups/item/getMemberObjects/getMemberObjectsRequestBuilder.ts index fe37360753f..30e17d084a2 100644 --- a/src/groups/item/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/groups/item/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/groupItemRequestBuilder.ts b/src/groups/item/groupItemRequestBuilder.ts index b095b3f0442..9e48716e36f 100644 --- a/src/groups/item/groupItemRequestBuilder.ts +++ b/src/groups/item/groupItemRequestBuilder.ts @@ -425,7 +425,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -443,7 +443,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -462,7 +462,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts b/src/groups/item/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts index 8dcbd7f4d8e..c7dd73e3b4c 100644 --- a/src/groups/item/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts +++ b/src/groups/item/groupLifecyclePolicies/groupLifecyclePoliciesRequestBuilder.ts @@ -144,7 +144,7 @@ export class GroupLifecyclePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class GroupLifecyclePoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupLifecyclePolicy); return requestInfo; }; diff --git a/src/groups/item/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts b/src/groups/item/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts index 6f5347dee82..1335b21bca2 100644 --- a/src/groups/item/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts +++ b/src/groups/item/groupLifecyclePolicies/item/addGroup/addGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts b/src/groups/item/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts index be507d0c219..4a1bed534dc 100644 --- a/src/groups/item/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts +++ b/src/groups/item/groupLifecyclePolicies/item/groupLifecyclePolicyItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class GroupLifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupLifecyclePolicy); return requestInfo; }; diff --git a/src/groups/item/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts b/src/groups/item/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts index 7c759e33ae6..553a39e56f5 100644 --- a/src/groups/item/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts +++ b/src/groups/item/groupLifecyclePolicies/item/removeGroup/removeGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class RemoveGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemoveGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/groups/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 983741fd7f0..5bfcb5df755 100644 --- a/src/groups/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/groups/item/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/memberOf/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/memberOf/graphGroup/graphGroupRequestBuilder.ts index a26e821caab..624579f8bf3 100644 --- a/src/groups/item/memberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/memberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/memberOf/item/directoryObjectItemRequestBuilder.ts b/src/groups/item/memberOf/item/directoryObjectItemRequestBuilder.ts index 20d449d7d40..e8537968afb 100644 --- a/src/groups/item/memberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/groups/item/memberOf/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/groups/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index c3c7c270f90..c65ae0905f7 100644 --- a/src/groups/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/groups/item/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts index 870085951c8..da22409cc20 100644 --- a/src/groups/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/memberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/memberOf/memberOfRequestBuilder.ts b/src/groups/item/memberOf/memberOfRequestBuilder.ts index ff7a510f900..5ab8360e0cd 100644 --- a/src/groups/item/memberOf/memberOfRequestBuilder.ts +++ b/src/groups/item/memberOf/memberOfRequestBuilder.ts @@ -131,7 +131,7 @@ export class MemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/members/graphApplication/graphApplicationRequestBuilder.ts index 658d73ffd63..90d5f1797e2 100644 --- a/src/groups/item/members/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/members/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/members/graphDevice/graphDeviceRequestBuilder.ts index 7a41d64012e..931dcb5c7fa 100644 --- a/src/groups/item/members/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/members/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/members/graphGroup/graphGroupRequestBuilder.ts index d54fe8a1f03..a8e0cebe6dc 100644 --- a/src/groups/item/members/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/members/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts index 8ae8c8203ed..bfd17de2aad 100644 --- a/src/groups/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/members/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index c933b77753f..39f0da04004 100644 --- a/src/groups/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/members/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/graphUser/graphUserRequestBuilder.ts b/src/groups/item/members/graphUser/graphUserRequestBuilder.ts index 14d6b2c9c1f..8bb5cb05088 100644 --- a/src/groups/item/members/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/members/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/members/item/graphApplication/graphApplicationRequestBuilder.ts index 1fd5f0bf6fe..d13817a1f41 100644 --- a/src/groups/item/members/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/members/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/members/item/graphDevice/graphDeviceRequestBuilder.ts index 95289ce8e73..694f72693a4 100644 --- a/src/groups/item/members/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/members/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/members/item/graphGroup/graphGroupRequestBuilder.ts index 918c8eb85e7..fac2bc25a0c 100644 --- a/src/groups/item/members/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/members/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts index 1b3055673e4..795d121da1c 100644 --- a/src/groups/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/members/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index ac3666b3070..339c6b5f05d 100644 --- a/src/groups/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/members/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/graphUser/graphUserRequestBuilder.ts b/src/groups/item/members/item/graphUser/graphUserRequestBuilder.ts index 4cbed3b3069..967e23892f8 100644 --- a/src/groups/item/members/item/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/members/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/item/ref/refRequestBuilder.ts b/src/groups/item/members/item/ref/refRequestBuilder.ts index 6078728ba6a..e422ed598af 100644 --- a/src/groups/item/members/item/ref/refRequestBuilder.ts +++ b/src/groups/item/members/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/membersRequestBuilder.ts b/src/groups/item/members/membersRequestBuilder.ts index 29f01a324fd..3bc531f1525 100644 --- a/src/groups/item/members/membersRequestBuilder.ts +++ b/src/groups/item/members/membersRequestBuilder.ts @@ -166,7 +166,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/members/ref/refRequestBuilder.ts b/src/groups/item/members/ref/refRequestBuilder.ts index 3f6da137ef7..07a3a020a26 100644 --- a/src/groups/item/members/ref/refRequestBuilder.ts +++ b/src/groups/item/members/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/groups/item/membersWithLicenseErrors/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphApplication/graphApplicationRequestBuilder.ts index f943a43f34c..f887e63edfd 100644 --- a/src/groups/item/membersWithLicenseErrors/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphDevice/graphDeviceRequestBuilder.ts index 63a0c442c70..b1bbc6f3fa7 100644 --- a/src/groups/item/membersWithLicenseErrors/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphGroup/graphGroupRequestBuilder.ts index 7b56a3626a3..d9274053522 100644 --- a/src/groups/item/membersWithLicenseErrors/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphOrgContact/graphOrgContactRequestBuilder.ts index 900ea946940..7ee7face7ef 100644 --- a/src/groups/item/membersWithLicenseErrors/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 895afef0121..90d7991c497 100644 --- a/src/groups/item/membersWithLicenseErrors/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/graphUser/graphUserRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/graphUser/graphUserRequestBuilder.ts index 57fdb482231..f14577a5413 100644 --- a/src/groups/item/membersWithLicenseErrors/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/directoryObjectItemRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/directoryObjectItemRequestBuilder.ts index bc3da9ff7ad..e7699533a49 100644 --- a/src/groups/item/membersWithLicenseErrors/item/directoryObjectItemRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/directoryObjectItemRequestBuilder.ts @@ -115,7 +115,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphApplication/graphApplicationRequestBuilder.ts index 79f53dac5f2..af79a0e1da0 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphDevice/graphDeviceRequestBuilder.ts index 1fb980af6ec..925f825fcb8 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphGroup/graphGroupRequestBuilder.ts index eb2227dbdb1..feb796f46f4 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphOrgContact/graphOrgContactRequestBuilder.ts index b83f7cc2f58..3e2da45c3be 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 321cf765340..03bf8d8e176 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/item/graphUser/graphUserRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/item/graphUser/graphUserRequestBuilder.ts index 0174903ce7b..940d923c36e 100644 --- a/src/groups/item/membersWithLicenseErrors/item/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/membersWithLicenseErrors/membersWithLicenseErrorsRequestBuilder.ts b/src/groups/item/membersWithLicenseErrors/membersWithLicenseErrorsRequestBuilder.ts index eb4bdf84de7..9c121f54106 100644 --- a/src/groups/item/membersWithLicenseErrors/membersWithLicenseErrorsRequestBuilder.ts +++ b/src/groups/item/membersWithLicenseErrors/membersWithLicenseErrorsRequestBuilder.ts @@ -158,7 +158,7 @@ export class MembersWithLicenseErrorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts b/src/groups/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts index 593b0998ad1..c48b73a44ca 100644 --- a/src/groups/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetNotebookFromWebUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetNotebookFromWebUrlPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 35428c8deb3..9e139d24770 100644 --- a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts index cc6e5506f41..863692c67c4 100644 --- a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts @@ -87,7 +87,7 @@ export class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts index 0927d684b43..e5b576657fa 100644 --- a/src/groups/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/notebookItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/notebookItemRequestBuilder.ts index 1fc5d4bfa55..86fcf26f716 100644 --- a/src/groups/item/onenote/notebooks/item/notebookItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/notebookItemRequestBuilder.ts @@ -143,7 +143,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index 2d98a1a304d..0768dc8ff2a 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index d50e8631cc1..5ed03f702f0 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index fd19d153008..b5cd537e6dc 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 02553eb53e6..5f27f4a3624 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index 099010f47f6..82e74b1aea3 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 005f047d74e..0a6ecc28256 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 98abe3b3192..fb7cafda6e5 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index 79b09997972..ce7bf3e5225 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index f8b47b65762..de0305467ef 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 74a0c4e31b3..94386f13ab8 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 1d24a76653f..38eccad474a 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 2c1ff87b383..f103c4f3d7b 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index f0816273a06..aeacd5493f9 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index 43df3682847..5dff1eca886 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 86c71fe4783..6c074b43738 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index ed6fb680fc7..7a7fe9d89ee 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 0b3bef3be11..10566fb1a79 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index b87e6821cf4..c846bb57c61 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts index c5a4940c198..64fc5ab93ae 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts index 51f5bd83b40..f9e62c4f8c7 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 365bd811ab6..d5bf8d3ff21 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 725b2721947..9735794e7c9 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts index 9afd9793992..4f4030393c1 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts index 46f02722b9b..b318c5b8c45 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index fabec7a44a2..6b1efde4606 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index f53d258fdb7..e6daf2430dc 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index ca6dee3945d..fa712401643 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 77e0db4f994..24e3c1dfcd1 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index bc8ca2e16be..e16dc6e592b 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 7d7245a6a57..afe45a9f0a9 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts index 2baacd49fe2..ef7222e8cd7 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 7a7a753a9b9..7b8543c88b4 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index d051923da79..fa359328503 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts b/src/groups/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts index b4f9625d0a3..804c542f007 100644 --- a/src/groups/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/notebooks/notebooksRequestBuilder.ts b/src/groups/item/onenote/notebooks/notebooksRequestBuilder.ts index 3a213d73029..34c031a425c 100644 --- a/src/groups/item/onenote/notebooks/notebooksRequestBuilder.ts +++ b/src/groups/item/onenote/notebooks/notebooksRequestBuilder.ts @@ -162,7 +162,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/groups/item/onenote/onenoteRequestBuilder.ts b/src/groups/item/onenote/onenoteRequestBuilder.ts index 461ddc3e710..1b5484f13ea 100644 --- a/src/groups/item/onenote/onenoteRequestBuilder.ts +++ b/src/groups/item/onenote/onenoteRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenote); return requestInfo; }; diff --git a/src/groups/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts b/src/groups/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts index 5902e37fa67..ed6819eb432 100644 --- a/src/groups/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts +++ b/src/groups/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/groups/item/onenote/operations/operationsRequestBuilder.ts b/src/groups/item/onenote/operations/operationsRequestBuilder.ts index 0d1e205fee9..9345e4d10e4 100644 --- a/src/groups/item/onenote/operations/operationsRequestBuilder.ts +++ b/src/groups/item/onenote/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/groups/item/onenote/pages/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/pages/item/content/contentRequestBuilder.ts index c3107579249..0a703e9fd4d 100644 --- a/src/groups/item/onenote/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 5a756e755c4..ac3bd7955a1 100644 --- a/src/groups/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/onenote/pages/item/onenotePageItemRequestBuilder.ts index af5527faea1..857331bfebc 100644 --- a/src/groups/item/onenote/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/onenotePageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 92d55e0ca96..c24c48eedf2 100644 --- a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 350d5a9b39b..dd4b0b53ca0 100644 --- a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 635e1f8a267..aaac5a0cfa6 100644 --- a/src/groups/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts index e0ccbccb6a1..7d540e3e4d2 100644 --- a/src/groups/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/onenote/pages/item/preview/previewRequestBuilder.ts index 0f2f1d06690..03d29abb708 100644 --- a/src/groups/item/onenote/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/onenote/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/pages/pagesRequestBuilder.ts b/src/groups/item/onenote/pages/pagesRequestBuilder.ts index fc094117a26..2d365c58c82 100644 --- a/src/groups/item/onenote/pages/pagesRequestBuilder.ts +++ b/src/groups/item/onenote/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/resources/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/resources/item/content/contentRequestBuilder.ts index 34d720ea265..7d337b6b58f 100644 --- a/src/groups/item/onenote/resources/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/resources/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts b/src/groups/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts index e59966f736b..3c6bc9988ec 100644 --- a/src/groups/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts +++ b/src/groups/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/groups/item/onenote/resources/resourcesRequestBuilder.ts b/src/groups/item/onenote/resources/resourcesRequestBuilder.ts index ef140207b27..384504edd14 100644 --- a/src/groups/item/onenote/resources/resourcesRequestBuilder.ts +++ b/src/groups/item/onenote/resources/resourcesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index a154ecdaa6e..47068a5efa4 100644 --- a/src/groups/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 975b2ca22c7..2bcb8f8733e 100644 --- a/src/groups/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts index cd95ede1fac..a5add441907 100644 --- a/src/groups/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -150,7 +150,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index bbc9f112418..4119e51ec02 100644 --- a/src/groups/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index 62be8c24d82..3baf24ed26c 100644 --- a/src/groups/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index d5e58e3ac34..7d8ef868fb4 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 61b07d09142..de2535f57c0 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index acc97493402..0e2251d7de7 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index 29060141f8c..fb59a0ae3fd 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index b62c22666ca..f59e0e077b6 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 749ca799af5..73b6de9d5bc 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 414b5366525..5fec1be421e 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index b378105c67b..f7dd0009e6d 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index 0ee062a699e..52e59bea672 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 55c96f5773c..a4e0e9ad97e 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index 6ab0ef8743f..829c956f296 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 15f838538ed..27ff9225034 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 56faebb89f1..45ff3686334 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts index a2313b6a7e2..1906694ccfa 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts index 3ddc35e4955..71cb3b72e23 100644 --- a/src/groups/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 3a8fcb302d4..f343035500f 100644 --- a/src/groups/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 113386e354a..4a6e1f3f297 100644 --- a/src/groups/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts index b4228ce23c5..0217531937f 100644 --- a/src/groups/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts index 615dcfd4ab2..7be5bb5ac91 100644 --- a/src/groups/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 7b303883c86..3c6f443d656 100644 --- a/src/groups/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts index bb1676b4065..cd7ebe100e0 100644 --- a/src/groups/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 8c5c615c9aa..88f8cace3bc 100644 --- a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 33d461a3f69..b459473524f 100644 --- a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index b666fa706b8..25b1ef0a188 100644 --- a/src/groups/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index edd52709af9..4d5e16c8522 100644 --- a/src/groups/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts index ddf40c72bec..73be0d8371e 100644 --- a/src/groups/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/onenote/sections/item/pages/pagesRequestBuilder.ts index 6c242aea0bc..1631b581bda 100644 --- a/src/groups/item/onenote/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 12945308ed9..7de42416f65 100644 --- a/src/groups/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 33338d68fc4..560ee0dcddd 100644 --- a/src/groups/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/onenote/sections/sectionsRequestBuilder.ts b/src/groups/item/onenote/sections/sectionsRequestBuilder.ts index 75cc246f1cf..02537d47179 100644 --- a/src/groups/item/onenote/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/onenote/sections/sectionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/owners/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/owners/graphApplication/graphApplicationRequestBuilder.ts index 20796977280..76c2b80a1bf 100644 --- a/src/groups/item/owners/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/owners/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/owners/graphDevice/graphDeviceRequestBuilder.ts index 7395d007363..6a328fabb48 100644 --- a/src/groups/item/owners/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/owners/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/owners/graphGroup/graphGroupRequestBuilder.ts index ccd6b9720d3..61c259899c0 100644 --- a/src/groups/item/owners/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/owners/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/owners/graphOrgContact/graphOrgContactRequestBuilder.ts index 44f421d7d3d..23dfd81d3e7 100644 --- a/src/groups/item/owners/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/owners/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 822c6ca9e66..39824610951 100644 --- a/src/groups/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/owners/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/graphUser/graphUserRequestBuilder.ts b/src/groups/item/owners/graphUser/graphUserRequestBuilder.ts index 60cfa6d6563..cf85d91c692 100644 --- a/src/groups/item/owners/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/owners/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/owners/item/graphApplication/graphApplicationRequestBuilder.ts index 11b684d7a6c..a914af3a54f 100644 --- a/src/groups/item/owners/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/owners/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/owners/item/graphDevice/graphDeviceRequestBuilder.ts index 70933dc283a..187f3db8dcf 100644 --- a/src/groups/item/owners/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/owners/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/owners/item/graphGroup/graphGroupRequestBuilder.ts index 409f889aefb..6139da215d5 100644 --- a/src/groups/item/owners/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/owners/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/owners/item/graphOrgContact/graphOrgContactRequestBuilder.ts index 14cab5b15a1..9f707896135 100644 --- a/src/groups/item/owners/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/owners/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 8e65c32670d..993516a3173 100644 --- a/src/groups/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/owners/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/graphUser/graphUserRequestBuilder.ts b/src/groups/item/owners/item/graphUser/graphUserRequestBuilder.ts index 48d21f91046..80aafbcb0c8 100644 --- a/src/groups/item/owners/item/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/owners/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/item/ref/refRequestBuilder.ts b/src/groups/item/owners/item/ref/refRequestBuilder.ts index 776bad57b42..636994b7e8f 100644 --- a/src/groups/item/owners/item/ref/refRequestBuilder.ts +++ b/src/groups/item/owners/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/ownersRequestBuilder.ts b/src/groups/item/owners/ownersRequestBuilder.ts index cc466d61a78..9a349f68311 100644 --- a/src/groups/item/owners/ownersRequestBuilder.ts +++ b/src/groups/item/owners/ownersRequestBuilder.ts @@ -166,7 +166,7 @@ export class OwnersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/owners/ref/refRequestBuilder.ts b/src/groups/item/owners/ref/refRequestBuilder.ts index 616445930cf..6014c09674c 100644 --- a/src/groups/item/owners/ref/refRequestBuilder.ts +++ b/src/groups/item/owners/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/groups/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts b/src/groups/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts index 9ec6a1f8637..d58c3846e84 100644 --- a/src/groups/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts +++ b/src/groups/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/groups/item/permissionGrants/permissionGrantsRequestBuilder.ts b/src/groups/item/permissionGrants/permissionGrantsRequestBuilder.ts index e27102ce48e..4ac109ba77f 100644 --- a/src/groups/item/permissionGrants/permissionGrantsRequestBuilder.ts +++ b/src/groups/item/permissionGrants/permissionGrantsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/groups/item/photo/photoRequestBuilder.ts b/src/groups/item/photo/photoRequestBuilder.ts index af13ceef01c..3da1290d379 100644 --- a/src/groups/item/photo/photoRequestBuilder.ts +++ b/src/groups/item/photo/photoRequestBuilder.ts @@ -124,7 +124,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/groups/item/photo/value/contentRequestBuilder.ts b/src/groups/item/photo/value/contentRequestBuilder.ts index a60f10b8eb2..3fc301ce1a5 100644 --- a/src/groups/item/photo/value/contentRequestBuilder.ts +++ b/src/groups/item/photo/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/photos/item/profilePhotoItemRequestBuilder.ts b/src/groups/item/photos/item/profilePhotoItemRequestBuilder.ts index 543d888090a..b0945ce4654 100644 --- a/src/groups/item/photos/item/profilePhotoItemRequestBuilder.ts +++ b/src/groups/item/photos/item/profilePhotoItemRequestBuilder.ts @@ -76,7 +76,7 @@ export class ProfilePhotoItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/photos/item/value/contentRequestBuilder.ts b/src/groups/item/photos/item/value/contentRequestBuilder.ts index 0ba9682426c..4f80444d435 100644 --- a/src/groups/item/photos/item/value/contentRequestBuilder.ts +++ b/src/groups/item/photos/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/photos/photosRequestBuilder.ts b/src/groups/item/photos/photosRequestBuilder.ts index e3ff7a0080f..61b126e0763 100644 --- a/src/groups/item/photos/photosRequestBuilder.ts +++ b/src/groups/item/photos/photosRequestBuilder.ts @@ -5,15 +5,10 @@ import { type ProfilePhotoCollectionResponse } from '../../../models/'; import { type ODataError } from '../../../models/oDataErrors/'; import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError'; import { createProfilePhotoCollectionResponseFromDiscriminatorValue } from '../../../models/profilePhotoCollectionResponse'; -import { CountRequestBuilder } from './count/countRequestBuilder'; import { ProfilePhotoItemRequestBuilder } from './item/profilePhotoItemRequestBuilder'; import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; export interface PhotosRequestBuilderGetQueryParameters { - /** - * Include count of items - */ - count?: boolean; /** * Filter items by property values */ @@ -53,12 +48,6 @@ export interface PhotosRequestBuilderGetRequestConfiguration { * Provides operations to manage the photos property of the microsoft.graph.group entity. */ export class PhotosRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - */ - public get count(): CountRequestBuilder { - return new CountRequestBuilder(this.pathParameters, this.requestAdapter); - } /** * Provides operations to manage the photos property of the microsoft.graph.group entity. * @param profilePhotoId The unique identifier of profilePhoto @@ -76,7 +65,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}"); + super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}"); }; /** * Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. @@ -109,7 +98,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/planner/plannerRequestBuilder.ts b/src/groups/item/planner/plannerRequestBuilder.ts index 5c7cb9f9e7c..e58ca1489e2 100644 --- a/src/groups/item/planner/plannerRequestBuilder.ts +++ b/src/groups/item/planner/plannerRequestBuilder.ts @@ -128,7 +128,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerGroup); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/bucketsRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/bucketsRequestBuilder.ts index f0ffa146b60..080762f4a3c 100644 --- a/src/groups/item/planner/plans/item/buckets/bucketsRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/bucketsRequestBuilder.ts @@ -144,7 +144,7 @@ export class BucketsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class BucketsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucket); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts index 021e1b59098..361c7c0fb30 100644 --- a/src/groups/item/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucket); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts index 89eabdc170f..383262e4867 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerAssignedToTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts index 70a0aed5183..b204fed2416 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucketTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts index 809d514e565..2e9c7cea0b3 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTaskDetails); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts index b40f003fa4d..c69108e7cb7 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts index d1a674e8a57..2cce243b859 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerProgressTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts b/src/groups/item/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts index c60198bef75..8df0b7a6bd5 100644 --- a/src/groups/item/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts @@ -144,7 +144,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/details/detailsRequestBuilder.ts b/src/groups/item/planner/plans/item/details/detailsRequestBuilder.ts index 4f7e8f567c4..a4a710842fe 100644 --- a/src/groups/item/planner/plans/item/details/detailsRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlanDetails); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/plannerPlanItemRequestBuilder.ts b/src/groups/item/planner/plans/item/plannerPlanItemRequestBuilder.ts index 0abba3ba2c9..32eb1d29a76 100644 --- a/src/groups/item/planner/plans/item/plannerPlanItemRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/plannerPlanItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlan); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts index b447dd185c9..e502350420e 100644 --- a/src/groups/item/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerAssignedToTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts index d15e598feca..3bade2bef35 100644 --- a/src/groups/item/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucketTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts index 70253e8ca64..dd2d3eaf9cf 100644 --- a/src/groups/item/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTaskDetails); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts index d99dac83802..30a27307804 100644 --- a/src/groups/item/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts index 8edcda0964a..238e19456a1 100644 --- a/src/groups/item/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerProgressTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/groups/item/planner/plans/item/tasks/tasksRequestBuilder.ts b/src/groups/item/planner/plans/item/tasks/tasksRequestBuilder.ts index 4c85d0ada93..50106431023 100644 --- a/src/groups/item/planner/plans/item/tasks/tasksRequestBuilder.ts +++ b/src/groups/item/planner/plans/item/tasks/tasksRequestBuilder.ts @@ -144,7 +144,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/groups/item/planner/plans/plansRequestBuilder.ts b/src/groups/item/planner/plans/plansRequestBuilder.ts index d340e353f88..3bfbfba386e 100644 --- a/src/groups/item/planner/plans/plansRequestBuilder.ts +++ b/src/groups/item/planner/plans/plansRequestBuilder.ts @@ -144,7 +144,7 @@ export class PlansRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PlansRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlan); return requestInfo; }; diff --git a/src/groups/item/rejectedSenders/item/ref/refRequestBuilder.ts b/src/groups/item/rejectedSenders/item/ref/refRequestBuilder.ts index d4e5ffad0e1..13ca7c78c37 100644 --- a/src/groups/item/rejectedSenders/item/ref/refRequestBuilder.ts +++ b/src/groups/item/rejectedSenders/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/rejectedSenders/ref/refRequestBuilder.ts b/src/groups/item/rejectedSenders/ref/refRequestBuilder.ts index 815053c542a..f09bc6c2dcc 100644 --- a/src/groups/item/rejectedSenders/ref/refRequestBuilder.ts +++ b/src/groups/item/rejectedSenders/ref/refRequestBuilder.ts @@ -113,7 +113,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -132,7 +132,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/groups/item/rejectedSenders/rejectedSendersRequestBuilder.ts b/src/groups/item/rejectedSenders/rejectedSendersRequestBuilder.ts index b8c31886a0d..7574add2d93 100644 --- a/src/groups/item/rejectedSenders/rejectedSendersRequestBuilder.ts +++ b/src/groups/item/rejectedSenders/rejectedSendersRequestBuilder.ts @@ -116,7 +116,7 @@ export class RejectedSendersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/removeFavorite/removeFavoriteRequestBuilder.ts b/src/groups/item/removeFavorite/removeFavoriteRequestBuilder.ts index b2e4cec9596..e97a5391e52 100644 --- a/src/groups/item/removeFavorite/removeFavoriteRequestBuilder.ts +++ b/src/groups/item/removeFavorite/removeFavoriteRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveFavoriteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/renew/renewRequestBuilder.ts b/src/groups/item/renew/renewRequestBuilder.ts index 50d11a763db..ffd8e57fce6 100644 --- a/src/groups/item/renew/renewRequestBuilder.ts +++ b/src/groups/item/renew/renewRequestBuilder.ts @@ -56,7 +56,7 @@ export class RenewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/resetUnseenCount/resetUnseenCountRequestBuilder.ts b/src/groups/item/resetUnseenCount/resetUnseenCountRequestBuilder.ts index f45bb86e770..980ea8dded8 100644 --- a/src/groups/item/resetUnseenCount/resetUnseenCountRequestBuilder.ts +++ b/src/groups/item/resetUnseenCount/resetUnseenCountRequestBuilder.ts @@ -56,7 +56,7 @@ export class ResetUnseenCountRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/restore/restoreRequestBuilder.ts b/src/groups/item/restore/restoreRequestBuilder.ts index 87f616532c9..a8fe9083ebe 100644 --- a/src/groups/item/restore/restoreRequestBuilder.ts +++ b/src/groups/item/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts b/src/groups/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts index 8de1ab9c71c..4a6107edbef 100644 --- a/src/groups/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts +++ b/src/groups/item/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts @@ -55,7 +55,7 @@ export class RetryServiceProvisioningRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 8de13ef2c6e..4cbd9f88b40 100644 --- a/src/groups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/settings/item/groupSettingItemRequestBuilder.ts b/src/groups/item/settings/item/groupSettingItemRequestBuilder.ts index 2afa04624fe..1a46fc644fb 100644 --- a/src/groups/item/settings/item/groupSettingItemRequestBuilder.ts +++ b/src/groups/item/settings/item/groupSettingItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class GroupSettingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSetting); return requestInfo; }; diff --git a/src/groups/item/settings/settingsRequestBuilder.ts b/src/groups/item/settings/settingsRequestBuilder.ts index 98d578e7a3c..35451e49c98 100644 --- a/src/groups/item/settings/settingsRequestBuilder.ts +++ b/src/groups/item/settings/settingsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroupSetting); return requestInfo; }; diff --git a/src/groups/item/sites/add/addPostRequestBody.ts b/src/groups/item/sites/add/addPostRequestBody.ts index 584fc71b54f..6451be44839 100644 --- a/src/groups/item/sites/add/addPostRequestBody.ts +++ b/src/groups/item/sites/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, ); + writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, serializeSite); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/add/addPostResponse.ts b/src/groups/item/sites/add/addPostResponse.ts index 87d920dd827..3cbf7020b1a 100644 --- a/src/groups/item/sites/add/addPostResponse.ts +++ b/src/groups/item/sites/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/add/addRequestBuilder.ts b/src/groups/item/sites/add/addRequestBuilder.ts index a23a870e210..053f07e902b 100644 --- a/src/groups/item/sites/add/addRequestBuilder.ts +++ b/src/groups/item/sites/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/delta/deltaGetResponse.ts b/src/groups/item/sites/delta/deltaGetResponse.ts index ed070d2532b..63a492d622e 100644 --- a/src/groups/item/sites/delta/deltaGetResponse.ts +++ b/src/groups/item/sites/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/delta/deltaRequestBuilder.ts b/src/groups/item/sites/delta/deltaRequestBuilder.ts index 5c0830c39e3..b69f72ba600 100644 --- a/src/groups/item/sites/delta/deltaRequestBuilder.ts +++ b/src/groups/item/sites/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts b/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts index 573590de5d8..6b9118baf24 100644 --- a/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts +++ b/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllSitesGetResponse extends BaseCollectionPaginationCountRes } export function serializeGetAllSitesGetResponse(writer: SerializationWriter, getAllSitesGetResponse: GetAllSitesGetResponse | undefined = {} as GetAllSitesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllSitesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllSitesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllSitesGetResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/getAllSites/getAllSitesRequestBuilder.ts b/src/groups/item/sites/getAllSites/getAllSitesRequestBuilder.ts index f8e04805e9d..db305267941 100644 --- a/src/groups/item/sites/getAllSites/getAllSitesRequestBuilder.ts +++ b/src/groups/item/sites/getAllSites/getAllSitesRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetAllSitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/analytics/allTime/allTimeRequestBuilder.ts b/src/groups/item/sites/item/analytics/allTime/allTimeRequestBuilder.ts index 3460d794262..43cc73d466c 100644 --- a/src/groups/item/sites/item/analytics/allTime/allTimeRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/allTime/allTimeRequestBuilder.ts @@ -74,7 +74,7 @@ export class AllTimeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/analytics/analyticsRequestBuilder.ts b/src/groups/item/sites/item/analytics/analyticsRequestBuilder.ts index 9530de78ba7..4ba269fdbef 100644 --- a/src/groups/item/sites/item/analytics/analyticsRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/analyticsRequestBuilder.ts @@ -142,7 +142,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemAnalytics); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts index ce528574252..68a29266e1d 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/activitiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivity); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts index 1c96d2a5c42..8246334a8ab 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts index f6e5cd86ef2..0dadefc3744 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/driveItem/driveItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts index bff34c2cc37..5cc1944450a 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/item/activities/item/itemActivityItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ItemActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivity); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts index fd1eec12862..56596512cbe 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/item/itemActivityStatItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ItemActivityStatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivityStat); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts b/src/groups/item/sites/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts index 1296b2a78ba..a295f8c1135 100644 --- a/src/groups/item/sites/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/itemActivityStats/itemActivityStatsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ItemActivityStatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ItemActivityStatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeItemActivityStat); return requestInfo; }; diff --git a/src/groups/item/sites/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts b/src/groups/item/sites/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts index 4458b9c43a9..60df58adb0f 100644 --- a/src/groups/item/sites/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts +++ b/src/groups/item/sites/item/analytics/lastSevenDays/lastSevenDaysRequestBuilder.ts @@ -73,7 +73,7 @@ export class LastSevenDaysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/columns/columnsRequestBuilder.ts b/src/groups/item/sites/item/columns/columnsRequestBuilder.ts index 2975e4fb6af..947b8133482 100644 --- a/src/groups/item/sites/item/columns/columnsRequestBuilder.ts +++ b/src/groups/item/sites/item/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/columns/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/columns/item/columnDefinitionItemRequestBuilder.ts index cdd82a3fc39..0dc692a14c7 100644 --- a/src/groups/item/sites/item/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/columns/item/columnDefinitionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/groups/item/sites/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index 50e98cb2e62..6e98120f636 100644 --- a/src/groups/item/sites/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/groups/item/sites/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/addCopy/addCopyRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/addCopy/addCopyRequestBuilder.ts index e2d87ffb767..353279b6387 100644 --- a/src/groups/item/sites/item/contentTypes/addCopy/addCopyRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/addCopy/addCopyRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts index 01ec6c5d086..0ea5607dab4 100644 --- a/src/groups/item/sites/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyFromContentTypeHubRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyFromContentTypeHubPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/contentTypesRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/contentTypesRequestBuilder.ts index a9809c3d599..356f98087dc 100644 --- a/src/groups/item/sites/item/contentTypes/contentTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/contentTypesRequestBuilder.ts @@ -166,7 +166,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -185,7 +185,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index cc1b9072314..3aab799089c 100644 --- a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts index 47cede65219..a93128ef1c2 100644 --- a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts index 7f23b10ee68..7949effabbb 100644 --- a/src/groups/item/sites/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssociateWithHubSitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssociateWithHubSitesPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts index 7c383d8e76a..c76446de491 100644 --- a/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -73,7 +73,7 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts index f100001b47c..c3d6977651e 100644 --- a/src/groups/item/sites/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts @@ -116,7 +116,7 @@ export class BaseTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts index c08745d0150..a7f6dba4a27 100644 --- a/src/groups/item/sites/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts index 61278b0f1f8..91c1e18a687 100644 --- a/src/groups/item/sites/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts @@ -143,7 +143,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts index cf32b0c0177..101e766cae0 100644 --- a/src/groups/item/sites/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts index 45a62b29757..5289197807e 100644 --- a/src/groups/item/sites/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ColumnPositionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts index 24d0e308d8f..dc66527a31a 100644 --- a/src/groups/item/sites/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/columns/columnsRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columns/columnsRequestBuilder.ts index d1140a3a908..7fcd37e8c18 100644 --- a/src/groups/item/sites/item/contentTypes/item/columns/columnsRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts index 9f615b78208..a812e49d8e0 100644 --- a/src/groups/item/sites/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index 35f047e3941..86e578b91dd 100644 --- a/src/groups/item/sites/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/contentTypeItemRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/contentTypeItemRequestBuilder.ts index 49681bd3039..8f2611f9bc4 100644 --- a/src/groups/item/sites/item/contentTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/contentTypeItemRequestBuilder.ts @@ -194,7 +194,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -212,7 +212,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -231,7 +231,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index 1927de2f776..f8841fd2804 100644 --- a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts index 6f648032405..b1784c839bd 100644 --- a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts @@ -60,7 +60,7 @@ export class CopyToDefaultContentLocationRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToDefaultContentLocationPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts index 822de151ef1..8c59dba8cee 100644 --- a/src/groups/item/sites/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts @@ -58,7 +58,7 @@ export class IsPublishedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/publish/publishRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/publish/publishRequestBuilder.ts index 93bd664947c..216bfdb01ff 100644 --- a/src/groups/item/sites/item/contentTypes/item/publish/publishRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/publish/publishRequestBuilder.ts @@ -56,7 +56,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts b/src/groups/item/sites/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts index 3525e96445f..97e15da4425 100644 --- a/src/groups/item/sites/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts +++ b/src/groups/item/sites/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnpublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/createdByUser/createdByUserRequestBuilder.ts b/src/groups/item/sites/item/createdByUser/createdByUserRequestBuilder.ts index 73b8e8edb8c..d3669eddb37 100644 --- a/src/groups/item/sites/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index d4b76529579..41415cc7125 100644 --- a/src/groups/item/sites/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index c258e6dc563..3da7f3dc520 100644 --- a/src/groups/item/sites/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/drive/driveRequestBuilder.ts b/src/groups/item/sites/item/drive/driveRequestBuilder.ts index b9bc891d405..36b8cdc9d54 100644 --- a/src/groups/item/sites/item/drive/driveRequestBuilder.ts +++ b/src/groups/item/sites/item/drive/driveRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/drives/drivesRequestBuilder.ts b/src/groups/item/sites/item/drives/drivesRequestBuilder.ts index 78babf4fbd7..7f9ccf50d51 100644 --- a/src/groups/item/sites/item/drives/drivesRequestBuilder.ts +++ b/src/groups/item/sites/item/drives/drivesRequestBuilder.ts @@ -116,7 +116,7 @@ export class DrivesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/drives/item/driveItemRequestBuilder.ts b/src/groups/item/sites/item/drives/item/driveItemRequestBuilder.ts index ef85bbbc002..25b5823f210 100644 --- a/src/groups/item/sites/item/drives/item/driveItemRequestBuilder.ts +++ b/src/groups/item/sites/item/drives/item/driveItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/externalColumns/externalColumnsRequestBuilder.ts b/src/groups/item/sites/item/externalColumns/externalColumnsRequestBuilder.ts index 703a3a9f940..42fa31562a7 100644 --- a/src/groups/item/sites/item/externalColumns/externalColumnsRequestBuilder.ts +++ b/src/groups/item/sites/item/externalColumns/externalColumnsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ExternalColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/externalColumns/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/externalColumns/item/columnDefinitionItemRequestBuilder.ts index 3ce0a722d48..4e7ea567571 100644 --- a/src/groups/item/sites/item/externalColumns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/externalColumns/item/columnDefinitionItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index ba0c7ad0b27..7d1a17014e2 100644 --- a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts index fc9f297aaf6..756308fe48c 100644 --- a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts +++ b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetActivitiesByIntervalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 01ba5b733d0..24bc7773f13 100644 --- a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts index b0f3bdba1b0..daf12963404 100644 --- a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts +++ b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts @@ -99,7 +99,7 @@ export class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts index 7bc3c881e5a..fdeced2cd6c 100644 --- a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts +++ b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts @@ -23,7 +23,7 @@ export interface GetApplicableContentTypesForListWithListIdGetResponse extends B } export function serializeGetApplicableContentTypesForListWithListIdGetResponse(writer: SerializationWriter, getApplicableContentTypesForListWithListIdGetResponse: GetApplicableContentTypesForListWithListIdGetResponse | undefined = {} as GetApplicableContentTypesForListWithListIdGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getApplicableContentTypesForListWithListIdGetResponse) - writer.writeCollectionOfObjectValues("value", getApplicableContentTypesForListWithListIdGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getApplicableContentTypesForListWithListIdGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdRequestBuilder.ts b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdRequestBuilder.ts index 493de44c0c4..81025a924ba 100644 --- a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdRequestBuilder.ts +++ b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdRequestBuilder.ts @@ -95,7 +95,7 @@ export class GetApplicableContentTypesForListWithListIdRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/getByPathWithPath/getByPathWithPathRequestBuilder.ts b/src/groups/item/sites/item/getByPathWithPath/getByPathWithPathRequestBuilder.ts index 40c5549ef13..60cc9a6a499 100644 --- a/src/groups/item/sites/item/getByPathWithPath/getByPathWithPathRequestBuilder.ts +++ b/src/groups/item/sites/item/getByPathWithPath/getByPathWithPathRequestBuilder.ts @@ -60,7 +60,7 @@ export class GetByPathWithPathRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/items/item/baseItemItemRequestBuilder.ts b/src/groups/item/sites/item/items/item/baseItemItemRequestBuilder.ts index 4e0ce7b2b93..ccb8061335b 100644 --- a/src/groups/item/sites/item/items/item/baseItemItemRequestBuilder.ts +++ b/src/groups/item/sites/item/items/item/baseItemItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class BaseItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/items/itemsRequestBuilder.ts b/src/groups/item/sites/item/items/itemsRequestBuilder.ts index 9f6f8a46174..b03b34c3b66 100644 --- a/src/groups/item/sites/item/items/itemsRequestBuilder.ts +++ b/src/groups/item/sites/item/items/itemsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/groups/item/sites/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index 8dbc4a4b6e0..20a2c5fcc7e 100644 --- a/src/groups/item/sites/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 23c36820c9e..9f4ecfce01a 100644 --- a/src/groups/item/sites/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index a418d2bc26a..6c09b75786b 100644 --- a/src/groups/item/sites/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/columns/columnsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/columns/columnsRequestBuilder.ts index f67b5af81a6..5e8dbbb1671 100644 --- a/src/groups/item/sites/item/lists/item/columns/columnsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/columns/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/columns/item/columnDefinitionItemRequestBuilder.ts index f45c35f3666..8c2cf52e9cd 100644 --- a/src/groups/item/sites/item/lists/item/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/columns/item/columnDefinitionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/groups/item/sites/item/lists/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index abb1a09e95b..dab8d2e7422 100644 --- a/src/groups/item/sites/item/lists/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/addCopy/addCopyRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/addCopy/addCopyRequestBuilder.ts index 227130d757f..aa5f332682a 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/addCopy/addCopyRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/addCopy/addCopyRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts index e12a7089e04..6babe193f01 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/addCopyFromContentTypeHub/addCopyFromContentTypeHubRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddCopyFromContentTypeHubRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddCopyFromContentTypeHubPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/contentTypesRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/contentTypesRequestBuilder.ts index d474e6be5dd..97e69e60e4f 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/contentTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/contentTypesRequestBuilder.ts @@ -165,7 +165,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -184,7 +184,7 @@ export class ContentTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index 7c0feb22373..f38a5d6dc78 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts index 492ff046a42..3bf610ac3a6 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts index 746a6ee1322..0c638cb7f31 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/associateWithHubSites/associateWithHubSitesRequestBuilder.ts @@ -60,7 +60,7 @@ export class AssociateWithHubSitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssociateWithHubSitesPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts index df2ab6917b3..bcd0f22596d 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -73,7 +40,7 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts index c430ea74485..440c558f3b1 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/baseTypesRequestBuilder.ts @@ -116,7 +116,7 @@ export class BaseTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts index 69b6afee415..29b75f615d5 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/baseTypes/item/contentTypeItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts index c3852599215..0f7e10ac94b 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/columnLinksRequestBuilder.ts @@ -143,7 +143,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ColumnLinksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts index 34d2107d274..9a10b10806f 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columnLinks/item/columnLinkItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ColumnLinkItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnLink); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts index e0103dd3f78..5623dcbc0cf 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/columnPositionsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ColumnPositionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts index efeb7ffa762..0da94f485f4 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columnPositions/item/columnDefinitionItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/columnsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/columnsRequestBuilder.ts index 2d6d3b1346f..c8ddd148d2e 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/columnsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/columnsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts index 9780a785c85..d8e85ac0f7d 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/columnDefinitionItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeColumnDefinition); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts index 13ba0b8c442..dc398fce365 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/columns/item/sourceColumn/sourceColumnRequestBuilder.ts @@ -73,7 +73,7 @@ export class SourceColumnRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/contentTypeItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/contentTypeItemRequestBuilder.ts index be923411b89..db328ca8535 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/contentTypeItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/contentTypeItemRequestBuilder.ts @@ -191,7 +191,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -209,7 +209,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -228,7 +228,7 @@ export class ContentTypeItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContentType); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index 0489aea288c..0d20dcc113a 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts index 58a17d914cf..991597d4cd5 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationRequestBuilder.ts @@ -60,7 +60,7 @@ export class CopyToDefaultContentLocationRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToDefaultContentLocationPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts index 6dc0e15ee8b..edb22183aa5 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/isPublished/isPublishedRequestBuilder.ts @@ -58,7 +58,7 @@ export class IsPublishedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/publish/publishRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/publish/publishRequestBuilder.ts index dff0823b07d..96910cf571c 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/publish/publishRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/publish/publishRequestBuilder.ts @@ -56,7 +56,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts index 27826d8d0cc..90a7100cf2b 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/unpublish/unpublishRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnpublishRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/createdByUser/createdByUserRequestBuilder.ts b/src/groups/item/sites/item/lists/item/createdByUser/createdByUserRequestBuilder.ts index 70dd211d721..353e482146f 100644 --- a/src/groups/item/sites/item/lists/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index d894bfd2416..81c55868ba8 100644 --- a/src/groups/item/sites/item/lists/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 8af0ca8e253..b2073a30f4a 100644 --- a/src/groups/item/sites/item/lists/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/drive/driveRequestBuilder.ts b/src/groups/item/sites/item/lists/item/drive/driveRequestBuilder.ts index c7a75d8ec08..7a37dba9a1b 100644 --- a/src/groups/item/sites/item/lists/item/drive/driveRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/drive/driveRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/analytics/analyticsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/analytics/analyticsRequestBuilder.ts index 48fdc64d4c3..96c419bfc23 100644 --- a/src/groups/item/sites/item/lists/item/items/item/analytics/analyticsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/analytics/analyticsRequestBuilder.ts @@ -73,7 +73,7 @@ export class AnalyticsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/createdByUser/createdByUserRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/createdByUser/createdByUserRequestBuilder.ts index 6706eecbd02..3dc554b82a7 100644 --- a/src/groups/item/sites/item/lists/item/items/item/createdByUser/createdByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/createdByUser/createdByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 88b52ddaf1f..45e2b33a08e 100644 --- a/src/groups/item/sites/item/lists/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/createdByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 314733b593a..cebf0352ec7 100644 --- a/src/groups/item/sites/item/lists/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/createdByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts index 36df39ddbd8..d9fe1c6b783 100644 --- a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/documentSetVersionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class DocumentSetVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DocumentSetVersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDocumentSetVersion); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts index a885752cb4d..45d9c5affbe 100644 --- a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/documentSetVersionItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class DocumentSetVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDocumentSetVersion); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts index 5586f9378d5..eab0e6771ad 100644 --- a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/fields/fieldsRequestBuilder.ts @@ -121,7 +121,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts index 778b4151672..cc400e30105 100644 --- a/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/documentSetVersions/item/restore/restoreRequestBuilder.ts @@ -56,7 +56,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/driveItem/content/contentRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/driveItem/content/contentRequestBuilder.ts index f1bab2a1704..2971de026a0 100644 --- a/src/groups/item/sites/item/lists/item/items/item/driveItem/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/driveItem/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/driveItem/driveItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/driveItem/driveItemRequestBuilder.ts index e18500a1ac2..9c8749cf76b 100644 --- a/src/groups/item/sites/item/lists/item/items/item/driveItem/driveItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/driveItem/driveItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/fields/fieldsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/fields/fieldsRequestBuilder.ts index f88feb422f3..8b6c10bed6b 100644 --- a/src/groups/item/sites/item/lists/item/items/item/fields/fieldsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/fields/fieldsRequestBuilder.ts @@ -122,7 +122,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index a8fef024ea4..4a6de0be8b4 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts index a770bb5f022..9a592c5100c 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetActivitiesByIntervalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index f42d8ef1178..51b3260b427 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts index c4b6cb02f7f..a9f5ee8e7c4 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.ts @@ -99,7 +99,7 @@ export class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index f81f75864e0..7e578506c41 100644 --- a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index 58c959c5d1b..f213f130312 100644 --- a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5ebbbc78bc1..1b79d590615 100644 --- a/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/listItemItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/listItemItemRequestBuilder.ts index 7409d3a31ea..0475c046552 100644 --- a/src/groups/item/sites/item/lists/item/items/item/listItemItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/listItemItemRequestBuilder.ts @@ -193,7 +193,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -211,7 +211,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -230,7 +230,7 @@ export class ListItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItem); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/versions/item/fields/fieldsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/versions/item/fields/fieldsRequestBuilder.ts index 9d4d224f41f..950e64bfe92 100644 --- a/src/groups/item/sites/item/lists/item/items/item/versions/item/fields/fieldsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/versions/item/fields/fieldsRequestBuilder.ts @@ -121,7 +121,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class FieldsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFieldValueSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/versions/item/listItemVersionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/versions/item/listItemVersionItemRequestBuilder.ts index 6716186b99b..5923d2c8de1 100644 --- a/src/groups/item/sites/item/lists/item/items/item/versions/item/listItemVersionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/versions/item/listItemVersionItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class ListItemVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItemVersion); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts index 03653e720f2..1065b0e58b3 100644 --- a/src/groups/item/sites/item/lists/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/versions/item/restoreVersion/restoreVersionRequestBuilder.ts @@ -56,7 +56,7 @@ export class RestoreVersionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/items/item/versions/versionsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/item/versions/versionsRequestBuilder.ts index a0efbfc49ed..0013ab6b739 100644 --- a/src/groups/item/sites/item/lists/item/items/item/versions/versionsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/item/versions/versionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItemVersion); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/items/itemsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/items/itemsRequestBuilder.ts index 10fb6b214fe..0ff3db74100 100644 --- a/src/groups/item/sites/item/lists/item/items/itemsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/items/itemsRequestBuilder.ts @@ -134,7 +134,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeListItem); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts b/src/groups/item/sites/item/lists/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts index 9348f4e04f7..486d330a634 100644 --- a/src/groups/item/sites/item/lists/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/lastModifiedByUser/lastModifiedByUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index ef67b140969..a2f909a13e5 100644 --- a/src/groups/item/sites/item/lists/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/lastModifiedByUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index c72b12b8c1a..fbcaa423760 100644 --- a/src/groups/item/sites/item/lists/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/lastModifiedByUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts index a38ae41eb47..1550933f80f 100644 --- a/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts @@ -133,10 +133,10 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of List - * @see {@link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ListItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -178,11 +178,11 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -196,7 +196,7 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -215,7 +215,7 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeList); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/operations/item/richLongRunningOperationItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/operations/item/richLongRunningOperationItemRequestBuilder.ts index 3148bd494a7..327bfccf310 100644 --- a/src/groups/item/sites/item/lists/item/operations/item/richLongRunningOperationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/operations/item/richLongRunningOperationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/operations/operationsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/operations/operationsRequestBuilder.ts index 26464e2541d..47ebab87a34 100644 --- a/src/groups/item/sites/item/lists/item/operations/operationsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts b/src/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts index 4aaf419585e..9dda8ff18f8 100644 --- a/src/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorizeRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReauthorizeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/lists/item/subscriptions/item/subscriptionItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/subscriptions/item/subscriptionItemRequestBuilder.ts index 16efa395835..531aaf42cb1 100644 --- a/src/groups/item/sites/item/lists/item/subscriptions/item/subscriptionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/subscriptions/item/subscriptionItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class SubscriptionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/item/subscriptions/subscriptionsRequestBuilder.ts b/src/groups/item/sites/item/lists/item/subscriptions/subscriptionsRequestBuilder.ts index a8eac7e004a..c175a5ea71c 100644 --- a/src/groups/item/sites/item/lists/item/subscriptions/subscriptionsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/subscriptions/subscriptionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class SubscriptionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSubscription); return requestInfo; }; diff --git a/src/groups/item/sites/item/lists/listsRequestBuilder.ts b/src/groups/item/sites/item/lists/listsRequestBuilder.ts index 3525cead3ab..3e517579a75 100644 --- a/src/groups/item/sites/item/lists/listsRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/listsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeList); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts index 00e7497a90b..bacf4629732 100644 --- a/src/groups/item/sites/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetNotebookFromWebUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetNotebookFromWebUrlPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 261c209871a..f7da4c495c3 100644 --- a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts index aa01a4ce267..37d4f35e4f7 100644 --- a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts @@ -87,7 +87,7 @@ export class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts index cd40000bff1..058a64f6fcb 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/notebookItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/notebookItemRequestBuilder.ts index 80ffe5b6e68..673c97cf4fe 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/notebookItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/notebookItemRequestBuilder.ts @@ -143,7 +143,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index ee2faeab2df..73eb4b528c4 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index d2703234e88..2cc52deaf59 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 30cac180e7d..fa60f838845 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 853694ec126..022a0256b27 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index 6b7bc9240fe..720b3a23d21 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 934331e1186..6fef58a0503 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 970f2031c92..46f51440d4a 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index 95dc846a545..7da578009d9 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index 06ba3411eaa..7a3d1447322 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index ce88701e5f8..6f571767566 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 071867537e9..63f75375115 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index f8682a772de..9ccde4d6c48 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index ba2de092014..d6b8a0336fd 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index c705da24d8c..afafbf01f59 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index 2a0f72b95f4..7489b9a3638 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 178dfdffab1..cb7f930a42e 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index d11902074f6..ac74a3775ec 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 1d1a09bd6ce..69d8ad9fed9 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 102bcf4f6db..f06d91745fe 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts index f0779db73ed..218810df36a 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts index ccd63c15584..2caac72d2bb 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index b41961e5afe..bd4cdd61eec 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 0bb87d7e7e0..8b3e6997bd3 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts index 7f9a13c23c5..29a25fd1cbb 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts index e4738e4d5da..b7d424a35de 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 38e661c768c..254e5a988cb 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 53fbd77b675..b4472627a8f 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 06b78b443f6..ece0e3a3c8f 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 39ea0923481..8fc90818dd0 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index b9898baa191..de9813d4c98 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 10abdda63ee..d99d98cd249 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts index 52fcf499b45..610a8e49d87 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 06750cb9b28..70c4d178efc 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 27aaa6e7125..2de09352e6b 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts index 42d2ea9fb1b..a165efcacd3 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/notebooks/notebooksRequestBuilder.ts b/src/groups/item/sites/item/onenote/notebooks/notebooksRequestBuilder.ts index 4363324e64d..434e1fb5d6e 100644 --- a/src/groups/item/sites/item/onenote/notebooks/notebooksRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/notebooks/notebooksRequestBuilder.ts @@ -162,7 +162,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/onenoteRequestBuilder.ts b/src/groups/item/sites/item/onenote/onenoteRequestBuilder.ts index 6cb90864569..606e9e93066 100644 --- a/src/groups/item/sites/item/onenote/onenoteRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/onenoteRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenote); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts index b5a6ac6825b..0ba63501f30 100644 --- a/src/groups/item/sites/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/operations/item/onenoteOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/operations/operationsRequestBuilder.ts b/src/groups/item/sites/item/onenote/operations/operationsRequestBuilder.ts index 96ff0c4aed8..56a6d8781a0 100644 --- a/src/groups/item/sites/item/onenote/operations/operationsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/pages/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/content/contentRequestBuilder.ts index 4e4793b602f..5a471196496 100644 --- a/src/groups/item/sites/item/onenote/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts index aac2849785e..8fadf8fd572 100644 --- a/src/groups/item/sites/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/onenotePageItemRequestBuilder.ts index 17f638e2e35..5a1540e31bb 100644 --- a/src/groups/item/sites/item/onenote/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/onenotePageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 8c5c615c9aa..88f8cace3bc 100644 --- a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 81631f87f8d..b19d68aabe6 100644 --- a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 23be7b695e6..b56a9724ed5 100644 --- a/src/groups/item/sites/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts index f4a0d25c97f..11a6a5a0590 100644 --- a/src/groups/item/sites/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/item/preview/previewRequestBuilder.ts index 09710b89f96..2b4f35efdd6 100644 --- a/src/groups/item/sites/item/onenote/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/pages/pagesRequestBuilder.ts b/src/groups/item/sites/item/onenote/pages/pagesRequestBuilder.ts index db924cd9ad0..9c1b255b5d4 100644 --- a/src/groups/item/sites/item/onenote/pages/pagesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/resources/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/resources/item/content/contentRequestBuilder.ts index bf7a5fb9f1c..f027eb2b20e 100644 --- a/src/groups/item/sites/item/onenote/resources/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/resources/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts index 561b563719f..7de54ded411 100644 --- a/src/groups/item/sites/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/resources/item/onenoteResourceItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/resources/resourcesRequestBuilder.ts b/src/groups/item/sites/item/onenote/resources/resourcesRequestBuilder.ts index df3b6088b0f..6bd2b2bec97 100644 --- a/src/groups/item/sites/item/onenote/resources/resourcesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/resources/resourcesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index a065510ca6a..f9ea2f96237 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 1ea16e1b343..13f59d1d2b7 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 6f0b3a5c2b4..110b649c4b2 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -150,7 +150,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 6ce78f5b550..25a532288ba 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index 6040246cd9a..29cb6fe4dd7 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 1009e764027..6bb3d349dfc 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 18992c03f00..44bc0b16b81 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index 348d9ba2744..07c4903c668 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index 07282862ae2..01065835a4a 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index d2ddbe6ac07..9b69fd9269c 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index cc63721c592..9cf8e8683a0 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index ecf6867c1e3..2e8c9cd7ef6 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 120db3a2379..51251fac484 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index a0368da3471..9a960c7b537 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 1257be2f25b..705567fa29d 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index d8fbe87455d..346fe1a361b 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 74ac9a6f5fe..b9a287a0090 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index be6a14a64fc..8613ac4f1a5 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts index 5a0a49c6f5f..0617d583f7c 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts b/src/groups/item/sites/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts index aff664b7161..0978d6a0a19 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/sectionGroupsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index bc57becdec6..6ac39514486 100644 --- a/src/groups/item/sites/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 05ca538798b..7c5e7a03a7e 100644 --- a/src/groups/item/sites/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts index f05c3b090dc..2aa21ee3d1c 100644 --- a/src/groups/item/sites/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/onenoteSectionItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts index c20b55eac0f..ab5fb0cbb53 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 059cb3b6b4c..b959a6a7792 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts index e2221be0ddd..5a284c07996 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 1a697991892..33255ee8a17 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 77c40824bbe..8356a98e47f 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index ad895d9d677..fc6732965aa 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts index e014e6ffd7a..7710853997d 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/pagesRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/pages/pagesRequestBuilder.ts index f11b244a0e2..cb4d8638a42 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/pagesRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/groups/item/sites/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index c93aa7649a4..378dfb11321 100644 --- a/src/groups/item/sites/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index bbdda1282b0..96e965cf6cf 100644 --- a/src/groups/item/sites/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/onenote/sections/sectionsRequestBuilder.ts b/src/groups/item/sites/item/onenote/sections/sectionsRequestBuilder.ts index 4d048525d27..2577d67bde9 100644 --- a/src/groups/item/sites/item/onenote/sections/sectionsRequestBuilder.ts +++ b/src/groups/item/sites/item/onenote/sections/sectionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/groups/item/sites/item/operations/item/richLongRunningOperationItemRequestBuilder.ts b/src/groups/item/sites/item/operations/item/richLongRunningOperationItemRequestBuilder.ts index 1c60efabe0c..ace7b3899a6 100644 --- a/src/groups/item/sites/item/operations/item/richLongRunningOperationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/operations/item/richLongRunningOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class RichLongRunningOperationItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/operations/operationsRequestBuilder.ts b/src/groups/item/sites/item/operations/operationsRequestBuilder.ts index 1962b6f92d2..f04aed60f78 100644 --- a/src/groups/item/sites/item/operations/operationsRequestBuilder.ts +++ b/src/groups/item/sites/item/operations/operationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRichLongRunningOperation); return requestInfo; }; diff --git a/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts b/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts index 294e5820bc9..a3cf499ea54 100644 --- a/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts +++ b/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts @@ -29,7 +29,7 @@ export interface GrantPostRequestBody extends AdditionalDataHolder, Parsable { roles?: string[]; } export function serializeGrantPostRequestBody(writer: SerializationWriter, grantPostRequestBody: GrantPostRequestBody | undefined = {} as GrantPostRequestBody) : void { - writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, serializeDriveRecipient); writer.writeCollectionOfPrimitiveValues("roles", grantPostRequestBody.roles); writer.writeAdditionalData(grantPostRequestBody.additionalData); } diff --git a/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts b/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts index fecbe0ca127..11a7b671f75 100644 --- a/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts +++ b/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts @@ -23,7 +23,7 @@ export interface GrantPostResponse extends BaseCollectionPaginationCountResponse } export function serializeGrantPostResponse(writer: SerializationWriter, grantPostResponse: GrantPostResponse | undefined = {} as GrantPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, grantPostResponse) - writer.writeCollectionOfObjectValues("value", grantPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", grantPostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/permissions/item/grant/grantRequestBuilder.ts b/src/groups/item/sites/item/permissions/item/grant/grantRequestBuilder.ts index 9f0d0fab895..f958b8ef945 100644 --- a/src/groups/item/sites/item/permissions/item/grant/grantRequestBuilder.ts +++ b/src/groups/item/sites/item/permissions/item/grant/grantRequestBuilder.ts @@ -62,7 +62,7 @@ export class GrantRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGrantPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/item/permissions/item/permissionItemRequestBuilder.ts b/src/groups/item/sites/item/permissions/item/permissionItemRequestBuilder.ts index e4e657cb76a..30d74959689 100644 --- a/src/groups/item/sites/item/permissions/item/permissionItemRequestBuilder.ts +++ b/src/groups/item/sites/item/permissions/item/permissionItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class PermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermission); return requestInfo; }; diff --git a/src/groups/item/sites/item/permissions/permissionsRequestBuilder.ts b/src/groups/item/sites/item/permissions/permissionsRequestBuilder.ts index 7a9fd1665ca..ab2bf2a75cb 100644 --- a/src/groups/item/sites/item/permissions/permissionsRequestBuilder.ts +++ b/src/groups/item/sites/item/permissions/permissionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class PermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePermission); return requestInfo; }; diff --git a/src/groups/item/sites/item/siteItemRequestBuilder.ts b/src/groups/item/sites/item/siteItemRequestBuilder.ts index e489a968a4a..de7368c9b4d 100644 --- a/src/groups/item/sites/item/siteItemRequestBuilder.ts +++ b/src/groups/item/sites/item/siteItemRequestBuilder.ts @@ -251,7 +251,7 @@ export class SiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -270,7 +270,7 @@ export class SiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSite); return requestInfo; }; diff --git a/src/groups/item/sites/item/sites/item/siteItemRequestBuilder.ts b/src/groups/item/sites/item/sites/item/siteItemRequestBuilder.ts index b5279a7c997..924d45fad1f 100644 --- a/src/groups/item/sites/item/sites/item/siteItemRequestBuilder.ts +++ b/src/groups/item/sites/item/sites/item/siteItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/sites/sitesRequestBuilder.ts b/src/groups/item/sites/item/sites/sitesRequestBuilder.ts index 6724ab18522..62e276e6b35 100644 --- a/src/groups/item/sites/item/sites/sitesRequestBuilder.ts +++ b/src/groups/item/sites/item/sites/sitesRequestBuilder.ts @@ -117,7 +117,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/groupsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/groupsRequestBuilder.ts index d49d6c6fae2..dff74e9d390 100644 --- a/src/groups/item/sites/item/termStore/groups/groupsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/groupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/groupItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/groupItemRequestBuilder.ts index e6aec7f8731..74242ae5b1d 100644 --- a/src/groups/item/sites/item/termStore/groups/item/groupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/groupItemRequestBuilder.ts @@ -130,7 +130,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/childrenRequestBuilder.ts index 27dc9610b20..cb20327dbed 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts index 57ff2c59d86..55dcd501c2d 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 7402d22a0d8..340f37e79bc 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index f6c1d1368a9..40fd0e0f502 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index 79daa3cfa5c..e2023232bf5 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index f8a882cdf87..985ab2cd90b 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 3aab453b3a1..3d520c93801 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts index 296e5d5e78e..f6ef2de73f7 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts index 44b5a8bff08..54b42bff4b2 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 776b61ae7b4..35d82470566 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index a81c6c3f57b..1ee80b4ab32 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts index 477e83cc557..4a33dedc287 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index f245bb5e550..903a2b8183e 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts index 15c449ad034..b4edb656e43 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/set/setRequestBuilder.ts index b433c1c0772..f2cd63bb48f 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/termItemRequestBuilder.ts index a0cb5ffe10f..2a0615f5e07 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts index d12726c4069..5e09d57cf41 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts @@ -121,7 +121,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 55a298e27ee..bc2c7ffecf4 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts index 3297f3e2d30..3022358878d 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/set/setRequestBuilder.ts index 161fcad24ba..2d38d7c93b3 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index f700f02ddc4..8cf44efe6bb 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/relationsRequestBuilder.ts index c62cffd7ae1..a2671bdffd1 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/setItemRequestBuilder.ts index 79927f7154e..0d993bc2ab6 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/setItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts index 3f9765604c3..e4fb588c96e 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 4dfe6c29bda..3770a4663a5 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index 7bf607fc4d1..49ecc9a56e6 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index f21c0387160..321761b81d4 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 9dfe7e97fe8..cc615f92d91 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index 8501926d385..51b40b38fb2 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts index e7962df9fea..aad937d98dd 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts index f53343728d2..b6ae6148496 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 8bf3e0af8ab..c26d02cb622 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index 8766753926a..c522611488b 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index b2946d151fb..e19dad0ef6f 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index ff509967b80..aa3d119bee9 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts index 7ed1f076d55..7a715ec7f2c 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/set/setRequestBuilder.ts index 4daf31b6fd3..7b1e65a9213 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/termItemRequestBuilder.ts index 7719494c3f7..d0fb2da67b5 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/termsRequestBuilder.ts index 370d3cb086a..57ca38d0158 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/groups/item/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStore/groups/item/sets/setsRequestBuilder.ts index edf721206ac..4fd63636d7f 100644 --- a/src/groups/item/sites/item/termStore/groups/item/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/groups/item/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/childrenRequestBuilder.ts index dd341505057..aaa4596b9af 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/childrenRequestBuilder.ts index 87b0dbd4267..b8831acf6ee 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index dacdbd01f09..94d401cef4b 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index 43fad0a8df8..507364a36a6 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index caa1a576c83..bd4fe3d332d 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 4295bbf6855..75509156bf3 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 637542d8c5b..a5fc5149a87 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/set/setRequestBuilder.ts index d294abf075e..407917ba046 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/termItemRequestBuilder.ts index dd69ea5e83a..93a20bff105 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 627d8f6cae5..1a6ebc175e1 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index 2c668476736..708dcbf433e 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/set/setRequestBuilder.ts index 79d72eeeb50..1dfbf29ad99 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index b1e96d1bf60..2412c63434a 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/relationsRequestBuilder.ts index eaeda123fb3..ad04d3bdbb3 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/set/setRequestBuilder.ts index 8e4a5ce5b78..8522dffc1f0 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/children/item/termItemRequestBuilder.ts index 7f541973e41..99f12190fc0 100644 --- a/src/groups/item/sites/item/termStore/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/parentGroupRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/parentGroupRequestBuilder.ts index a8c973d9dd4..3ee5bcb382c 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/parentGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/parentGroupRequestBuilder.ts @@ -128,7 +128,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts index 29cef1c790a..568995fdad7 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts index e082742e65f..22717b82884 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 4b36b94daba..d01642e2292 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index 270de6e3113..28218d3ed9b 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index 31af4720644..8cd1a35d1a8 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 6b9f3035e4c..ed6ae7f260f 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 0314f666c75..8c368d543e2 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts index 593864636b8..6dc4f74b211 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts index e90da295dc9..a7d7134e447 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index b1a3145f266..3ec2bc45862 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index 0dc0f5923bb..90de833ac99 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts index dd0c92e43a0..21aa44664f2 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 320674addc9..48556fb9f51 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts index bccd5e63996..e69fcf3baae 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts index 62bcf566de0..c7e0cf5b946 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts index f9b72a2f4d7..5a5cc2fcce0 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 8b76c3d3b85..533fb65e7ab 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts index ef35e3c9e35..ef87355c684 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts index 9d740143897..a1be64f36bc 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index 230105ffd98..501dbd57cc3 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts index 2ada07f2840..5767b86a929 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts index 62808de1ae1..210cbdfcbe5 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts index c244f74a05b..0eba81dc531 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 694082a6349..6751425dabc 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index 9b193e0017b..f46d2555688 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index f752a23456e..01c8cdc4fbe 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index eb0bac8de7b..1c0adfdb1c0 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index 6465870c551..01578744155 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts index 604c3d4077c..4647d3f30ef 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts index be31456324e..b4acb142809 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 6bb1d9fa018..46e8410521c 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index 635dada0496..56392aa647f 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index c5b5f37d923..3cc7e2fe237 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index 4567f52aad9..d6289d24aba 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts index 57491a3f4a8..255a1cdc5c5 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts index e3a4d0f65b7..7aeafa3f7a2 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts index b71b7002a53..6eaebc4da6c 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts index 6fbd79e3e18..c263b772f75 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/setsRequestBuilder.ts index 37d5184afe0..51ab7b16a38 100644 --- a/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/parentGroup/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index fdedc9d346f..8634ca32d09 100644 --- a/src/groups/item/sites/item/termStore/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/relations/item/relationItemRequestBuilder.ts index 008d3947ec8..b1f2f0ab076 100644 --- a/src/groups/item/sites/item/termStore/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/relations/item/set/setRequestBuilder.ts index 40f9530a22f..f6294f34fe9 100644 --- a/src/groups/item/sites/item/termStore/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index 029aead6bd1..cddda4cf215 100644 --- a/src/groups/item/sites/item/termStore/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/relations/relationsRequestBuilder.ts index 09550d35eff..bd4c729bd71 100644 --- a/src/groups/item/sites/item/termStore/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/setItemRequestBuilder.ts index 5ff938698df..b84b3ba5487 100644 --- a/src/groups/item/sites/item/termStore/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/setItemRequestBuilder.ts @@ -152,7 +152,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -189,7 +189,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/childrenRequestBuilder.ts index 81ef2853109..8671d028879 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 67c87197df3..731d13430a3 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index 716318f1b4d..23b5e2280ba 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index dfd30832266..079b3d7b48d 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index b709a4ab9d2..b9a0320b604 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index c02067a8cdc..56e9ed72285 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/set/setRequestBuilder.ts index 43270042922..f2590700acb 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/termItemRequestBuilder.ts index b2130548b1d..45290519293 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 7652a944d66..064d959a1d1 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index dd08323289f..fd495274416 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index 3a8983d0997..ab4c82a17b0 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index 168e68bd4b4..47d06e041fe 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/relationsRequestBuilder.ts index c173f436863..66912f0bf1e 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/set/setRequestBuilder.ts index 3dbef3d09ca..71b12936c15 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/item/termItemRequestBuilder.ts index e3bfae97fe3..4f29f4780af 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/item/terms/termsRequestBuilder.ts index 714152f32ee..57b38fef02e 100644 --- a/src/groups/item/sites/item/termStore/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStore/sets/setsRequestBuilder.ts index 8fab15cde70..1692ba22778 100644 --- a/src/groups/item/sites/item/termStore/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStore/termStoreRequestBuilder.ts b/src/groups/item/sites/item/termStore/termStoreRequestBuilder.ts index b5d3a6ba6a6..6e63b945c0d 100644 --- a/src/groups/item/sites/item/termStore/termStoreRequestBuilder.ts +++ b/src/groups/item/sites/item/termStore/termStoreRequestBuilder.ts @@ -137,7 +137,7 @@ export class TermStoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class TermStoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class TermStoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStore); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/groupsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/groupsRequestBuilder.ts index 73e5e40455a..4ee02128fa7 100644 --- a/src/groups/item/sites/item/termStores/item/groups/groupsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/groupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class GroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/groupItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/groupItemRequestBuilder.ts index 52433770245..368a0a94ea6 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/groupItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/groupItemRequestBuilder.ts @@ -130,7 +130,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/childrenRequestBuilder.ts index 1b80ef60daa..bb991c274af 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts index 9644b8b8785..9f432a13221 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 9c2723931bb..10019aad479 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index 387558a8533..e7aa437c7c3 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index dee1257841f..1764ca70a4c 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 8adc93ac4d1..2e99535f5e1 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 6d0ba9beebb..e9f181f029b 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts index 85289efec95..5806e59c84a 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts index 2d817cb4825..d897890b605 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 42065376dfe..97b4c3678e3 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index 38eeda7501b..cbc6dd68c3e 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts index e0625dc891a..3f9f8135e51 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index df3a8901006..ee3cb315f69 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts index 367cb5b6806..0cc443802cf 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/set/setRequestBuilder.ts index 38d91a349e9..397c991a91a 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/termItemRequestBuilder.ts index e19a3d317fe..58ef38d6bb1 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts index e21ded1f745..18fccbeb442 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/parentGroup/parentGroupRequestBuilder.ts @@ -121,7 +121,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index fba1abe151c..aceee7d3bdc 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts index a1a4c83da7b..41ceeda842d 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/set/setRequestBuilder.ts index ab59c742fc1..304b4ca4ea5 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index 4c9d030c8e4..7387e29d948 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/relationsRequestBuilder.ts index 2e0941a6942..43b9902be65 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/setItemRequestBuilder.ts index 20eb9fda039..009755d951c 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/setItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts index 2f42053843d..0a5876c4528 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index e24c2986d0e..ed112c5c062 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index ded8c58f571..c58fcd9a9a8 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index 1a49284fc66..36161fcf628 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 6385d1ad6cf..82ca52f1191 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index 906a40f3e6a..bf6dd8b52f4 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts index eac1940c284..b731fcbdda8 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts index 932ed31bd99..3ce39573049 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 79c37b7bd91..d854879fa7d 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index bb3c4f87cb0..364a20f5873 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index 7000faba71f..1c232451f1f 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index b1a3fbcb830..e8c21143aff 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts index ef71f6ce020..a27e381e598 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/set/setRequestBuilder.ts index 3559aa0c1a7..8e3c44e2271 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/termItemRequestBuilder.ts index 43c7e33cc04..4ba19d8a2b6 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/termsRequestBuilder.ts index 0a1737ec832..ea1251f9acc 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/groups/item/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/groups/item/sets/setsRequestBuilder.ts index dd7f1740c0c..c3b561a33b1 100644 --- a/src/groups/item/sites/item/termStores/item/groups/item/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/groups/item/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/childrenRequestBuilder.ts index 854a37b30a0..6234c53107b 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/childrenRequestBuilder.ts index 63019edc519..835a3d089aa 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 927b775af91..9ca869b9e6d 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index ca4bed1d7ef..89ecab31826 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index e62f2adb601..eec3ca08b45 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 0f7fd42c504..59a58035fb9 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 0b0cd6c4c1f..52033535cb4 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/set/setRequestBuilder.ts index 8d7bfa01ab3..97d6f320c51 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/termItemRequestBuilder.ts index 41630cc3eb6..373418c55f4 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 9373dea6c28..7142530c1ad 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index bce6a456e5f..78729734e3e 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts index 513bb5f5a74..98108ed66e6 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index cc89e148451..fcf9eda700a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/relationsRequestBuilder.ts index cb0c04e313e..d30c9332cc8 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/set/setRequestBuilder.ts index a4487475999..4e6880b864f 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/children/item/termItemRequestBuilder.ts index 8038935240a..4af867c2272 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/parentGroupRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/parentGroupRequestBuilder.ts index 0e2937c7d8f..06cdf29762e 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/parentGroupRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/parentGroupRequestBuilder.ts @@ -128,7 +128,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ParentGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGroup); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts index f05b4910c91..aac02a68308 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/childrenRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts index d7befc7a79e..2e066ebf347 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 2e28a8f8f32..7a2d188d4b5 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts index 34dedfe19e5..2c7d6d710c0 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts index 6d4eb6e77ac..b81a46e445c 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 1f55a0ed21a..6a740ce42fb 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts index 2c8770b2a7f..d13b01d85b6 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts index 9a177faa890..729229195d3 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts index 8a32b80b1cf..0ca38bee871 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 5303d6b657f..daf67acfcbb 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts index b016ed793c5..1a290624518 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts index cacdf785036..eb8f892b47c 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 27c3ffb80ee..95fdf2f47fe 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts index ad67cdec372..4cbd617f9f1 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts index 6ab193bf58c..e8cd49f7738 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts index adc81f2f3b1..c75a050f716 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/item/termItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 26ce8aa4b1b..9fc4e8f3d68 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts index 72e3935cf6b..afdd2071110 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts index 287aa3263ce..2aa1084a360 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index 50ac4f411b9..7b30acecd09 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts index 09eaab52ce4..4dc7a5b1572 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts index e83c77f4e44..13fb1f3de17 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/setItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts index 6c3999ecf34..76101cc91cd 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index de3337992ce..6981a29d1cf 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index e2ede8739e1..9e8b608f7bc 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index 3fbd7151c07..f70a7c43aad 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index ecc45b0bd7b..ef4e20e8946 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index 1cdd0604de4..6e053a23327 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts index d2cfe085182..b5dfd347c12 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts index 4caa3ccdec9..e08f5e11f3a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index cd88435e694..aea3a6ff331 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index 5e7c27bfbd0..1375ad67814 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index 74ffa9aad01..65c13e51dd1 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index e6680fa6059..58e057e1d1a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts index 54fdb666c8c..c2c16880b0d 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts index 46930be2317..1c2f27fd05a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts index d1e03ad8be0..128f3b24009 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts index 250d973e8ae..876d57ccdb1 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/setsRequestBuilder.ts index 30b48d39d54..b194d460047 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/parentGroup/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 73e25395b4d..89015a94958 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/relationItemRequestBuilder.ts index e01dbe95b90..6d029f4c40e 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/set/setRequestBuilder.ts index 8a0a1559a9b..e22beedcc03 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts index 3b751933fbb..b6b527a5f0b 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/relations/relationsRequestBuilder.ts index 070dde4680b..24fea7cd293 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/relations/relationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/setItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/setItemRequestBuilder.ts index 04cf7eb42b4..fcac46003fd 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/setItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/setItemRequestBuilder.ts @@ -152,7 +152,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -189,7 +189,7 @@ export class SetItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/childrenRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/childrenRequestBuilder.ts index ebd22244a5f..cbc64704fbb 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/childrenRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/childrenRequestBuilder.ts @@ -143,7 +143,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ChildrenRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts index 665de1cf384..19127a4c8b9 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts index e4709877576..0e54813550c 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts index 138fbaabd8f..56a4c65f892 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts index 54cf79e1578..72e3df85707 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts index 41896fb38b5..68bd83762c0 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts index 2fa7cf64d89..f38b9dc4b71 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts index 779aff4eaa5..512702f9488 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/children/item/termItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts index bb9f9305ee2..d07409a7516 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/fromTerm/fromTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class FromTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts index a253866937b..b471274d83a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/relationItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class RelationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts index c77c17eb977..c6019a15ca8 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts index c72c04b0239..45e166485d8 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/item/toTerm/toTermRequestBuilder.ts @@ -73,7 +73,7 @@ export class ToTermRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/relationsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/relationsRequestBuilder.ts index eed0b8de5cb..2669948662f 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/relationsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/relations/relationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RelationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRelation); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/set/setRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/set/setRequestBuilder.ts index 61816c30891..6fc00742127 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/set/setRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/set/setRequestBuilder.ts @@ -73,7 +73,7 @@ export class SetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/termItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/termItemRequestBuilder.ts index 7a5d55739df..73d8bd2ea61 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/item/termItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/item/termItemRequestBuilder.ts @@ -145,7 +145,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class TermItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/item/terms/termsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/item/terms/termsRequestBuilder.ts index 5dec475a440..1512d192bc3 100644 --- a/src/groups/item/sites/item/termStores/item/sets/item/terms/termsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/item/terms/termsRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTerm); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/sets/setsRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/sets/setsRequestBuilder.ts index 60fa98155f0..f9f9bb2c05a 100644 --- a/src/groups/item/sites/item/termStores/item/sets/setsRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/sets/setsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SetsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSet); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/item/storeItemRequestBuilder.ts b/src/groups/item/sites/item/termStores/item/storeItemRequestBuilder.ts index b6168115a39..59e45347999 100644 --- a/src/groups/item/sites/item/termStores/item/storeItemRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/item/storeItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class StoreItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class StoreItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class StoreItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStore); return requestInfo; }; diff --git a/src/groups/item/sites/item/termStores/termStoresRequestBuilder.ts b/src/groups/item/sites/item/termStores/termStoresRequestBuilder.ts index d6bcf78c9e1..c8a9cd5654c 100644 --- a/src/groups/item/sites/item/termStores/termStoresRequestBuilder.ts +++ b/src/groups/item/sites/item/termStores/termStoresRequestBuilder.ts @@ -143,7 +143,7 @@ export class TermStoresRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TermStoresRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeStore); return requestInfo; }; diff --git a/src/groups/item/sites/remove/removePostRequestBody.ts b/src/groups/item/sites/remove/removePostRequestBody.ts index 92325cae8a8..94a0f26b62d 100644 --- a/src/groups/item/sites/remove/removePostRequestBody.ts +++ b/src/groups/item/sites/remove/removePostRequestBody.ts @@ -24,7 +24,7 @@ export interface RemovePostRequestBody extends AdditionalDataHolder, Parsable { value?: Site[]; } export function serializeRemovePostRequestBody(writer: SerializationWriter, removePostRequestBody: RemovePostRequestBody | undefined = {} as RemovePostRequestBody) : void { - writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, ); + writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, serializeSite); writer.writeAdditionalData(removePostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/remove/removePostResponse.ts b/src/groups/item/sites/remove/removePostResponse.ts index 4cc61cbae64..7776a8694ca 100644 --- a/src/groups/item/sites/remove/removePostResponse.ts +++ b/src/groups/item/sites/remove/removePostResponse.ts @@ -23,7 +23,7 @@ export interface RemovePostResponse extends BaseCollectionPaginationCountRespons } export function serializeRemovePostResponse(writer: SerializationWriter, removePostResponse: RemovePostResponse | undefined = {} as RemovePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, removePostResponse) - writer.writeCollectionOfObjectValues("value", removePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", removePostResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/remove/removeRequestBuilder.ts b/src/groups/item/sites/remove/removeRequestBuilder.ts index 6518890d9f2..549e5c3abab 100644 --- a/src/groups/item/sites/remove/removeRequestBuilder.ts +++ b/src/groups/item/sites/remove/removeRequestBuilder.ts @@ -62,7 +62,7 @@ export class RemoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRemovePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/sites/sitesRequestBuilder.ts b/src/groups/item/sites/sitesRequestBuilder.ts index 4b45fc00482..23302692b67 100644 --- a/src/groups/item/sites/sitesRequestBuilder.ts +++ b/src/groups/item/sites/sitesRequestBuilder.ts @@ -144,7 +144,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/subscribeByMail/subscribeByMailRequestBuilder.ts b/src/groups/item/subscribeByMail/subscribeByMailRequestBuilder.ts index 3dbeff5ad3d..f2f247bffb9 100644 --- a/src/groups/item/subscribeByMail/subscribeByMailRequestBuilder.ts +++ b/src/groups/item/subscribeByMail/subscribeByMailRequestBuilder.ts @@ -56,7 +56,7 @@ export class SubscribeByMailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/allChannels/allChannelsRequestBuilder.ts b/src/groups/item/team/allChannels/allChannelsRequestBuilder.ts index 1f362e97455..7e703ec14a1 100644 --- a/src/groups/item/team/allChannels/allChannelsRequestBuilder.ts +++ b/src/groups/item/team/allChannels/allChannelsRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/allChannels/item/channelItemRequestBuilder.ts b/src/groups/item/team/allChannels/item/channelItemRequestBuilder.ts index ea3639d0800..904d278c361 100644 --- a/src/groups/item/team/allChannels/item/channelItemRequestBuilder.ts +++ b/src/groups/item/team/allChannels/item/channelItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/archive/archiveRequestBuilder.ts b/src/groups/item/team/archive/archiveRequestBuilder.ts index 187c9f94eec..e994ba3855b 100644 --- a/src/groups/item/team/archive/archiveRequestBuilder.ts +++ b/src/groups/item/team/archive/archiveRequestBuilder.ts @@ -60,7 +60,7 @@ export class ArchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeArchivePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/channelsRequestBuilder.ts b/src/groups/item/team/channels/channelsRequestBuilder.ts index ececb676ae3..d3134616f5d 100644 --- a/src/groups/item/team/channels/channelsRequestBuilder.ts +++ b/src/groups/item/team/channels/channelsRequestBuilder.ts @@ -152,7 +152,7 @@ export class ChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts b/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts index 6da63615974..bbd414c60f4 100644 --- a/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/getAllMessages/getAllMessagesRequestBuilder.ts b/src/groups/item/team/channels/getAllMessages/getAllMessagesRequestBuilder.ts index 7b0af9515a0..ab08ce4caf8 100644 --- a/src/groups/item/team/channels/getAllMessages/getAllMessagesRequestBuilder.ts +++ b/src/groups/item/team/channels/getAllMessages/getAllMessagesRequestBuilder.ts @@ -97,7 +97,7 @@ export class GetAllMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/channelItemRequestBuilder.ts b/src/groups/item/team/channels/item/channelItemRequestBuilder.ts index d66471c294d..d13d32caa99 100644 --- a/src/groups/item/team/channels/item/channelItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/channelItemRequestBuilder.ts @@ -187,7 +187,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -205,7 +205,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -224,7 +224,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/completeMigration/completeMigrationRequestBuilder.ts b/src/groups/item/team/channels/item/completeMigration/completeMigrationRequestBuilder.ts index 67a87becc88..0f354614d36 100644 --- a/src/groups/item/team/channels/item/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/groups/item/team/channels/item/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts b/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts index a3665f02666..00110793874 100644 --- a/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts +++ b/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts @@ -77,7 +77,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/filesFolder/content/contentRequestBuilder.ts b/src/groups/item/team/channels/item/filesFolder/content/contentRequestBuilder.ts index f981792005d..25ad1a6f9e2 100644 --- a/src/groups/item/team/channels/item/filesFolder/content/contentRequestBuilder.ts +++ b/src/groups/item/team/channels/item/filesFolder/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/filesFolder/filesFolderRequestBuilder.ts b/src/groups/item/team/channels/item/filesFolder/filesFolderRequestBuilder.ts index ac964ab7a26..c8b98d34ba5 100644 --- a/src/groups/item/team/channels/item/filesFolder/filesFolderRequestBuilder.ts +++ b/src/groups/item/team/channels/item/filesFolder/filesFolderRequestBuilder.ts @@ -81,7 +81,7 @@ export class FilesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts b/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts index bd04065f20c..43a9b35435a 100644 --- a/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/channels/item/members/add/addPostResponse.ts b/src/groups/item/team/channels/item/members/add/addPostResponse.ts index e14206e5836..833844de2f8 100644 --- a/src/groups/item/team/channels/item/members/add/addPostResponse.ts +++ b/src/groups/item/team/channels/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/members/add/addRequestBuilder.ts b/src/groups/item/team/channels/item/members/add/addRequestBuilder.ts index 5d9196d3d0e..e4a34255b88 100644 --- a/src/groups/item/team/channels/item/members/add/addRequestBuilder.ts +++ b/src/groups/item/team/channels/item/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts index 323880d0f5f..3dbfdfeebd3 100644 --- a/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/members/membersRequestBuilder.ts b/src/groups/item/team/channels/item/members/membersRequestBuilder.ts index 6f3f3598398..50be60dc6a3 100644 --- a/src/groups/item/team/channels/item/members/membersRequestBuilder.ts +++ b/src/groups/item/team/channels/item/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts b/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts +++ b/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/messages/delta/deltaRequestBuilder.ts b/src/groups/item/team/channels/item/messages/delta/deltaRequestBuilder.ts index 68819800b66..040f9646ea0 100644 --- a/src/groups/item/team/channels/item/messages/delta/deltaRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/chatMessageItemRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/chatMessageItemRequestBuilder.ts index 5f997158bee..b9215ec3e4a 100644 --- a/src/groups/item/team/channels/item/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/chatMessageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index c771bc53234..71f017a58d0 100644 --- a/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index d013bf459eb..b846eb1d83e 100644 --- a/src/groups/item/team/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts index 88869b194aa..eb071934aa4 100644 --- a/src/groups/item/team/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts index 72129401f66..09d25329542 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts index 8323b52a1a4..2ea24617f54 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts index 0aa232a7bae..06b3d7c3443 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 1ae40b64c88..c56dfc16a1b 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 52994f88033..b4416f506a7 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index a667bdfb6c5..eee76e1c245 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index 244b67531bb..d61d581582e 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index 06d2066f220..ee21e643e5f 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 9e1f0cb1a2c..fdc9af8497a 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 1d8a5f6c5df..3bdd859faa9 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts index 240baea11fd..4ac5f7e6e6c 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts index 02eb705e25e..b2a26aac108 100644 --- a/src/groups/item/team/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts index f45491066f2..448ee72e57e 100644 --- a/src/groups/item/team/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 37d5a2d8116..e7c565270f3 100644 --- a/src/groups/item/team/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index a07de88be04..d6cbb120ecd 100644 --- a/src/groups/item/team/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts b/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts index 7b6bad81f28..5e902e607bd 100644 --- a/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/provisionEmail/provisionEmailRequestBuilder.ts b/src/groups/item/team/channels/item/provisionEmail/provisionEmailRequestBuilder.ts index 69d338ce65b..38c9dddf287 100644 --- a/src/groups/item/team/channels/item/provisionEmail/provisionEmailRequestBuilder.ts +++ b/src/groups/item/team/channels/item/provisionEmail/provisionEmailRequestBuilder.ts @@ -59,7 +59,7 @@ export class ProvisionEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/removeEmail/removeEmailRequestBuilder.ts b/src/groups/item/team/channels/item/removeEmail/removeEmailRequestBuilder.ts index 5d848f923f5..0b1f447d731 100644 --- a/src/groups/item/team/channels/item/removeEmail/removeEmailRequestBuilder.ts +++ b/src/groups/item/team/channels/item/removeEmail/removeEmailRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts b/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts index 610a6a7c46f..4bb1e4c4a6f 100644 --- a/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts +++ b/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllowedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts index ec945054069..867ba20dc3f 100644 --- a/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts b/src/groups/item/team/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts index dbc10900d00..e33c7d4b08c 100644 --- a/src/groups/item/team/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts b/src/groups/item/team/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts index 9615aff6045..50fe5309375 100644 --- a/src/groups/item/team/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts +++ b/src/groups/item/team/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts b/src/groups/item/team/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts index 65df1dbb84d..f056e875aaf 100644 --- a/src/groups/item/team/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/groups/item/team/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts index 6d651f61526..d015a41739b 100644 --- a/src/groups/item/team/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/groups/item/team/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/channels/item/tabs/item/teamsTabItemRequestBuilder.ts b/src/groups/item/team/channels/item/tabs/item/teamsTabItemRequestBuilder.ts index 80d48ace04e..daa4a865d54 100644 --- a/src/groups/item/team/channels/item/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/groups/item/team/channels/item/tabs/tabsRequestBuilder.ts b/src/groups/item/team/channels/item/tabs/tabsRequestBuilder.ts index 3cdfc056999..3d9ef8907bb 100644 --- a/src/groups/item/team/channels/item/tabs/tabsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/groups/item/team/clone/cloneRequestBuilder.ts b/src/groups/item/team/clone/cloneRequestBuilder.ts index b8e841835b6..e1157ec0b51 100644 --- a/src/groups/item/team/clone/cloneRequestBuilder.ts +++ b/src/groups/item/team/clone/cloneRequestBuilder.ts @@ -60,7 +60,7 @@ export class CloneRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeClonePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/completeMigration/completeMigrationRequestBuilder.ts b/src/groups/item/team/completeMigration/completeMigrationRequestBuilder.ts index 7c80ff8e841..8352e6e9bd9 100644 --- a/src/groups/item/team/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/groups/item/team/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/group/groupRequestBuilder.ts b/src/groups/item/team/group/groupRequestBuilder.ts index a7cba06d10c..c5ed74ad017 100644 --- a/src/groups/item/team/group/groupRequestBuilder.ts +++ b/src/groups/item/team/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/groups/item/team/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 6b75612509e..3f32cc7acd3 100644 --- a/src/groups/item/team/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/groups/item/team/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/incomingChannels/incomingChannelsRequestBuilder.ts b/src/groups/item/team/incomingChannels/incomingChannelsRequestBuilder.ts index 8972f66718f..dcd8993afa2 100644 --- a/src/groups/item/team/incomingChannels/incomingChannelsRequestBuilder.ts +++ b/src/groups/item/team/incomingChannels/incomingChannelsRequestBuilder.ts @@ -117,7 +117,7 @@ export class IncomingChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/incomingChannels/item/channelItemRequestBuilder.ts b/src/groups/item/team/incomingChannels/item/channelItemRequestBuilder.ts index c22276d7415..4c0b9634ac9 100644 --- a/src/groups/item/team/incomingChannels/item/channelItemRequestBuilder.ts +++ b/src/groups/item/team/incomingChannels/item/channelItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/installedApps/installedAppsRequestBuilder.ts b/src/groups/item/team/installedApps/installedAppsRequestBuilder.ts index 227814dbe2c..89b0e420233 100644 --- a/src/groups/item/team/installedApps/installedAppsRequestBuilder.ts +++ b/src/groups/item/team/installedApps/installedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/groups/item/team/installedApps/item/teamsApp/teamsAppRequestBuilder.ts b/src/groups/item/team/installedApps/item/teamsApp/teamsAppRequestBuilder.ts index 235e63895f4..3f3757ee0c2 100644 --- a/src/groups/item/team/installedApps/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/groups/item/team/installedApps/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts b/src/groups/item/team/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts index ef0a1e4a882..1caceb9f686 100644 --- a/src/groups/item/team/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts +++ b/src/groups/item/team/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/installedApps/item/teamsAppInstallationItemRequestBuilder.ts b/src/groups/item/team/installedApps/item/teamsAppInstallationItemRequestBuilder.ts index 162c6584b46..daf9016e5d5 100644 --- a/src/groups/item/team/installedApps/item/teamsAppInstallationItemRequestBuilder.ts +++ b/src/groups/item/team/installedApps/item/teamsAppInstallationItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/team/installedApps/item/upgrade/upgradeRequestBuilder.ts b/src/groups/item/team/installedApps/item/upgrade/upgradeRequestBuilder.ts index 459563a7fec..3ffc63383dc 100644 --- a/src/groups/item/team/installedApps/item/upgrade/upgradeRequestBuilder.ts +++ b/src/groups/item/team/installedApps/item/upgrade/upgradeRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpgradeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpgradePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/members/add/addPostRequestBody.ts b/src/groups/item/team/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/groups/item/team/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/members/add/addPostResponse.ts b/src/groups/item/team/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/groups/item/team/members/add/addPostResponse.ts +++ b/src/groups/item/team/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/members/add/addRequestBuilder.ts b/src/groups/item/team/members/add/addRequestBuilder.ts index e2d9e6cc188..a565a7ef193 100644 --- a/src/groups/item/team/members/add/addRequestBuilder.ts +++ b/src/groups/item/team/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/members/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/members/item/conversationMemberItemRequestBuilder.ts index 63a0515fcdb..5aa28543b17 100644 --- a/src/groups/item/team/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/members/item/conversationMemberItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/members/membersRequestBuilder.ts b/src/groups/item/team/members/membersRequestBuilder.ts index 13500b19449..708eb39c708 100644 --- a/src/groups/item/team/members/membersRequestBuilder.ts +++ b/src/groups/item/team/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/operations/item/teamsAsyncOperationItemRequestBuilder.ts b/src/groups/item/team/operations/item/teamsAsyncOperationItemRequestBuilder.ts index b251b6bb3de..d569dc75787 100644 --- a/src/groups/item/team/operations/item/teamsAsyncOperationItemRequestBuilder.ts +++ b/src/groups/item/team/operations/item/teamsAsyncOperationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAsyncOperation); return requestInfo; }; diff --git a/src/groups/item/team/operations/operationsRequestBuilder.ts b/src/groups/item/team/operations/operationsRequestBuilder.ts index 3474aba020a..1ff5db3d01f 100644 --- a/src/groups/item/team/operations/operationsRequestBuilder.ts +++ b/src/groups/item/team/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAsyncOperation); return requestInfo; }; diff --git a/src/groups/item/team/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts b/src/groups/item/team/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts index e133d9fca53..83c73bea964 100644 --- a/src/groups/item/team/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts +++ b/src/groups/item/team/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/groups/item/team/permissionGrants/permissionGrantsRequestBuilder.ts b/src/groups/item/team/permissionGrants/permissionGrantsRequestBuilder.ts index 1e641766804..ab0c57335e0 100644 --- a/src/groups/item/team/permissionGrants/permissionGrantsRequestBuilder.ts +++ b/src/groups/item/team/permissionGrants/permissionGrantsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/groups/item/team/photo/photoRequestBuilder.ts b/src/groups/item/team/photo/photoRequestBuilder.ts index b8762aca0fd..fbb1daa20bf 100644 --- a/src/groups/item/team/photo/photoRequestBuilder.ts +++ b/src/groups/item/team/photo/photoRequestBuilder.ts @@ -60,7 +60,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/photo{?%24select,%24expand}"); }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfilePhoto * @see {@link https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0|Find more info here} @@ -92,7 +92,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfilePhotoFromDiscriminatorValue, errorMapping); }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -106,7 +106,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -125,7 +125,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/groups/item/team/photo/value/contentRequestBuilder.ts b/src/groups/item/team/photo/value/contentRequestBuilder.ts index bc97ef2c5fe..00590edbe8e 100644 --- a/src/groups/item/team/photo/value/contentRequestBuilder.ts +++ b/src/groups/item/team/photo/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts b/src/groups/item/team/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts index b9d9787f709..ba10539f475 100644 --- a/src/groups/item/team/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts b/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts index 6657b9bf180..1e4e8985521 100644 --- a/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts @@ -77,7 +77,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/filesFolder/content/contentRequestBuilder.ts b/src/groups/item/team/primaryChannel/filesFolder/content/contentRequestBuilder.ts index 5e376f04a61..824f1341253 100644 --- a/src/groups/item/team/primaryChannel/filesFolder/content/contentRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/filesFolder/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/filesFolder/filesFolderRequestBuilder.ts b/src/groups/item/team/primaryChannel/filesFolder/filesFolderRequestBuilder.ts index 719063f084b..3a8662689a3 100644 --- a/src/groups/item/team/primaryChannel/filesFolder/filesFolderRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/filesFolder/filesFolderRequestBuilder.ts @@ -81,7 +81,7 @@ export class FilesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts b/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts index 973a6a27d65..c6f0575e956 100644 --- a/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts b/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts index 58a62b21777..fdb80f5cec8 100644 --- a/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts +++ b/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/members/add/addRequestBuilder.ts b/src/groups/item/team/primaryChannel/members/add/addRequestBuilder.ts index 297053a3459..26b5953446d 100644 --- a/src/groups/item/team/primaryChannel/members/add/addRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts index 5716fed8765..14b450181f5 100644 --- a/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts b/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts index cdad3ca03e1..a2f4f320557 100644 --- a/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts b/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts +++ b/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/messages/delta/deltaRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/delta/deltaRequestBuilder.ts index ee71bf9d518..fce362538f1 100644 --- a/src/groups/item/team/primaryChannel/messages/delta/deltaRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts index 1ff84b1fadf..2e679f3e626 100644 --- a/src/groups/item/team/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 81348ea4009..fc5b731caad 100644 --- a/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 8fe16e64497..949e05679c7 100644 --- a/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts index 802dd4b46a1..ac3d3c180c5 100644 --- a/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts index 810d193f0e4..d7bf2b66bf8 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts index aa7d6e816be..84f8ab65c92 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts index 14cbd73f132..5d7163c0d49 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 7de946c712d..b023946c51d 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 438cc0eb1d4..81ae1b74052 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index 40dec1634b2..6eda7e70d4d 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index 5dff4a4cc7f..74ebffab808 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index 466e704fe27..6defc7362cd 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 8fe239e27cf..8301be2f170 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 3b9251c04a8..a22e934a2f9 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index 39706f332b4..acc4172b79d 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts index 7bb20385537..e6602a3a855 100644 --- a/src/groups/item/team/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts index ebaf879bd9e..c0f5873d10e 100644 --- a/src/groups/item/team/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 0f079f415ae..9625ea97800 100644 --- a/src/groups/item/team/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index da5aa3f8674..33036ffa832 100644 --- a/src/groups/item/team/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts index 3222974e065..08538093bfb 100644 --- a/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/primaryChannelRequestBuilder.ts b/src/groups/item/team/primaryChannel/primaryChannelRequestBuilder.ts index 47235f9217c..472e5fc9608 100644 --- a/src/groups/item/team/primaryChannel/primaryChannelRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/primaryChannelRequestBuilder.ts @@ -185,7 +185,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -203,7 +203,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -222,7 +222,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts b/src/groups/item/team/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts index a75061467d7..3b430660941 100644 --- a/src/groups/item/team/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts @@ -59,7 +59,7 @@ export class ProvisionEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/removeEmail/removeEmailRequestBuilder.ts b/src/groups/item/team/primaryChannel/removeEmail/removeEmailRequestBuilder.ts index c4574b82405..6e4010701c6 100644 --- a/src/groups/item/team/primaryChannel/removeEmail/removeEmailRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/removeEmail/removeEmailRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts b/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts index 6f8203bf144..c458e2abe33 100644 --- a/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllowedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts index 2f0ab0012a2..99946de4d41 100644 --- a/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts index 9f71036492d..5cf1c9173a0 100644 --- a/src/groups/item/team/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts b/src/groups/item/team/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts index 9c9d13db1bc..82a19dfa18e 100644 --- a/src/groups/item/team/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts b/src/groups/item/team/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts index 815b540f112..7b810ee3d46 100644 --- a/src/groups/item/team/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/groups/item/team/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts index e851c763d26..b1ece49c719 100644 --- a/src/groups/item/team/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts index 3eabf2688d0..1f202ff1ad5 100644 --- a/src/groups/item/team/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/groups/item/team/primaryChannel/tabs/tabsRequestBuilder.ts b/src/groups/item/team/primaryChannel/tabs/tabsRequestBuilder.ts index 29cc6326997..0d913c907ad 100644 --- a/src/groups/item/team/primaryChannel/tabs/tabsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/groups/item/team/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts b/src/groups/item/team/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts index add7811997d..412dc27e217 100644 --- a/src/groups/item/team/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOfferShiftRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts b/src/groups/item/team/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts index b4dd482fde1..7c23b03e553 100644 --- a/src/groups/item/team/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts +++ b/src/groups/item/team/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OfferShiftRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OfferShiftRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOfferShiftRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts b/src/groups/item/team/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts index 47de5eec2be..ef34fbc6d4f 100644 --- a/src/groups/item/team/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShiftChangeRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts b/src/groups/item/team/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts index 85792478d18..ddf7b33966e 100644 --- a/src/groups/item/team/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts +++ b/src/groups/item/team/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OpenShiftChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OpenShiftChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShiftChangeRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/openShifts/item/openShiftItemRequestBuilder.ts b/src/groups/item/team/schedule/openShifts/item/openShiftItemRequestBuilder.ts index 39b2e3b2342..43e43615830 100644 --- a/src/groups/item/team/schedule/openShifts/item/openShiftItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/openShifts/item/openShiftItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShift); return requestInfo; }; diff --git a/src/groups/item/team/schedule/openShifts/openShiftsRequestBuilder.ts b/src/groups/item/team/schedule/openShifts/openShiftsRequestBuilder.ts index 4b4547e7308..9616ff79f38 100644 --- a/src/groups/item/team/schedule/openShifts/openShiftsRequestBuilder.ts +++ b/src/groups/item/team/schedule/openShifts/openShiftsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OpenShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OpenShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShift); return requestInfo; }; diff --git a/src/groups/item/team/schedule/scheduleRequestBuilder.ts b/src/groups/item/team/schedule/scheduleRequestBuilder.ts index 68ae7bcc91b..0c076c79027 100644 --- a/src/groups/item/team/schedule/scheduleRequestBuilder.ts +++ b/src/groups/item/team/schedule/scheduleRequestBuilder.ts @@ -192,7 +192,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -210,7 +210,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -229,7 +229,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedule); return requestInfo; }; diff --git a/src/groups/item/team/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts b/src/groups/item/team/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts index 2e25c2dbf91..cc826d156f0 100644 --- a/src/groups/item/team/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedulingGroup); return requestInfo; }; diff --git a/src/groups/item/team/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts b/src/groups/item/team/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts index 0febb3f8585..45805b3c7fa 100644 --- a/src/groups/item/team/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts +++ b/src/groups/item/team/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts @@ -141,7 +141,7 @@ export class SchedulingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SchedulingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedulingGroup); return requestInfo; }; diff --git a/src/groups/item/team/schedule/share/shareRequestBuilder.ts b/src/groups/item/team/schedule/share/shareRequestBuilder.ts index a68f63ee448..82d57a51b56 100644 --- a/src/groups/item/team/schedule/share/shareRequestBuilder.ts +++ b/src/groups/item/team/schedule/share/shareRequestBuilder.ts @@ -60,7 +60,7 @@ export class ShareRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharePostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/schedule/shifts/item/shiftItemRequestBuilder.ts b/src/groups/item/team/schedule/shifts/item/shiftItemRequestBuilder.ts index 5c5e0dc468d..053a7a3d327 100644 --- a/src/groups/item/team/schedule/shifts/item/shiftItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/shifts/item/shiftItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeShift); return requestInfo; }; diff --git a/src/groups/item/team/schedule/shifts/shiftsRequestBuilder.ts b/src/groups/item/team/schedule/shifts/shiftsRequestBuilder.ts index e0b61234a42..c8e54974c6b 100644 --- a/src/groups/item/team/schedule/shifts/shiftsRequestBuilder.ts +++ b/src/groups/item/team/schedule/shifts/shiftsRequestBuilder.ts @@ -141,7 +141,7 @@ export class ShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeShift); return requestInfo; }; diff --git a/src/groups/item/team/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts b/src/groups/item/team/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts index 9cbce14978f..637b9c8db7d 100644 --- a/src/groups/item/team/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSwapShiftsChangeRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts b/src/groups/item/team/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts index 28634808cd5..14a8fcbfb8f 100644 --- a/src/groups/item/team/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts +++ b/src/groups/item/team/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SwapShiftsChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SwapShiftsChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSwapShiftsChangeRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts b/src/groups/item/team/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts index 0a02a509bf3..9ceadcdf3cd 100644 --- a/src/groups/item/team/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffReason); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts b/src/groups/item/team/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts index 7f98b6ac69d..47cf6feb3b0 100644 --- a/src/groups/item/team/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts +++ b/src/groups/item/team/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts @@ -141,7 +141,7 @@ export class TimeOffReasonsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TimeOffReasonsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffReason); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts b/src/groups/item/team/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts index 8ce471934e9..0f5747ebb34 100644 --- a/src/groups/item/team/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts @@ -119,7 +119,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -137,7 +137,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts b/src/groups/item/team/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts index 5089c243313..7dc3b8089f5 100644 --- a/src/groups/item/team/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts +++ b/src/groups/item/team/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts @@ -140,7 +140,7 @@ export class TimeOffRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class TimeOffRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffRequest); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timesOff/item/timeOffItemRequestBuilder.ts b/src/groups/item/team/schedule/timesOff/item/timeOffItemRequestBuilder.ts index 3680da7a1c0..3e4d49a02d1 100644 --- a/src/groups/item/team/schedule/timesOff/item/timeOffItemRequestBuilder.ts +++ b/src/groups/item/team/schedule/timesOff/item/timeOffItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOff); return requestInfo; }; diff --git a/src/groups/item/team/schedule/timesOff/timesOffRequestBuilder.ts b/src/groups/item/team/schedule/timesOff/timesOffRequestBuilder.ts index 4ad29b8c79b..fcb488b062b 100644 --- a/src/groups/item/team/schedule/timesOff/timesOffRequestBuilder.ts +++ b/src/groups/item/team/schedule/timesOff/timesOffRequestBuilder.ts @@ -141,7 +141,7 @@ export class TimesOffRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TimesOffRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOff); return requestInfo; }; diff --git a/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/sendActivityNotification/sendActivityNotificationRequestBuilder.ts b/src/groups/item/team/sendActivityNotification/sendActivityNotificationRequestBuilder.ts index ffbeb6c0bfe..b6161687605 100644 --- a/src/groups/item/team/sendActivityNotification/sendActivityNotificationRequestBuilder.ts +++ b/src/groups/item/team/sendActivityNotification/sendActivityNotificationRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendActivityNotificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendActivityNotificationPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/team/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts b/src/groups/item/team/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts index f2d286bf721..3c1cd2aa3f8 100644 --- a/src/groups/item/team/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts +++ b/src/groups/item/team/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTagMember); return requestInfo; }; diff --git a/src/groups/item/team/tags/item/members/membersRequestBuilder.ts b/src/groups/item/team/tags/item/members/membersRequestBuilder.ts index 4c51d6308b4..dc7796a2c46 100644 --- a/src/groups/item/team/tags/item/members/membersRequestBuilder.ts +++ b/src/groups/item/team/tags/item/members/membersRequestBuilder.ts @@ -145,7 +145,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTagMember); return requestInfo; }; diff --git a/src/groups/item/team/tags/item/teamworkTagItemRequestBuilder.ts b/src/groups/item/team/tags/item/teamworkTagItemRequestBuilder.ts index 674031fb562..5523a95084c 100644 --- a/src/groups/item/team/tags/item/teamworkTagItemRequestBuilder.ts +++ b/src/groups/item/team/tags/item/teamworkTagItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTag); return requestInfo; }; diff --git a/src/groups/item/team/tags/tagsRequestBuilder.ts b/src/groups/item/team/tags/tagsRequestBuilder.ts index c983aba3efa..b8703567db2 100644 --- a/src/groups/item/team/tags/tagsRequestBuilder.ts +++ b/src/groups/item/team/tags/tagsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TagsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TagsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTag); return requestInfo; }; diff --git a/src/groups/item/team/teamRequestBuilder.ts b/src/groups/item/team/teamRequestBuilder.ts index da446079f9e..a88311c9687 100644 --- a/src/groups/item/team/teamRequestBuilder.ts +++ b/src/groups/item/team/teamRequestBuilder.ts @@ -247,7 +247,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -265,7 +265,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -284,7 +284,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeam); return requestInfo; }; diff --git a/src/groups/item/team/template/templateRequestBuilder.ts b/src/groups/item/team/template/templateRequestBuilder.ts index a0ebe80377d..dff14870e0c 100644 --- a/src/groups/item/team/template/templateRequestBuilder.ts +++ b/src/groups/item/team/template/templateRequestBuilder.ts @@ -73,7 +73,7 @@ export class TemplateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/team/unarchive/unarchiveRequestBuilder.ts b/src/groups/item/team/unarchive/unarchiveRequestBuilder.ts index a303b47438b..16d8cd16a14 100644 --- a/src/groups/item/team/unarchive/unarchiveRequestBuilder.ts +++ b/src/groups/item/team/unarchive/unarchiveRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnarchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts index cd06a5db057..e07a065a729 100644 --- a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts +++ b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts @@ -73,9 +73,9 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}"); }; /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationThreadItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -88,10 +88,10 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a thread object. This API is available in the following national cloud deployments. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationThread - * @see {@link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ConversationThreadItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -121,7 +121,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationThreadFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -134,11 +134,11 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get a thread object. This API is available in the following national cloud deployments. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -152,7 +152,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationThread); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts index 38a4cbaa0e3..2987648e28a 100644 --- a/src/groups/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/attachments/attachmentsRequestBuilder.ts @@ -147,7 +147,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 870924f240e..3ad76baeb07 100644 --- a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts index ecdf5b3434f..014d741ef25 100644 --- a/src/groups/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/attachments/item/attachmentItemRequestBuilder.ts @@ -96,7 +96,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -114,7 +114,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts b/src/groups/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts index af3e27f8d96..d3cd513544c 100644 --- a/src/groups/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts index f28f83e0969..b7591d97bd5 100644 --- a/src/groups/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts b/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/forward/forwardRequestBuilder.ts b/src/groups/item/threads/item/posts/item/forward/forwardRequestBuilder.ts index 60cdd34283d..5c7f9c3fa45 100644 --- a/src/groups/item/threads/item/posts/item/forward/forwardRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts index 4a5b629b419..a152f53cfe3 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/attachmentsRequestBuilder.ts @@ -147,7 +147,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 9ef80bee1cd..9ac5f8be65e 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts index 968deaab65f..79073546681 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/item/attachmentItemRequestBuilder.ts @@ -96,7 +96,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -114,7 +114,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts index 381faeed733..00406742015 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts index 4b4299ec66c..0c0dba07734 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts index e761eea7b1b..0c0dbec6539 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts index 59ab1295508..bed6096344b 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/inReplyToRequestBuilder.ts @@ -101,7 +101,7 @@ export class InReplyToRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts index 28ab8fa90b6..e485d6a9884 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts index 1a75d9c51fb..e0121032877 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply"); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/item/postItemRequestBuilder.ts b/src/groups/item/threads/item/posts/item/postItemRequestBuilder.ts index 0ec47121bca..c4d3cd77421 100644 --- a/src/groups/item/threads/item/posts/item/postItemRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/postItemRequestBuilder.ts @@ -108,7 +108,7 @@ export class PostItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts index b57379e4c85..3a668df8372 100644 --- a/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/reply/replyRequestBuilder.ts b/src/groups/item/threads/item/posts/item/reply/replyRequestBuilder.ts index 4b38b326ae8..d4f09184735 100644 --- a/src/groups/item/threads/item/posts/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply"); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/item/posts/postsRequestBuilder.ts b/src/groups/item/threads/item/posts/postsRequestBuilder.ts index e78db67d411..f3bc325ffc0 100644 --- a/src/groups/item/threads/item/posts/postsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/postsRequestBuilder.ts @@ -113,7 +113,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/threads/item/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/reply/replyPostRequestBody.ts index bc24fe788a3..a9d7cd709ed 100644 --- a/src/groups/item/threads/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/reply/replyRequestBuilder.ts b/src/groups/item/threads/item/reply/replyRequestBuilder.ts index a161fada507..383d01995e4 100644 --- a/src/groups/item/threads/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/threads/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply"); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/groups/item/threads/threadsRequestBuilder.ts b/src/groups/item/threads/threadsRequestBuilder.ts index 781c884e26d..7c5ac080ae4 100644 --- a/src/groups/item/threads/threadsRequestBuilder.ts +++ b/src/groups/item/threads/threadsRequestBuilder.ts @@ -137,7 +137,7 @@ export class ThreadsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class ThreadsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationThread); return requestInfo; }; diff --git a/src/groups/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/groups/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index f5a458a2a34..e843e1f3ce5 100644 --- a/src/groups/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts index e648566a9ec..7128a937f4d 100644 --- a/src/groups/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts b/src/groups/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts index 9fe9687a0ea..29f133f3919 100644 --- a/src/groups/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts @@ -58,7 +58,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/transitiveMemberOf/{directoryObject%2Did}{?%24select,%24expand}"); }; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject */ @@ -73,7 +73,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/groups/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 696bf973333..fb5e5a88fac 100644 --- a/src/groups/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts index 870aa108a55..c85e2dc4a52 100644 --- a/src/groups/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts b/src/groups/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts index dac28fb765d..c747de45d51 100644 --- a/src/groups/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts +++ b/src/groups/item/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts @@ -101,7 +101,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/transitiveMemberOf{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObjectCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/group-list-transitivememberof?view=graph-rest-1.0|Find more info here} @@ -117,7 +117,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -131,7 +131,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/transitiveMembers/graphApplication/graphApplicationRequestBuilder.ts index 5dcc4378361..74f36ad5144 100644 --- a/src/groups/item/transitiveMembers/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/transitiveMembers/graphDevice/graphDeviceRequestBuilder.ts index 4ed26ca7113..63c8a3d3717 100644 --- a/src/groups/item/transitiveMembers/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/transitiveMembers/graphGroup/graphGroupRequestBuilder.ts index 4d6c6b94032..d016068120e 100644 --- a/src/groups/item/transitiveMembers/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/transitiveMembers/graphOrgContact/graphOrgContactRequestBuilder.ts index 9116a2be5b5..b1ce2180636 100644 --- a/src/groups/item/transitiveMembers/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/transitiveMembers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 1d476ddbd1a..a475986ae2f 100644 --- a/src/groups/item/transitiveMembers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/graphUser/graphUserRequestBuilder.ts b/src/groups/item/transitiveMembers/graphUser/graphUserRequestBuilder.ts index 7fe5b2884f9..9e1ca017edd 100644 --- a/src/groups/item/transitiveMembers/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/directoryObjectItemRequestBuilder.ts b/src/groups/item/transitiveMembers/item/directoryObjectItemRequestBuilder.ts index 20990b226ea..2c60dd3814e 100644 --- a/src/groups/item/transitiveMembers/item/directoryObjectItemRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/directoryObjectItemRequestBuilder.ts @@ -115,7 +115,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphApplication/graphApplicationRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphApplication/graphApplicationRequestBuilder.ts index 2d9c6d1f409..e51f29ac861 100644 --- a/src/groups/item/transitiveMembers/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphDevice/graphDeviceRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphDevice/graphDeviceRequestBuilder.ts index 62f8d97db7c..94bec753b04 100644 --- a/src/groups/item/transitiveMembers/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphGroup/graphGroupRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphGroup/graphGroupRequestBuilder.ts index a44e1aeb18a..a99b820e687 100644 --- a/src/groups/item/transitiveMembers/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphOrgContact/graphOrgContactRequestBuilder.ts index e204fe5b4f2..3ef70a1ae83 100644 --- a/src/groups/item/transitiveMembers/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 9ba96d8a42c..cf29791939c 100644 --- a/src/groups/item/transitiveMembers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/item/graphUser/graphUserRequestBuilder.ts b/src/groups/item/transitiveMembers/item/graphUser/graphUserRequestBuilder.ts index 66339b0cb41..085ae722802 100644 --- a/src/groups/item/transitiveMembers/item/graphUser/graphUserRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/transitiveMembers/transitiveMembersRequestBuilder.ts b/src/groups/item/transitiveMembers/transitiveMembersRequestBuilder.ts index b409134e9a6..62374528329 100644 --- a/src/groups/item/transitiveMembers/transitiveMembersRequestBuilder.ts +++ b/src/groups/item/transitiveMembers/transitiveMembersRequestBuilder.ts @@ -159,7 +159,7 @@ export class TransitiveMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/unsubscribeByMail/unsubscribeByMailRequestBuilder.ts b/src/groups/item/unsubscribeByMail/unsubscribeByMailRequestBuilder.ts index 2627132b5aa..47e7094d76c 100644 --- a/src/groups/item/unsubscribeByMail/unsubscribeByMailRequestBuilder.ts +++ b/src/groups/item/unsubscribeByMail/unsubscribeByMailRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnsubscribeByMailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/groups/item/validateProperties/validatePropertiesRequestBuilder.ts b/src/groups/item/validateProperties/validatePropertiesRequestBuilder.ts index c7e4d50884e..f7c28223962 100644 --- a/src/groups/item/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/groups/item/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/groups/validateProperties/validatePropertiesRequestBuilder.ts b/src/groups/validateProperties/validatePropertiesRequestBuilder.ts index d9f9d5c5c77..2db2aea0005 100644 --- a/src/groups/validateProperties/validatePropertiesRequestBuilder.ts +++ b/src/groups/validateProperties/validatePropertiesRequestBuilder.ts @@ -60,7 +60,7 @@ export class ValidatePropertiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeValidatePropertiesPostRequestBody); return requestInfo; }; diff --git a/src/identity/apiConnectors/apiConnectorsRequestBuilder.ts b/src/identity/apiConnectors/apiConnectorsRequestBuilder.ts index fb649c8e6e4..d215be63db1 100644 --- a/src/identity/apiConnectors/apiConnectorsRequestBuilder.ts +++ b/src/identity/apiConnectors/apiConnectorsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ApiConnectorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ApiConnectorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityApiConnector); return requestInfo; }; diff --git a/src/identity/apiConnectors/item/identityApiConnectorItemRequestBuilder.ts b/src/identity/apiConnectors/item/identityApiConnectorItemRequestBuilder.ts index 6b642f51609..ce4a30408fb 100644 --- a/src/identity/apiConnectors/item/identityApiConnectorItemRequestBuilder.ts +++ b/src/identity/apiConnectors/item/identityApiConnectorItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class IdentityApiConnectorItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class IdentityApiConnectorItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class IdentityApiConnectorItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityApiConnector); return requestInfo; }; diff --git a/src/identity/apiConnectors/item/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts b/src/identity/apiConnectors/item/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts index cffa458cce5..f0fd81f9f81 100644 --- a/src/identity/apiConnectors/item/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts +++ b/src/identity/apiConnectors/item/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts @@ -62,7 +62,7 @@ export class UploadClientCertificateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUploadClientCertificatePostRequestBody); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/b2xUserFlowsRequestBuilder.ts b/src/identity/b2xUserFlows/b2xUserFlowsRequestBuilder.ts index e265be34efe..7b7b90a7df3 100644 --- a/src/identity/b2xUserFlows/b2xUserFlowsRequestBuilder.ts +++ b/src/identity/b2xUserFlows/b2xUserFlowsRequestBuilder.ts @@ -145,7 +145,7 @@ export class B2xUserFlowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class B2xUserFlowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeB2xIdentityUserFlow); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/apiConnectorConfigurationRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/apiConnectorConfigurationRequestBuilder.ts index 90b9a53bbaa..5114a50ef26 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/apiConnectorConfigurationRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/apiConnectorConfigurationRequestBuilder.ts @@ -87,7 +87,7 @@ export class ApiConnectorConfigurationRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/postAttributeCollectionRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/postAttributeCollectionRequestBuilder.ts index 7d24e6e23e8..5740532556c 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/postAttributeCollectionRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/postAttributeCollectionRequestBuilder.ts @@ -135,7 +135,7 @@ export class PostAttributeCollectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class PostAttributeCollectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class PostAttributeCollectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityApiConnector); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/ref/refRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/ref/refRequestBuilder.ts index ab5cf152cda..4b4a844e4da 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/ref/refRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/ref/refRequestBuilder.ts @@ -106,7 +106,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -123,7 +123,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts index d3508130694..4be108231d1 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postAttributeCollection/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts @@ -62,7 +62,7 @@ export class UploadClientCertificateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUploadClientCertificatePostRequestBody); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/postFederationSignupRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/postFederationSignupRequestBuilder.ts index 9a273c36d2d..d157d6058e4 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/postFederationSignupRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/postFederationSignupRequestBuilder.ts @@ -135,7 +135,7 @@ export class PostFederationSignupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class PostFederationSignupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class PostFederationSignupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityApiConnector); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/ref/refRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/ref/refRequestBuilder.ts index 8073546ee6f..ac79fd41e84 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/ref/refRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/ref/refRequestBuilder.ts @@ -106,7 +106,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -123,7 +123,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts index c79495703df..620b8c901cd 100644 --- a/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/apiConnectorConfiguration/postFederationSignup/uploadClientCertificate/uploadClientCertificateRequestBuilder.ts @@ -62,7 +62,7 @@ export class UploadClientCertificateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUploadClientCertificatePostRequestBody); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/b2xIdentityUserFlowItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/b2xIdentityUserFlowItemRequestBuilder.ts index 4e95a9fcae5..699c5103c98 100644 --- a/src/identity/b2xUserFlows/item/b2xIdentityUserFlowItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/b2xIdentityUserFlowItemRequestBuilder.ts @@ -158,7 +158,7 @@ export class B2xIdentityUserFlowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -176,7 +176,7 @@ export class B2xIdentityUserFlowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -195,7 +195,7 @@ export class B2xIdentityUserFlowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeB2xIdentityUserFlow); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/identityProviders/identityProvidersRequestBuilder.ts b/src/identity/b2xUserFlows/item/identityProviders/identityProvidersRequestBuilder.ts index 91045b85bb7..cc95db31e36 100644 --- a/src/identity/b2xUserFlows/item/identityProviders/identityProvidersRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/identityProviders/identityProvidersRequestBuilder.ts @@ -121,7 +121,7 @@ export class IdentityProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/identityProviders/item/identityProviderItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/identityProviders/item/identityProviderItemRequestBuilder.ts index cc82e79beec..d80aa5ae628 100644 --- a/src/identity/b2xUserFlows/item/identityProviders/item/identityProviderItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/identityProviders/item/identityProviderItemRequestBuilder.ts @@ -100,7 +100,7 @@ export class IdentityProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -119,7 +119,7 @@ export class IdentityProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/languages/item/defaultPages/defaultPagesRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/defaultPages/defaultPagesRequestBuilder.ts index edc6c4777f9..4b5f71ad27f 100644 --- a/src/identity/b2xUserFlows/item/languages/item/defaultPages/defaultPagesRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/defaultPages/defaultPagesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DefaultPagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DefaultPagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguagePage); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/userFlowLanguagePageItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/userFlowLanguagePageItemRequestBuilder.ts index 957e5c5a43b..008d8667a33 100644 --- a/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/userFlowLanguagePageItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/userFlowLanguagePageItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguagePage); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/value/contentRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/value/contentRequestBuilder.ts index 00877252f3a..fbfb139a536 100644 --- a/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/value/contentRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/defaultPages/item/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/userFlowLanguagePageItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/userFlowLanguagePageItemRequestBuilder.ts index 0a39a9ea518..2ae1d7e0a3e 100644 --- a/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/userFlowLanguagePageItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/userFlowLanguagePageItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UserFlowLanguagePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguagePage); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/value/contentRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/value/contentRequestBuilder.ts index 021e620dad2..e6caba54e06 100644 --- a/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/value/contentRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/overridesPages/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/overridesPages/overridesPagesRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/overridesPages/overridesPagesRequestBuilder.ts index 99c0834b703..f6edd1d179c 100644 --- a/src/identity/b2xUserFlows/item/languages/item/overridesPages/overridesPagesRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/overridesPages/overridesPagesRequestBuilder.ts @@ -144,7 +144,7 @@ export class OverridesPagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class OverridesPagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguagePage); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/item/userFlowLanguageConfigurationItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/item/userFlowLanguageConfigurationItemRequestBuilder.ts index 45223cee4ee..8bb87e5fe94 100644 --- a/src/identity/b2xUserFlows/item/languages/item/userFlowLanguageConfigurationItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/item/userFlowLanguageConfigurationItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class UserFlowLanguageConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class UserFlowLanguageConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class UserFlowLanguageConfigurationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguageConfiguration); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/languages/languagesRequestBuilder.ts b/src/identity/b2xUserFlows/item/languages/languagesRequestBuilder.ts index 65e994623f2..63a26fa224c 100644 --- a/src/identity/b2xUserFlows/item/languages/languagesRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/languages/languagesRequestBuilder.ts @@ -144,7 +144,7 @@ export class LanguagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LanguagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserFlowLanguageConfiguration); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/getOrder/getOrderRequestBuilder.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/getOrder/getOrderRequestBuilder.ts index 0e20628a904..83e408b4557 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/getOrder/getOrderRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/getOrder/getOrderRequestBuilder.ts @@ -58,7 +58,7 @@ export class GetOrderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/item/identityUserFlowAttributeAssignmentItemRequestBuilder.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/item/identityUserFlowAttributeAssignmentItemRequestBuilder.ts index c92d99f7cfe..98bf66e2479 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/item/identityUserFlowAttributeAssignmentItemRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/item/identityUserFlowAttributeAssignmentItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class IdentityUserFlowAttributeAssignmentItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class IdentityUserFlowAttributeAssignmentItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class IdentityUserFlowAttributeAssignmentItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityUserFlowAttributeAssignment); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/item/userAttribute/userAttributeRequestBuilder.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/item/userAttribute/userAttributeRequestBuilder.ts index dd7a5c90bae..f70d7566f4b 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/item/userAttribute/userAttributeRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/item/userAttribute/userAttributeRequestBuilder.ts @@ -73,7 +73,7 @@ export class UserAttributeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts index f28f1257f92..0e1d447042b 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetOrderPostRequestBody(setOrderPostRequestBody: } } export function serializeSetOrderPostRequestBody(writer: SerializationWriter, setOrderPostRequestBody: SetOrderPostRequestBody | undefined = {} as SetOrderPostRequestBody) : void { - writer.writeObjectValue("newAssignmentOrder", setOrderPostRequestBody.newAssignmentOrder, ); + writer.writeObjectValue("newAssignmentOrder", setOrderPostRequestBody.newAssignmentOrder, serializeAssignmentOrder); writer.writeAdditionalData(setOrderPostRequestBody.additionalData); } export interface SetOrderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderRequestBuilder.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderRequestBuilder.ts index 350cb8b10fc..ae10aa89c0c 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetOrderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetOrderPostRequestBody); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/userAttributeAssignmentsRequestBuilder.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/userAttributeAssignmentsRequestBuilder.ts index 351c3fd7480..ba7abacb850 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/userAttributeAssignmentsRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/userAttributeAssignmentsRequestBuilder.ts @@ -159,7 +159,7 @@ export class UserAttributeAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -178,7 +178,7 @@ export class UserAttributeAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityUserFlowAttributeAssignment); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/item/ref/refRequestBuilder.ts b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/item/ref/refRequestBuilder.ts index 07f5b94ca17..e283ae0654e 100644 --- a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/item/ref/refRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/item/ref/refRequestBuilder.ts @@ -66,7 +66,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/ref/refRequestBuilder.ts b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/ref/refRequestBuilder.ts index 3c4360a4cf5..55a315ed93c 100644 --- a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/ref/refRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/ref/refRequestBuilder.ts @@ -115,7 +115,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -134,7 +134,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/userFlowIdentityProvidersRequestBuilder.ts b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/userFlowIdentityProvidersRequestBuilder.ts index 823325d86f7..a1eb05b8bfe 100644 --- a/src/identity/b2xUserFlows/item/userFlowIdentityProviders/userFlowIdentityProvidersRequestBuilder.ts +++ b/src/identity/b2xUserFlows/item/userFlowIdentityProviders/userFlowIdentityProvidersRequestBuilder.ts @@ -123,7 +123,7 @@ export class UserFlowIdentityProvidersRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/conditionalAccess/authenticationContextClassReferences/authenticationContextClassReferencesRequestBuilder.ts b/src/identity/conditionalAccess/authenticationContextClassReferences/authenticationContextClassReferencesRequestBuilder.ts index cd892414621..730189bbd20 100644 --- a/src/identity/conditionalAccess/authenticationContextClassReferences/authenticationContextClassReferencesRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationContextClassReferences/authenticationContextClassReferencesRequestBuilder.ts @@ -144,7 +144,7 @@ export class AuthenticationContextClassReferencesRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AuthenticationContextClassReferencesRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationContextClassReference); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationContextClassReferences/item/authenticationContextClassReferenceItemRequestBuilder.ts b/src/identity/conditionalAccess/authenticationContextClassReferences/item/authenticationContextClassReferenceItemRequestBuilder.ts index 9f79ada4c29..9b0b5ac814d 100644 --- a/src/identity/conditionalAccess/authenticationContextClassReferences/item/authenticationContextClassReferenceItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationContextClassReferences/item/authenticationContextClassReferenceItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class AuthenticationContextClassReferenceItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class AuthenticationContextClassReferenceItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class AuthenticationContextClassReferenceItemRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationContextClassReference); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/authenticationMethodModesRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/authenticationMethodModesRequestBuilder.ts index a0ec4c77c42..327c5f41aba 100644 --- a/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/authenticationMethodModesRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/authenticationMethodModesRequestBuilder.ts @@ -144,7 +144,7 @@ export class AuthenticationMethodModesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AuthenticationMethodModesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodModeDetail); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/item/authenticationMethodModeDetailItemRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/item/authenticationMethodModeDetailItemRequestBuilder.ts index 35b9d0776cd..82eeece85f8 100644 --- a/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/item/authenticationMethodModeDetailItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/item/authenticationMethodModeDetailItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AuthenticationMethodModeDetailItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AuthenticationMethodModeDetailItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AuthenticationMethodModeDetailItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethodModeDetail); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/authenticationStrengthRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/authenticationStrengthRequestBuilder.ts index c5c7d583988..a2b63d69ce5 100644 --- a/src/identity/conditionalAccess/authenticationStrength/authenticationStrengthRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/authenticationStrengthRequestBuilder.ts @@ -135,7 +135,7 @@ export class AuthenticationStrengthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class AuthenticationStrengthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AuthenticationStrengthRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationStrengthRoot); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/authenticationStrengthPolicyItemRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/authenticationStrengthPolicyItemRequestBuilder.ts index 95e6832d516..75f9720f026 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/authenticationStrengthPolicyItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/authenticationStrengthPolicyItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class AuthenticationStrengthPolicyItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AuthenticationStrengthPolicyItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AuthenticationStrengthPolicyItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationStrengthPolicy); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/combinationConfigurationsRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/combinationConfigurationsRequestBuilder.ts index e16385d80cb..1ef821d448c 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/combinationConfigurationsRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/combinationConfigurationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CombinationConfigurationsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CombinationConfigurationsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationCombinationConfiguration); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/item/authenticationCombinationConfigurationItemRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/item/authenticationCombinationConfigurationItemRequestBuilder.ts index 0f6518dc59d..7c3787c532f 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/item/authenticationCombinationConfigurationItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/combinationConfigurations/item/authenticationCombinationConfigurationItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class AuthenticationCombinationConfigurationItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class AuthenticationCombinationConfigurationItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class AuthenticationCombinationConfigurationItemRequestBuilder extends Ba requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationCombinationConfiguration); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/updateAllowedCombinationsRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/updateAllowedCombinationsRequestBuilder.ts index deb3370b4f0..fb483fcd349 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/updateAllowedCombinationsRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/updateAllowedCombinationsRequestBuilder.ts @@ -62,7 +62,7 @@ export class UpdateAllowedCombinationsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpdateAllowedCombinationsPostRequestBody); return requestInfo; }; diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/usage/usageRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/usage/usageRequestBuilder.ts index c0d4702b22e..c2759a3c16e 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/usage/usageRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/usage/usageRequestBuilder.ts @@ -58,7 +58,7 @@ export class UsageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/policiesRequestBuilder.ts b/src/identity/conditionalAccess/authenticationStrength/policies/policiesRequestBuilder.ts index 4dec6b490d1..9ca4eed2c8c 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/policiesRequestBuilder.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/policiesRequestBuilder.ts @@ -143,7 +143,7 @@ export class PoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class PoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationStrengthPolicy); return requestInfo; }; diff --git a/src/identity/conditionalAccess/conditionalAccessRequestBuilder.ts b/src/identity/conditionalAccess/conditionalAccessRequestBuilder.ts index e8bb548f1c6..deefd14b2a3 100644 --- a/src/identity/conditionalAccess/conditionalAccessRequestBuilder.ts +++ b/src/identity/conditionalAccess/conditionalAccessRequestBuilder.ts @@ -156,7 +156,7 @@ export class ConditionalAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class ConditionalAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class ConditionalAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConditionalAccessRoot); return requestInfo; }; diff --git a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts index 0ad57a55c47..54318e5e8fb 100644 --- a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24select,%24expand}"); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a namedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: NamedLocationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: NamedLocationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0|Find more info here} */ public patch(body: NamedLocation, requestConfiguration?: NamedLocationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a namedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,11 +124,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -142,11 +142,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -161,7 +161,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNamedLocation); return requestInfo; }; diff --git a/src/identity/conditionalAccess/namedLocations/namedLocationsRequestBuilder.ts b/src/identity/conditionalAccess/namedLocations/namedLocationsRequestBuilder.ts index 763731d7e72..96ced844295 100644 --- a/src/identity/conditionalAccess/namedLocations/namedLocationsRequestBuilder.ts +++ b/src/identity/conditionalAccess/namedLocations/namedLocationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class NamedLocationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class NamedLocationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNamedLocation); return requestInfo; }; diff --git a/src/identity/conditionalAccess/policies/item/conditionalAccessPolicyItemRequestBuilder.ts b/src/identity/conditionalAccess/policies/item/conditionalAccessPolicyItemRequestBuilder.ts index db31e3e1b98..9a738100122 100644 --- a/src/identity/conditionalAccess/policies/item/conditionalAccessPolicyItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/policies/item/conditionalAccessPolicyItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ConditionalAccessPolicyItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConditionalAccessPolicyItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConditionalAccessPolicyItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConditionalAccessPolicy); return requestInfo; }; diff --git a/src/identity/conditionalAccess/policies/policiesRequestBuilder.ts b/src/identity/conditionalAccess/policies/policiesRequestBuilder.ts index b97d9f127c4..6a42ab5954d 100644 --- a/src/identity/conditionalAccess/policies/policiesRequestBuilder.ts +++ b/src/identity/conditionalAccess/policies/policiesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConditionalAccessPolicy); return requestInfo; }; diff --git a/src/identity/conditionalAccess/templates/item/conditionalAccessTemplateItemRequestBuilder.ts b/src/identity/conditionalAccess/templates/item/conditionalAccessTemplateItemRequestBuilder.ts index 830819adb8a..ef2949b95b3 100644 --- a/src/identity/conditionalAccess/templates/item/conditionalAccessTemplateItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/templates/item/conditionalAccessTemplateItemRequestBuilder.ts @@ -74,7 +74,7 @@ export class ConditionalAccessTemplateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/conditionalAccess/templates/templatesRequestBuilder.ts b/src/identity/conditionalAccess/templates/templatesRequestBuilder.ts index 9367f8f323b..4c84a1f3480 100644 --- a/src/identity/conditionalAccess/templates/templatesRequestBuilder.ts +++ b/src/identity/conditionalAccess/templates/templatesRequestBuilder.ts @@ -117,7 +117,7 @@ export class TemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts b/src/identity/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts index 901e7df0939..ed80cae00fd 100644 --- a/src/identity/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts +++ b/src/identity/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts @@ -85,7 +85,7 @@ export class AvailableProviderTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identity/identityProviders/identityProvidersRequestBuilder.ts b/src/identity/identityProviders/identityProvidersRequestBuilder.ts index ef77e77f457..3a6d161a260 100644 --- a/src/identity/identityProviders/identityProvidersRequestBuilder.ts +++ b/src/identity/identityProviders/identityProvidersRequestBuilder.ts @@ -152,7 +152,7 @@ export class IdentityProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class IdentityProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProviderBase); return requestInfo; }; diff --git a/src/identity/identityProviders/item/identityProviderBaseItemRequestBuilder.ts b/src/identity/identityProviders/item/identityProviderBaseItemRequestBuilder.ts index 2c1ebdb06cf..efd899fffcd 100644 --- a/src/identity/identityProviders/item/identityProviderBaseItemRequestBuilder.ts +++ b/src/identity/identityProviders/item/identityProviderBaseItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProviderBase); return requestInfo; }; diff --git a/src/identity/identityRequestBuilder.ts b/src/identity/identityRequestBuilder.ts index 095fcf705fb..6a8fa54facc 100644 --- a/src/identity/identityRequestBuilder.ts +++ b/src/identity/identityRequestBuilder.ts @@ -133,7 +133,7 @@ export class IdentityRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -152,7 +152,7 @@ export class IdentityRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityContainer); return requestInfo; }; diff --git a/src/identity/userFlowAttributes/item/identityUserFlowAttributeItemRequestBuilder.ts b/src/identity/userFlowAttributes/item/identityUserFlowAttributeItemRequestBuilder.ts index d74d640845b..f2c0ba13864 100644 --- a/src/identity/userFlowAttributes/item/identityUserFlowAttributeItemRequestBuilder.ts +++ b/src/identity/userFlowAttributes/item/identityUserFlowAttributeItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class IdentityUserFlowAttributeItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class IdentityUserFlowAttributeItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class IdentityUserFlowAttributeItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityUserFlowAttribute); return requestInfo; }; diff --git a/src/identity/userFlowAttributes/userFlowAttributesRequestBuilder.ts b/src/identity/userFlowAttributes/userFlowAttributesRequestBuilder.ts index 3a5c89ad880..6ead8a58f17 100644 --- a/src/identity/userFlowAttributes/userFlowAttributesRequestBuilder.ts +++ b/src/identity/userFlowAttributes/userFlowAttributesRequestBuilder.ts @@ -145,7 +145,7 @@ export class UserFlowAttributesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class UserFlowAttributesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityUserFlowAttribute); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/accessReviewsRequestBuilder.ts b/src/identityGovernance/accessReviews/accessReviewsRequestBuilder.ts index 91969a4712b..61082f648ef 100644 --- a/src/identityGovernance/accessReviews/accessReviewsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/accessReviewsRequestBuilder.ts @@ -135,7 +135,7 @@ export class AccessReviewsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class AccessReviewsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AccessReviewsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewSet); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/definitionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/definitionsRequestBuilder.ts index 1cb156d1d77..c8cccdeb41a 100644 --- a/src/identityGovernance/accessReviews/definitions/definitionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/definitionsRequestBuilder.ts @@ -155,7 +155,7 @@ export class DefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class DefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewScheduleDefinition); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 83ba5b01038..cc730d30d78 100644 --- a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewScheduleDefinition); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 4fddc839b14..111aa4da987 100644 --- a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/accessReviewScheduleDefinitionItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/accessReviewScheduleDefinitionItemRequestBuilder.ts index ec651591df9..3c4159f3267 100644 --- a/src/identityGovernance/accessReviews/definitions/item/accessReviewScheduleDefinitionItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/accessReviewScheduleDefinitionItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class AccessReviewScheduleDefinitionItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class AccessReviewScheduleDefinitionItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class AccessReviewScheduleDefinitionItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewScheduleDefinition); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index c48772225a4..192b3138969 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index cf910ac3a47..e3fdf1ff585 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/instancesRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/instancesRequestBuilder.ts index 7cf121c4973..556ad6459f3 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/instancesRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/instancesRequestBuilder.ts @@ -154,7 +154,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstance); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/acceptRecommendations/acceptRecommendationsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/acceptRecommendations/acceptRecommendationsRequestBuilder.ts index 9242f6969db..06d8aae457a 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/acceptRecommendations/acceptRecommendationsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/acceptRecommendations/acceptRecommendationsRequestBuilder.ts @@ -56,7 +56,7 @@ export class AcceptRecommendationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/accessReviewInstanceItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/accessReviewInstanceItemRequestBuilder.ts index 7ac1b2ce562..9cee1c3bee1 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/accessReviewInstanceItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/accessReviewInstanceItemRequestBuilder.ts @@ -186,7 +186,7 @@ export class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -204,7 +204,7 @@ export class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstance); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/applyDecisions/applyDecisionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/applyDecisions/applyDecisionsRequestBuilder.ts index ba76523577b..94026a9c05f 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/applyDecisions/applyDecisionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/applyDecisions/applyDecisionsRequestBuilder.ts @@ -56,7 +56,7 @@ export class ApplyDecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/batchRecordDecisions/batchRecordDecisionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/batchRecordDecisions/batchRecordDecisionsRequestBuilder.ts index 87bdc15b5bd..2b4c27682b6 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/batchRecordDecisions/batchRecordDecisionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/batchRecordDecisions/batchRecordDecisionsRequestBuilder.ts @@ -60,7 +60,7 @@ export class BatchRecordDecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBatchRecordDecisionsPostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/contactedReviewersRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/contactedReviewersRequestBuilder.ts index e80afd01db3..04071d53680 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/contactedReviewersRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/contactedReviewersRequestBuilder.ts @@ -144,7 +144,7 @@ export class ContactedReviewersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ContactedReviewersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewReviewer); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/item/accessReviewReviewerItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/item/accessReviewReviewerItemRequestBuilder.ts index dbb87120e5c..5a0fb100851 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/item/accessReviewReviewerItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/contactedReviewers/item/accessReviewReviewerItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessReviewReviewerItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessReviewReviewerItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessReviewReviewerItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewReviewer); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/decisionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/decisionsRequestBuilder.ts index b98dedcd95c..042e4607613 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/decisionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/decisionsRequestBuilder.ts @@ -154,7 +154,7 @@ export class DecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class DecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstanceDecisionItem); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index f03c5460396..64963ea52e9 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 4b3c8cb2628..87bbffa2f67 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts index 41f24402ffb..92780d12b94 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstanceDecisionItem); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/insightsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/insightsRequestBuilder.ts index 09238941b73..003c77cb17f 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/insightsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/insightsRequestBuilder.ts @@ -143,7 +143,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGovernanceInsight); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts index c6ec13f231a..3beb0ad8987 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGovernanceInsight); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/resetDecisions/resetDecisionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/resetDecisions/resetDecisionsRequestBuilder.ts index 26017f9a617..089ce9c7035 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/resetDecisions/resetDecisionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/resetDecisions/resetDecisionsRequestBuilder.ts @@ -56,7 +56,7 @@ export class ResetDecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/sendReminder/sendReminderRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/sendReminder/sendReminderRequestBuilder.ts index 50e35a834ef..08de2e6ecfa 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/sendReminder/sendReminderRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/sendReminder/sendReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class SendReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 15567be3e5c..d2018dd2cc1 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewStage); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index f647ea34862..92b4dfe97e9 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/accessReviewStageItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/accessReviewStageItemRequestBuilder.ts index cc555b539a5..1883488cf36 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/accessReviewStageItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/accessReviewStageItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewStage); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/decisionsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/decisionsRequestBuilder.ts index 711ac3775d2..68a1039e898 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/decisionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/decisionsRequestBuilder.ts @@ -154,7 +154,7 @@ export class DecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class DecisionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstanceDecisionItem); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 6f9d98f84a3..7e63c9d68ea 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index b33ea615532..0ca124b7345 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts index ab387ab05ea..3c9a6abbbcf 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/accessReviewInstanceDecisionItemItemRequestBuilder.ts @@ -130,7 +130,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewInstanceDecisionItem); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/insightsRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/insightsRequestBuilder.ts index 816b3ae4fe8..d22af48cccd 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/insightsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/insightsRequestBuilder.ts @@ -143,7 +143,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGovernanceInsight); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts index afec9dcb932..edf014063a9 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governanceInsightItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class GovernanceInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGovernanceInsight); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/stop/stopRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/stop/stopRequestBuilder.ts index 57a94c521e3..a0ff185da2b 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/stop/stopRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/stop/stopRequestBuilder.ts @@ -56,7 +56,7 @@ export class StopRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/stagesRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/stagesRequestBuilder.ts index 9d3ef6f5c79..053809421b2 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/stagesRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/stagesRequestBuilder.ts @@ -154,7 +154,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewStage); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stop/stopRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stop/stopRequestBuilder.ts index 9109e55d1ad..55689774548 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stop/stopRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stop/stopRequestBuilder.ts @@ -56,7 +56,7 @@ export class StopRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/definitions/item/stop/stopRequestBuilder.ts b/src/identityGovernance/accessReviews/definitions/item/stop/stopRequestBuilder.ts index 5e43aaf1da5..b82d0a7e523 100644 --- a/src/identityGovernance/accessReviews/definitions/item/stop/stopRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/definitions/item/stop/stopRequestBuilder.ts @@ -55,7 +55,7 @@ export class StopRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/accessReviews/historyDefinitions/historyDefinitionsRequestBuilder.ts b/src/identityGovernance/accessReviews/historyDefinitions/historyDefinitionsRequestBuilder.ts index 448ed21a0de..5369dfc8bd6 100644 --- a/src/identityGovernance/accessReviews/historyDefinitions/historyDefinitionsRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/historyDefinitions/historyDefinitionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class HistoryDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class HistoryDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewHistoryDefinition); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/historyDefinitions/item/accessReviewHistoryDefinitionItemRequestBuilder.ts b/src/identityGovernance/accessReviews/historyDefinitions/item/accessReviewHistoryDefinitionItemRequestBuilder.ts index 0ea5cdbc304..ac2869720c7 100644 --- a/src/identityGovernance/accessReviews/historyDefinitions/item/accessReviewHistoryDefinitionItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/historyDefinitions/item/accessReviewHistoryDefinitionItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class AccessReviewHistoryDefinitionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class AccessReviewHistoryDefinitionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AccessReviewHistoryDefinitionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewHistoryDefinition); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/instancesRequestBuilder.ts b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/instancesRequestBuilder.ts index ecfcd5c6b33..60bdca45344 100644 --- a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/instancesRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/instancesRequestBuilder.ts @@ -144,7 +144,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewHistoryInstance); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/accessReviewHistoryInstanceItemRequestBuilder.ts b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/accessReviewHistoryInstanceItemRequestBuilder.ts index a8d597df089..f1a2c8f9b92 100644 --- a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/accessReviewHistoryInstanceItemRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/accessReviewHistoryInstanceItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessReviewHistoryInstanceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessReviewHistoryInstanceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessReviewHistoryInstanceItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessReviewHistoryInstance); return requestInfo; }; diff --git a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/generateDownloadUri/generateDownloadUriRequestBuilder.ts b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/generateDownloadUri/generateDownloadUriRequestBuilder.ts index 5296231d008..5410be94009 100644 --- a/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/generateDownloadUri/generateDownloadUriRequestBuilder.ts +++ b/src/identityGovernance/accessReviews/historyDefinitions/item/instances/item/generateDownloadUri/generateDownloadUriRequestBuilder.ts @@ -59,7 +59,7 @@ export class GenerateDownloadUriRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/appConsent/appConsentRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequestBuilder.ts index a064c833f1a..9d24f74d763 100644 --- a/src/identityGovernance/appConsent/appConsentRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequestBuilder.ts @@ -128,7 +128,7 @@ export class AppConsentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AppConsentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AppConsentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppConsentApprovalRoute); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/appConsentRequestsRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/appConsentRequestsRequestBuilder.ts index e333c4ffdbf..9e10155eaa4 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/appConsentRequestsRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/appConsentRequestsRequestBuilder.ts @@ -154,7 +154,7 @@ export class AppConsentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class AppConsentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppConsentRequest); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index d4e28e95521..0740095dc9a 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 6e13d59f408..59fbf4afd82 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/appConsentRequestItemRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/appConsentRequestItemRequestBuilder.ts index cda49b996f6..55016aef44f 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/appConsentRequestItemRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/appConsentRequestItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class AppConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class AppConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class AppConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppConsentRequest); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 2f1124a12cf..21f27bc8d7a 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeUserConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 7c7d46ec3bd..75548eeff49 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/approvalRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/approvalRequestBuilder.ts index a5f2dce0a6d..d401576f478 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/approvalRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/approvalRequestBuilder.ts @@ -128,7 +128,7 @@ export class ApprovalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ApprovalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ApprovalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApproval); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/item/approvalStageItemRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/item/approvalStageItemRequestBuilder.ts index e2246146ade..815664176ee 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/item/approvalStageItemRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/item/approvalStageItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/stagesRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/stagesRequestBuilder.ts index a9fde624f64..b231909e53d 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/stagesRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/approval/stages/stagesRequestBuilder.ts @@ -144,7 +144,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/userConsentRequestItemRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/userConsentRequestItemRequestBuilder.ts index ac51d424874..7556846f4b4 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/userConsentRequestItemRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/item/userConsentRequestItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class UserConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class UserConsentRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserConsentRequest); return requestInfo; }; diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/userConsentRequestsRequestBuilder.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/userConsentRequestsRequestBuilder.ts index afd6891030f..0ffbbb9e472 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/userConsentRequestsRequestBuilder.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/userConsentRequestsRequestBuilder.ts @@ -154,7 +154,7 @@ export class UserConsentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class UserConsentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserConsentRequest); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/accessPackageAssignmentApprovalsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/accessPackageAssignmentApprovalsRequestBuilder.ts index 339d072c04a..ef98267f2ab 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/accessPackageAssignmentApprovalsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/accessPackageAssignmentApprovalsRequestBuilder.ts @@ -153,7 +153,7 @@ export class AccessPackageAssignmentApprovalsRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AccessPackageAssignmentApprovalsRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApproval); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 108dd0cbff5..313cab42e02 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 6f693b86508..205c9568352 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/approvalItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/approvalItemRequestBuilder.ts index 7f4db7a1a27..46aca325dbb 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/approvalItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/approvalItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApproval); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts index 8edf15f06a3..af78a3b6564 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/stagesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/stagesRequestBuilder.ts index 0f0df7ed4d9..78e95292e47 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/stagesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/item/stages/stagesRequestBuilder.ts @@ -144,7 +144,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/accessPackagesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/accessPackagesRequestBuilder.ts index b1c579097f9..3ef94e0bd48 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/accessPackagesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/accessPackagesRequestBuilder.ts @@ -155,7 +155,7 @@ export class AccessPackagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class AccessPackagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackage); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index fe5090c14db..9c29b3daac4 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackage); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 518b5b62a80..dc529a9f570 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackageItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackageItemRequestBuilder.ts index 52d497a8582..7288406c450 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackageItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackageItemRequestBuilder.ts @@ -173,7 +173,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -191,7 +191,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -210,7 +210,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackage); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/accessPackagesIncompatibleWithRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/accessPackagesIncompatibleWithRequestBuilder.ts index cf9276e0693..76b0fabcf3a 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/accessPackagesIncompatibleWithRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/accessPackagesIncompatibleWithRequestBuilder.ts @@ -117,7 +117,7 @@ export class AccessPackagesIncompatibleWithRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/item/accessPackageItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/item/accessPackageItemRequestBuilder.ts index 4f9579ece6c..bec3913cc56 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/item/accessPackageItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/accessPackagesIncompatibleWith/item/accessPackageItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/assignmentPoliciesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/assignmentPoliciesRequestBuilder.ts index b2ad4c19e2a..24fe84456e1 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/assignmentPoliciesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/assignmentPoliciesRequestBuilder.ts @@ -143,7 +143,7 @@ export class AssignmentPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AssignmentPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentPolicy); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts index dca9517c7c6..809fd72037b 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts index 8ebe09a4314..034a4a3264c 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentPolicy); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/catalog/catalogRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/catalog/catalogRequestBuilder.ts index ffd6a86d394..c553d8a1eab 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/catalog/catalogRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/catalog/catalogRequestBuilder.ts @@ -73,7 +73,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts index cef75050fb3..08730798b1b 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts @@ -143,7 +143,7 @@ export class CustomExtensionStageSettingsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class CustomExtensionStageSettingsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomExtensionStageSetting); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts index 1b736165bdf..66a2ea6a8e3 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts @@ -73,7 +73,7 @@ export class CustomExtensionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts index 23a0f5af4af..15fa66cfecd 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomExtensionStageSetting); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts index e7fe9783e4a..0fcc2341889 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageQuestion); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/questionsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/questionsRequestBuilder.ts index 7b3aa1ba952..a7f6e12c4fd 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/questionsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/assignmentPolicies/item/questions/questionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class QuestionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class QuestionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageQuestion); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/catalog/catalogRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/catalog/catalogRequestBuilder.ts index bef31b4ae30..4e8ed4de19b 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/catalog/catalogRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/catalog/catalogRequestBuilder.ts @@ -73,7 +73,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts index 23b01bf40da..96ab1315077 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetApplicablePolicyRequirementsPostResponse extends BaseCollect } export function serializeGetApplicablePolicyRequirementsPostResponse(writer: SerializationWriter, getApplicablePolicyRequirementsPostResponse: GetApplicablePolicyRequirementsPostResponse | undefined = {} as GetApplicablePolicyRequirementsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getApplicablePolicyRequirementsPostResponse) - writer.writeCollectionOfObjectValues("value", getApplicablePolicyRequirementsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getApplicablePolicyRequirementsPostResponse.value, serializeAccessPackageAssignmentRequestRequirements); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsRequestBuilder.ts index 235fbe128cc..fdd56559be6 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsRequestBuilder.ts @@ -59,7 +59,7 @@ export class GetApplicablePolicyRequirementsRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/incompatibleAccessPackagesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/incompatibleAccessPackagesRequestBuilder.ts index 0dbfbe01c61..41340ef4481 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/incompatibleAccessPackagesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/incompatibleAccessPackagesRequestBuilder.ts @@ -124,7 +124,7 @@ export class IncompatibleAccessPackagesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/item/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/item/ref/refRequestBuilder.ts index b3503845ebb..1166b71fba9 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/item/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/ref/refRequestBuilder.ts index b7df6283456..5c0880cf551 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleAccessPackages/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/incompatibleGroupsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/incompatibleGroupsRequestBuilder.ts index daf8b1628a2..eff6afe6449 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/incompatibleGroupsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/incompatibleGroupsRequestBuilder.ts @@ -124,7 +124,7 @@ export class IncompatibleGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/ref/refRequestBuilder.ts index eff2b123eda..dcc152489e9 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index be44e5dd6c8..7d99f0ec2b9 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/item/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/ref/refRequestBuilder.ts index 13e15ebb797..fac04496d51 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/incompatibleGroups/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts index 4925317ce08..fae7225d0bb 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRoleScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts index bc6e57081a2..c961e22862f 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts index f264393acfa..6c13ff0f5ea 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 85cbdb358be..6602b30ed7e 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts index a68b541ab00..ce24d3fc8ad 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 9383f505618..acdfc83500c 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index 8224ddb655d..6a91ee7cf61 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts index 5d9432027fa..cdab316a30e 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 733744da02a..795d0179355 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts index c7618ddee54..4cbe3e1a0a7 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts index 52447fb9886..11bc1f74753 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/roleRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/roleRequestBuilder.ts index e94ddd73228..aaa98831496 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/roleRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/role/roleRequestBuilder.ts @@ -128,7 +128,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts index 7aa4a888c43..2461c5ef3fe 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts index 857fbb06210..9433ceedfb5 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 1bf9a9e2d06..9603f84cbf9 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts index 272209fb0cb..a175796c84c 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts index 10f8624e28b..3cc0600dbd7 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index cf8ecceac7c..17af0d0e7d7 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts index 187671f180a..0a5d2942432 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts index cc8e2e98180..4288764eba7 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index d02c2e60405..e60aadb3b78 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts index 817cc95cb42..b26217de2e1 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/scopeRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/scopeRequestBuilder.ts index bdf3b2667c2..16ff3622e58 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/scopeRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/item/scope/scopeRequestBuilder.ts @@ -128,7 +128,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts index d0d080a4df5..74589027f88 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourceRoleScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourceRoleScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRoleScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/assignmentPoliciesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/assignmentPoliciesRequestBuilder.ts index 97cb0f747f0..ba2f35d642c 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/assignmentPoliciesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/assignmentPoliciesRequestBuilder.ts @@ -145,7 +145,7 @@ export class AssignmentPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AssignmentPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentPolicy); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts index f6a9b5d9dcf..5347b4dcb16 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackage/accessPackageRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts index a525161e94d..d9e3c2e5d66 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/accessPackageAssignmentPolicyItemRequestBuilder.ts @@ -151,7 +151,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -169,7 +169,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class AccessPackageAssignmentPolicyItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentPolicy); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/catalog/catalogRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/catalog/catalogRequestBuilder.ts index b45a7dbffa9..424a7739638 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/catalog/catalogRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/catalog/catalogRequestBuilder.ts @@ -73,7 +73,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts index faa512d1ba3..f3c51155aa1 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/customExtensionStageSettingsRequestBuilder.ts @@ -143,7 +143,7 @@ export class CustomExtensionStageSettingsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class CustomExtensionStageSettingsRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomExtensionStageSetting); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts index 88e154bff63..e9c2dc5a5b3 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtension/customExtensionRequestBuilder.ts @@ -73,7 +73,7 @@ export class CustomExtensionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts index 0d4212c4c1c..af6643142d6 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/customExtensionStageSettings/item/customExtensionStageSettingItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class CustomExtensionStageSettingItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomExtensionStageSetting); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts index f81c5298cf8..28875b8b3bb 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/item/accessPackageQuestionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageQuestionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageQuestion); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/questionsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/questionsRequestBuilder.ts index 093bf561722..823ad9d7014 100644 --- a/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/questionsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentPolicies/item/questions/questionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class QuestionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class QuestionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageQuestion); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/assignmentRequestsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/assignmentRequestsRequestBuilder.ts index 82b8fe65587..dc739a1f2a1 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/assignmentRequestsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/assignmentRequestsRequestBuilder.ts @@ -155,7 +155,7 @@ export class AssignmentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class AssignmentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentRequest); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index e9d0af0531d..16915bc47d9 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackageAssignmentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index d5718644c01..4b9131cbccb 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackage/accessPackageRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackage/accessPackageRequestBuilder.ts index fd9d335b16b..beea342f3b0 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackage/accessPackageRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackage/accessPackageRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackageAssignmentRequestItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackageAssignmentRequestItemRequestBuilder.ts index f54844b7ecf..594c80e958b 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackageAssignmentRequestItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/accessPackageAssignmentRequestItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class AccessPackageAssignmentRequestItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class AccessPackageAssignmentRequestItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class AccessPackageAssignmentRequestItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignmentRequest); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/assignment/assignmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/assignment/assignmentRequestBuilder.ts index 12547a39cba..55492bd315a 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/assignment/assignmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/assignment/assignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class AssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/cancel/cancelRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/cancel/cancelRequestBuilder.ts index 35e6ed91f79..b5cdc1694ce 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/cancel/cancelRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/cancel/cancelRequestBuilder.ts @@ -56,7 +56,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/reprocess/reprocessRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/reprocess/reprocessRequestBuilder.ts index 009821be0f2..4061c96f335 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/reprocess/reprocessRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/reprocess/reprocessRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReprocessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/requestor/requestorRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/requestor/requestorRequestBuilder.ts index 54c6b9d400b..b8297b1a319 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/requestor/requestorRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/requestor/requestorRequestBuilder.ts @@ -73,7 +73,7 @@ export class RequestorRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts index e1ca8110025..2436a7882c0 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomExtensionData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumeRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumeRequestBuilder.ts index 814294dcf20..4468f708bfa 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumeRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class ResumeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts index 526feceb672..062d5ac7db3 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdditionalAccessGetResponse(additionalAccessGetRe } export function serializeAdditionalAccessGetResponse(writer: SerializationWriter, additionalAccessGetResponse: AdditionalAccessGetResponse | undefined = {} as AdditionalAccessGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, additionalAccessGetResponse) - writer.writeCollectionOfObjectValues("value", additionalAccessGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", additionalAccessGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessRequestBuilder.ts index d12802aa3be..ce71da988da 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessRequestBuilder.ts @@ -93,7 +93,7 @@ export class AdditionalAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts index 97f5185adce..cc10dfe6459 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdditionalAccessWithAccessPackageIdWithIncompatib } export function serializeAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse(writer: SerializationWriter, additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse: AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse | undefined = {} as AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse) - writer.writeCollectionOfObjectValues("value", additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.ts index b33d867dcde..d09557d6055 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.ts @@ -97,7 +97,7 @@ export class AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/assignmentsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/assignmentsRequestBuilder.ts index 0bca5426bf0..90cb9130458 100644 --- a/src/identityGovernance/entitlementManagement/assignments/assignmentsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/assignmentsRequestBuilder.ts @@ -173,7 +173,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -192,7 +192,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignment); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index f1005c4cb0e..ca8101b494b 100644 --- a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 11459a69b0b..6a6ff17fdc7 100644 --- a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/item/accessPackage/accessPackageRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/item/accessPackage/accessPackageRequestBuilder.ts index a1011bc3704..ec9c1638204 100644 --- a/src/identityGovernance/entitlementManagement/assignments/item/accessPackage/accessPackageRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/item/accessPackage/accessPackageRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/item/accessPackageAssignmentItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/item/accessPackageAssignmentItemRequestBuilder.ts index 07e00ac303c..6e7cf7d19ae 100644 --- a/src/identityGovernance/entitlementManagement/assignments/item/accessPackageAssignmentItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/item/accessPackageAssignmentItemRequestBuilder.ts @@ -150,7 +150,7 @@ export class AccessPackageAssignmentItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class AccessPackageAssignmentItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class AccessPackageAssignmentItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageAssignment); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/assignments/item/assignmentPolicy/assignmentPolicyRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/item/assignmentPolicy/assignmentPolicyRequestBuilder.ts index 5f1a0b25939..aa4ee6cabf4 100644 --- a/src/identityGovernance/entitlementManagement/assignments/item/assignmentPolicy/assignmentPolicyRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/item/assignmentPolicy/assignmentPolicyRequestBuilder.ts @@ -73,7 +73,7 @@ export class AssignmentPolicyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/item/reprocess/reprocessRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/item/reprocess/reprocessRequestBuilder.ts index daac33d2ce8..a5839bcf9e7 100644 --- a/src/identityGovernance/entitlementManagement/assignments/item/reprocess/reprocessRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/item/reprocess/reprocessRequestBuilder.ts @@ -56,7 +56,7 @@ export class ReprocessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/assignments/item/target/targetRequestBuilder.ts b/src/identityGovernance/entitlementManagement/assignments/item/target/targetRequestBuilder.ts index ce9862019c5..1c2155e6cba 100644 --- a/src/identityGovernance/entitlementManagement/assignments/item/target/targetRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/assignments/item/target/targetRequestBuilder.ts @@ -73,7 +73,7 @@ export class TargetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/catalogsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/catalogsRequestBuilder.ts index 4825e627fdc..14643f45d43 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/catalogsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/catalogsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CatalogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CatalogsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageCatalog); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackageCatalogItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackageCatalogItemRequestBuilder.ts index 1debaa94c2f..3dc3b5fc6a0 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackageCatalogItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackageCatalogItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class AccessPackageCatalogItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class AccessPackageCatalogItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class AccessPackageCatalogItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageCatalog); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/accessPackagesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/accessPackagesRequestBuilder.ts index 52418e76aba..bc790264af0 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/accessPackagesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/accessPackagesRequestBuilder.ts @@ -116,7 +116,7 @@ export class AccessPackagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/item/accessPackageItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/item/accessPackageItemRequestBuilder.ts index 57947ae38f4..c3588a4fa95 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/item/accessPackageItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/accessPackages/item/accessPackageItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts index 196ae9818df..5f0e4dae0c6 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CustomWorkflowExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CustomWorkflowExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomCalloutExtension); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts index ea42c50a031..df1a261ea6b 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/catalogs/{accessPackageCatalog%2Did}/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}"); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -94,11 +94,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,11 +142,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -161,7 +161,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomCalloutExtension); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts index 19867cedaef..ed87d83556b 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/environment/environmentRequestBuilder.ts index bc65550fa40..7417c7c1be5 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/resourceRequestBuilder.ts index b9304f02bbb..5b4e407896d 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index eded888408f..3a33f75336d 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/rolesRequestBuilder.ts index f39d418339c..91dd7c0d6a8 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index be41fe052b6..c6c14c72b27 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index 5e4d6d702ed..86c2efc44f2 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index 34fa45a61ce..50afe3b9dfb 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 968d0d05aa6..f6356caaac8 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts index 0f873bcf63f..dc7cce578fe 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts index 11bd148dc13..2fe2d5f327d 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/resourceRolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/resourceRolesRequestBuilder.ts index 9045ffea227..e8b4f52337a 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/resourceRolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceRoles/resourceRolesRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourceRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourceRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 25c24f41946..b35c8b2187d 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/environment/environmentRequestBuilder.ts index 5b4f68b447a..281b4c9f0b4 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/resourceRequestBuilder.ts index d02b376eacb..722c69d6359 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 960174e072a..d35da588201 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index ff18f3638b4..a5271f21c5d 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index dc21c8029bd..4ece9d389cf 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index eac7e1edc57..6ffa93a9ed0 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts index a7f27dda6dd..f4f9687a62a 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/rolesRequestBuilder.ts index 0c50b314953..350b032216a 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 09608e22dcf..9073bafaa00 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts index 35714d6a7c2..559ebd9e431 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/resourceScopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/resourceScopesRequestBuilder.ts index ac32bc867bc..705a4a51336 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/resourceScopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resourceScopes/resourceScopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourceScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourceScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/accessPackageResourceItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/accessPackageResourceItemRequestBuilder.ts index 4ed55dda7ef..847e3b6b2c3 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/accessPackageResourceItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/accessPackageResourceItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/environment/environmentRequestBuilder.ts index c9338c236c6..a46518fb9e2 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index bc4f931fc22..6c7969ac549 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts index 2a451b9ff04..d81e0e07958 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/resourceRequestBuilder.ts index 29a7d29a4c6..63a657c0f88 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 21d34e7d0c4..19e9216bca8 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index e5fce4cd235..12baa4e7db4 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index a446888041b..34d0b06f25b 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts index 699262d6b72..c10c9f14958 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/rolesRequestBuilder.ts index 0508697e3c5..2443ed289fb 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index a923894ba45..c87f13bb340 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts index 462ff047769..271735ee7fb 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts index 57740f00ef3..1a523d79b12 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index a47ada93395..1be65829b0f 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index 63f86ce6e80..ca9ac83adf3 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index 73dede88e42..7aa2897ad98 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts index 47c48b14266..1755bff3ae1 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/scopesRequestBuilder.ts index 9738e96911a..29f87025227 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/item/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/resources/resourcesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/resources/resourcesRequestBuilder.ts index 1dd0c1bd075..e04aa5ac969 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/resources/resourcesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/resources/resourcesRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/connectedOrganizationsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/connectedOrganizationsRequestBuilder.ts index af13d3cfdfe..7772cd649cb 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/connectedOrganizationsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/connectedOrganizationsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ConnectedOrganizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ConnectedOrganizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectedOrganization); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/connectedOrganizationItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/connectedOrganizationItemRequestBuilder.ts index 7811d58b5dd..537d3e1aa8b 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/connectedOrganizationItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/connectedOrganizationItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class ConnectedOrganizationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class ConnectedOrganizationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ConnectedOrganizationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConnectedOrganization); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/externalSponsorsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/externalSponsorsRequestBuilder.ts index 63582648923..6db29022bb3 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/externalSponsorsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/externalSponsorsRequestBuilder.ts @@ -124,7 +124,7 @@ export class ExternalSponsorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/item/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/item/ref/refRequestBuilder.ts index d2b86cc6e14..d37c0c6a7a6 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/item/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/ref/refRequestBuilder.ts index ca54480e938..24be8120004 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/externalSponsors/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/internalSponsorsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/internalSponsorsRequestBuilder.ts index 275aa63c121..ff3a2b3b0c8 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/internalSponsorsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/internalSponsorsRequestBuilder.ts @@ -124,7 +124,7 @@ export class InternalSponsorsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/item/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/item/ref/refRequestBuilder.ts index c234171687e..8b889f4f6be 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/item/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/item/ref/refRequestBuilder.ts @@ -67,7 +67,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/ref/refRequestBuilder.ts b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/ref/refRequestBuilder.ts index 3de1186a888..e3c761ca08e 100644 --- a/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/ref/refRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/connectedOrganizations/item/internalSponsors/ref/refRequestBuilder.ts @@ -117,7 +117,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -136,7 +136,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceCreate); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/entitlementManagementRequestBuilder.ts b/src/identityGovernance/entitlementManagement/entitlementManagementRequestBuilder.ts index 683a904bcb8..1ce856dfbb1 100644 --- a/src/identityGovernance/entitlementManagement/entitlementManagementRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/entitlementManagementRequestBuilder.ts @@ -205,7 +205,7 @@ export class EntitlementManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class EntitlementManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -242,7 +242,7 @@ export class EntitlementManagementRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEntitlementManagement); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/accessPackageResourceEnvironmentItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/accessPackageResourceEnvironmentItemRequestBuilder.ts index e37c112cd24..1f68065d0ff 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/accessPackageResourceEnvironmentItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/accessPackageResourceEnvironmentItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceEnvironmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceEnvironmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceEnvironmentItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceEnvironment); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/accessPackageResourceItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/accessPackageResourceItemRequestBuilder.ts index d6c9af8625b..1d01dfe0951 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/accessPackageResourceItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/accessPackageResourceItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/environment/environmentRequestBuilder.ts index f0a17f99cc9..1c8b299a856 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 3ff63484f5f..b4e044390ea 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts index 54e684c0d15..3bc702ef8f8 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/resourceRequestBuilder.ts index 597d48cca0d..6a26ca91d81 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 7be4cad8bfc..de662be3765 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index edf7b888d38..331924e5fa6 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index 0670283d957..d55c670f337 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts index c5930c41c80..bad92eab3e5 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/rolesRequestBuilder.ts index e98d1d36392..738fabdac2e 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index f113e53139c..14715812acd 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts index a8b7bec1414..6a1cfa2182c 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts index 7b2de3135a9..75a28f3a18e 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 1d17393a46b..dfce7620842 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index 5cdc6fecf88..29cbd358064 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index f1497f66627..fce296ec06e 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts index 775ed2b134e..9643c4ccfa7 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/scopesRequestBuilder.ts index 36dc012c947..621d3ba8d4b 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/item/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/resourcesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/resourcesRequestBuilder.ts index 23248fe4788..94d941f10f3 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/resourcesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/item/resources/resourcesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceEnvironments/resourceEnvironmentsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceEnvironments/resourceEnvironmentsRequestBuilder.ts index 25579ceae74..5eb302d89f1 100644 --- a/src/identityGovernance/entitlementManagement/resourceEnvironments/resourceEnvironmentsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceEnvironments/resourceEnvironmentsRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourceEnvironmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourceEnvironmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceEnvironment); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/accessPackageResourceRequestItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/accessPackageResourceRequestItemRequestBuilder.ts index 762447659e4..2bb40a5198b 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/accessPackageResourceRequestItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/accessPackageResourceRequestItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class AccessPackageResourceRequestItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class AccessPackageResourceRequestItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AccessPackageResourceRequestItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRequest); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/accessPackagesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/accessPackagesRequestBuilder.ts index 82cff6ef16c..5423371798c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/accessPackagesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/accessPackagesRequestBuilder.ts @@ -116,7 +116,7 @@ export class AccessPackagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/item/accessPackageItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/item/accessPackageItemRequestBuilder.ts index ef53230b534..a5581a2e600 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/item/accessPackageItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/accessPackages/item/accessPackageItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class AccessPackageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/catalogRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/catalogRequestBuilder.ts index 2d9ee170ad9..473f2b70cb0 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/catalogRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/catalogRequestBuilder.ts @@ -156,7 +156,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class CatalogRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageCatalog); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts index c3174dea5ad..fedc9e19aa1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/customWorkflowExtensionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CustomWorkflowExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CustomWorkflowExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomCalloutExtension); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts index 054353cc159..73b191209c2 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/resourceRequests/{accessPackageResourceRequest%2Did}/catalog/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}"); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -94,11 +94,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,11 +142,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -161,7 +161,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomCalloutExtension); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts index f1429a1d7ed..6788fe4afa1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/environment/environmentRequestBuilder.ts index 35274cc9f8d..c278bab2ff5 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/resourceRequestBuilder.ts index f0a7b03b9e7..31972472cf0 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 665405695c8..19c26eab1e7 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/rolesRequestBuilder.ts index 536f15b709d..e35837f429c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 4f9949bd632..8d292d568b1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index b9756f8bbe6..dd6b7206aed 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index c2b46749f76..ba37a0077a1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index d41786068a8..1c86b555aff 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts index 29c67d295e1..57c7b2080e6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts index 6ecfa281cfe..e5cdcf42f23 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/resourceRolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/resourceRolesRequestBuilder.ts index bddc0c359c4..0e7941b2b7c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/resourceRolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceRoles/resourceRolesRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourceRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourceRolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts index ca4a063892b..e789228f783 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/environment/environmentRequestBuilder.ts index 9a1582d688c..b14dcea5022 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/resourceRequestBuilder.ts index 391d64055ff..4d51ed60785 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 60aa2be0250..5a8d91c69c1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index 41f9cbbcc1b..9726506aec1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index 2ab29333ac6..8a876041d08 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 6d25f85bbe4..0f1b216e184 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts index d1e35a5754c..1c2af8aefbe 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/rolesRequestBuilder.ts index 84267497c95..39de066861c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 7dc7fd9ff03..4b1ba667ba6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts index 416b3fe8606..5cff7da2e66 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/resourceScopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/resourceScopesRequestBuilder.ts index d5d4d489e62..ae84db11449 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/resourceScopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resourceScopes/resourceScopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourceScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourceScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/accessPackageResourceItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/accessPackageResourceItemRequestBuilder.ts index 72afdb8d30e..408ce5790da 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/accessPackageResourceItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/accessPackageResourceItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/environment/environmentRequestBuilder.ts index fd9d6020824..94d96076a8d 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 813f939c86a..5d06c287082 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts index afa2a367262..51c2c10e594 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/resourceRequestBuilder.ts index 21922958fb8..7f6e43983f6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 66e79387857..cfe3dcfb8cd 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index 9b432d9bade..eb11e881176 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index b5e287734ac..aee8700b96c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts index 73569fff625..8bb7ca177ab 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/rolesRequestBuilder.ts index 6682678d71f..f7b39dd756a 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index ffb2673294a..1ec577aae42 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts index 9222b6b11ee..99de2a70171 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/resourceRequestBuilder.ts index d530a68955d..00fa20d8a20 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index bdb1b774d36..9243881d9f6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index f42db56faee..583c3c243c6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index 2a1babd85f1..1ce0d4b047c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts index 6d532b1c5d3..16700359004 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/scopesRequestBuilder.ts index 8c0d5f13b22..d6480436566 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/item/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/resourcesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/resourcesRequestBuilder.ts index 8124f6952ba..12031fcd31e 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/resourcesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/resources/resourcesRequestBuilder.ts @@ -144,7 +144,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/environment/environmentRequestBuilder.ts index 0544bd26f24..859dd3dd8ed 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/resourceRequestBuilder.ts index 83858611cd4..a4e33c761da 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index b92bf24b18e..e5065d371cd 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index b5a0630a2d4..3314af5e798 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/resourceRequestBuilder.ts index 5986d1e80f7..02fdd5e61ba 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 1984f9265b6..33c6e001650 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index 41fe5646658..1bb8d912961 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index 8bdb8776a30..f35c409a0ca 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts index afe9dec8098..88d94a74dfb 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/rolesRequestBuilder.ts index f8142d21e73..5b8f24ff712 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index ce78154ed80..eb2ca7af29e 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index a83325bd5ec..cef6d8a1be1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/resourceRequestBuilder.ts index a4eb62be17a..84529c88384 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index aacf88c77d4..c5a0bcd8ed0 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index 469a5c239e3..93bb57be674 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index 9d972887343..430f53e2ade 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts index b7348bff91f..b301742dbe0 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/scopesRequestBuilder.ts index b9caa292f05..f91caf0e9ce 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/resourceRequestsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/resourceRequestsRequestBuilder.ts index d154412b5a8..541b92d8d1b 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/resourceRequestsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/resourceRequestsRequestBuilder.ts @@ -114,7 +114,7 @@ export class ResourceRequestsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAccessPackageResourceRequestCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add a Microsoft Entra group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add a Microsoft Entra application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AccessPackageResourceRequest @@ -145,11 +145,11 @@ export class ResourceRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add a Microsoft Entra group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add a Microsoft Entra application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -164,7 +164,7 @@ export class ResourceRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRequest); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts index c59ea70ac9a..22f9deb7545 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/accessPackageResourceRoleScopeItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRoleScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts index 804436d4dd0..e0b940c630c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts index a048f1a603b..409bc3e681d 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 5e3d077f973..0451965a6ed 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts index d10601ee556..10767aa0973 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index 6c6511f5ab6..d421f35239a 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index c37bc66f8a8..86a34cc8db6 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts index 6a64575c2df..13c65ae0d4b 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index df404c74c8e..96ca62a087f 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts index 3a83eb396c6..98c9c9a78bb 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts index 9fc821a1c5d..0af7f05afa5 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/roleRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/roleRequestBuilder.ts index ab2b99018e5..115f6602f62 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/roleRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/role/roleRequestBuilder.ts @@ -128,7 +128,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class RoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts index 14cce3d4b5d..132671ee13c 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts index 5e6a692effc..ad383ad2181 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/resourceRequestBuilder.ts @@ -142,7 +142,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index 6a334bfe35a..ad7927333fd 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts index e3b81b56dec..11c91cd4a89 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts index 7fb576d3db0..d30820e1861 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index f648aeacbc6..4e344ae17d2 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts index b9de38e41f0..76128303732 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts index 9b126cb1ca9..637a8f1a791 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index c46accf7a6d..f84dc5e35d9 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts index 4477fe98ed2..a2a17e9de29 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/scopeRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/scopeRequestBuilder.ts index 11943e59aad..12b6f908bce 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/scopeRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/item/scope/scopeRequestBuilder.ts @@ -128,7 +128,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts index f6dff7a6610..a90a2c585c1 100644 --- a/src/identityGovernance/entitlementManagement/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRoleScopes/resourceRoleScopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourceRoleScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourceRoleScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRoleScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/accessPackageResourceItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/accessPackageResourceItemRequestBuilder.ts index 5464e9c5b3c..67057258389 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/accessPackageResourceItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/accessPackageResourceItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/environment/environmentRequestBuilder.ts index 0d43e3d0553..70bb3b90ad9 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index ef9ecb3c2a6..bef4e379662 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts index f412a2ba87e..18790c868b4 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/resourceRequestBuilder.ts index 3f39d912822..1d1ec14ac3f 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index f368d8093a0..fabf428f5d2 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts index 5f1af036a54..b3ee9450401 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts index 03e7706d06e..c201eae52bb 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts index c34af618565..c8963615a13 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/item/resource/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/roles/rolesRequestBuilder.ts index ec85295371b..688d70381f7 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts index e6679566006..6dde74948b0 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/accessPackageResourceScopeItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts index ddd39f018a5..e194e5cd66d 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/resourceRequestBuilder.ts index 19aac861d0a..a4568d9d988 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/resourceRequestBuilder.ts @@ -135,7 +135,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts index a2f8a506501..65d38336955 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/accessPackageResourceRoleItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts index ac85b3fb0c3..7b9ffbdbf3d 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/environment/environmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class EnvironmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts index 3746b37ad60..5dbeaca68c0 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/item/resource/resourceRequestBuilder.ts @@ -128,7 +128,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts index 1f05ac38a01..47dec21999c 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/item/resource/roles/rolesRequestBuilder.ts @@ -143,7 +143,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class RolesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceRole); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/item/scopes/scopesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/item/scopes/scopesRequestBuilder.ts index dbf24dff851..fa79463f179 100644 --- a/src/identityGovernance/entitlementManagement/resources/item/scopes/scopesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/item/scopes/scopesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResourceScope); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/resources/resourcesRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resources/resourcesRequestBuilder.ts index 9ad82eb5dfe..ccaf9be8cd0 100644 --- a/src/identityGovernance/entitlementManagement/resources/resourcesRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resources/resourcesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAccessPackageResource); return requestInfo; }; diff --git a/src/identityGovernance/entitlementManagement/settings/settingsRequestBuilder.ts b/src/identityGovernance/entitlementManagement/settings/settingsRequestBuilder.ts index c763ac9bbb2..187fe2e3692 100644 --- a/src/identityGovernance/entitlementManagement/settings/settingsRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/settings/settingsRequestBuilder.ts @@ -123,7 +123,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEntitlementManagementSettings); return requestInfo; }; diff --git a/src/identityGovernance/identityGovernanceRequestBuilder.ts b/src/identityGovernance/identityGovernanceRequestBuilder.ts index 71e9fbbd6ed..62e09f87aaf 100644 --- a/src/identityGovernance/identityGovernanceRequestBuilder.ts +++ b/src/identityGovernance/identityGovernanceRequestBuilder.ts @@ -140,7 +140,7 @@ export class IdentityGovernanceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class IdentityGovernanceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityGovernance); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/customTaskExtensionsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/customTaskExtensionsRequestBuilder.ts index aeb36cbf02a..5b526c6d7d5 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/customTaskExtensionsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/customTaskExtensionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class CustomTaskExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CustomTaskExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomTaskExtension); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/createdByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/createdByRequestBuilder.ts index ae5f0a11120..4ecd3b6cf03 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/createdByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/createdByRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index df091a95211..07adcc15dfc 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index d7ccedefed9..688ecb18f8e 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/customTaskExtensionItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/customTaskExtensionItemRequestBuilder.ts index f2b8df0e14f..95cac9d1ffb 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/customTaskExtensionItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/customTaskExtensionItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class CustomTaskExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CustomTaskExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class CustomTaskExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCustomTaskExtension); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts index 6c196213f82..ba978563027 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index f1caf503f9b..762fb295826 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 1ceafcd7f64..c0e7d568be6 100644 --- a/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/customTaskExtensions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/deletedItemsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/deletedItemsRequestBuilder.ts index 571abad7898..a4403dade31 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/deletedItemsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/deletedItemsRequestBuilder.ts @@ -103,7 +103,7 @@ export class DeletedItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -121,7 +121,7 @@ export class DeletedItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/createdByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/createdByRequestBuilder.ts index 19af52fa4be..5f09e012d14 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/createdByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/createdByRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index c912f5e062c..ff84d534047 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 9951048cf67..f9755fb2d0e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/executionScopeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/executionScopeRequestBuilder.ts index d67d47b6556..5eec329eb8a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/executionScopeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/executionScopeRequestBuilder.ts @@ -116,7 +116,7 @@ export class ExecutionScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts index fc9cb6195cd..ba4265e92cd 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts index 24809184c22..491efb334da 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index c4ce27c83c5..f7c32195086 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index be17c3909bc..c58e677dd2e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts index 29c0cee5fff..ad6748a7596 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoActivatePostRequestBody(activatePostRequestBody: } } export function serializeActivatePostRequestBody(writer: SerializationWriter, activatePostRequestBody: ActivatePostRequestBody | undefined = {} as ActivatePostRequestBody) : void { - writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, ); + writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, serializeUser); writer.writeAdditionalData(activatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts index 917db988a10..72486b55340 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceActivateRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeActivatePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts index 8094ea0ab57..e244b6bc902 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateNewVersionPostRequestBody(createNewVersionP } } export function serializeCreateNewVersionPostRequestBody(writer: SerializationWriter, createNewVersionPostRequestBody: CreateNewVersionPostRequestBody | undefined = {} as CreateNewVersionPostRequestBody) : void { - writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, ); + writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, serializeWorkflow); writer.writeAdditionalData(createNewVersionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts index 2b9f73d6142..f339663b063 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateNewVersionPostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts index 5e052f30df9..241201f6162 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/runItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/runItemRequestBuilder.ts index 1599e57a704..5fe0789ab79 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/runItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/runItemRequestBuilder.ts @@ -88,7 +88,7 @@ export class RunItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 1ede2a8ee8a..ad952e939c2 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 501c430d05f..41c478ea893 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 76d3a6fb993..827ee214266 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 958612b112b..ecdd239006b 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 4f62cd5dd13..635234c7bbb 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 3beedfe75dd..267746d82b9 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 9bae7da47d8..7ca5e15666a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 2d70dc3f377..621353d0abf 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 282e7f07308..cbb8d58080d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts index 9f7a0841ca6..4e1e67658c4 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index d29ea8befc9..7ce58a9c0c1 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 43ec3c1b34c..44f76c1d551 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 1c6227e324e..0a8196e2e2a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index e881799be84..c730d9d912d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 63de1138fcc..1fba75f879d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts index d86721a0c96..61a24de0a21 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 63c28066240..783ac202763 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 6aef0c142cb..68243c9dd31 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts index 34e709b219e..868b4f5e385 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts @@ -88,7 +88,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 11d95422ea5..8b9d59faa0d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts index ed100df1af7..625080c90d6 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index c9b4b012fd9..0707fd23ec9 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/runsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/runsRequestBuilder.ts index cf950959c46..345baf8925a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/runsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/runsRequestBuilder.ts @@ -129,7 +129,7 @@ export class RunsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/task/taskRequestBuilder.ts index 026003b591a..7a2f25fa9d5 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts index 0bf8545e90d..56a796b4e75 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 15e7ec45e8a..e57475a5838 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 476b6c63c07..92a09c38a5f 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 92fa7b77f19..fa6314b0c7d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 034a1333d27..0f6e57be5b7 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 7a82e82a56d..a93378cfb94 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index c9e020c0d3e..73429db0d79 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 43902d7d6f9..ec79437fb28 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts index e17fa9407ef..8169c29d931 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskReportItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 75db397ce8f..663c5dc634a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/taskReportsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/taskReportsRequestBuilder.ts index f023f4e3e17..b1089759a25 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/taskReportsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/taskReportsRequestBuilder.ts @@ -129,7 +129,7 @@ export class TaskReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskItemRequestBuilder.ts index 5705fcf8fdd..69a51410c0e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 1ec804710cb..85daea8b7fc 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 14c53e8071d..9698b013357 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index e0904ab9024..03b954b0f18 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 9ecd7f36d1a..a7eb8a9be7a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts index aef8915a1ab..a1831de3183 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 0fd9db28a2b..31fb6420b04 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 8fd6ac3bf87..0a8976a4d8a 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -116,7 +116,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/tasksRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/tasksRequestBuilder.ts index ace0b2026a0..a9af0492bb7 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/tasksRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/tasksRequestBuilder.ts @@ -143,7 +143,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index d88d2b0c9f2..8172239bb43 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 0f54535690d..4335a3ad080 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts index 865175b4320..06fbbac45e9 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 075deb5f973..119406b208f 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index fda063f81ba..d1d1cbe6ef9 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 62a33fb96bd..885c2dcb5b4 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 70d1596a7c0..6c2acde4f1d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 2f79bf0801c..0270c271f46 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index d598caa8f99..af7861aca2e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 6e76408a5c2..fec7ef42f3e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts index accb7064b33..79d53a2c4b9 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 57c6f9e18ec..cbf83687769 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts index a9f4a02d68e..edc276b90e6 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts index fb6e2b5c776..f26f73e0f52 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index 25aa59b5a74..176a0ce5224 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5f0168a44cb..d998131b5ff 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts index 74ac868de49..809081df248 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index 5fde7a74c5f..8dd3e597647 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 5a47a0800f3..682c72e04f3 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts index bc5a108913f..1900c95d8f4 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 436f6ef8888..80a1a77e3cd 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 43ec3c1b34c..44f76c1d551 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 100e5f16b23..f93833319dc 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index cdee4ba6e96..b7e87bd5a3d 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 81e14c8e86d..40f1520476c 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 5eafe17021d..edc80c5a9be 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 617dec31dd2..a7da0e62733 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 5a9a0f55982..e8263dc37d8 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -116,7 +116,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/tasksRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/tasksRequestBuilder.ts index b64dd2d32b1..3eccca65d91 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/tasksRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/tasksRequestBuilder.ts @@ -143,7 +143,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts index 36ec7587a67..d58b84fb955 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts @@ -95,7 +95,7 @@ export class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/versionsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/versionsRequestBuilder.ts index fa06ed7535d..29a2238c0f8 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/versionsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/versionsRequestBuilder.ts @@ -117,7 +117,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/workflowItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/workflowItemRequestBuilder.ts index 39ac6e95f27..ec521b2e851 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/workflowItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/workflowItemRequestBuilder.ts @@ -175,7 +175,7 @@ export class WorkflowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class WorkflowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/workflowsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/workflowsRequestBuilder.ts index 9e3a9f1a401..12dd07f4fff 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/workflowsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/workflowsRequestBuilder.ts @@ -117,7 +117,7 @@ export class WorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/lifecycleWorkflowsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/lifecycleWorkflowsRequestBuilder.ts index e6a547b6022..714d14328c1 100644 --- a/src/identityGovernance/lifecycleWorkflows/lifecycleWorkflowsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/lifecycleWorkflowsRequestBuilder.ts @@ -163,7 +163,7 @@ export class LifecycleWorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class LifecycleWorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class LifecycleWorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLifecycleWorkflowsContainer); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/settings/settingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/settings/settingsRequestBuilder.ts index 25d78e90280..202fbd6ff39 100644 --- a/src/identityGovernance/lifecycleWorkflows/settings/settingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/settings/settingsRequestBuilder.ts @@ -100,7 +100,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -119,7 +119,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLifecycleManagementSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/taskDefinitions/item/taskDefinitionItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/taskDefinitions/item/taskDefinitionItemRequestBuilder.ts index 92f91ac9135..8a064f35f9c 100644 --- a/src/identityGovernance/lifecycleWorkflows/taskDefinitions/item/taskDefinitionItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/taskDefinitions/item/taskDefinitionItemRequestBuilder.ts @@ -74,7 +74,7 @@ export class TaskDefinitionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/taskDefinitions/taskDefinitionsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/taskDefinitions/taskDefinitionsRequestBuilder.ts index 2a305e56ccc..76c1b368a9d 100644 --- a/src/identityGovernance/lifecycleWorkflows/taskDefinitions/taskDefinitionsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/taskDefinitions/taskDefinitionsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskDefinitionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskItemRequestBuilder.ts index eacbc07c473..2ee209fb184 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 5629d6d03a3..ab6421f8120 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 623a99b5d24..384286ddd5d 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index b50b3c76460..d78fb1a49b0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 07db68039f2..d6797b20ccd 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts index c02916cc9d5..da2882412fa 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index cd50074761b..2134940e69f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 2bf2279bf1c..54d664dd6cc 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -116,7 +116,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/tasksRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/tasksRequestBuilder.ts index c4980518fb0..1330cbddee8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/tasksRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/tasksRequestBuilder.ts @@ -116,7 +116,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/workflowTemplateItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/workflowTemplateItemRequestBuilder.ts index 35a57a93080..cb81bbc64f8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/workflowTemplateItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/workflowTemplateItemRequestBuilder.ts @@ -81,7 +81,7 @@ export class WorkflowTemplateItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/workflowTemplatesRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/workflowTemplatesRequestBuilder.ts index 3c13eb955e9..871e057b0da 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/workflowTemplatesRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/workflowTemplatesRequestBuilder.ts @@ -117,7 +117,7 @@ export class WorkflowTemplatesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/createdByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/createdByRequestBuilder.ts index 1a1ff9c920d..5189771558f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/createdByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/createdByRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index d580fb4d501..b6afb5bcb49 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 659d0458664..c2a224370b2 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/executionScopeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/executionScopeRequestBuilder.ts index c89df31a3d9..6eeac7cb6a8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/executionScopeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/executionScopeRequestBuilder.ts @@ -116,7 +116,7 @@ export class ExecutionScopeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts index 5e4b644ed42..3ab71bb22d8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/executionScope/item/userProcessingResultItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts index 0fcb8050d70..02594525df4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/lastModifiedByRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index f3a687c067c..28ae9fb5ae0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 9ee0eac768b..ed3259cb16c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts index 12c3719f911..774a953dd02 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoActivatePostRequestBody(activatePostRequestBody: } } export function serializeActivatePostRequestBody(writer: SerializationWriter, activatePostRequestBody: ActivatePostRequestBody | undefined = {} as ActivatePostRequestBody) : void { - writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, ); + writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, serializeUser); writer.writeAdditionalData(activatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts index 5fb3caa05bd..7494f7eec1c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/microsoftGraphIdentityGovernanceActivateRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceActivateRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeActivatePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts index e6ed18c5902..7e50d06fc0d 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateNewVersionPostRequestBody(createNewVersionP } } export function serializeCreateNewVersionPostRequestBody(writer: SerializationWriter, createNewVersionPostRequestBody: CreateNewVersionPostRequestBody | undefined = {} as CreateNewVersionPostRequestBody) : void { - writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, ); + writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, serializeWorkflow); writer.writeAdditionalData(createNewVersionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts index e8a5afe523d..f4ec950be67 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder exte requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateNewVersionPostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts index 06947cc7d41..d9264fe8dfe 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceRestore/microsoftGraphIdentityGovernanceRestoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseR requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/runItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/runItemRequestBuilder.ts index 5f2d9d07c9c..adf049f20b8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/runItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/runItemRequestBuilder.ts @@ -88,7 +88,7 @@ export class RunItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 530e30ef468..362b89b2290 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 1939d801edc..1abe39023c0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 88716aad9f5..b514f0fb4b3 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 074a6c4357c..3181894d8b4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 6f5902b7ee6..d2849ccdcb6 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 42b6935c5fd..2916706a24a 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index e674f09c5b2..6e8abd26bb0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index a522167ee68..c7c6ec119b8 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 059fb345ee2..9d1e89bcc06 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts index e9eed97343a..9d3ffff88ff 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index e9a2266f1a8..ef221d8bada 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index c1be73d25fc..e7faf9921d4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index f8b968d0870..2427d49e791 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 91dd29af340..78d745286f6 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 88c407c9244..147d1799ea0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts index e7fdcf85472..719134c4602 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 4c1e34158ec..84530d542f4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index e0fa896dbae..9122e09806f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts index 4aed39cffb9..60e62d48f1c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts @@ -88,7 +88,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 1a0c555d8e2..3d3eaa96f17 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts index 336fbdd9517..37f6c1587e0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/userProcessingResultsRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 4067815e263..7c2376bad76 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/runsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/runsRequestBuilder.ts index 02fffe61394..9d5c1066d94 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/runsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/runsRequestBuilder.ts @@ -129,7 +129,7 @@ export class RunsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/task/taskRequestBuilder.ts index 1a84e0d572d..66b723fd4c9 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts index c2effa9016a..4a7cc8033dc 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskDefinition/taskDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 73a78f917e5..2b3173b7cc2 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 9122d9003e6..c8644b3f469 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 86f4626bc0b..8c10b95f329 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index e14b93c5900..1e07befd531 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 4cdfb31b7dc..0d722487448 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index dd348b18cc0..358233a4171 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 4151badd69c..aa3b454d949 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts index 73e445484de..5311707b56c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskReportItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskReportItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index ec9433bc51f..a3f9137828f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/taskReportsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/taskReportsRequestBuilder.ts index b63fb86458b..32b64bbb220 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/taskReportsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/taskReportsRequestBuilder.ts @@ -129,7 +129,7 @@ export class TaskReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskItemRequestBuilder.ts index a57ce7aa9f7..68f15b6b818 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 34a9e855539..76694f0f3eb 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 6c0adcfbec6..212c7882f01 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index b53c0903a84..036c84b8971 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 7995e29fe07..4eda47ef40a 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 0d0f4a52e43..40f062d65b0 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 004e9c7582f..8060f296a70 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index 1410550560f..15e32a6be0b 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -116,7 +116,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/tasksRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/tasksRequestBuilder.ts index b6a07333e8c..7ccff120ee7 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/tasksRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/tasksRequestBuilder.ts @@ -143,7 +143,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index 32438f54098..eb221e56635 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 12e1609d0f4..10e8b5b536c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts index d44bd247ecc..5b1c1d6f5ab 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 0717fb7b7f2..ea53fabfa1d 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index c141c34fa0a..59da70d5edb 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index c0d398961fe..30c59e94801 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 83e25eda9d7..4e92b04ea3f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 272f0eead19..4ce87014569 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 36e0c6e13a6..3003368fd7c 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index b628196d032..f991164ad50 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -117,7 +117,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts index 018722652e4..a61b2809e3e 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/userProcessingResultItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 7e8fbc4e0b9..2402d692dd6 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -62,7 +62,7 @@ export class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDate requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts index 65b190b7023..de1f4da4533 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/userProcessingResultsRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts index b9a5fe89155..0ae1aec9716 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/createdByRequestBuilder.ts @@ -87,7 +87,7 @@ export class CreatedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index 3c3b5388131..6f397a3964e 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 2d31a37c19e..437e3af9a7f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/createdBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts index 9b441d959d8..60b5158917e 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/lastModifiedByRequestBuilder.ts @@ -87,7 +87,7 @@ export class LastModifiedByRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts index 41a07b9a654..77111b2eb32 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 95a7fbc620d..82dc84cb468 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/lastModifiedBy/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts index a95fc5d6812..ba16d0c0414 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts index 84c66d9e602..f4b02097896 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/microsoftGraphIdentityGovernanceResumeRequestBuilder.ts @@ -60,7 +60,7 @@ export class MicrosoftGraphIdentityGovernanceResumeRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResumePostRequestBody); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index c1be73d25fc..e7faf9921d4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts index dd86096118c..64f53bd95a2 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index af5d92295cd..9eba165178a 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts index 588a3662d5d..21a822434da 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/subject/subjectRequestBuilder.ts @@ -87,7 +87,7 @@ export class SubjectRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts index 35996b7729a..f34d6d59188 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/task/taskRequestBuilder.ts @@ -73,7 +73,7 @@ export class TaskRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts index 8fdb3eb3a38..6dc052928b9 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/taskProcessingResultItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts index e60a94abe0e..55bda6e4fc6 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/taskProcessingResultsRequestBuilder.ts @@ -116,7 +116,7 @@ export class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/tasksRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/tasksRequestBuilder.ts index 4371f88d821..2d20e9a4990 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/tasksRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/tasksRequestBuilder.ts @@ -143,7 +143,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTask); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts index b48e2366763..8baf76079da 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/workflowVersionVersionNumberItemRequestBuilder.ts @@ -95,7 +95,7 @@ export class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/versionsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/versionsRequestBuilder.ts index 19dfe2e64de..a5e5cddc920 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/versionsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/versionsRequestBuilder.ts @@ -117,7 +117,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/workflowItemRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/workflowItemRequestBuilder.ts index 6ffadb5a342..f3a24f3876e 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/workflowItemRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/workflowItemRequestBuilder.ts @@ -201,7 +201,7 @@ export class WorkflowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -219,7 +219,7 @@ export class WorkflowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -238,7 +238,7 @@ export class WorkflowItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkflow); return requestInfo; }; diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/workflowsRequestBuilder.ts b/src/identityGovernance/lifecycleWorkflows/workflows/workflowsRequestBuilder.ts index bbb238f65b5..ef45c7e89ed 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/workflowsRequestBuilder.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/workflowsRequestBuilder.ts @@ -145,7 +145,7 @@ export class WorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class WorkflowsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWorkflow); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/assignmentApprovalsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/assignmentApprovalsRequestBuilder.ts index 17803bcdb2a..6e8c3e51be3 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/assignmentApprovalsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/assignmentApprovalsRequestBuilder.ts @@ -153,7 +153,7 @@ export class AssignmentApprovalsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class AssignmentApprovalsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApproval); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 0da7064417a..fa6e3cfd517 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 288801b036c..4211e1af5e6 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/approvalItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/approvalItemRequestBuilder.ts index eedfb595ebd..9cc41e9736c 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/approvalItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/approvalItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ApprovalItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApproval); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts index 5684f18d406..99678c8b2b9 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/item/approvalStageItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ApprovalStageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/stagesRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/stagesRequestBuilder.ts index 94ca0c5aaeb..402d6f6e2b8 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/stagesRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/item/stages/stagesRequestBuilder.ts @@ -144,7 +144,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class StagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeApprovalStage); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/assignmentScheduleInstancesRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/assignmentScheduleInstancesRequestBuilder.ts index 2ad2e9ea70d..71e0b01ed46 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/assignmentScheduleInstancesRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/assignmentScheduleInstancesRequestBuilder.ts @@ -154,7 +154,7 @@ export class AssignmentScheduleInstancesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class AssignmentScheduleInstancesRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentScheduleInstance); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 688028cadd6..2cb8cb833c3 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentScheduleInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index f26af0dceef..f5e2ee9d318 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/activatedUsing/activatedUsingRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/activatedUsing/activatedUsingRequestBuilder.ts index acb66807035..d737d1321aa 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/activatedUsing/activatedUsingRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/activatedUsing/activatedUsingRequestBuilder.ts @@ -73,7 +73,7 @@ export class ActivatedUsingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/groupRequestBuilder.ts index 603214c716c..9ca0aae6b96 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index d47f9bce820..7a5dd794a4a 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/principal/principalRequestBuilder.ts index 2cdd9d4c261..ec5f3c2dadd 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/privilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/privilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.ts index af23e64c47e..5216ba1d2f4 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/privilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/item/privilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.ts @@ -143,7 +143,7 @@ export class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentScheduleInstance); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/assignmentScheduleRequestsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/assignmentScheduleRequestsRequestBuilder.ts index 74a5f0a29a1..f5cd8fea83a 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/assignmentScheduleRequestsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/assignmentScheduleRequestsRequestBuilder.ts @@ -155,7 +155,7 @@ export class AssignmentScheduleRequestsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class AssignmentScheduleRequestsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentScheduleRequest); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index a386774720e..052e160f83f 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentScheduleRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index d88745884a1..bc2d1ab4b18 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/activatedUsing/activatedUsingRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/activatedUsing/activatedUsingRequestBuilder.ts index 4961cdd3725..499f02bca4e 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/activatedUsing/activatedUsingRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/activatedUsing/activatedUsingRequestBuilder.ts @@ -73,7 +73,7 @@ export class ActivatedUsingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/cancel/cancelRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/cancel/cancelRequestBuilder.ts index 858331afb60..aa970e4aae0 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/cancel/cancelRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/cancel/cancelRequestBuilder.ts @@ -56,7 +56,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/groupRequestBuilder.ts index bc14e384eca..74f50fe6ae8 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 354d313f4f9..bb82c2574cf 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/principal/principalRequestBuilder.ts index 3d86cb2bae2..d80ef675b6e 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/privilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/privilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.ts index 30707a021f0..60a332d8afa 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/privilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/privilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder ex requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentScheduleRequest); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts index 404d6fc19c4..7f710b1ec36 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts @@ -73,7 +73,7 @@ export class TargetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/assignmentSchedulesRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/assignmentSchedulesRequestBuilder.ts index c427cd0c51a..c8f81990a7d 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/assignmentSchedulesRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/assignmentSchedulesRequestBuilder.ts @@ -154,7 +154,7 @@ export class AssignmentSchedulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class AssignmentSchedulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentSchedule); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index d12a03199f3..e19bd0f6db1 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentSchedule); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 383a7689579..47f81ffb100 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/activatedUsing/activatedUsingRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/activatedUsing/activatedUsingRequestBuilder.ts index fe8552133fd..2b9bc925eef 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/activatedUsing/activatedUsingRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/activatedUsing/activatedUsingRequestBuilder.ts @@ -73,7 +73,7 @@ export class ActivatedUsingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/groupRequestBuilder.ts index 082cd8a47be..1c28466dad1 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 20fdb5565f1..1e81cdd3f92 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/principal/principalRequestBuilder.ts index 205d1668674..ac91539372b 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/privilegedAccessGroupAssignmentScheduleItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/privilegedAccessGroupAssignmentScheduleItemRequestBuilder.ts index eec45f7053d..020a06ea7fa 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/privilegedAccessGroupAssignmentScheduleItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/item/privilegedAccessGroupAssignmentScheduleItemRequestBuilder.ts @@ -143,7 +143,7 @@ export class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupAssignmentSchedule); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/eligibilityScheduleInstancesRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/eligibilityScheduleInstancesRequestBuilder.ts index d8e2e67854b..8159b4c7346 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/eligibilityScheduleInstancesRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/eligibilityScheduleInstancesRequestBuilder.ts @@ -154,7 +154,7 @@ export class EligibilityScheduleInstancesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class EligibilityScheduleInstancesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilityScheduleInstance); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 23cdfdd1959..4b2bc958d0f 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilityScheduleInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index fdcd18c01c0..04055b64ea8 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/groupRequestBuilder.ts index 1bc35e3545a..6171fa44efa 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 89fe2b0b269..28630cbfa2c 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/principal/principalRequestBuilder.ts index ad946071104..61ac05b51d4 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/privilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/privilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.ts index 350173237eb..1e5b0f0d494 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/privilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/item/privilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilityScheduleInstance); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/eligibilityScheduleRequestsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/eligibilityScheduleRequestsRequestBuilder.ts index e9b66ceaa62..f06bb5696f8 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/eligibilityScheduleRequestsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/eligibilityScheduleRequestsRequestBuilder.ts @@ -155,7 +155,7 @@ export class EligibilityScheduleRequestsRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class EligibilityScheduleRequestsRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilityScheduleRequest); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 95cd6f38f9e..e1c912577bf 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilityScheduleRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 2556b23fcf1..55ee20187c9 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/cancel/cancelRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/cancel/cancelRequestBuilder.ts index 62109022eb4..06568428e82 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/cancel/cancelRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/cancel/cancelRequestBuilder.ts @@ -56,7 +56,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/groupRequestBuilder.ts index e91061f1d53..c0b0bd99430 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 16dcc3d2c19..655243771f7 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/principal/principalRequestBuilder.ts index f375894db49..d18fd68e44f 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/privilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/privilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.ts index f090aff5122..c020a86e931 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/privilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/privilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.ts @@ -150,7 +150,7 @@ export class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder e requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilityScheduleRequest); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts index 83702b6010b..53c69004ad3 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/item/targetSchedule/targetScheduleRequestBuilder.ts @@ -73,7 +73,7 @@ export class TargetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/eligibilitySchedulesRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/eligibilitySchedulesRequestBuilder.ts index 1e4f93fe7f9..cb8fe047e1b 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/eligibilitySchedulesRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/eligibilitySchedulesRequestBuilder.ts @@ -154,7 +154,7 @@ export class EligibilitySchedulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class EligibilitySchedulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilitySchedule); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index e5fb4e141f2..6255810b9ad 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilitySchedule); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts index 0187db09011..4693b17be1e 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnRequestBuilder.ts @@ -95,7 +95,7 @@ export class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/groupRequestBuilder.ts index ab68cc69883..8840b520515 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index f9d1f1fa1a1..d441088e1f9 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/principal/principalRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/principal/principalRequestBuilder.ts index dc91371dc05..381edb3bcc4 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/principal/principalRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/principal/principalRequestBuilder.ts @@ -73,7 +73,7 @@ export class PrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/privilegedAccessGroupEligibilityScheduleItemRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/privilegedAccessGroupEligibilityScheduleItemRequestBuilder.ts index dd40317c171..1960806b74f 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/privilegedAccessGroupEligibilityScheduleItemRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/item/privilegedAccessGroupEligibilityScheduleItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroupEligibilitySchedule); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/group/groupRequestBuilder.ts b/src/identityGovernance/privilegedAccess/group/groupRequestBuilder.ts index bbfa3266e13..76c8ed79adc 100644 --- a/src/identityGovernance/privilegedAccess/group/groupRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/group/groupRequestBuilder.ts @@ -170,7 +170,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -188,7 +188,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -207,7 +207,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessGroup); return requestInfo; }; diff --git a/src/identityGovernance/privilegedAccess/privilegedAccessRequestBuilder.ts b/src/identityGovernance/privilegedAccess/privilegedAccessRequestBuilder.ts index 33aa1c028e1..c3e3ed77278 100644 --- a/src/identityGovernance/privilegedAccess/privilegedAccessRequestBuilder.ts +++ b/src/identityGovernance/privilegedAccess/privilegedAccessRequestBuilder.ts @@ -128,7 +128,7 @@ export class PrivilegedAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class PrivilegedAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class PrivilegedAccessRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePrivilegedAccessRoot); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreementAcceptances/agreementAcceptancesRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreementAcceptances/agreementAcceptancesRequestBuilder.ts index ea2c919211e..e9ef85f05fc 100644 --- a/src/identityGovernance/termsOfUse/agreementAcceptances/agreementAcceptancesRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreementAcceptances/agreementAcceptancesRequestBuilder.ts @@ -143,7 +143,7 @@ export class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts index e8fa5c9f003..6d5ccdf8270 100644 --- a/src/identityGovernance/termsOfUse/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/agreementsRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/agreementsRequestBuilder.ts index 88c48354e14..40047e8312f 100644 --- a/src/identityGovernance/termsOfUse/agreements/agreementsRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/agreementsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AgreementsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AgreementsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreement); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/acceptances/acceptancesRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/acceptances/acceptancesRequestBuilder.ts index 23859a53216..d6283bbef9a 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/acceptances/acceptancesRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/acceptances/acceptancesRequestBuilder.ts @@ -144,7 +144,7 @@ export class AcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts index 10bbeb3a03f..c62f15597cd 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/acceptances/item/agreementAcceptanceItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementAcceptance); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts index bbf79a335db..cf8181cee8f 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts @@ -99,10 +99,10 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Agreement - * @see {@link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AgreementItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -145,11 +145,11 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -163,7 +163,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreement); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/file/fileRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/file/fileRequestBuilder.ts index 150c2e21091..f555cef2113 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/file/fileRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/file/fileRequestBuilder.ts @@ -129,7 +129,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class FileRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFile); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts index 8f99c853573..89d1c722ebd 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/agreementFileLocalizationItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts index 8f4f1849c92..ed1f7c32766 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/item/agreementFileVersionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts index 6c75f78b00a..31d0c3465c4 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/item/versions/versionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/localizationsRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/localizationsRequestBuilder.ts index d7c0a77d761..20199515665 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/file/localizations/localizationsRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/file/localizations/localizationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class LocalizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LocalizationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/files/filesRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/files/filesRequestBuilder.ts index b0ce35ea4a5..f52a1c7fa3c 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/files/filesRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/files/filesRequestBuilder.ts @@ -144,7 +144,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class FilesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts index b98f27b5de6..0b14d225f79 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/files/item/agreementFileLocalizationItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileLocalization); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts index 9f661e77a6d..9949fbb632b 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/item/agreementFileVersionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/versionsRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/versionsRequestBuilder.ts index 0ce85fefc38..24bcb5ee705 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/versionsRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/files/item/versions/versionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class VersionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAgreementFileVersion); return requestInfo; }; diff --git a/src/identityGovernance/termsOfUse/termsOfUseRequestBuilder.ts b/src/identityGovernance/termsOfUse/termsOfUseRequestBuilder.ts index 877565d3a9a..05bf72d19f2 100644 --- a/src/identityGovernance/termsOfUse/termsOfUseRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/termsOfUseRequestBuilder.ts @@ -135,7 +135,7 @@ export class TermsOfUseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class TermsOfUseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class TermsOfUseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTermsOfUseContainer); return requestInfo; }; diff --git a/src/identityProtection/identityProtectionRequestBuilder.ts b/src/identityProtection/identityProtectionRequestBuilder.ts index 2717595bb6a..c98fc666de4 100644 --- a/src/identityProtection/identityProtectionRequestBuilder.ts +++ b/src/identityProtection/identityProtectionRequestBuilder.ts @@ -126,7 +126,7 @@ export class IdentityProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class IdentityProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProtectionRoot); return requestInfo; }; diff --git a/src/identityProtection/riskDetections/item/riskDetectionItemRequestBuilder.ts b/src/identityProtection/riskDetections/item/riskDetectionItemRequestBuilder.ts index b3670bd83f2..04119cc2df2 100644 --- a/src/identityProtection/riskDetections/item/riskDetectionItemRequestBuilder.ts +++ b/src/identityProtection/riskDetections/item/riskDetectionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class RiskDetectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class RiskDetectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class RiskDetectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskDetection); return requestInfo; }; diff --git a/src/identityProtection/riskDetections/riskDetectionsRequestBuilder.ts b/src/identityProtection/riskDetections/riskDetectionsRequestBuilder.ts index e93d284834f..efc42e8760e 100644 --- a/src/identityProtection/riskDetections/riskDetectionsRequestBuilder.ts +++ b/src/identityProtection/riskDetections/riskDetectionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class RiskDetectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class RiskDetectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskDetection); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/confirmCompromised/confirmCompromisedRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/confirmCompromised/confirmCompromisedRequestBuilder.ts index 80600d6f66f..4687a7d0ded 100644 --- a/src/identityProtection/riskyServicePrincipals/confirmCompromised/confirmCompromisedRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/confirmCompromised/confirmCompromisedRequestBuilder.ts @@ -60,7 +60,7 @@ export class ConfirmCompromisedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConfirmCompromisedPostRequestBody); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/dismiss/dismissRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/dismiss/dismissRequestBuilder.ts index b065157a2da..7f4ef1b63c9 100644 --- a/src/identityProtection/riskyServicePrincipals/dismiss/dismissRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/dismiss/dismissRequestBuilder.ts @@ -60,7 +60,7 @@ export class DismissRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDismissPostRequestBody); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/item/history/historyRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/item/history/historyRequestBuilder.ts index ba201a6d527..b1e0c2fb867 100644 --- a/src/identityProtection/riskyServicePrincipals/item/history/historyRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/item/history/historyRequestBuilder.ts @@ -144,7 +144,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyServicePrincipalHistoryItem); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/item/history/item/riskyServicePrincipalHistoryItemItemRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/item/history/item/riskyServicePrincipalHistoryItemItemRequestBuilder.ts index dede8b35ad8..402d9ccc542 100644 --- a/src/identityProtection/riskyServicePrincipals/item/history/item/riskyServicePrincipalHistoryItemItemRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/item/history/item/riskyServicePrincipalHistoryItemItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class RiskyServicePrincipalHistoryItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class RiskyServicePrincipalHistoryItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class RiskyServicePrincipalHistoryItemItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyServicePrincipalHistoryItem); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/item/riskyServicePrincipalItemRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/item/riskyServicePrincipalItemRequestBuilder.ts index af7ea89dac4..1748e8ac44e 100644 --- a/src/identityProtection/riskyServicePrincipals/item/riskyServicePrincipalItemRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/item/riskyServicePrincipalItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class RiskyServicePrincipalItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class RiskyServicePrincipalItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class RiskyServicePrincipalItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyServicePrincipal); return requestInfo; }; diff --git a/src/identityProtection/riskyServicePrincipals/riskyServicePrincipalsRequestBuilder.ts b/src/identityProtection/riskyServicePrincipals/riskyServicePrincipalsRequestBuilder.ts index 72b3bc89eea..408510d2fe7 100644 --- a/src/identityProtection/riskyServicePrincipals/riskyServicePrincipalsRequestBuilder.ts +++ b/src/identityProtection/riskyServicePrincipals/riskyServicePrincipalsRequestBuilder.ts @@ -158,7 +158,7 @@ export class RiskyServicePrincipalsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class RiskyServicePrincipalsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyServicePrincipal); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/confirmCompromised/confirmCompromisedRequestBuilder.ts b/src/identityProtection/riskyUsers/confirmCompromised/confirmCompromisedRequestBuilder.ts index ec72b2e6f3d..46e53b2581b 100644 --- a/src/identityProtection/riskyUsers/confirmCompromised/confirmCompromisedRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/confirmCompromised/confirmCompromisedRequestBuilder.ts @@ -60,7 +60,7 @@ export class ConfirmCompromisedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConfirmCompromisedPostRequestBody); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/dismiss/dismissRequestBuilder.ts b/src/identityProtection/riskyUsers/dismiss/dismissRequestBuilder.ts index fdc3e650f96..c98161380e3 100644 --- a/src/identityProtection/riskyUsers/dismiss/dismissRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/dismiss/dismissRequestBuilder.ts @@ -60,7 +60,7 @@ export class DismissRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDismissPostRequestBody); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts b/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts index 3b2aab34e22..6b60c588449 100644 --- a/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts @@ -98,10 +98,10 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Read the properties and relationships of a riskyUserHistoryItem object. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RiskyUserHistoryItemCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: HistoryRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRiskyUserHistoryItemFromDiscriminatorValue, errorMapping); }; /** - * Read the properties and relationships of a riskyUserHistoryItem object. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyUserHistoryItem); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/item/history/item/riskyUserHistoryItemItemRequestBuilder.ts b/src/identityProtection/riskyUsers/item/history/item/riskyUserHistoryItemItemRequestBuilder.ts index 6cdff463a2b..8af43264aee 100644 --- a/src/identityProtection/riskyUsers/item/history/item/riskyUserHistoryItemItemRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/item/history/item/riskyUserHistoryItemItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class RiskyUserHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class RiskyUserHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class RiskyUserHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyUserHistoryItem); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/item/riskyUserItemRequestBuilder.ts b/src/identityProtection/riskyUsers/item/riskyUserItemRequestBuilder.ts index 9d854681fb1..f2b0277b18c 100644 --- a/src/identityProtection/riskyUsers/item/riskyUserItemRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/item/riskyUserItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class RiskyUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class RiskyUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class RiskyUserItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyUser); return requestInfo; }; diff --git a/src/identityProtection/riskyUsers/riskyUsersRequestBuilder.ts b/src/identityProtection/riskyUsers/riskyUsersRequestBuilder.ts index 938fd8bb8fe..ae5ca6dd4d3 100644 --- a/src/identityProtection/riskyUsers/riskyUsersRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/riskyUsersRequestBuilder.ts @@ -158,7 +158,7 @@ export class RiskyUsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class RiskyUsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeRiskyUser); return requestInfo; }; diff --git a/src/identityProtection/servicePrincipalRiskDetections/item/servicePrincipalRiskDetectionItemRequestBuilder.ts b/src/identityProtection/servicePrincipalRiskDetections/item/servicePrincipalRiskDetectionItemRequestBuilder.ts index b86df4c494c..f84b9e0c398 100644 --- a/src/identityProtection/servicePrincipalRiskDetections/item/servicePrincipalRiskDetectionItemRequestBuilder.ts +++ b/src/identityProtection/servicePrincipalRiskDetections/item/servicePrincipalRiskDetectionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ServicePrincipalRiskDetectionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ServicePrincipalRiskDetectionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ServicePrincipalRiskDetectionItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServicePrincipalRiskDetection); return requestInfo; }; diff --git a/src/identityProtection/servicePrincipalRiskDetections/servicePrincipalRiskDetectionsRequestBuilder.ts b/src/identityProtection/servicePrincipalRiskDetections/servicePrincipalRiskDetectionsRequestBuilder.ts index f8f172fc5ab..3d8dfa0e217 100644 --- a/src/identityProtection/servicePrincipalRiskDetections/servicePrincipalRiskDetectionsRequestBuilder.ts +++ b/src/identityProtection/servicePrincipalRiskDetections/servicePrincipalRiskDetectionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class ServicePrincipalRiskDetectionsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class ServicePrincipalRiskDetectionsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeServicePrincipalRiskDetection); return requestInfo; }; diff --git a/src/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts b/src/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts index bc10663d10d..b9c35c25e74 100644 --- a/src/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts +++ b/src/identityProviders/availableProviderTypes/availableProviderTypesRequestBuilder.ts @@ -87,7 +87,7 @@ export class AvailableProviderTypesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/identityProviders/identityProvidersRequestBuilder.ts b/src/identityProviders/identityProvidersRequestBuilder.ts index 5c865988c3b..a92f60b5476 100644 --- a/src/identityProviders/identityProvidersRequestBuilder.ts +++ b/src/identityProviders/identityProvidersRequestBuilder.ts @@ -158,7 +158,7 @@ export class IdentityProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -178,7 +178,7 @@ export class IdentityProvidersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProvider); return requestInfo; }; diff --git a/src/identityProviders/item/identityProviderItemRequestBuilder.ts b/src/identityProviders/item/identityProviderItemRequestBuilder.ts index 44576390fc0..029199a9edd 100644 --- a/src/identityProviders/item/identityProviderItemRequestBuilder.ts +++ b/src/identityProviders/item/identityProviderItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class IdentityProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class IdentityProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class IdentityProviderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeIdentityProvider); return requestInfo; }; diff --git a/src/informationProtection/bitlocker/bitlockerRequestBuilder.ts b/src/informationProtection/bitlocker/bitlockerRequestBuilder.ts index bb3d65fea1e..3823dfbacd5 100644 --- a/src/informationProtection/bitlocker/bitlockerRequestBuilder.ts +++ b/src/informationProtection/bitlocker/bitlockerRequestBuilder.ts @@ -80,7 +80,7 @@ export class BitlockerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/informationProtection/bitlocker/recoveryKeys/item/bitlockerRecoveryKeyItemRequestBuilder.ts b/src/informationProtection/bitlocker/recoveryKeys/item/bitlockerRecoveryKeyItemRequestBuilder.ts index 397ff45d86b..82d63a464b7 100644 --- a/src/informationProtection/bitlocker/recoveryKeys/item/bitlockerRecoveryKeyItemRequestBuilder.ts +++ b/src/informationProtection/bitlocker/recoveryKeys/item/bitlockerRecoveryKeyItemRequestBuilder.ts @@ -74,7 +74,7 @@ export class BitlockerRecoveryKeyItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/informationProtection/bitlocker/recoveryKeys/recoveryKeysRequestBuilder.ts b/src/informationProtection/bitlocker/recoveryKeys/recoveryKeysRequestBuilder.ts index 9ecc34f936d..63ef3c2d2e2 100644 --- a/src/informationProtection/bitlocker/recoveryKeys/recoveryKeysRequestBuilder.ts +++ b/src/informationProtection/bitlocker/recoveryKeys/recoveryKeysRequestBuilder.ts @@ -117,7 +117,7 @@ export class RecoveryKeysRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/informationProtection/informationProtectionRequestBuilder.ts b/src/informationProtection/informationProtectionRequestBuilder.ts index 74a80ea12ec..dec528497cd 100644 --- a/src/informationProtection/informationProtectionRequestBuilder.ts +++ b/src/informationProtection/informationProtectionRequestBuilder.ts @@ -112,7 +112,7 @@ export class InformationProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -131,7 +131,7 @@ export class InformationProtectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInformationProtection); return requestInfo; }; diff --git a/src/informationProtection/threatAssessmentRequests/item/results/item/threatAssessmentResultItemRequestBuilder.ts b/src/informationProtection/threatAssessmentRequests/item/results/item/threatAssessmentResultItemRequestBuilder.ts index b4f95a08b05..43ecbdaad3a 100644 --- a/src/informationProtection/threatAssessmentRequests/item/results/item/threatAssessmentResultItemRequestBuilder.ts +++ b/src/informationProtection/threatAssessmentRequests/item/results/item/threatAssessmentResultItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ThreatAssessmentResultItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ThreatAssessmentResultItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ThreatAssessmentResultItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThreatAssessmentResult); return requestInfo; }; diff --git a/src/informationProtection/threatAssessmentRequests/item/results/resultsRequestBuilder.ts b/src/informationProtection/threatAssessmentRequests/item/results/resultsRequestBuilder.ts index c86844cd08e..18e69edcdd2 100644 --- a/src/informationProtection/threatAssessmentRequests/item/results/resultsRequestBuilder.ts +++ b/src/informationProtection/threatAssessmentRequests/item/results/resultsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResultsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThreatAssessmentResult); return requestInfo; }; diff --git a/src/informationProtection/threatAssessmentRequests/item/threatAssessmentRequestItemRequestBuilder.ts b/src/informationProtection/threatAssessmentRequests/item/threatAssessmentRequestItemRequestBuilder.ts index 4032fb9e11c..26486d7f97d 100644 --- a/src/informationProtection/threatAssessmentRequests/item/threatAssessmentRequestItemRequestBuilder.ts +++ b/src/informationProtection/threatAssessmentRequests/item/threatAssessmentRequestItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ThreatAssessmentRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ThreatAssessmentRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ThreatAssessmentRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThreatAssessmentRequest); return requestInfo; }; diff --git a/src/informationProtection/threatAssessmentRequests/threatAssessmentRequestsRequestBuilder.ts b/src/informationProtection/threatAssessmentRequests/threatAssessmentRequestsRequestBuilder.ts index 381268ca99b..404ed58ae7f 100644 --- a/src/informationProtection/threatAssessmentRequests/threatAssessmentRequestsRequestBuilder.ts +++ b/src/informationProtection/threatAssessmentRequests/threatAssessmentRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ThreatAssessmentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ThreatAssessmentRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeThreatAssessmentRequest); return requestInfo; }; diff --git a/src/invitations/invitationsRequestBuilder.ts b/src/invitations/invitationsRequestBuilder.ts index 954d5181a27..58e2909220c 100644 --- a/src/invitations/invitationsRequestBuilder.ts +++ b/src/invitations/invitationsRequestBuilder.ts @@ -144,7 +144,7 @@ export class InvitationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class InvitationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInvitation); return requestInfo; }; diff --git a/src/invitations/item/invitationItemRequestBuilder.ts b/src/invitations/item/invitationItemRequestBuilder.ts index 2b85cb62072..d78b17c353b 100644 --- a/src/invitations/item/invitationItemRequestBuilder.ts +++ b/src/invitations/item/invitationItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class InvitationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class InvitationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class InvitationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInvitation); return requestInfo; }; diff --git a/src/invitations/item/invitedUser/invitedUserRequestBuilder.ts b/src/invitations/item/invitedUser/invitedUserRequestBuilder.ts index f58d80fc17a..7117522fbe3 100644 --- a/src/invitations/item/invitedUser/invitedUserRequestBuilder.ts +++ b/src/invitations/item/invitedUser/invitedUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class InvitedUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/invitations/item/invitedUser/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/invitations/item/invitedUser/mailboxSettings/mailboxSettingsRequestBuilder.ts index c87b98e0871..c70e48b829b 100644 --- a/src/invitations/item/invitedUser/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/invitations/item/invitedUser/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/invitations/item/invitedUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/invitations/item/invitedUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 97b5966d4f4..1922a348c63 100644 --- a/src/invitations/item/invitedUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/invitations/item/invitedUser/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/kiota-lock.json b/src/kiota-lock.json index d1caa0bc6e1..16e4b5f1677 100644 --- a/src/kiota-lock.json +++ b/src/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "7D71C80CC2146174F8D8AB291B6D44A99DD05C3385B4AA3978E6B156539092B308A9941D6AE5C4C9DB1789EC99902436AD99DFBC87654AEBEDD78CA1631072A3", - "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", + "descriptionHash": "5F51A5764911221B27F438FF5D2E295369931D9D916BA107D647DDFB11E678E665571B8D0225F0EE560EF4D52621A9A05AD52EFD267AAC859B4DFB4C42CB5F30", + "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.8.0", + "kiotaVersion": "1.9.0", "clientClassName": "GraphBaseServiceClient", "clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-typescript/", "language": "TypeScript", @@ -21,7 +21,7 @@ "Microsoft.Kiota.Serialization.Form.FormParseNodeFactory" ], "structuredMimeTypes": [ - "application/json;q=1", + "application/json", "text/plain;q=0.9", "application/x-www-form-urlencoded;q=0.2", "multipart/form-data;q=0.1" diff --git a/src/me/activities/activitiesRequestBuilder.ts b/src/me/activities/activitiesRequestBuilder.ts index f6ebaaf055c..e77c63a2c09 100644 --- a/src/me/activities/activitiesRequestBuilder.ts +++ b/src/me/activities/activitiesRequestBuilder.ts @@ -151,7 +151,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class ActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserActivity); return requestInfo; }; diff --git a/src/me/activities/item/historyItems/historyItemsRequestBuilder.ts b/src/me/activities/item/historyItems/historyItemsRequestBuilder.ts index a031f247b56..f3c988f8e43 100644 --- a/src/me/activities/item/historyItems/historyItemsRequestBuilder.ts +++ b/src/me/activities/item/historyItems/historyItemsRequestBuilder.ts @@ -143,7 +143,7 @@ export class HistoryItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class HistoryItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeActivityHistoryItem); return requestInfo; }; diff --git a/src/me/activities/item/historyItems/item/activity/activityRequestBuilder.ts b/src/me/activities/item/historyItems/item/activity/activityRequestBuilder.ts index 0f7dc6b5c32..37460757a64 100644 --- a/src/me/activities/item/historyItems/item/activity/activityRequestBuilder.ts +++ b/src/me/activities/item/historyItems/item/activity/activityRequestBuilder.ts @@ -73,7 +73,7 @@ export class ActivityRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts b/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts index bdb78cdee66..ceb59290a8f 100644 --- a/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts +++ b/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeActivityHistoryItem); return requestInfo; }; diff --git a/src/me/activities/item/userActivityItemRequestBuilder.ts b/src/me/activities/item/userActivityItemRequestBuilder.ts index 3945e7064a4..6aa7dad80b2 100644 --- a/src/me/activities/item/userActivityItemRequestBuilder.ts +++ b/src/me/activities/item/userActivityItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class UserActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class UserActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class UserActivityItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserActivity); return requestInfo; }; diff --git a/src/me/activities/recent/recentGetResponse.ts b/src/me/activities/recent/recentGetResponse.ts index ba6626f35c6..3d8ad5db30a 100644 --- a/src/me/activities/recent/recentGetResponse.ts +++ b/src/me/activities/recent/recentGetResponse.ts @@ -23,7 +23,7 @@ export interface RecentGetResponse extends BaseCollectionPaginationCountResponse } export function serializeRecentGetResponse(writer: SerializationWriter, recentGetResponse: RecentGetResponse | undefined = {} as RecentGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, recentGetResponse) - writer.writeCollectionOfObjectValues("value", recentGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", recentGetResponse.value, serializeUserActivity); } // tslint:enable // eslint-enable diff --git a/src/me/activities/recent/recentRequestBuilder.ts b/src/me/activities/recent/recentRequestBuilder.ts index c47f9510325..e8c8623b35b 100644 --- a/src/me/activities/recent/recentRequestBuilder.ts +++ b/src/me/activities/recent/recentRequestBuilder.ts @@ -94,7 +94,7 @@ export class RecentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/agreementAcceptances/agreementAcceptancesRequestBuilder.ts b/src/me/agreementAcceptances/agreementAcceptancesRequestBuilder.ts index 2aaceff5c95..d17b73e839a 100644 --- a/src/me/agreementAcceptances/agreementAcceptancesRequestBuilder.ts +++ b/src/me/agreementAcceptances/agreementAcceptancesRequestBuilder.ts @@ -117,7 +117,7 @@ export class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts b/src/me/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts index c5b79973c2b..3fc0b460c36 100644 --- a/src/me/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts +++ b/src/me/agreementAcceptances/item/agreementAcceptanceItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class AgreementAcceptanceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts b/src/me/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts index 3c702a0a1cc..f5dd70d0db2 100644 --- a/src/me/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts +++ b/src/me/appRoleAssignments/appRoleAssignmentsRequestBuilder.ts @@ -145,7 +145,7 @@ export class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppRoleAssignment); return requestInfo; }; diff --git a/src/me/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts b/src/me/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts index 8d566f005eb..78699738643 100644 --- a/src/me/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts +++ b/src/me/appRoleAssignments/item/appRoleAssignmentItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAppRoleAssignment); return requestInfo; }; diff --git a/src/me/assignLicense/assignLicensePostRequestBody.ts b/src/me/assignLicense/assignLicensePostRequestBody.ts index e6cb4b53d31..3b8c0de8c7c 100644 --- a/src/me/assignLicense/assignLicensePostRequestBody.ts +++ b/src/me/assignLicense/assignLicensePostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAssignLicensePostRequestBody(assignLicensePostReq } } export function serializeAssignLicensePostRequestBody(writer: SerializationWriter, assignLicensePostRequestBody: AssignLicensePostRequestBody | undefined = {} as AssignLicensePostRequestBody) : void { - writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, ); + writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, serializeAssignedLicense); writer.writeCollectionOfPrimitiveValues("removeLicenses", assignLicensePostRequestBody.removeLicenses); writer.writeAdditionalData(assignLicensePostRequestBody.additionalData); } diff --git a/src/me/assignLicense/assignLicenseRequestBuilder.ts b/src/me/assignLicense/assignLicenseRequestBuilder.ts index c8d15f43ff4..969fea12b6f 100644 --- a/src/me/assignLicense/assignLicenseRequestBuilder.ts +++ b/src/me/assignLicense/assignLicenseRequestBuilder.ts @@ -62,7 +62,7 @@ export class AssignLicenseRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssignLicensePostRequestBody); return requestInfo; }; diff --git a/src/me/authentication/authenticationRequestBuilder.ts b/src/me/authentication/authenticationRequestBuilder.ts index 160fd9e8943..bd670aba60c 100644 --- a/src/me/authentication/authenticationRequestBuilder.ts +++ b/src/me/authentication/authenticationRequestBuilder.ts @@ -191,7 +191,7 @@ export class AuthenticationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -209,7 +209,7 @@ export class AuthenticationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -228,7 +228,7 @@ export class AuthenticationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthentication); return requestInfo; }; diff --git a/src/me/authentication/emailMethods/emailMethodsRequestBuilder.ts b/src/me/authentication/emailMethods/emailMethodsRequestBuilder.ts index 603a526a771..8761882fe6c 100644 --- a/src/me/authentication/emailMethods/emailMethodsRequestBuilder.ts +++ b/src/me/authentication/emailMethods/emailMethodsRequestBuilder.ts @@ -145,7 +145,7 @@ export class EmailMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class EmailMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEmailAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/emailMethods/item/emailAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/emailMethods/item/emailAuthenticationMethodItemRequestBuilder.ts index 4c152027067..5bebbd1e576 100644 --- a/src/me/authentication/emailMethods/item/emailAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/emailMethods/item/emailAuthenticationMethodItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class EmailAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class EmailAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class EmailAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEmailAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/fido2Methods/fido2MethodsRequestBuilder.ts b/src/me/authentication/fido2Methods/fido2MethodsRequestBuilder.ts index 88ebff7c498..7f029346b84 100644 --- a/src/me/authentication/fido2Methods/fido2MethodsRequestBuilder.ts +++ b/src/me/authentication/fido2Methods/fido2MethodsRequestBuilder.ts @@ -117,7 +117,7 @@ export class Fido2MethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/fido2Methods/item/fido2AuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/fido2Methods/item/fido2AuthenticationMethodItemRequestBuilder.ts index 2020c104c1d..c89acaaf0af 100644 --- a/src/me/authentication/fido2Methods/item/fido2AuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/fido2Methods/item/fido2AuthenticationMethodItemRequestBuilder.ts @@ -98,7 +98,7 @@ export class Fido2AuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -116,7 +116,7 @@ export class Fido2AuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/methods/item/authenticationMethodItemRequestBuilder.ts b/src/me/authentication/methods/item/authenticationMethodItemRequestBuilder.ts index cc612427157..8e1fa31e3de 100644 --- a/src/me/authentication/methods/item/authenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/methods/item/authenticationMethodItemRequestBuilder.ts @@ -106,7 +106,7 @@ export class AuthenticationMethodItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -125,7 +125,7 @@ export class AuthenticationMethodItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/methods/item/resetPassword/resetPasswordRequestBuilder.ts b/src/me/authentication/methods/item/resetPassword/resetPasswordRequestBuilder.ts index 444acb1d1eb..b36be0a117e 100644 --- a/src/me/authentication/methods/item/resetPassword/resetPasswordRequestBuilder.ts +++ b/src/me/authentication/methods/item/resetPassword/resetPasswordRequestBuilder.ts @@ -62,7 +62,7 @@ export class ResetPasswordRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResetPasswordPostRequestBody); return requestInfo; }; diff --git a/src/me/authentication/methods/methodsRequestBuilder.ts b/src/me/authentication/methods/methodsRequestBuilder.ts index 0d6e310c726..095b89fbead 100644 --- a/src/me/authentication/methods/methodsRequestBuilder.ts +++ b/src/me/authentication/methods/methodsRequestBuilder.ts @@ -144,7 +144,7 @@ export class MethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class MethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/microsoftAuthenticatorMethods/item/device/deviceRequestBuilder.ts b/src/me/authentication/microsoftAuthenticatorMethods/item/device/deviceRequestBuilder.ts index ad7f4606fc0..ae809aa9008 100644 --- a/src/me/authentication/microsoftAuthenticatorMethods/item/device/deviceRequestBuilder.ts +++ b/src/me/authentication/microsoftAuthenticatorMethods/item/device/deviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class DeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/microsoftAuthenticatorMethods/item/microsoftAuthenticatorAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/microsoftAuthenticatorMethods/item/microsoftAuthenticatorAuthenticationMethodItemRequestBuilder.ts index 25294ec88d6..1ddd70d8810 100644 --- a/src/me/authentication/microsoftAuthenticatorMethods/item/microsoftAuthenticatorAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/microsoftAuthenticatorMethods/item/microsoftAuthenticatorAuthenticationMethodItemRequestBuilder.ts @@ -105,7 +105,7 @@ export class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -123,7 +123,7 @@ export class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/microsoftAuthenticatorMethods/microsoftAuthenticatorMethodsRequestBuilder.ts b/src/me/authentication/microsoftAuthenticatorMethods/microsoftAuthenticatorMethodsRequestBuilder.ts index d051f871025..47ff3c59212 100644 --- a/src/me/authentication/microsoftAuthenticatorMethods/microsoftAuthenticatorMethodsRequestBuilder.ts +++ b/src/me/authentication/microsoftAuthenticatorMethods/microsoftAuthenticatorMethodsRequestBuilder.ts @@ -117,7 +117,7 @@ export class MicrosoftAuthenticatorMethodsRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/operations/item/longRunningOperationItemRequestBuilder.ts b/src/me/authentication/operations/item/longRunningOperationItemRequestBuilder.ts index d73c8dadc6b..e652d66c8f4 100644 --- a/src/me/authentication/operations/item/longRunningOperationItemRequestBuilder.ts +++ b/src/me/authentication/operations/item/longRunningOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class LongRunningOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class LongRunningOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class LongRunningOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLongRunningOperation); return requestInfo; }; diff --git a/src/me/authentication/operations/operationsRequestBuilder.ts b/src/me/authentication/operations/operationsRequestBuilder.ts index 34badbc4144..34b57dd795d 100644 --- a/src/me/authentication/operations/operationsRequestBuilder.ts +++ b/src/me/authentication/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLongRunningOperation); return requestInfo; }; diff --git a/src/me/authentication/passwordMethods/item/passwordAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/passwordMethods/item/passwordAuthenticationMethodItemRequestBuilder.ts index 06c550c0edf..6c3217c64bc 100644 --- a/src/me/authentication/passwordMethods/item/passwordAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/passwordMethods/item/passwordAuthenticationMethodItemRequestBuilder.ts @@ -74,7 +74,7 @@ export class PasswordAuthenticationMethodItemRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/passwordMethods/passwordMethodsRequestBuilder.ts b/src/me/authentication/passwordMethods/passwordMethodsRequestBuilder.ts index 005aacb1b99..295a3b8442a 100644 --- a/src/me/authentication/passwordMethods/passwordMethodsRequestBuilder.ts +++ b/src/me/authentication/passwordMethods/passwordMethodsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PasswordMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PasswordMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePasswordAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/phoneMethods/item/disableSmsSignIn/disableSmsSignInRequestBuilder.ts b/src/me/authentication/phoneMethods/item/disableSmsSignIn/disableSmsSignInRequestBuilder.ts index abe97a0d43e..8676a212c3d 100644 --- a/src/me/authentication/phoneMethods/item/disableSmsSignIn/disableSmsSignInRequestBuilder.ts +++ b/src/me/authentication/phoneMethods/item/disableSmsSignIn/disableSmsSignInRequestBuilder.ts @@ -56,7 +56,7 @@ export class DisableSmsSignInRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/phoneMethods/item/enableSmsSignIn/enableSmsSignInRequestBuilder.ts b/src/me/authentication/phoneMethods/item/enableSmsSignIn/enableSmsSignInRequestBuilder.ts index a70c36e378b..1ba9d4f7911 100644 --- a/src/me/authentication/phoneMethods/item/enableSmsSignIn/enableSmsSignInRequestBuilder.ts +++ b/src/me/authentication/phoneMethods/item/enableSmsSignIn/enableSmsSignInRequestBuilder.ts @@ -56,7 +56,7 @@ export class EnableSmsSignInRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/phoneMethods/item/phoneAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/phoneMethods/item/phoneAuthenticationMethodItemRequestBuilder.ts index c0accb9df91..b5e8d7275f5 100644 --- a/src/me/authentication/phoneMethods/item/phoneAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/phoneMethods/item/phoneAuthenticationMethodItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class PhoneAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class PhoneAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class PhoneAuthenticationMethodItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePhoneAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/phoneMethods/phoneMethodsRequestBuilder.ts b/src/me/authentication/phoneMethods/phoneMethodsRequestBuilder.ts index 641b31de97a..e70244a7e42 100644 --- a/src/me/authentication/phoneMethods/phoneMethodsRequestBuilder.ts +++ b/src/me/authentication/phoneMethods/phoneMethodsRequestBuilder.ts @@ -145,7 +145,7 @@ export class PhoneMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PhoneMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePhoneAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/softwareOathMethods/item/softwareOathAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/softwareOathMethods/item/softwareOathAuthenticationMethodItemRequestBuilder.ts index 80d9b2a66a2..f378e13f596 100644 --- a/src/me/authentication/softwareOathMethods/item/softwareOathAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/softwareOathMethods/item/softwareOathAuthenticationMethodItemRequestBuilder.ts @@ -98,7 +98,7 @@ export class SoftwareOathAuthenticationMethodItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -116,7 +116,7 @@ export class SoftwareOathAuthenticationMethodItemRequestBuilder extends BaseRequ requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/softwareOathMethods/softwareOathMethodsRequestBuilder.ts b/src/me/authentication/softwareOathMethods/softwareOathMethodsRequestBuilder.ts index 842d38ab169..74e3fc21651 100644 --- a/src/me/authentication/softwareOathMethods/softwareOathMethodsRequestBuilder.ts +++ b/src/me/authentication/softwareOathMethods/softwareOathMethodsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SoftwareOathMethodsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/temporaryAccessPassMethods/item/temporaryAccessPassAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/temporaryAccessPassMethods/item/temporaryAccessPassAuthenticationMethodItemRequestBuilder.ts index 65de8e7862a..81f21bb4f57 100644 --- a/src/me/authentication/temporaryAccessPassMethods/item/temporaryAccessPassAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/temporaryAccessPassMethods/item/temporaryAccessPassAuthenticationMethodItemRequestBuilder.ts @@ -98,7 +98,7 @@ export class TemporaryAccessPassAuthenticationMethodItemRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -116,7 +116,7 @@ export class TemporaryAccessPassAuthenticationMethodItemRequestBuilder extends B requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/temporaryAccessPassMethods/temporaryAccessPassMethodsRequestBuilder.ts b/src/me/authentication/temporaryAccessPassMethods/temporaryAccessPassMethodsRequestBuilder.ts index 34411afb7f7..4108228f617 100644 --- a/src/me/authentication/temporaryAccessPassMethods/temporaryAccessPassMethodsRequestBuilder.ts +++ b/src/me/authentication/temporaryAccessPassMethods/temporaryAccessPassMethodsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TemporaryAccessPassMethodsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TemporaryAccessPassMethodsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTemporaryAccessPassAuthenticationMethod); return requestInfo; }; diff --git a/src/me/authentication/windowsHelloForBusinessMethods/item/device/deviceRequestBuilder.ts b/src/me/authentication/windowsHelloForBusinessMethods/item/device/deviceRequestBuilder.ts index 39522b62492..e68b2f2dd96 100644 --- a/src/me/authentication/windowsHelloForBusinessMethods/item/device/deviceRequestBuilder.ts +++ b/src/me/authentication/windowsHelloForBusinessMethods/item/device/deviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class DeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/windowsHelloForBusinessMethods/item/windowsHelloForBusinessAuthenticationMethodItemRequestBuilder.ts b/src/me/authentication/windowsHelloForBusinessMethods/item/windowsHelloForBusinessAuthenticationMethodItemRequestBuilder.ts index c0d0dd96cda..cebc143e01d 100644 --- a/src/me/authentication/windowsHelloForBusinessMethods/item/windowsHelloForBusinessAuthenticationMethodItemRequestBuilder.ts +++ b/src/me/authentication/windowsHelloForBusinessMethods/item/windowsHelloForBusinessAuthenticationMethodItemRequestBuilder.ts @@ -105,7 +105,7 @@ export class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -123,7 +123,7 @@ export class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/authentication/windowsHelloForBusinessMethods/windowsHelloForBusinessMethodsRequestBuilder.ts b/src/me/authentication/windowsHelloForBusinessMethods/windowsHelloForBusinessMethodsRequestBuilder.ts index 54915ccb899..aa28ff3e324 100644 --- a/src/me/authentication/windowsHelloForBusinessMethods/windowsHelloForBusinessMethodsRequestBuilder.ts +++ b/src/me/authentication/windowsHelloForBusinessMethods/windowsHelloForBusinessMethodsRequestBuilder.ts @@ -117,7 +117,7 @@ export class WindowsHelloForBusinessMethodsRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts b/src/me/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts index 9254c79a16a..dc22458380c 100644 --- a/src/me/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts +++ b/src/me/calendar/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class AllowedCalendarSharingRolesWithUserRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts b/src/me/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts index 4bfe32269bf..da6af7fe3e7 100644 --- a/src/me/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts +++ b/src/me/calendar/calendarPermissions/calendarPermissionsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts b/src/me/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts index f64925a7b39..e218db21925 100644 --- a/src/me/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts +++ b/src/me/calendar/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendar/calendarRequestBuilder.ts b/src/me/calendar/calendarRequestBuilder.ts index b15708e6362..e0eeb0b4f08 100644 --- a/src/me/calendar/calendarRequestBuilder.ts +++ b/src/me/calendar/calendarRequestBuilder.ts @@ -134,7 +134,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendar); return requestInfo; }; diff --git a/src/me/calendar/calendarView/calendarViewRequestBuilder.ts b/src/me/calendar/calendarView/calendarViewRequestBuilder.ts index 58045f7432b..3a0b0459a7f 100644 --- a/src/me/calendar/calendarView/calendarViewRequestBuilder.ts +++ b/src/me/calendar/calendarView/calendarViewRequestBuilder.ts @@ -124,7 +124,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/delta/deltaGetResponse.ts b/src/me/calendar/calendarView/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/me/calendar/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendar/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/calendarView/delta/deltaRequestBuilder.ts b/src/me/calendar/calendarView/delta/deltaRequestBuilder.ts index 4924aa81934..2c8781fad30 100644 --- a/src/me/calendar/calendarView/delta/deltaRequestBuilder.ts +++ b/src/me/calendar/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/accept/acceptRequestBuilder.ts b/src/me/calendar/calendarView/item/accept/acceptRequestBuilder.ts index fab18769f86..5cc5131ecd1 100644 --- a/src/me/calendar/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts index 4556ae39f3f..8ea7c04a0a8 100644 --- a/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 398ae004983..71494a30b90 100644 --- a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index 65a63442338..e5e88b51c23 100644 --- a/src/me/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/calendar/calendarRequestBuilder.ts b/src/me/calendar/calendarView/item/calendar/calendarRequestBuilder.ts index 88f6060af2b..ad1174aadaa 100644 --- a/src/me/calendar/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/cancel/cancelRequestBuilder.ts b/src/me/calendar/calendarView/item/cancel/cancelRequestBuilder.ts index fd4fd08375b..7af7ba42da6 100644 --- a/src/me/calendar/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/decline/declineRequestBuilder.ts b/src/me/calendar/calendarView/item/decline/declineRequestBuilder.ts index 818c188d5fb..c3df1f166a1 100644 --- a/src/me/calendar/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index bf9e95f5054..e0e16da4aa0 100644 --- a/src/me/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/eventItemRequestBuilder.ts b/src/me/calendar/calendarView/item/eventItemRequestBuilder.ts index ce4c1f77861..dff13325bb5 100644 --- a/src/me/calendar/calendarView/item/eventItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/eventItemRequestBuilder.ts @@ -154,7 +154,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/me/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts index b6bf48ea868..986954b280c 100644 --- a/src/me/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index 05cd9514baf..71ce170e968 100644 --- a/src/me/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/forward/forwardRequestBuilder.ts b/src/me/calendar/calendarView/item/forward/forwardRequestBuilder.ts index ef482ddedef..44845807aad 100644 --- a/src/me/calendar/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts index ecaa77ac334..6965502e5f2 100644 --- a/src/me/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/instancesRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/instancesRequestBuilder.ts index ba72b57329d..b1b6376a242 100644 --- a/src/me/calendar/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index f6a9096c608..8c3041a18d5 100644 --- a/src/me/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index bb252ef23c7..bdeb2f89c54 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 729268d8e59..e0ce25f238a 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 07cd87679a7..619d1ae03ca 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index 947febadc8c..68d392ce8f4 100644 --- a/src/me/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index 4c2229311e3..104b68985dc 100644 --- a/src/me/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts index 5ab46054527..25eec508593 100644 --- a/src/me/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index b486969e259..828a001bad6 100644 --- a/src/me/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts index 6dd69439b24..f23f9d4b8eb 100644 --- a/src/me/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index 71b0eebba17..ce73867799f 100644 --- a/src/me/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 8c62f0d704b..c575c7677a1 100644 --- a/src/me/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index e0f67ed56ba..ffe1b2e18f9 100644 --- a/src/me/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 62d6006f131..63f86627118 100644 --- a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 735419ef984..b2b2fd573a5 100644 --- a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 47cbe5fbcbf..5c8b6aa7287 100644 --- a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 1f12429854c..6d0b33641a1 100644 --- a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/delta/deltaGetResponse.ts b/src/me/calendar/events/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/me/calendar/events/delta/deltaGetResponse.ts +++ b/src/me/calendar/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/events/delta/deltaRequestBuilder.ts b/src/me/calendar/events/delta/deltaRequestBuilder.ts index 39f3bfd47b9..2a8d988844e 100644 --- a/src/me/calendar/events/delta/deltaRequestBuilder.ts +++ b/src/me/calendar/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/eventsRequestBuilder.ts b/src/me/calendar/events/eventsRequestBuilder.ts index 9fefed74068..c66ac99bffd 100644 --- a/src/me/calendar/events/eventsRequestBuilder.ts +++ b/src/me/calendar/events/eventsRequestBuilder.ts @@ -148,7 +148,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendar/events/item/accept/acceptRequestBuilder.ts b/src/me/calendar/events/item/accept/acceptRequestBuilder.ts index f1242bc5bc2..7c047a8fa97 100644 --- a/src/me/calendar/events/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendar/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts index ad7cc825b4c..de39955e22b 100644 --- a/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 22529ccda03..4e509641e59 100644 --- a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts index ac0077c84a0..42585d61b15 100644 --- a/src/me/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendar/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/calendar/calendarRequestBuilder.ts b/src/me/calendar/events/item/calendar/calendarRequestBuilder.ts index 3c780508238..6f27288cdbe 100644 --- a/src/me/calendar/events/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendar/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/cancel/cancelRequestBuilder.ts b/src/me/calendar/events/item/cancel/cancelRequestBuilder.ts index 2858b10bbdb..fc7dc10f5cf 100644 --- a/src/me/calendar/events/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendar/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/decline/declinePostRequestBody.ts b/src/me/calendar/events/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/me/calendar/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/decline/declineRequestBuilder.ts b/src/me/calendar/events/item/decline/declineRequestBuilder.ts index d3fbec08aa4..b07d1a1a6af 100644 --- a/src/me/calendar/events/item/decline/declineRequestBuilder.ts +++ b/src/me/calendar/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts index 77e7d2967d9..7d727b10308 100644 --- a/src/me/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendar/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/eventItemRequestBuilder.ts b/src/me/calendar/events/item/eventItemRequestBuilder.ts index 3d61e5721e1..4e51a086cfb 100644 --- a/src/me/calendar/events/item/eventItemRequestBuilder.ts +++ b/src/me/calendar/events/item/eventItemRequestBuilder.ts @@ -199,7 +199,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -236,7 +236,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendar/events/item/extensions/extensionsRequestBuilder.ts b/src/me/calendar/events/item/extensions/extensionsRequestBuilder.ts index c09be4b7687..098789ae415 100644 --- a/src/me/calendar/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendar/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts index a6375d1b4ca..596c3f9bddf 100644 --- a/src/me/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendar/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/events/item/forward/forwardPostRequestBody.ts b/src/me/calendar/events/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/me/calendar/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/forward/forwardRequestBuilder.ts b/src/me/calendar/events/item/forward/forwardRequestBuilder.ts index eedd630f574..724a3d3b0f7 100644 --- a/src/me/calendar/events/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendar/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/events/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendar/events/item/instances/delta/deltaRequestBuilder.ts index fc6754754ed..1b35dc07b70 100644 --- a/src/me/calendar/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/instancesRequestBuilder.ts b/src/me/calendar/events/item/instances/instancesRequestBuilder.ts index f35c5293ea3..0787a4956af 100644 --- a/src/me/calendar/events/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts index 10147e52b77..c1f30cd056c 100644 --- a/src/me/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 8d65206b5a1..daac2911cc7 100644 --- a/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index ef62e403278..bc0b3cfc2a5 100644 --- a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index a0077e216ac..dde5caa9bd8 100644 --- a/src/me/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts index 2e3692a6880..928178dfe43 100644 --- a/src/me/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts index 8fbd5ef7001..c77d11301ff 100644 --- a/src/me/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendar/events/item/instances/item/decline/declineRequestBuilder.ts index 8e132ceb508..181f453b920 100644 --- a/src/me/calendar/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 064fac11d5c..103730d0ed7 100644 --- a/src/me/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendar/events/item/instances/item/eventItemRequestBuilder.ts index 07abad3c0c7..dd7a7d72650 100644 --- a/src/me/calendar/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts index 2bdb30d5113..31f336d97d6 100644 --- a/src/me/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index c7f87715adf..f1827c65148 100644 --- a/src/me/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts index c66871bc227..b19b2fa7159 100644 --- a/src/me/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 6d694d3364e..103d2162dd5 100644 --- a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 357ea13e05d..cce45fcd412 100644 --- a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 75e05ac5008..cbb486043d0 100644 --- a/src/me/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendar/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 071a0fc1a9e..70a2ca67a96 100644 --- a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts index 2317074c531..4cbd712fe94 100644 --- a/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/getSchedule/getSchedulePostResponse.ts b/src/me/calendar/getSchedule/getSchedulePostResponse.ts index 17fd4f0d5c8..a22650c70c2 100644 --- a/src/me/calendar/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendar/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/getSchedule/getScheduleRequestBuilder.ts b/src/me/calendar/getSchedule/getScheduleRequestBuilder.ts index 0b6951b3f9f..f24ec5804f7 100644 --- a/src/me/calendar/getSchedule/getScheduleRequestBuilder.ts +++ b/src/me/calendar/getSchedule/getScheduleRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetSchedulePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/calendarGroupsRequestBuilder.ts b/src/me/calendarGroups/calendarGroupsRequestBuilder.ts index 5f86a6b0b3a..c66cc78604e 100644 --- a/src/me/calendarGroups/calendarGroupsRequestBuilder.ts +++ b/src/me/calendarGroups/calendarGroupsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarGroup); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendarGroupItemRequestBuilder.ts b/src/me/calendarGroups/item/calendarGroupItemRequestBuilder.ts index f46bec88da0..b47e4144212 100644 --- a/src/me/calendarGroups/item/calendarGroupItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendarGroupItemRequestBuilder.ts @@ -127,7 +127,7 @@ export class CalendarGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class CalendarGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class CalendarGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarGroup); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/calendarsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/calendarsRequestBuilder.ts index 6d2ec4822ae..3324d0ed49f 100644 --- a/src/me/calendarGroups/item/calendars/calendarsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/calendarsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendar); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts index aaee7138dde..bda67bc730e 100644 --- a/src/me/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class AllowedCalendarSharingRolesWithUserRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarItemRequestBuilder.ts index 1e6990170a9..ecafa9efb65 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarItemRequestBuilder.ts @@ -155,7 +155,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -192,7 +192,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendar); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts index d0ec7e77aeb..3c990f4cd26 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts index 9fa1401cef5..35c0d5ad7fc 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/calendarViewRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/calendarViewRequestBuilder.ts index 4b3ae169f64..8ec5f4ab2eb 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/calendarViewRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/calendarViewRequestBuilder.ts @@ -116,7 +116,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaRequestBuilder.ts index 40898348aef..90930a1c9fd 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts index b21c89ed66e..7070c02f230 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index ebdd9196adf..ae52c1605e8 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index ebf21d7b7db..79ec6fb10b7 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index 170f89e3aea..426ca69331f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts index 87df543e3c0..41ee2be8735 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts index 63c9a4b6d16..485ec102942 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declineRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declineRequestBuilder.ts index 283d9d72361..6eea6fb339c 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index cb9c82ac8db..ffd96072659 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/eventItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/eventItemRequestBuilder.ts index 72ee5390d5f..fb2d65f44c9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/eventItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/eventItemRequestBuilder.ts @@ -146,7 +146,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts index c2d71dc6181..5b4cbbf509c 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index e8a71e1f64b..7908e1f9961 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts index 7f14f6c9237..90631139163 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts index 092213f54bd..9e2cc20db1f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts index a3b2cbe56d9..a3793cb4e86 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts index c98f9bb000b..b923eba3e19 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index b34cafc4e24..2e234691cd5 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 59fbea23f52..9573ab6f972 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index d3542efee89..3a91eb6f274 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 7f5a26f5591..6449acdd13b 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index 4d5356a821e..86776fcb814 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index aa1ae135bd2..1a96b39fff4 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index aab20ba3870..1ef84666c65 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts index 1de923a97af..f30b27ec29b 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index d5a1433493b..9e1bb5c14cb 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts index b8a6c7e9e40..54e735b3ec9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index 21770e3f422..f1377e8aba9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 2ab2ddd4219..8b12a7a58c9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index 99b5352e249..21a8f6f60e6 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d5309bf1424..be63f0f3e93 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 07a210997ec..8363aa78ffc 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 2eb8e5bd3c9..0465b78d132 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index fcadf6a62ad..1f4ec689553 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 5468a336db2..2b8942b1cb1 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 22885873ac2..d7fca4f34d2 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/events/delta/deltaRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/delta/deltaRequestBuilder.ts index 719ed471832..40ab96eea51 100644 --- a/src/me/calendarGroups/item/calendars/item/events/delta/deltaRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/eventsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/eventsRequestBuilder.ts index 093a1d66c75..8148efa9a39 100644 --- a/src/me/calendarGroups/item/calendars/item/events/eventsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/eventsRequestBuilder.ts @@ -148,7 +148,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/accept/acceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/accept/acceptRequestBuilder.ts index 9fe9821e6db..9610398ac51 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts index 86b4ddaeefd..cc422025be7 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 955ee3ce1cc..bd85816d83b 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts index cc0f450c4d3..42ed4eb949b 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/calendar/calendarRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/calendar/calendarRequestBuilder.ts index 16e0c1ba13c..7884cc55ba7 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/cancel/cancelRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/cancel/cancelRequestBuilder.ts index f797c8d76c1..b8f0a112187 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/decline/declineRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/decline/declineRequestBuilder.ts index 99c2da05e98..00de96e6e09 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts index 2d1e5ac760c..b791f61d6d0 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/eventItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/eventItemRequestBuilder.ts index 50d21b465fc..8db6b449173 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/eventItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/eventItemRequestBuilder.ts @@ -199,7 +199,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -236,7 +236,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/extensions/extensionsRequestBuilder.ts index 32e63b7622c..7d5ad33a26f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts index b873713066f..9404a4c296a 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardRequestBuilder.ts index eb72a33bf8d..c4ee6b14821 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts index 092213f54bd..9e2cc20db1f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts index ea0bb97d614..6dd684ab624 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/instancesRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/instancesRequestBuilder.ts index f910a77c7fb..278fc2c2e84 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts index 1751e9fc281..c66a1009a61 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 9449c5600c3..6b703b25335 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 795c7cb3b9c..68f3bb6baea 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index accc5b51caf..43bf11269de 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts index eb1c63e2191..983c097062e 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts index cee35fe23d1..aea94d26d14 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts index aab20ba3870..1ef84666c65 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts index 81c78ff8da3..d6e3997291e 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index d4a74c267c8..0112401b84d 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts index 993b6c86c84..23beec4feb9 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts index dced523e809..8edf85d9e3e 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 678dbe7e176..6c3109d683c 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts index f8e6f040a64..36bf0447cef 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d5309bf1424..be63f0f3e93 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index e92aa6c759f..4a8073ff078 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 2eb8e5bd3c9..0465b78d132 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index d50deceded4..ef057c06a38 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 7b20aa3b6fe..17aa6ac3dd6 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 27bf576a876..a7ccb30766f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts index 85241d95989..166340c2441 100644 --- a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts index 45dbbe06558..8d357607115 100644 --- a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/getSchedule/getScheduleRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/getSchedule/getScheduleRequestBuilder.ts index 48c97b391b2..b7c8d835bea 100644 --- a/src/me/calendarGroups/item/calendars/item/getSchedule/getScheduleRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/getSchedule/getScheduleRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetSchedulePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/calendarViewRequestBuilder.ts b/src/me/calendarView/calendarViewRequestBuilder.ts index a8185b6ed3e..32adfc42b98 100644 --- a/src/me/calendarView/calendarViewRequestBuilder.ts +++ b/src/me/calendarView/calendarViewRequestBuilder.ts @@ -128,7 +128,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/delta/deltaGetResponse.ts b/src/me/calendarView/delta/deltaGetResponse.ts index 07c8519ed15..35216a8e092 100644 --- a/src/me/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarView/delta/deltaRequestBuilder.ts b/src/me/calendarView/delta/deltaRequestBuilder.ts index 38df7224923..878235f14d6 100644 --- a/src/me/calendarView/delta/deltaRequestBuilder.ts +++ b/src/me/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/accept/acceptRequestBuilder.ts b/src/me/calendarView/item/accept/acceptRequestBuilder.ts index 335008e6fe3..871093b90f4 100644 --- a/src/me/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts index b77905cafdb..38c771a2f53 100644 --- a/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index ebb84ff6c87..662e85d763d 100644 --- a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index c618370fd17..2c5ebd89b3e 100644 --- a/src/me/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/calendar/calendarRequestBuilder.ts b/src/me/calendarView/item/calendar/calendarRequestBuilder.ts index 92a834ef732..7d7417fef6b 100644 --- a/src/me/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/cancel/cancelRequestBuilder.ts b/src/me/calendarView/item/cancel/cancelRequestBuilder.ts index 28b0fce6a67..582f1b6b674 100644 --- a/src/me/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendarView/item/decline/declinePostRequestBody.ts index f87a67456e3..19a874f2962 100644 --- a/src/me/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/decline/declineRequestBuilder.ts b/src/me/calendarView/item/decline/declineRequestBuilder.ts index f5cd8b7df8c..dcb05057ceb 100644 --- a/src/me/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index eb603285f79..c7085ca959e 100644 --- a/src/me/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/eventItemRequestBuilder.ts b/src/me/calendarView/item/eventItemRequestBuilder.ts index 573033d5620..667cc85c013 100644 --- a/src/me/calendarView/item/eventItemRequestBuilder.ts +++ b/src/me/calendarView/item/eventItemRequestBuilder.ts @@ -158,7 +158,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarView/item/extensions/extensionsRequestBuilder.ts index aff7af32329..61cc5eba6cf 100644 --- a/src/me/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index 397a5cd6253..2b21f7a8d65 100644 --- a/src/me/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendarView/item/forward/forwardPostRequestBody.ts index fc9f1198d42..2ccd8932e99 100644 --- a/src/me/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/forward/forwardRequestBuilder.ts b/src/me/calendarView/item/forward/forwardRequestBuilder.ts index df2cdab4aa6..2cba09aa509 100644 --- a/src/me/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendarView/item/instances/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendarView/item/instances/delta/deltaRequestBuilder.ts index cfda7c5d674..93a6b58c239 100644 --- a/src/me/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/instancesRequestBuilder.ts b/src/me/calendarView/item/instances/instancesRequestBuilder.ts index fea150f261c..8122f27402e 100644 --- a/src/me/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index fec513e7b1e..0eedf0d3b45 100644 --- a/src/me/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 518904ecf62..5fd389e6179 100644 --- a/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index b7ccdafc141..de8dc8737ff 100644 --- a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index a2a382ad22b..c013396ec22 100644 --- a/src/me/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index edcbdd02d7f..e660fb07e93 100644 --- a/src/me/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index 80d970fefb8..dd8127f3bc6 100644 --- a/src/me/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendarView/item/instances/item/decline/declineRequestBuilder.ts index b98debc1919..b2f2331b9dd 100644 --- a/src/me/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index d2c9a0cbcb9..e51a2a71a3c 100644 --- a/src/me/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendarView/item/instances/item/eventItemRequestBuilder.ts index 7c9feb223cd..f16f656e038 100644 --- a/src/me/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index 5e0b4aee056..d41ed991da8 100644 --- a/src/me/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 013e7defa4a..e345799a2be 100644 --- a/src/me/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index ee0b78f66be..76be8f002ac 100644 --- a/src/me/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 704ad246610..1b55b93c9b4 100644 --- a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 121a2cb0802..5f933bb45ec 100644 --- a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index c297dc43d87..f568b0282cb 100644 --- a/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 3ca2f65cd2c..29df87cafa9 100644 --- a/src/me/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index fd759337a9a..ec8ec728355 100644 --- a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 06ae18a04d2..44ad13a639b 100644 --- a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/calendarsRequestBuilder.ts b/src/me/calendars/calendarsRequestBuilder.ts index 668bce33ba6..e7d7e79e687 100644 --- a/src/me/calendars/calendarsRequestBuilder.ts +++ b/src/me/calendars/calendarsRequestBuilder.ts @@ -141,7 +141,7 @@ export class CalendarsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class CalendarsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendar); return requestInfo; }; diff --git a/src/me/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts b/src/me/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts index 1587a164508..42d1cc651cb 100644 --- a/src/me/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts +++ b/src/me/calendars/item/allowedCalendarSharingRolesWithUser/allowedCalendarSharingRolesWithUserRequestBuilder.ts @@ -87,7 +87,7 @@ export class AllowedCalendarSharingRolesWithUserRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarItemRequestBuilder.ts b/src/me/calendars/item/calendarItemRequestBuilder.ts index 6dad5406faf..87e42eaa5fa 100644 --- a/src/me/calendars/item/calendarItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class CalendarItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendar); return requestInfo; }; diff --git a/src/me/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts b/src/me/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts index db2cc576136..bdf103b2895 100644 --- a/src/me/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts +++ b/src/me/calendars/item/calendarPermissions/calendarPermissionsRequestBuilder.ts @@ -137,7 +137,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class CalendarPermissionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts b/src/me/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts index b79a0a1b431..af0815ec515 100644 --- a/src/me/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarPermissions/item/calendarPermissionItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCalendarPermission); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/calendarViewRequestBuilder.ts b/src/me/calendars/item/calendarView/calendarViewRequestBuilder.ts index 4e0406d7e96..6f2b2927e04 100644 --- a/src/me/calendars/item/calendarView/calendarViewRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/calendarViewRequestBuilder.ts @@ -124,7 +124,7 @@ export class CalendarViewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts b/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/calendarView/delta/deltaRequestBuilder.ts b/src/me/calendars/item/calendarView/delta/deltaRequestBuilder.ts index f316e4ee5c0..4fbf4ecaeba 100644 --- a/src/me/calendars/item/calendarView/delta/deltaRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts b/src/me/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts index 1593ebd27c7..d8f9159a53e 100644 --- a/src/me/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index 941d8aeeabf..8a031d5f2ee 100644 --- a/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 33a99144210..60243177a35 100644 --- a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts index c0fc0bb6627..f35b17c049b 100644 --- a/src/me/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts b/src/me/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts index b5a25825340..151e56f7609 100644 --- a/src/me/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts b/src/me/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts index ce1aedd4ad0..16e912cbb41 100644 --- a/src/me/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/decline/declineRequestBuilder.ts b/src/me/calendars/item/calendarView/item/decline/declineRequestBuilder.ts index 8115993385c..16ba0edc32c 100644 --- a/src/me/calendars/item/calendarView/item/decline/declineRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts index 19df87ca611..17fc0cf3aa1 100644 --- a/src/me/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/eventItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/eventItemRequestBuilder.ts index aadf5ac7d5a..9841d83149f 100644 --- a/src/me/calendars/item/calendarView/item/eventItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/eventItemRequestBuilder.ts @@ -154,7 +154,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts index e3113e13843..47a29e4f3b4 100644 --- a/src/me/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts index d2c59fff47e..19c820a3d9a 100644 --- a/src/me/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts b/src/me/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts index 8b5d7989f30..1c2b8dd4abe 100644 --- a/src/me/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts index f0809b7e298..7f4f881e4b3 100644 --- a/src/me/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts index 5a6c241e6a9..8015743c72d 100644 --- a/src/me/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts index cec138aea49..eff8dd211b2 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 621858a9c3b..104ac8c0590 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 8280c3a7c8f..88aca24c747 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index e7c965ea108..0328740404b 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts index 3bb13f572bb..fbd7e3b452d 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts index 56c360740e7..0d1c9c9a3f6 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts index d9dce525248..2c1054d1649 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index 54533c48c1d..24b63372040 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts index 3968caafce4..186d5ebacb5 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts index 018de663e90..2df83bbb4e0 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 2664c520a26..f29352e90c6 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts index e1f565051e5..14b07dc465d 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index e7816aa43fa..05ab0b6650c 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 7b1470ffcfb..b1fbe39fa3e 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 3d8b9380560..75b7574c731 100644 --- a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index b089bbcb8fc..f5aa1fb1ec7 100644 --- a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/delta/deltaGetResponse.ts b/src/me/calendars/item/events/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendars/item/events/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/events/delta/deltaRequestBuilder.ts b/src/me/calendars/item/events/delta/deltaRequestBuilder.ts index 4f099740e88..199c39ba190 100644 --- a/src/me/calendars/item/events/delta/deltaRequestBuilder.ts +++ b/src/me/calendars/item/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/eventsRequestBuilder.ts b/src/me/calendars/item/events/eventsRequestBuilder.ts index f32639f4737..ee700209fbe 100644 --- a/src/me/calendars/item/events/eventsRequestBuilder.ts +++ b/src/me/calendars/item/events/eventsRequestBuilder.ts @@ -148,7 +148,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/accept/acceptRequestBuilder.ts b/src/me/calendars/item/events/item/accept/acceptRequestBuilder.ts index 8c89fdf6c6b..aaf02c8050e 100644 --- a/src/me/calendars/item/events/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendars/item/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts index fffcaff4ed9..d02b2e3ba1a 100644 --- a/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 7ad411cda4a..850753d1c44 100644 --- a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts index 0fb3cefe28d..330eef72ee6 100644 --- a/src/me/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/calendar/calendarRequestBuilder.ts b/src/me/calendars/item/events/item/calendar/calendarRequestBuilder.ts index eae2201216a..70e6bcdb0c3 100644 --- a/src/me/calendars/item/events/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendars/item/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/cancel/cancelRequestBuilder.ts b/src/me/calendars/item/events/item/cancel/cancelRequestBuilder.ts index df8d4173f8f..eb86880ae2d 100644 --- a/src/me/calendars/item/events/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendars/item/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/decline/declineRequestBuilder.ts b/src/me/calendars/item/events/item/decline/declineRequestBuilder.ts index 92c68ff337c..59414866c41 100644 --- a/src/me/calendars/item/events/item/decline/declineRequestBuilder.ts +++ b/src/me/calendars/item/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts index e3af02c18ff..95216ba53ad 100644 --- a/src/me/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendars/item/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/eventItemRequestBuilder.ts b/src/me/calendars/item/events/item/eventItemRequestBuilder.ts index 1cdbc031e66..a8cab17bc5a 100644 --- a/src/me/calendars/item/events/item/eventItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/eventItemRequestBuilder.ts @@ -199,7 +199,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -217,7 +217,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -236,7 +236,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/extensions/extensionsRequestBuilder.ts b/src/me/calendars/item/events/item/extensions/extensionsRequestBuilder.ts index 26c99c2f2b9..0e6be3379ca 100644 --- a/src/me/calendars/item/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts index 36de128ac28..0d8b66166cf 100644 --- a/src/me/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/forward/forwardRequestBuilder.ts b/src/me/calendars/item/events/item/forward/forwardRequestBuilder.ts index ac2170314e5..b4fec04f310 100644 --- a/src/me/calendars/item/events/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendars/item/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts b/src/me/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts index a805c33908d..9c7dc2003e7 100644 --- a/src/me/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/instancesRequestBuilder.ts b/src/me/calendars/item/events/item/instances/instancesRequestBuilder.ts index 9ed9bf22728..1c18ed1f72e 100644 --- a/src/me/calendars/item/events/item/instances/instancesRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts index f890fb1f7c5..cf867ecd755 100644 --- a/src/me/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index df2480e16b4..f77f16f7e29 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index daa2692c9c5..c96f6e8550a 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index 82a137a2b3c..302da3e0d1e 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts index a7069e11de2..c360b2380e6 100644 --- a/src/me/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts index 6561125add1..72d51a87aa3 100644 --- a/src/me/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts index 1c91db852d7..af463cfd4a6 100644 --- a/src/me/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index a2fa02af19d..5758cfdcec1 100644 --- a/src/me/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts index 8ea33352c63..8c7b52adaed 100644 --- a/src/me/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts index f7525aa315f..8801b9185fc 100644 --- a/src/me/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 74be14e9ef4..04f7df63d65 100644 --- a/src/me/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts index 4e92e401714..b005315f839 100644 --- a/src/me/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 550911e61af..d0bb98efbaa 100644 --- a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 9288d03a026..ff08ccedbf8 100644 --- a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index c9dcf239b55..90d3284ed6e 100644 --- a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 700599d2a0a..95199a7f2da 100644 --- a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts index 56ea4737b86..816e5e88ce4 100644 --- a/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts b/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts index 74d770330c4..805879805a0 100644 --- a/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/getSchedule/getScheduleRequestBuilder.ts b/src/me/calendars/item/getSchedule/getScheduleRequestBuilder.ts index d327e6d15f2..bea63cc1378 100644 --- a/src/me/calendars/item/getSchedule/getScheduleRequestBuilder.ts +++ b/src/me/calendars/item/getSchedule/getScheduleRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetSchedulePostRequestBody); return requestInfo; }; diff --git a/src/me/changePassword/changePasswordRequestBuilder.ts b/src/me/changePassword/changePasswordRequestBuilder.ts index d6b8631d00f..3271f7e784d 100644 --- a/src/me/changePassword/changePasswordRequestBuilder.ts +++ b/src/me/changePassword/changePasswordRequestBuilder.ts @@ -60,7 +60,7 @@ export class ChangePasswordRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChangePasswordPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/chatsRequestBuilder.ts b/src/me/chats/chatsRequestBuilder.ts index 62640074098..e07fb2de5c6 100644 --- a/src/me/chats/chatsRequestBuilder.ts +++ b/src/me/chats/chatsRequestBuilder.ts @@ -151,7 +151,7 @@ export class ChatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class ChatsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChat); return requestInfo; }; diff --git a/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts b/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts index 63a5c323c71..debd8cda37b 100644 --- a/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/getAllMessages/getAllMessagesRequestBuilder.ts b/src/me/chats/getAllMessages/getAllMessagesRequestBuilder.ts index 6f0b5e38631..20aea9300d2 100644 --- a/src/me/chats/getAllMessages/getAllMessagesRequestBuilder.ts +++ b/src/me/chats/getAllMessages/getAllMessagesRequestBuilder.ts @@ -97,7 +97,7 @@ export class GetAllMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/chatItemRequestBuilder.ts b/src/me/chats/item/chatItemRequestBuilder.ts index e675c69c2b2..a15786fc3e8 100644 --- a/src/me/chats/item/chatItemRequestBuilder.ts +++ b/src/me/chats/item/chatItemRequestBuilder.ts @@ -206,7 +206,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -224,7 +224,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -243,7 +243,7 @@ export class ChatItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChat); return requestInfo; }; diff --git a/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts b/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts index 85249d7f063..bebac5623fb 100644 --- a/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts +++ b/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HideForUserPostRequestBody extends AdditionalDataHolder, Parsab user?: TeamworkUserIdentity; } export function serializeHideForUserPostRequestBody(writer: SerializationWriter, hideForUserPostRequestBody: HideForUserPostRequestBody | undefined = {} as HideForUserPostRequestBody) : void { - writer.writeObjectValue("user", hideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", hideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(hideForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/hideForUser/hideForUserRequestBuilder.ts b/src/me/chats/item/hideForUser/hideForUserRequestBuilder.ts index e04185b6d84..71738029f0d 100644 --- a/src/me/chats/item/hideForUser/hideForUserRequestBuilder.ts +++ b/src/me/chats/item/hideForUser/hideForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class HideForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHideForUserPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/installedApps/installedAppsRequestBuilder.ts b/src/me/chats/item/installedApps/installedAppsRequestBuilder.ts index 8c8fddd01cf..b8c4c41fa5e 100644 --- a/src/me/chats/item/installedApps/installedAppsRequestBuilder.ts +++ b/src/me/chats/item/installedApps/installedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts index 78bdc6d27cb..0edfdee9bf3 100644 --- a/src/me/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/chats/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts b/src/me/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts index bdd3e3b5b03..c7a6219fffb 100644 --- a/src/me/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts +++ b/src/me/chats/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts b/src/me/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts index 355852b6ca6..ca9c98136f5 100644 --- a/src/me/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts +++ b/src/me/chats/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts b/src/me/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts index 1319d60349e..ab6beb5e38a 100644 --- a/src/me/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts +++ b/src/me/chats/item/installedApps/item/upgrade/upgradeRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpgradeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpgradePostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts b/src/me/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts index 877af9bb59c..9aecabef946 100644 --- a/src/me/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts +++ b/src/me/chats/item/lastMessagePreview/lastMessagePreviewRequestBuilder.ts @@ -121,7 +121,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class LastMessagePreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageInfo); return requestInfo; }; diff --git a/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts b/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts index fd209487a2f..535707ab066 100644 --- a/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts +++ b/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MarkChatReadForUserPostRequestBody extends AdditionalDataHolder user?: TeamworkUserIdentity; } export function serializeMarkChatReadForUserPostRequestBody(writer: SerializationWriter, markChatReadForUserPostRequestBody: MarkChatReadForUserPostRequestBody | undefined = {} as MarkChatReadForUserPostRequestBody) : void { - writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatReadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts b/src/me/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts index 01bd45784af..712bd19bf55 100644 --- a/src/me/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts +++ b/src/me/chats/item/markChatReadForUser/markChatReadForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class MarkChatReadForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkChatReadForUserPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts index f23068fb281..2b8061a86d2 100644 --- a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts +++ b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts @@ -30,7 +30,7 @@ export interface MarkChatUnreadForUserPostRequestBody extends AdditionalDataHold } export function serializeMarkChatUnreadForUserPostRequestBody(writer: SerializationWriter, markChatUnreadForUserPostRequestBody: MarkChatUnreadForUserPostRequestBody | undefined = {} as MarkChatUnreadForUserPostRequestBody) : void { writer.writeDateValue("lastMessageReadDateTime", markChatUnreadForUserPostRequestBody.lastMessageReadDateTime); - writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatUnreadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts index 9faafbe4458..3761ee7b286 100644 --- a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts +++ b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class MarkChatUnreadForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMarkChatUnreadForUserPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/members/add/addPostRequestBody.ts b/src/me/chats/item/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/me/chats/item/members/add/addPostRequestBody.ts +++ b/src/me/chats/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/members/add/addPostResponse.ts b/src/me/chats/item/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/me/chats/item/members/add/addPostResponse.ts +++ b/src/me/chats/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/members/add/addRequestBuilder.ts b/src/me/chats/item/members/add/addRequestBuilder.ts index 89cdc614947..6347063d844 100644 --- a/src/me/chats/item/members/add/addRequestBuilder.ts +++ b/src/me/chats/item/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/members/item/conversationMemberItemRequestBuilder.ts b/src/me/chats/item/members/item/conversationMemberItemRequestBuilder.ts index d699cfe7804..2a46070b29c 100644 --- a/src/me/chats/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/chats/item/members/item/conversationMemberItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/chats/item/members/membersRequestBuilder.ts b/src/me/chats/item/members/membersRequestBuilder.ts index 155c7184b3b..e0e25ed3acb 100644 --- a/src/me/chats/item/members/membersRequestBuilder.ts +++ b/src/me/chats/item/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/chats/item/messages/delta/deltaGetResponse.ts b/src/me/chats/item/messages/delta/deltaGetResponse.ts index ef6be2dfc6b..d42abd9e493 100644 --- a/src/me/chats/item/messages/delta/deltaGetResponse.ts +++ b/src/me/chats/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/messages/delta/deltaRequestBuilder.ts b/src/me/chats/item/messages/delta/deltaRequestBuilder.ts index 489044282e0..1a7f8151c59 100644 --- a/src/me/chats/item/messages/delta/deltaRequestBuilder.ts +++ b/src/me/chats/item/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/chatMessageItemRequestBuilder.ts b/src/me/chats/item/messages/item/chatMessageItemRequestBuilder.ts index c340acda54a..21e8637b570 100644 --- a/src/me/chats/item/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/me/chats/item/messages/item/chatMessageItemRequestBuilder.ts @@ -164,7 +164,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -182,7 +182,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -201,7 +201,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 47842665a21..366e9edc1dd 100644 --- a/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index b0a36e31c94..63069de033c 100644 --- a/src/me/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/chats/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts index 469b0116d05..88af4e45d70 100644 --- a/src/me/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/chats/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts b/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts b/src/me/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts index 1a25fc329d5..c9439878e67 100644 --- a/src/me/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts index 79df3396fab..c12905b7025 100644 --- a/src/me/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 2a90d420399..61292ad0126 100644 --- a/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index bf281f89f42..1a4cb13e4ed 100644 --- a/src/me/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index 3165999d616..b3cbc2c77c5 100644 --- a/src/me/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index 0986d88b20d..16644617ef0 100644 --- a/src/me/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index db4dfa96913..8b0cae5ccbc 100644 --- a/src/me/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 3c75501dfd3..914ddae116b 100644 --- a/src/me/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 368010308a3..4c3eaa81dbc 100644 --- a/src/me/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts index 0f83fd2294d..8404d1ed5f6 100644 --- a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts b/src/me/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts index fed91e625a7..848960a4620 100644 --- a/src/me/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/chats/item/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/me/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts index d35f007f1bb..84ab11e85c0 100644 --- a/src/me/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/chats/item/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index d99f48d1d2c..0987d000dec 100644 --- a/src/me/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/chats/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index 74f00eca8d6..da7f199e553 100644 --- a/src/me/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/chats/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/messages/messagesRequestBuilder.ts b/src/me/chats/item/messages/messagesRequestBuilder.ts index 310286679ca..3fe146fbfdb 100644 --- a/src/me/chats/item/messages/messagesRequestBuilder.ts +++ b/src/me/chats/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,11 +152,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts b/src/me/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts index 4dfd942a358..5028d0c178a 100644 --- a/src/me/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts +++ b/src/me/chats/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/me/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts b/src/me/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts index a7c1e3b7479..59dfd521854 100644 --- a/src/me/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts +++ b/src/me/chats/item/permissionGrants/permissionGrantsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/me/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts b/src/me/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts index c67fdd82d79..3ebd1ea7761 100644 --- a/src/me/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts +++ b/src/me/chats/item/pinnedMessages/item/message/messageRequestBuilder.ts @@ -73,7 +73,7 @@ export class MessageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts b/src/me/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts index d0362f6f80e..cfbc8980e96 100644 --- a/src/me/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts +++ b/src/me/chats/item/pinnedMessages/item/pinnedChatMessageInfoItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class PinnedChatMessageInfoItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePinnedChatMessageInfo); return requestInfo; }; diff --git a/src/me/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts b/src/me/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts index 2f4a0ad969a..0f2770a7047 100644 --- a/src/me/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts +++ b/src/me/chats/item/pinnedMessages/pinnedMessagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PinnedMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PinnedMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePinnedChatMessageInfo); return requestInfo; }; diff --git a/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts b/src/me/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts index 62013d6eec6..03713451791 100644 --- a/src/me/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts +++ b/src/me/chats/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendActivityNotificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendActivityNotificationPostRequestBody); return requestInfo; }; diff --git a/src/me/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts index 556375d0d29..2c1cf55ac4e 100644 --- a/src/me/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/chats/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/chats/item/tabs/item/teamsTabItemRequestBuilder.ts b/src/me/chats/item/tabs/item/teamsTabItemRequestBuilder.ts index 3179b49ab56..5d6a1c24962 100644 --- a/src/me/chats/item/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/me/chats/item/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/chats/item/tabs/tabsRequestBuilder.ts b/src/me/chats/item/tabs/tabsRequestBuilder.ts index 8ec8db801ab..c97e8ece87b 100644 --- a/src/me/chats/item/tabs/tabsRequestBuilder.ts +++ b/src/me/chats/item/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts b/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts index 9d0df2ebcd6..9d3bc3801de 100644 --- a/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts +++ b/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnhideForUserPostRequestBody(unhideForUserPostReq } } export function serializeUnhideForUserPostRequestBody(writer: SerializationWriter, unhideForUserPostRequestBody: UnhideForUserPostRequestBody | undefined = {} as UnhideForUserPostRequestBody) : void { - writer.writeObjectValue("user", unhideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", unhideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(unhideForUserPostRequestBody.additionalData); } export interface UnhideForUserPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/chats/item/unhideForUser/unhideForUserRequestBuilder.ts b/src/me/chats/item/unhideForUser/unhideForUserRequestBuilder.ts index 8b8a897bb24..600208eb18a 100644 --- a/src/me/chats/item/unhideForUser/unhideForUserRequestBuilder.ts +++ b/src/me/chats/item/unhideForUser/unhideForUserRequestBuilder.ts @@ -60,7 +60,7 @@ export class UnhideForUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnhideForUserPostRequestBody); return requestInfo; }; diff --git a/src/me/checkMemberGroups/checkMemberGroupsRequestBuilder.ts b/src/me/checkMemberGroups/checkMemberGroupsRequestBuilder.ts index 2a40ea992da..48920589bd7 100644 --- a/src/me/checkMemberGroups/checkMemberGroupsRequestBuilder.ts +++ b/src/me/checkMemberGroups/checkMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/me/checkMemberObjects/checkMemberObjectsRequestBuilder.ts b/src/me/checkMemberObjects/checkMemberObjectsRequestBuilder.ts index d7862499031..7074a573d3b 100644 --- a/src/me/checkMemberObjects/checkMemberObjectsRequestBuilder.ts +++ b/src/me/checkMemberObjects/checkMemberObjectsRequestBuilder.ts @@ -61,7 +61,7 @@ export class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCheckMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/me/contactFolders/contactFoldersRequestBuilder.ts b/src/me/contactFolders/contactFoldersRequestBuilder.ts index 3b2036e47a7..c550dd12f61 100644 --- a/src/me/contactFolders/contactFoldersRequestBuilder.ts +++ b/src/me/contactFolders/contactFoldersRequestBuilder.ts @@ -148,7 +148,7 @@ export class ContactFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ContactFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContactFolder); return requestInfo; }; diff --git a/src/me/contactFolders/delta/deltaGetResponse.ts b/src/me/contactFolders/delta/deltaGetResponse.ts index 42bcc85b6f5..755422c63fd 100644 --- a/src/me/contactFolders/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/delta/deltaRequestBuilder.ts b/src/me/contactFolders/delta/deltaRequestBuilder.ts index 682934b7854..2b37b55dc12 100644 --- a/src/me/contactFolders/delta/deltaRequestBuilder.ts +++ b/src/me/contactFolders/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/contactFolders/item/childFolders/childFoldersRequestBuilder.ts b/src/me/contactFolders/item/childFolders/childFoldersRequestBuilder.ts index 6b6e5fc9131..b986d9c9992 100644 --- a/src/me/contactFolders/item/childFolders/childFoldersRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/childFoldersRequestBuilder.ts @@ -148,7 +148,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContactFolder); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts b/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts index 0ddb788ea15..6e691e46a82 100644 --- a/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/childFolders/delta/deltaRequestBuilder.ts b/src/me/contactFolders/item/childFolders/delta/deltaRequestBuilder.ts index a9149fedc56..4402e447caf 100644 --- a/src/me/contactFolders/item/childFolders/delta/deltaRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/contactFolders/item/childFolders/item/contactFolderItemRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contactFolderItemRequestBuilder.ts index 4078f435c6a..7555eb2a0b4 100644 --- a/src/me/contactFolders/item/childFolders/item/contactFolderItemRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contactFolderItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContactFolder); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/contactsRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/contactsRequestBuilder.ts index c417aa45a41..f27825a8606 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/contactsRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/contactsRequestBuilder.ts @@ -148,7 +148,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts index 3e817b51a56..45f60415e4a 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaRequestBuilder.ts index 94b4a844ff5..890dd055983 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/contactFolders/item/childFolders/item/contacts/item/contactItemRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/item/contactItemRequestBuilder.ts index 8d7101f0e08..ddde67588c0 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/item/contactItemRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/item/contactItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts index 1c314177f6b..df1f75d75f5 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts index 71689e11c1e..104b1094a07 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/item/photo/photoRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/item/photo/photoRequestBuilder.ts index 0b3a97ab083..797d906181e 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/item/photo/photoRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/item/photo/photoRequestBuilder.ts @@ -101,7 +101,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -120,7 +120,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/me/contactFolders/item/childFolders/item/contacts/item/photo/value/contentRequestBuilder.ts b/src/me/contactFolders/item/childFolders/item/contacts/item/photo/value/contentRequestBuilder.ts index 8fb7f20df43..96636753d3a 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/item/photo/value/contentRequestBuilder.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/item/photo/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/contactFolders/item/contactFolderItemRequestBuilder.ts b/src/me/contactFolders/item/contactFolderItemRequestBuilder.ts index 13112809053..2a23cf5f107 100644 --- a/src/me/contactFolders/item/contactFolderItemRequestBuilder.ts +++ b/src/me/contactFolders/item/contactFolderItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ContactFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContactFolder); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/contactsRequestBuilder.ts b/src/me/contactFolders/item/contacts/contactsRequestBuilder.ts index 30588554bbc..95e460b079f 100644 --- a/src/me/contactFolders/item/contacts/contactsRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/contactsRequestBuilder.ts @@ -148,7 +148,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts b/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts index 3c810c53c38..e12f319581c 100644 --- a/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/contacts/delta/deltaRequestBuilder.ts b/src/me/contactFolders/item/contacts/delta/deltaRequestBuilder.ts index 8fbe7a12361..44fcc070be3 100644 --- a/src/me/contactFolders/item/contacts/delta/deltaRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/contactFolders/item/contacts/item/contactItemRequestBuilder.ts b/src/me/contactFolders/item/contacts/item/contactItemRequestBuilder.ts index f635a7edc96..9c8df38f879 100644 --- a/src/me/contactFolders/item/contacts/item/contactItemRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/item/contactItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts b/src/me/contactFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts index 8e4f885a727..e2e0b2d063a 100644 --- a/src/me/contactFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/item/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/contactFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts index 71e300f4db0..6690fa2af6d 100644 --- a/src/me/contactFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/item/photo/photoRequestBuilder.ts b/src/me/contactFolders/item/contacts/item/photo/photoRequestBuilder.ts index dc2634d73e9..dfd89582ff0 100644 --- a/src/me/contactFolders/item/contacts/item/photo/photoRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/item/photo/photoRequestBuilder.ts @@ -101,7 +101,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -120,7 +120,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/me/contactFolders/item/contacts/item/photo/value/contentRequestBuilder.ts b/src/me/contactFolders/item/contacts/item/photo/value/contentRequestBuilder.ts index bd90274ffd1..b8f0a5c991b 100644 --- a/src/me/contactFolders/item/contacts/item/photo/value/contentRequestBuilder.ts +++ b/src/me/contactFolders/item/contacts/item/photo/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/contacts/contactsRequestBuilder.ts b/src/me/contacts/contactsRequestBuilder.ts index 7cb53840614..77e85027eba 100644 --- a/src/me/contacts/contactsRequestBuilder.ts +++ b/src/me/contacts/contactsRequestBuilder.ts @@ -152,7 +152,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ContactsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contacts/delta/deltaGetResponse.ts b/src/me/contacts/delta/deltaGetResponse.ts index 676961656ad..5f9c750e09b 100644 --- a/src/me/contacts/delta/deltaGetResponse.ts +++ b/src/me/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/contacts/delta/deltaRequestBuilder.ts b/src/me/contacts/delta/deltaRequestBuilder.ts index d76aabcf573..06415f614a1 100644 --- a/src/me/contacts/delta/deltaRequestBuilder.ts +++ b/src/me/contacts/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/contacts/item/contactItemRequestBuilder.ts b/src/me/contacts/item/contactItemRequestBuilder.ts index 2762bae94b2..b1052b2d93a 100644 --- a/src/me/contacts/item/contactItemRequestBuilder.ts +++ b/src/me/contacts/item/contactItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ContactItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeContact); return requestInfo; }; diff --git a/src/me/contacts/item/extensions/extensionsRequestBuilder.ts b/src/me/contacts/item/extensions/extensionsRequestBuilder.ts index c46c3adaf5e..133b8c1e196 100644 --- a/src/me/contacts/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/contacts/item/extensions/extensionsRequestBuilder.ts @@ -139,7 +139,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contacts/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/contacts/item/extensions/item/extensionItemRequestBuilder.ts index 14cf3c62202..d3f02ac95b7 100644 --- a/src/me/contacts/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/contacts/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/contacts/item/photo/photoRequestBuilder.ts b/src/me/contacts/item/photo/photoRequestBuilder.ts index f1a275dd9ec..aaf2b6aa598 100644 --- a/src/me/contacts/item/photo/photoRequestBuilder.ts +++ b/src/me/contacts/item/photo/photoRequestBuilder.ts @@ -101,7 +101,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -120,7 +120,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/me/contacts/item/photo/value/contentRequestBuilder.ts b/src/me/contacts/item/photo/value/contentRequestBuilder.ts index 10ca1c2dd00..0e4337d4db1 100644 --- a/src/me/contacts/item/photo/value/contentRequestBuilder.ts +++ b/src/me/contacts/item/photo/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/createdObjects/createdObjectsRequestBuilder.ts b/src/me/createdObjects/createdObjectsRequestBuilder.ts index d69a1218e14..1e266d528ee 100644 --- a/src/me/createdObjects/createdObjectsRequestBuilder.ts +++ b/src/me/createdObjects/createdObjectsRequestBuilder.ts @@ -124,7 +124,7 @@ export class CreatedObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/createdObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/me/createdObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 343d7bc48f5..5cb029f3897 100644 --- a/src/me/createdObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/me/createdObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/createdObjects/item/directoryObjectItemRequestBuilder.ts b/src/me/createdObjects/item/directoryObjectItemRequestBuilder.ts index 795e8bb0d6c..cf1f11fe071 100644 --- a/src/me/createdObjects/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/createdObjects/item/directoryObjectItemRequestBuilder.ts @@ -80,7 +80,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/createdObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/me/createdObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 6973582fb0a..03c7f5c08ab 100644 --- a/src/me/createdObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/me/createdObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventsRequestBuilder.ts b/src/me/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventsRequestBuilder.ts index b2b29c7bad5..924410d7289 100644 --- a/src/me/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventsRequestBuilder.ts +++ b/src/me/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventsRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceManagementTroubleshootingEventsRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceManagementTroubleshootingEventsRequestBuilder extends BaseReq requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementTroubleshootingEvent); return requestInfo; }; diff --git a/src/me/deviceManagementTroubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts b/src/me/deviceManagementTroubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts index 68922b6c4d4..1bdda1efc4a 100644 --- a/src/me/deviceManagementTroubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts +++ b/src/me/deviceManagementTroubleshootingEvents/item/deviceManagementTroubleshootingEventItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceManagementTroubleshootingEventItemRequestBuilder extends Base requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceManagementTroubleshootingEvent); return requestInfo; }; diff --git a/src/me/directReports/directReportsRequestBuilder.ts b/src/me/directReports/directReportsRequestBuilder.ts index 7800e2aebb9..eb20eec784f 100644 --- a/src/me/directReports/directReportsRequestBuilder.ts +++ b/src/me/directReports/directReportsRequestBuilder.ts @@ -131,7 +131,7 @@ export class DirectReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/me/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts index 98eae408a39..bddbe5845f6 100644 --- a/src/me/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/me/directReports/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/directReports/graphUser/graphUserRequestBuilder.ts b/src/me/directReports/graphUser/graphUserRequestBuilder.ts index 17930821d61..57cfd2849ad 100644 --- a/src/me/directReports/graphUser/graphUserRequestBuilder.ts +++ b/src/me/directReports/graphUser/graphUserRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/directReports/item/directoryObjectItemRequestBuilder.ts b/src/me/directReports/item/directoryObjectItemRequestBuilder.ts index 18106015ca8..36af18e36b2 100644 --- a/src/me/directReports/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/directReports/item/directoryObjectItemRequestBuilder.ts @@ -87,7 +87,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts b/src/me/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts index c7cdceb23ae..80845012237 100644 --- a/src/me/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts +++ b/src/me/directReports/item/graphOrgContact/graphOrgContactRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphOrgContactRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/directReports/item/graphUser/graphUserRequestBuilder.ts b/src/me/directReports/item/graphUser/graphUserRequestBuilder.ts index 0cb4822bb54..a2db8370c59 100644 --- a/src/me/directReports/item/graphUser/graphUserRequestBuilder.ts +++ b/src/me/directReports/item/graphUser/graphUserRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphUserRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/drive/driveRequestBuilder.ts b/src/me/drive/driveRequestBuilder.ts index 523b8364347..bdf367fd26d 100644 --- a/src/me/drive/driveRequestBuilder.ts +++ b/src/me/drive/driveRequestBuilder.ts @@ -74,7 +74,7 @@ export class DriveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/drives/drivesRequestBuilder.ts b/src/me/drives/drivesRequestBuilder.ts index 9144e6837bc..cc3208b8fbf 100644 --- a/src/me/drives/drivesRequestBuilder.ts +++ b/src/me/drives/drivesRequestBuilder.ts @@ -117,7 +117,7 @@ export class DrivesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/drives/item/driveItemRequestBuilder.ts b/src/me/drives/item/driveItemRequestBuilder.ts index d8ca0176726..33d558441f1 100644 --- a/src/me/drives/item/driveItemRequestBuilder.ts +++ b/src/me/drives/item/driveItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class DriveItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/employeeExperience/employeeExperienceRequestBuilder.ts b/src/me/employeeExperience/employeeExperienceRequestBuilder.ts index af9ca1cd0d7..479ba6a086b 100644 --- a/src/me/employeeExperience/employeeExperienceRequestBuilder.ts +++ b/src/me/employeeExperience/employeeExperienceRequestBuilder.ts @@ -128,7 +128,7 @@ export class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEmployeeExperienceUser); return requestInfo; }; diff --git a/src/me/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts b/src/me/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts index 64f9c64633c..81234247e6e 100644 --- a/src/me/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts +++ b/src/me/employeeExperience/learningCourseActivities/item/learningCourseActivityItemRequestBuilder.ts @@ -74,7 +74,7 @@ export class LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts b/src/me/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts index 67aaf5e37e5..b2ed783ebca 100644 --- a/src/me/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts +++ b/src/me/employeeExperience/learningCourseActivities/learningCourseActivitiesRequestBuilder.ts @@ -117,7 +117,7 @@ export class LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/delta/deltaGetResponse.ts b/src/me/events/delta/deltaGetResponse.ts index 07c8519ed15..35216a8e092 100644 --- a/src/me/events/delta/deltaGetResponse.ts +++ b/src/me/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/events/delta/deltaRequestBuilder.ts b/src/me/events/delta/deltaRequestBuilder.ts index e5f58dda398..20a06f791b5 100644 --- a/src/me/events/delta/deltaRequestBuilder.ts +++ b/src/me/events/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/eventsRequestBuilder.ts b/src/me/events/eventsRequestBuilder.ts index 91698ff1a03..facef49f728 100644 --- a/src/me/events/eventsRequestBuilder.ts +++ b/src/me/events/eventsRequestBuilder.ts @@ -117,11 +117,11 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createEventCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Event - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/multivaluelegacyextendedproperty-post-multivalueextendedproperties?view=graph-rest-1.0|Find more info here} */ public post(body: Event, requestConfiguration?: EventsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/events/item/accept/acceptRequestBuilder.ts b/src/me/events/item/accept/acceptRequestBuilder.ts index 501e594da9c..ace23823b9f 100644 --- a/src/me/events/item/accept/acceptRequestBuilder.ts +++ b/src/me/events/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/events/item/attachments/attachmentsRequestBuilder.ts index e4027e331c1..e3c94c9890c 100644 --- a/src/me/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index ba7be4fcddb..2ac3d91f9cc 100644 --- a/src/me/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/events/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/events/item/attachments/item/attachmentItemRequestBuilder.ts index 7844c3238b2..4e5746f00b3 100644 --- a/src/me/events/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/events/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/calendar/calendarRequestBuilder.ts b/src/me/events/item/calendar/calendarRequestBuilder.ts index 1e7ae9e58f0..d0966504ae1 100644 --- a/src/me/events/item/calendar/calendarRequestBuilder.ts +++ b/src/me/events/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/cancel/cancelRequestBuilder.ts b/src/me/events/item/cancel/cancelRequestBuilder.ts index 859a980a64a..1af7077d18f 100644 --- a/src/me/events/item/cancel/cancelRequestBuilder.ts +++ b/src/me/events/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/decline/declinePostRequestBody.ts b/src/me/events/item/decline/declinePostRequestBody.ts index f87a67456e3..19a874f2962 100644 --- a/src/me/events/item/decline/declinePostRequestBody.ts +++ b/src/me/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/events/item/decline/declineRequestBuilder.ts b/src/me/events/item/decline/declineRequestBuilder.ts index 352f70d4ce5..9d34a32e457 100644 --- a/src/me/events/item/decline/declineRequestBuilder.ts +++ b/src/me/events/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/events/item/dismissReminder/dismissReminderRequestBuilder.ts index e2df05352f2..f394aa35efe 100644 --- a/src/me/events/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/events/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/eventItemRequestBuilder.ts b/src/me/events/item/eventItemRequestBuilder.ts index 8a8b966d640..3ec3f6d78f1 100644 --- a/src/me/events/item/eventItemRequestBuilder.ts +++ b/src/me/events/item/eventItemRequestBuilder.ts @@ -201,7 +201,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -219,7 +219,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -238,7 +238,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEvent); return requestInfo; }; diff --git a/src/me/events/item/extensions/extensionsRequestBuilder.ts b/src/me/events/item/extensions/extensionsRequestBuilder.ts index dac82258345..e81808ef4a5 100644 --- a/src/me/events/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/events/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/events/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/events/item/extensions/item/extensionItemRequestBuilder.ts index 7a33ad1b242..7eb7bdc3ffd 100644 --- a/src/me/events/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/events/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/events/item/forward/forwardPostRequestBody.ts b/src/me/events/item/forward/forwardPostRequestBody.ts index fc9f1198d42..2ccd8932e99 100644 --- a/src/me/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/forward/forwardRequestBuilder.ts b/src/me/events/item/forward/forwardRequestBuilder.ts index b00c9a7c48d..9b45d476539 100644 --- a/src/me/events/item/forward/forwardRequestBuilder.ts +++ b/src/me/events/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/delta/deltaGetResponse.ts b/src/me/events/item/instances/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/events/item/instances/delta/deltaRequestBuilder.ts b/src/me/events/item/instances/delta/deltaRequestBuilder.ts index 427839a2936..4e212a0bbed 100644 --- a/src/me/events/item/instances/delta/deltaRequestBuilder.ts +++ b/src/me/events/item/instances/delta/deltaRequestBuilder.ts @@ -102,7 +102,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/instancesRequestBuilder.ts b/src/me/events/item/instances/instancesRequestBuilder.ts index 15db5e827cd..f69d2d58820 100644 --- a/src/me/events/item/instances/instancesRequestBuilder.ts +++ b/src/me/events/item/instances/instancesRequestBuilder.ts @@ -124,7 +124,7 @@ export class InstancesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/item/accept/acceptRequestBuilder.ts b/src/me/events/item/instances/item/accept/acceptRequestBuilder.ts index 9e7c1e54d8e..377893d31e7 100644 --- a/src/me/events/item/instances/item/accept/acceptRequestBuilder.ts +++ b/src/me/events/item/instances/item/accept/acceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class AcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 3964573ce0e..a70b37febd3 100644 --- a/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -148,11 +148,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -167,7 +167,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index d11c4ea35a2..ed0490129d7 100644 --- a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts index b7252a36c72..3c769e0fbda 100644 --- a/src/me/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/events/item/instances/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/item/calendar/calendarRequestBuilder.ts b/src/me/events/item/instances/item/calendar/calendarRequestBuilder.ts index 41cf6e0dd71..fce1f67884a 100644 --- a/src/me/events/item/instances/item/calendar/calendarRequestBuilder.ts +++ b/src/me/events/item/instances/item/calendar/calendarRequestBuilder.ts @@ -69,7 +69,7 @@ export class CalendarRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/item/cancel/cancelRequestBuilder.ts b/src/me/events/item/instances/item/cancel/cancelRequestBuilder.ts index 2629f103776..8bc384ece8e 100644 --- a/src/me/events/item/instances/item/cancel/cancelRequestBuilder.ts +++ b/src/me/events/item/instances/item/cancel/cancelRequestBuilder.ts @@ -60,7 +60,7 @@ export class CancelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCancelPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/events/item/instances/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/events/item/instances/item/decline/declineRequestBuilder.ts b/src/me/events/item/instances/item/decline/declineRequestBuilder.ts index 4ddd0c10ef8..99463146ba0 100644 --- a/src/me/events/item/instances/item/decline/declineRequestBuilder.ts +++ b/src/me/events/item/instances/item/decline/declineRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeclineRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeclinePostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts b/src/me/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts index be6ed60f9af..9ee1db40d3d 100644 --- a/src/me/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts +++ b/src/me/events/item/instances/item/dismissReminder/dismissReminderRequestBuilder.ts @@ -56,7 +56,7 @@ export class DismissReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/item/eventItemRequestBuilder.ts b/src/me/events/item/instances/item/eventItemRequestBuilder.ts index 14a16ee01ae..e3936f803cb 100644 --- a/src/me/events/item/instances/item/eventItemRequestBuilder.ts +++ b/src/me/events/item/instances/item/eventItemRequestBuilder.ts @@ -147,7 +147,7 @@ export class EventItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/events/item/instances/item/extensions/extensionsRequestBuilder.ts b/src/me/events/item/instances/item/extensions/extensionsRequestBuilder.ts index 6a74ee88a0f..6d2363bd306 100644 --- a/src/me/events/item/instances/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/events/item/instances/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts index 016c321320c..06986a67008 100644 --- a/src/me/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/events/item/instances/item/extensions/item/extensionItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/instances/item/forward/forwardRequestBuilder.ts b/src/me/events/item/instances/item/forward/forwardRequestBuilder.ts index 24814f3aeb1..fbf72572d27 100644 --- a/src/me/events/item/instances/item/forward/forwardRequestBuilder.ts +++ b/src/me/events/item/instances/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts index b28567ccac0..2eae7e6d0c7 100644 --- a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index 11325fe7aaf..b48f216ed0d 100644 --- a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index c297dc43d87..f568b0282cb 100644 --- a/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts b/src/me/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts index 3be1b25039f..a80ae95b59b 100644 --- a/src/me/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts +++ b/src/me/events/item/snoozeReminder/snoozeReminderRequestBuilder.ts @@ -60,7 +60,7 @@ export class SnoozeReminderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSnoozeReminderPostRequestBody); return requestInfo; }; diff --git a/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index fd759337a9a..ec8ec728355 100644 --- a/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts b/src/me/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts index d9b7b4a3105..67cb2b30ae8 100644 --- a/src/me/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts +++ b/src/me/events/item/tentativelyAccept/tentativelyAcceptRequestBuilder.ts @@ -60,7 +60,7 @@ export class TentativelyAcceptRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTentativelyAcceptPostRequestBody); return requestInfo; }; diff --git a/src/me/exportDeviceAndAppManagementData/exportDeviceAndAppManagementDataRequestBuilder.ts b/src/me/exportDeviceAndAppManagementData/exportDeviceAndAppManagementDataRequestBuilder.ts index 27254c6649f..c85cce13428 100644 --- a/src/me/exportDeviceAndAppManagementData/exportDeviceAndAppManagementDataRequestBuilder.ts +++ b/src/me/exportDeviceAndAppManagementData/exportDeviceAndAppManagementDataRequestBuilder.ts @@ -58,7 +58,7 @@ export class ExportDeviceAndAppManagementDataRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/exportDeviceAndAppManagementDataWithSkipWithTop/exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.ts b/src/me/exportDeviceAndAppManagementDataWithSkipWithTop/exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.ts index a5eee1909fc..3e92e25c528 100644 --- a/src/me/exportDeviceAndAppManagementDataWithSkipWithTop/exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.ts +++ b/src/me/exportDeviceAndAppManagementDataWithSkipWithTop/exportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.ts @@ -62,7 +62,7 @@ export class ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder exten requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/exportPersonalData/exportPersonalDataRequestBuilder.ts b/src/me/exportPersonalData/exportPersonalDataRequestBuilder.ts index 23269939d78..d783fda31ac 100644 --- a/src/me/exportPersonalData/exportPersonalDataRequestBuilder.ts +++ b/src/me/exportPersonalData/exportPersonalDataRequestBuilder.ts @@ -60,7 +60,7 @@ export class ExportPersonalDataRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExportPersonalDataPostRequestBody); return requestInfo; }; diff --git a/src/me/extensions/extensionsRequestBuilder.ts b/src/me/extensions/extensionsRequestBuilder.ts index 0f3f1500293..79d927d83fd 100644 --- a/src/me/extensions/extensionsRequestBuilder.ts +++ b/src/me/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/extensions/item/extensionItemRequestBuilder.ts b/src/me/extensions/item/extensionItemRequestBuilder.ts index 675ce0f7a33..fa205f93b6a 100644 --- a/src/me/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts b/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts index 38f89858015..dbc3b4d969e 100644 --- a/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts +++ b/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts @@ -61,14 +61,14 @@ export interface FindMeetingTimesPostRequestBody extends AdditionalDataHolder, P timeConstraint?: TimeConstraint; } export function serializeFindMeetingTimesPostRequestBody(writer: SerializationWriter, findMeetingTimesPostRequestBody: FindMeetingTimesPostRequestBody | undefined = {} as FindMeetingTimesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("attendees", findMeetingTimesPostRequestBody.attendees, ); + writer.writeCollectionOfObjectValues("attendees", findMeetingTimesPostRequestBody.attendees, serializeAttendeeBase); writer.writeBooleanValue("isOrganizerOptional", findMeetingTimesPostRequestBody.isOrganizerOptional); - writer.writeObjectValue("locationConstraint", findMeetingTimesPostRequestBody.locationConstraint, ); + writer.writeObjectValue("locationConstraint", findMeetingTimesPostRequestBody.locationConstraint, serializeLocationConstraint); writer.writeNumberValue("maxCandidates", findMeetingTimesPostRequestBody.maxCandidates); writer.writeDurationValue("meetingDuration", findMeetingTimesPostRequestBody.meetingDuration); writer.writeNumberValue("minimumAttendeePercentage", findMeetingTimesPostRequestBody.minimumAttendeePercentage); writer.writeBooleanValue("returnSuggestionReasons", findMeetingTimesPostRequestBody.returnSuggestionReasons); - writer.writeObjectValue("timeConstraint", findMeetingTimesPostRequestBody.timeConstraint, ); + writer.writeObjectValue("timeConstraint", findMeetingTimesPostRequestBody.timeConstraint, serializeTimeConstraint); writer.writeAdditionalData(findMeetingTimesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/findMeetingTimes/findMeetingTimesRequestBuilder.ts b/src/me/findMeetingTimes/findMeetingTimesRequestBuilder.ts index 405428b0bb9..ca4b512a8e0 100644 --- a/src/me/findMeetingTimes/findMeetingTimesRequestBuilder.ts +++ b/src/me/findMeetingTimes/findMeetingTimesRequestBuilder.ts @@ -62,7 +62,7 @@ export class FindMeetingTimesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeFindMeetingTimesPostRequestBody); return requestInfo; }; diff --git a/src/me/followedSites/followedSitesRequestBuilder.ts b/src/me/followedSites/followedSitesRequestBuilder.ts index 517be0a4f38..dee2fb428ef 100644 --- a/src/me/followedSites/followedSitesRequestBuilder.ts +++ b/src/me/followedSites/followedSitesRequestBuilder.ts @@ -117,7 +117,7 @@ export class FollowedSitesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/followedSites/item/siteItemRequestBuilder.ts b/src/me/followedSites/item/siteItemRequestBuilder.ts index 124619be85c..8a3f0dab78c 100644 --- a/src/me/followedSites/item/siteItemRequestBuilder.ts +++ b/src/me/followedSites/item/siteItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SiteItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/getMailTips/getMailTipsPostResponse.ts b/src/me/getMailTips/getMailTipsPostResponse.ts index 953b4169d22..020aacbb2da 100644 --- a/src/me/getMailTips/getMailTipsPostResponse.ts +++ b/src/me/getMailTips/getMailTipsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetMailTipsPostResponse extends BaseCollectionPaginationCountRe } export function serializeGetMailTipsPostResponse(writer: SerializationWriter, getMailTipsPostResponse: GetMailTipsPostResponse | undefined = {} as GetMailTipsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getMailTipsPostResponse) - writer.writeCollectionOfObjectValues("value", getMailTipsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getMailTipsPostResponse.value, serializeMailTips); } // tslint:enable // eslint-enable diff --git a/src/me/getMailTips/getMailTipsRequestBuilder.ts b/src/me/getMailTips/getMailTipsRequestBuilder.ts index a6e165d831a..c013a5181d0 100644 --- a/src/me/getMailTips/getMailTipsRequestBuilder.ts +++ b/src/me/getMailTips/getMailTipsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMailTipsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMailTipsPostRequestBody); return requestInfo; }; diff --git a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts index f1b4b97c9d1..14635618249 100644 --- a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts +++ b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetManagedAppDiagnosticStatusesGetResponse extends BaseCollecti } export function serializeGetManagedAppDiagnosticStatusesGetResponse(writer: SerializationWriter, getManagedAppDiagnosticStatusesGetResponse: GetManagedAppDiagnosticStatusesGetResponse | undefined = {} as GetManagedAppDiagnosticStatusesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getManagedAppDiagnosticStatusesGetResponse) - writer.writeCollectionOfObjectValues("value", getManagedAppDiagnosticStatusesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getManagedAppDiagnosticStatusesGetResponse.value, serializeManagedAppDiagnosticStatus); } // tslint:enable // eslint-enable diff --git a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesRequestBuilder.ts b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesRequestBuilder.ts index beb0eb8bdb9..031b23bee2b 100644 --- a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesRequestBuilder.ts +++ b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesRequestBuilder.ts @@ -85,7 +85,7 @@ export class GetManagedAppDiagnosticStatusesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts b/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts index 17b21fcf014..10a0ee29db7 100644 --- a/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts +++ b/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetManagedAppPoliciesGetResponse extends BaseCollectionPaginati } export function serializeGetManagedAppPoliciesGetResponse(writer: SerializationWriter, getManagedAppPoliciesGetResponse: GetManagedAppPoliciesGetResponse | undefined = {} as GetManagedAppPoliciesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getManagedAppPoliciesGetResponse) - writer.writeCollectionOfObjectValues("value", getManagedAppPoliciesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getManagedAppPoliciesGetResponse.value, serializeManagedAppPolicy); } // tslint:enable // eslint-enable diff --git a/src/me/getManagedAppPolicies/getManagedAppPoliciesRequestBuilder.ts b/src/me/getManagedAppPolicies/getManagedAppPoliciesRequestBuilder.ts index 9c77b3e0207..6b9fb7d09ca 100644 --- a/src/me/getManagedAppPolicies/getManagedAppPoliciesRequestBuilder.ts +++ b/src/me/getManagedAppPolicies/getManagedAppPoliciesRequestBuilder.ts @@ -93,7 +93,7 @@ export class GetManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/getManagedDevicesWithAppFailures/getManagedDevicesWithAppFailuresRequestBuilder.ts b/src/me/getManagedDevicesWithAppFailures/getManagedDevicesWithAppFailuresRequestBuilder.ts index bbebc085d15..1350681b4f4 100644 --- a/src/me/getManagedDevicesWithAppFailures/getManagedDevicesWithAppFailuresRequestBuilder.ts +++ b/src/me/getManagedDevicesWithAppFailures/getManagedDevicesWithAppFailuresRequestBuilder.ts @@ -85,7 +85,7 @@ export class GetManagedDevicesWithAppFailuresRequestBuilder extends BaseRequestB requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/getMemberGroups/getMemberGroupsRequestBuilder.ts b/src/me/getMemberGroups/getMemberGroupsRequestBuilder.ts index 752709eb36b..9d63d74bb9d 100644 --- a/src/me/getMemberGroups/getMemberGroupsRequestBuilder.ts +++ b/src/me/getMemberGroups/getMemberGroupsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberGroupsPostRequestBody); return requestInfo; }; diff --git a/src/me/getMemberObjects/getMemberObjectsRequestBuilder.ts b/src/me/getMemberObjects/getMemberObjectsRequestBuilder.ts index 1aa4462f6ee..59e8400d717 100644 --- a/src/me/getMemberObjects/getMemberObjectsRequestBuilder.ts +++ b/src/me/getMemberObjects/getMemberObjectsRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetMemberObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetMemberObjectsPostRequestBody); return requestInfo; }; diff --git a/src/me/inferenceClassification/inferenceClassificationRequestBuilder.ts b/src/me/inferenceClassification/inferenceClassificationRequestBuilder.ts index 39975e17202..160254b9205 100644 --- a/src/me/inferenceClassification/inferenceClassificationRequestBuilder.ts +++ b/src/me/inferenceClassification/inferenceClassificationRequestBuilder.ts @@ -101,7 +101,7 @@ export class InferenceClassificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -120,7 +120,7 @@ export class InferenceClassificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInferenceClassification); return requestInfo; }; diff --git a/src/me/inferenceClassification/overrides/item/inferenceClassificationOverrideItemRequestBuilder.ts b/src/me/inferenceClassification/overrides/item/inferenceClassificationOverrideItemRequestBuilder.ts index e9beffe6fb7..2e6b757741b 100644 --- a/src/me/inferenceClassification/overrides/item/inferenceClassificationOverrideItemRequestBuilder.ts +++ b/src/me/inferenceClassification/overrides/item/inferenceClassificationOverrideItemRequestBuilder.ts @@ -119,7 +119,7 @@ export class InferenceClassificationOverrideItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -137,7 +137,7 @@ export class InferenceClassificationOverrideItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class InferenceClassificationOverrideItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInferenceClassificationOverride); return requestInfo; }; diff --git a/src/me/inferenceClassification/overrides/overridesRequestBuilder.ts b/src/me/inferenceClassification/overrides/overridesRequestBuilder.ts index 88d092dc9f5..661ee1e878c 100644 --- a/src/me/inferenceClassification/overrides/overridesRequestBuilder.ts +++ b/src/me/inferenceClassification/overrides/overridesRequestBuilder.ts @@ -137,7 +137,7 @@ export class OverridesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class OverridesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInferenceClassificationOverride); return requestInfo; }; diff --git a/src/me/insights/insightsRequestBuilder.ts b/src/me/insights/insightsRequestBuilder.ts index 3a53de049c2..cc5d5333548 100644 --- a/src/me/insights/insightsRequestBuilder.ts +++ b/src/me/insights/insightsRequestBuilder.ts @@ -142,7 +142,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class InsightsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOfficeGraphInsights); return requestInfo; }; diff --git a/src/me/insights/shared/item/lastSharedMethod/lastSharedMethodRequestBuilder.ts b/src/me/insights/shared/item/lastSharedMethod/lastSharedMethodRequestBuilder.ts index 72c5589be1a..67102873e0e 100644 --- a/src/me/insights/shared/item/lastSharedMethod/lastSharedMethodRequestBuilder.ts +++ b/src/me/insights/shared/item/lastSharedMethod/lastSharedMethodRequestBuilder.ts @@ -73,7 +73,7 @@ export class LastSharedMethodRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/insights/shared/item/resource/resourceRequestBuilder.ts b/src/me/insights/shared/item/resource/resourceRequestBuilder.ts index ddf22f66f5b..c8fb64067ae 100644 --- a/src/me/insights/shared/item/resource/resourceRequestBuilder.ts +++ b/src/me/insights/shared/item/resource/resourceRequestBuilder.ts @@ -73,7 +73,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/insights/shared/item/sharedInsightItemRequestBuilder.ts b/src/me/insights/shared/item/sharedInsightItemRequestBuilder.ts index 69e943425f8..7a07ae685a3 100644 --- a/src/me/insights/shared/item/sharedInsightItemRequestBuilder.ts +++ b/src/me/insights/shared/item/sharedInsightItemRequestBuilder.ts @@ -135,7 +135,7 @@ export class SharedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class SharedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class SharedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedInsight); return requestInfo; }; diff --git a/src/me/insights/shared/sharedRequestBuilder.ts b/src/me/insights/shared/sharedRequestBuilder.ts index 8e6aec1338f..b266480730f 100644 --- a/src/me/insights/shared/sharedRequestBuilder.ts +++ b/src/me/insights/shared/sharedRequestBuilder.ts @@ -144,7 +144,7 @@ export class SharedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SharedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedInsight); return requestInfo; }; diff --git a/src/me/insights/trending/item/resource/resourceRequestBuilder.ts b/src/me/insights/trending/item/resource/resourceRequestBuilder.ts index cd35bfc2367..18272921433 100644 --- a/src/me/insights/trending/item/resource/resourceRequestBuilder.ts +++ b/src/me/insights/trending/item/resource/resourceRequestBuilder.ts @@ -73,7 +73,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/insights/trending/item/trendingItemRequestBuilder.ts b/src/me/insights/trending/item/trendingItemRequestBuilder.ts index adaaf7a4420..d08b6559843 100644 --- a/src/me/insights/trending/item/trendingItemRequestBuilder.ts +++ b/src/me/insights/trending/item/trendingItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class TrendingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TrendingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TrendingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTrending); return requestInfo; }; diff --git a/src/me/insights/trending/trendingRequestBuilder.ts b/src/me/insights/trending/trendingRequestBuilder.ts index 222667e953a..c4eea9a9d54 100644 --- a/src/me/insights/trending/trendingRequestBuilder.ts +++ b/src/me/insights/trending/trendingRequestBuilder.ts @@ -144,7 +144,7 @@ export class TrendingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TrendingRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTrending); return requestInfo; }; diff --git a/src/me/insights/used/item/resource/resourceRequestBuilder.ts b/src/me/insights/used/item/resource/resourceRequestBuilder.ts index 97e1c4570e3..53d9fc46e29 100644 --- a/src/me/insights/used/item/resource/resourceRequestBuilder.ts +++ b/src/me/insights/used/item/resource/resourceRequestBuilder.ts @@ -73,7 +73,7 @@ export class ResourceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/insights/used/item/usedInsightItemRequestBuilder.ts b/src/me/insights/used/item/usedInsightItemRequestBuilder.ts index 3d16ec694e8..ba1c3080e78 100644 --- a/src/me/insights/used/item/usedInsightItemRequestBuilder.ts +++ b/src/me/insights/used/item/usedInsightItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class UsedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class UsedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class UsedInsightItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUsedInsight); return requestInfo; }; diff --git a/src/me/insights/used/usedRequestBuilder.ts b/src/me/insights/used/usedRequestBuilder.ts index 499e219e18d..ef0760d3d21 100644 --- a/src/me/insights/used/usedRequestBuilder.ts +++ b/src/me/insights/used/usedRequestBuilder.ts @@ -144,7 +144,7 @@ export class UsedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class UsedRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUsedInsight); return requestInfo; }; diff --git a/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts b/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts index 63a5c323c71..debd8cda37b 100644 --- a/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/getAllMessages/getAllMessagesRequestBuilder.ts b/src/me/joinedTeams/getAllMessages/getAllMessagesRequestBuilder.ts index dfe9c487d9c..61c956f772a 100644 --- a/src/me/joinedTeams/getAllMessages/getAllMessagesRequestBuilder.ts +++ b/src/me/joinedTeams/getAllMessages/getAllMessagesRequestBuilder.ts @@ -97,7 +97,7 @@ export class GetAllMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/allChannels/allChannelsRequestBuilder.ts b/src/me/joinedTeams/item/allChannels/allChannelsRequestBuilder.ts index 1d95e1c9104..959064f6642 100644 --- a/src/me/joinedTeams/item/allChannels/allChannelsRequestBuilder.ts +++ b/src/me/joinedTeams/item/allChannels/allChannelsRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/allChannels/item/channelItemRequestBuilder.ts b/src/me/joinedTeams/item/allChannels/item/channelItemRequestBuilder.ts index 808e69dab5e..af84a483069 100644 --- a/src/me/joinedTeams/item/allChannels/item/channelItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/allChannels/item/channelItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/archive/archiveRequestBuilder.ts b/src/me/joinedTeams/item/archive/archiveRequestBuilder.ts index 2ca92016fd3..604f9ef7ce2 100644 --- a/src/me/joinedTeams/item/archive/archiveRequestBuilder.ts +++ b/src/me/joinedTeams/item/archive/archiveRequestBuilder.ts @@ -60,7 +60,7 @@ export class ArchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeArchivePostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/channelsRequestBuilder.ts b/src/me/joinedTeams/item/channels/channelsRequestBuilder.ts index ee580a74c06..6676b36fce2 100644 --- a/src/me/joinedTeams/item/channels/channelsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/channelsRequestBuilder.ts @@ -152,7 +152,7 @@ export class ChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts index 6da63615974..bbd414c60f4 100644 --- a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesRequestBuilder.ts b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesRequestBuilder.ts index 423b17c385d..d2db21cf935 100644 --- a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesRequestBuilder.ts @@ -97,7 +97,7 @@ export class GetAllMessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/channelItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/channelItemRequestBuilder.ts index b40d6afc20c..3b6ebf5b60d 100644 --- a/src/me/joinedTeams/item/channels/item/channelItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/channelItemRequestBuilder.ts @@ -187,7 +187,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -205,7 +205,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -224,7 +224,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/completeMigration/completeMigrationRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/completeMigration/completeMigrationRequestBuilder.ts index a0683b3ce44..2ec6f371928 100644 --- a/src/me/joinedTeams/item/channels/item/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts index 4bfeabd668f..e62bfcd1187 100644 --- a/src/me/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts @@ -77,7 +77,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/filesFolder/content/contentRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/filesFolder/content/contentRequestBuilder.ts index ff9c9796725..c81c5176110 100644 --- a/src/me/joinedTeams/item/channels/item/filesFolder/content/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/filesFolder/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/filesFolder/filesFolderRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/filesFolder/filesFolderRequestBuilder.ts index a4a9ccb2549..de3fcaf48b7 100644 --- a/src/me/joinedTeams/item/channels/item/filesFolder/filesFolderRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/filesFolder/filesFolderRequestBuilder.ts @@ -81,7 +81,7 @@ export class FilesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts index bd04065f20c..43a9b35435a 100644 --- a/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts b/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts index e14206e5836..833844de2f8 100644 --- a/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/members/add/addRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/members/add/addRequestBuilder.ts index 580d0caf487..e6aef6886d4 100644 --- a/src/me/joinedTeams/item/channels/item/members/add/addRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts index bb7091580ca..47ab020cf54 100644 --- a/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts index a33e2eb812a..856a3c82b93 100644 --- a/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/messages/delta/deltaRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/delta/deltaRequestBuilder.ts index 75e82687bce..5a496a23efd 100644 --- a/src/me/joinedTeams/item/channels/item/messages/delta/deltaRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/chatMessageItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/chatMessageItemRequestBuilder.ts index e6d5cd38931..30cce1b600f 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/chatMessageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index dfc56b0565e..06f335999a7 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 0df2b8998ab..056a49425fc 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts index a86b88fc829..5f61828950b 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts index 72129401f66..09d25329542 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts index db01fa380a0..ec7d97a75b9 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts index bcc11e1ce1f..f5ecef671a8 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 98f931fde4d..d54a1a65047 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 1901cf8ea9e..89a7a71e4f2 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index 8f7cfffdfac..80b69df10ec 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index b99d222022b..13393f85a54 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index 5927cd78268..904e7aea3c0 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index aa21b5c499c..9fc95fafe49 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 7e9e6fc0ec3..363eeb165e5 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index ee670696ba7..227649863e8 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts index 501e14f775a..4ffe8c167a9 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts index b36732d800f..a596f744c54 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 4a9e52a0d84..faea4c33acf 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index 8176f1b1603..0d70691631c 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts index 52230990e76..32e2f3e98f2 100644 --- a/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/provisionEmail/provisionEmailRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/provisionEmail/provisionEmailRequestBuilder.ts index 43bb5dab4ad..64d5d6395c1 100644 --- a/src/me/joinedTeams/item/channels/item/provisionEmail/provisionEmailRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/provisionEmail/provisionEmailRequestBuilder.ts @@ -59,7 +59,7 @@ export class ProvisionEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/removeEmail/removeEmailRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/removeEmail/removeEmailRequestBuilder.ts index 38a437f880b..4b7250dd411 100644 --- a/src/me/joinedTeams/item/channels/item/removeEmail/removeEmailRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/removeEmail/removeEmailRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts index b176a8d2169..1b86b8828f9 100644 --- a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllowedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts index 5112aca3167..ef5c968dda5 100644 --- a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts index 3ab2a963e23..afa26d0583f 100644 --- a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts index 9e6c4d71954..e56f6c65cc8 100644 --- a/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/sharedWithTeams/item/team/teamRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts index 34b4c9fb5be..e4b9a07428f 100644 --- a/src/me/joinedTeams/item/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/sharedWithTeams/sharedWithTeamsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts index ebe480344b5..a62f77b3461 100644 --- a/src/me/joinedTeams/item/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/channels/item/tabs/item/teamsTabItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/tabs/item/teamsTabItemRequestBuilder.ts index e156d064314..a664d8c5744 100644 --- a/src/me/joinedTeams/item/channels/item/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/joinedTeams/item/channels/item/tabs/tabsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/tabs/tabsRequestBuilder.ts index bcb63221715..d5ec234cd67 100644 --- a/src/me/joinedTeams/item/channels/item/tabs/tabsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/joinedTeams/item/clone/cloneRequestBuilder.ts b/src/me/joinedTeams/item/clone/cloneRequestBuilder.ts index 7a718ec29ec..b95d1024cf8 100644 --- a/src/me/joinedTeams/item/clone/cloneRequestBuilder.ts +++ b/src/me/joinedTeams/item/clone/cloneRequestBuilder.ts @@ -60,7 +60,7 @@ export class CloneRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeClonePostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/completeMigration/completeMigrationRequestBuilder.ts b/src/me/joinedTeams/item/completeMigration/completeMigrationRequestBuilder.ts index 7c6eb2790a7..b8cf62fd3e0 100644 --- a/src/me/joinedTeams/item/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/me/joinedTeams/item/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/group/groupRequestBuilder.ts b/src/me/joinedTeams/item/group/groupRequestBuilder.ts index a4ba63e67cc..fbc99a2d870 100644 --- a/src/me/joinedTeams/item/group/groupRequestBuilder.ts +++ b/src/me/joinedTeams/item/group/groupRequestBuilder.ts @@ -80,7 +80,7 @@ export class GroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/me/joinedTeams/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 856c846ab77..a4c75dedf2a 100644 --- a/src/me/joinedTeams/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/me/joinedTeams/item/group/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/incomingChannels/incomingChannelsRequestBuilder.ts b/src/me/joinedTeams/item/incomingChannels/incomingChannelsRequestBuilder.ts index e1988e06da0..cb64638c59d 100644 --- a/src/me/joinedTeams/item/incomingChannels/incomingChannelsRequestBuilder.ts +++ b/src/me/joinedTeams/item/incomingChannels/incomingChannelsRequestBuilder.ts @@ -117,7 +117,7 @@ export class IncomingChannelsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/incomingChannels/item/channelItemRequestBuilder.ts b/src/me/joinedTeams/item/incomingChannels/item/channelItemRequestBuilder.ts index b0ea622a3d5..e9d9dca8231 100644 --- a/src/me/joinedTeams/item/incomingChannels/item/channelItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/incomingChannels/item/channelItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class ChannelItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/installedApps/installedAppsRequestBuilder.ts b/src/me/joinedTeams/item/installedApps/installedAppsRequestBuilder.ts index e89a918a5a1..d09bd08f480 100644 --- a/src/me/joinedTeams/item/installedApps/installedAppsRequestBuilder.ts +++ b/src/me/joinedTeams/item/installedApps/installedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/joinedTeams/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/joinedTeams/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts index 3029f9ed02c..87ae87ef37c 100644 --- a/src/me/joinedTeams/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/joinedTeams/item/installedApps/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts b/src/me/joinedTeams/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts index 3d857480f0c..384104e1020 100644 --- a/src/me/joinedTeams/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts +++ b/src/me/joinedTeams/item/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts b/src/me/joinedTeams/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts index 121f4b544a4..5c81077bed1 100644 --- a/src/me/joinedTeams/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/installedApps/item/teamsAppInstallationItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class TeamsAppInstallationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradeRequestBuilder.ts b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradeRequestBuilder.ts index ae77384de4f..bdf3207505e 100644 --- a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradeRequestBuilder.ts +++ b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradeRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpgradeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpgradePostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/me/joinedTeams/item/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/members/add/addPostResponse.ts b/src/me/joinedTeams/item/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/me/joinedTeams/item/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/members/add/addRequestBuilder.ts b/src/me/joinedTeams/item/members/add/addRequestBuilder.ts index ad42a56855d..a442fae7d04 100644 --- a/src/me/joinedTeams/item/members/add/addRequestBuilder.ts +++ b/src/me/joinedTeams/item/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/members/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/members/item/conversationMemberItemRequestBuilder.ts index 87b9acb6df2..1ca5e22f4f1 100644 --- a/src/me/joinedTeams/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/members/item/conversationMemberItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/members/membersRequestBuilder.ts index 19311535ad3..69d2b6c226e 100644 --- a/src/me/joinedTeams/item/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/operations/item/teamsAsyncOperationItemRequestBuilder.ts b/src/me/joinedTeams/item/operations/item/teamsAsyncOperationItemRequestBuilder.ts index b357c3b9ed6..3191cd1ac5c 100644 --- a/src/me/joinedTeams/item/operations/item/teamsAsyncOperationItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/operations/item/teamsAsyncOperationItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class TeamsAsyncOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAsyncOperation); return requestInfo; }; diff --git a/src/me/joinedTeams/item/operations/operationsRequestBuilder.ts b/src/me/joinedTeams/item/operations/operationsRequestBuilder.ts index b75e38131f4..59923c8b8ec 100644 --- a/src/me/joinedTeams/item/operations/operationsRequestBuilder.ts +++ b/src/me/joinedTeams/item/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsAsyncOperation); return requestInfo; }; diff --git a/src/me/joinedTeams/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts b/src/me/joinedTeams/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts index 38000415afd..3acc8cca54e 100644 --- a/src/me/joinedTeams/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/permissionGrants/item/resourceSpecificPermissionGrantItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ResourceSpecificPermissionGrantItemRequestBuilder extends BaseReque requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/me/joinedTeams/item/permissionGrants/permissionGrantsRequestBuilder.ts b/src/me/joinedTeams/item/permissionGrants/permissionGrantsRequestBuilder.ts index 9201713b280..f7394428f86 100644 --- a/src/me/joinedTeams/item/permissionGrants/permissionGrantsRequestBuilder.ts +++ b/src/me/joinedTeams/item/permissionGrants/permissionGrantsRequestBuilder.ts @@ -144,7 +144,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeResourceSpecificPermissionGrant); return requestInfo; }; diff --git a/src/me/joinedTeams/item/photo/photoRequestBuilder.ts b/src/me/joinedTeams/item/photo/photoRequestBuilder.ts index d455273f268..64eb9f10776 100644 --- a/src/me/joinedTeams/item/photo/photoRequestBuilder.ts +++ b/src/me/joinedTeams/item/photo/photoRequestBuilder.ts @@ -60,7 +60,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/photo{?%24select,%24expand}"); }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfilePhoto * @see {@link https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0|Find more info here} @@ -92,7 +92,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfilePhotoFromDiscriminatorValue, errorMapping); }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -106,7 +106,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -125,7 +125,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/me/joinedTeams/item/photo/value/contentRequestBuilder.ts b/src/me/joinedTeams/item/photo/value/contentRequestBuilder.ts index 9f86864af6d..487538dbe42 100644 --- a/src/me/joinedTeams/item/photo/value/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/photo/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts index e0fe2b4b7e6..09ab6bc021c 100644 --- a/src/me/joinedTeams/item/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/completeMigration/completeMigrationRequestBuilder.ts @@ -56,7 +56,7 @@ export class CompleteMigrationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts index 45046b89782..a4309753dbc 100644 --- a/src/me/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.ts @@ -77,7 +77,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/filesFolder/content/contentRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/filesFolder/content/contentRequestBuilder.ts index e0f71d9f819..c99cf5f6b32 100644 --- a/src/me/joinedTeams/item/primaryChannel/filesFolder/content/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/filesFolder/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/filesFolder/filesFolderRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/filesFolder/filesFolderRequestBuilder.ts index e22c4db9103..bf958d4d6a7 100644 --- a/src/me/joinedTeams/item/primaryChannel/filesFolder/filesFolderRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/filesFolder/filesFolderRequestBuilder.ts @@ -81,7 +81,7 @@ export class FilesFolderRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts index 973a6a27d65..c6f0575e956 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts b/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts index 58a62b21777..fdb80f5cec8 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/members/add/addRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/members/add/addRequestBuilder.ts index 67906ffa4c4..b9245e95b08 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/add/addRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/add/addRequestBuilder.ts @@ -62,7 +62,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAddPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts index 49368f74a39..e2b8f2d7037 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -124,7 +124,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts index 77a26adcd75..738f5a2ca15 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeConversationMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaRequestBuilder.ts index 8774a605844..bc68f8ef820 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts index b3cb5045146..95c1b9c59c2 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/chatMessageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 505c44455ef..13bbd222f9c 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index 8e0ed83abd2..c29f774b751 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts index 7140fbe3cc2..0d557bcba72 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts index 810d193f0e4..d7bf2b66bf8 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts index 786e259600d..30eb4c6d8e4 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts index e8286dc0780..2ffca0fde5b 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/chatMessageItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class ChatMessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 93c4785c670..a00a8492996 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts index efd3350a230..057336af53d 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/chatMessageHostedContentItemRequestBuilder.ts @@ -129,7 +129,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -147,7 +147,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +166,7 @@ export class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessageHostedContent); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts index 3973a1ee373..b2bf2473b84 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts index d970b7cb6c1..1e4c8524ede 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts index 4c74d5106ea..a3f1c67c97f 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 81def8ea0be..77979a5ee1c 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts index 4fe3bdc6102..236965a1fd8 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index f826785337c..8d655752b07 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -152,7 +152,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts index 0f4dfc78aca..4aee4961c98 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/setReaction/setReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class SetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts index aa91966fbab..2465cc5e018 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/softDelete/softDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class SoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts index 62d219a478d..1cc62c2d367 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/undoSoftDelete/undoSoftDeleteRequestBuilder.ts @@ -56,7 +56,7 @@ export class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts index 03cbf268372..e00f37c2c96 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/unsetReaction/unsetReactionRequestBuilder.ts @@ -59,7 +59,7 @@ export class UnsetReactionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUnsetReactionPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts index 1f04bd2ef72..fd809c82004 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChatMessage); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/primaryChannelRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/primaryChannelRequestBuilder.ts index 3c0837337a8..b9f6acfc130 100644 --- a/src/me/joinedTeams/item/primaryChannel/primaryChannelRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/primaryChannelRequestBuilder.ts @@ -185,7 +185,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -203,7 +203,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -222,7 +222,7 @@ export class PrimaryChannelRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChannel); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts index 3583c102913..0005c115372 100644 --- a/src/me/joinedTeams/item/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/provisionEmail/provisionEmailRequestBuilder.ts @@ -59,7 +59,7 @@ export class ProvisionEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/removeEmail/removeEmailRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/removeEmail/removeEmailRequestBuilder.ts index 9d232d3aaa3..f66cb97e382 100644 --- a/src/me/joinedTeams/item/primaryChannel/removeEmail/removeEmailRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/removeEmail/removeEmailRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveEmailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts index 7f3a5679653..4c17fb5fb98 100644 --- a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/allowedMembersRequestBuilder.ts @@ -117,7 +117,7 @@ export class AllowedMembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts index 63e22c2a057..9095865517c 100644 --- a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/allowedMembers/item/conversationMemberItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts index 110c6731e88..efd5c24e610 100644 --- a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/sharedWithChannelTeamInfoItemRequestBuilder.ts @@ -137,7 +137,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -155,7 +155,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class SharedWithChannelTeamInfoItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts index eb7a97df209..d7302be2305 100644 --- a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/item/team/teamRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts index 2ee42c54e65..ba1fb357161 100644 --- a/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/sharedWithTeams/sharedWithTeamsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SharedWithTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharedWithChannelTeamInfo); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts index ce2c75b344c..c433f709f79 100644 --- a/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts index c49fbc96dd7..6c004a4f276 100644 --- a/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/tabs/item/teamsTabItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamsTabItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/joinedTeams/item/primaryChannel/tabs/tabsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/tabs/tabsRequestBuilder.ts index 6a9ae6e8c96..d55c535eeaa 100644 --- a/src/me/joinedTeams/item/primaryChannel/tabs/tabsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/tabs/tabsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TabsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamsTab); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts index 74793f42441..da81f5fd336 100644 --- a/src/me/joinedTeams/item/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/offerShiftRequests/item/offerShiftRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OfferShiftRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOfferShiftRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts index c8df2fa8f13..80a11b9fbca 100644 --- a/src/me/joinedTeams/item/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/offerShiftRequests/offerShiftRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OfferShiftRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OfferShiftRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOfferShiftRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts index 8cfbcd41c4a..eb10da90534 100644 --- a/src/me/joinedTeams/item/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/openShiftChangeRequests/item/openShiftChangeRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OpenShiftChangeRequestItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShiftChangeRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts index 864ce470be5..3ebc7859659 100644 --- a/src/me/joinedTeams/item/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/openShiftChangeRequests/openShiftChangeRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OpenShiftChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OpenShiftChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShiftChangeRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/openShifts/item/openShiftItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/openShifts/item/openShiftItemRequestBuilder.ts index 4531bee09dd..39ca48e49ea 100644 --- a/src/me/joinedTeams/item/schedule/openShifts/item/openShiftItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/openShifts/item/openShiftItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class OpenShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShift); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/openShifts/openShiftsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/openShifts/openShiftsRequestBuilder.ts index 80233912895..71f2e51bb70 100644 --- a/src/me/joinedTeams/item/schedule/openShifts/openShiftsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/openShifts/openShiftsRequestBuilder.ts @@ -145,7 +145,7 @@ export class OpenShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class OpenShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOpenShift); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/scheduleRequestBuilder.ts b/src/me/joinedTeams/item/schedule/scheduleRequestBuilder.ts index 97441e10d55..4187245b77a 100644 --- a/src/me/joinedTeams/item/schedule/scheduleRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/scheduleRequestBuilder.ts @@ -192,7 +192,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -210,7 +210,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -229,7 +229,7 @@ export class ScheduleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedule); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts index 1e434b5d9ac..2b82fdfbd3a 100644 --- a/src/me/joinedTeams/item/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/schedulingGroups/item/schedulingGroupItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedulingGroup); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts index b0f31734a2a..4121c3b753e 100644 --- a/src/me/joinedTeams/item/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/schedulingGroups/schedulingGroupsRequestBuilder.ts @@ -141,7 +141,7 @@ export class SchedulingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class SchedulingGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSchedulingGroup); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/share/shareRequestBuilder.ts b/src/me/joinedTeams/item/schedule/share/shareRequestBuilder.ts index 4fcd01deb08..fa2e2466f69 100644 --- a/src/me/joinedTeams/item/schedule/share/shareRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/share/shareRequestBuilder.ts @@ -60,7 +60,7 @@ export class ShareRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSharePostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/shifts/item/shiftItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/shifts/item/shiftItemRequestBuilder.ts index 52f8b387509..c29a9cf2215 100644 --- a/src/me/joinedTeams/item/schedule/shifts/item/shiftItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/shifts/item/shiftItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class ShiftItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeShift); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/shifts/shiftsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/shifts/shiftsRequestBuilder.ts index f1024bd1e42..581e5e273c6 100644 --- a/src/me/joinedTeams/item/schedule/shifts/shiftsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/shifts/shiftsRequestBuilder.ts @@ -141,7 +141,7 @@ export class ShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ShiftsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeShift); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts index 090c2d85174..cb3d115a712 100644 --- a/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/item/swapShiftsChangeRequestItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class SwapShiftsChangeRequestItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSwapShiftsChangeRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts index 35b72570e83..736a1615a82 100644 --- a/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/swapShiftsChangeRequests/swapShiftsChangeRequestsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SwapShiftsChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SwapShiftsChangeRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSwapShiftsChangeRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts index 578b1e54fe5..ae395175c36 100644 --- a/src/me/joinedTeams/item/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timeOffReasons/item/timeOffReasonItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffReason); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts index f2a64af3edf..f78003c7a27 100644 --- a/src/me/joinedTeams/item/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timeOffReasons/timeOffReasonsRequestBuilder.ts @@ -141,7 +141,7 @@ export class TimeOffReasonsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TimeOffReasonsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffReason); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts index c3009d231c0..84aaf39944d 100644 --- a/src/me/joinedTeams/item/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timeOffRequests/item/timeOffRequestItemRequestBuilder.ts @@ -119,7 +119,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -137,7 +137,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts index cc622475293..7fcb74a25fb 100644 --- a/src/me/joinedTeams/item/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timeOffRequests/timeOffRequestsRequestBuilder.ts @@ -140,7 +140,7 @@ export class TimeOffRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class TimeOffRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOffRequest); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timesOff/item/timeOffItemRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timesOff/item/timeOffItemRequestBuilder.ts index 55ca8545e77..5ec69630049 100644 --- a/src/me/joinedTeams/item/schedule/timesOff/item/timeOffItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timesOff/item/timeOffItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class TimeOffItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOff); return requestInfo; }; diff --git a/src/me/joinedTeams/item/schedule/timesOff/timesOffRequestBuilder.ts b/src/me/joinedTeams/item/schedule/timesOff/timesOffRequestBuilder.ts index 963913bc92f..c57b46c4351 100644 --- a/src/me/joinedTeams/item/schedule/timesOff/timesOffRequestBuilder.ts +++ b/src/me/joinedTeams/item/schedule/timesOff/timesOffRequestBuilder.ts @@ -141,7 +141,7 @@ export class TimesOffRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TimesOffRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTimeOff); return requestInfo; }; diff --git a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts index c359a173962..0462770217a 100644 --- a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts +++ b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendActivityNotificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendActivityNotificationPostRequestBody); return requestInfo; }; diff --git a/src/me/joinedTeams/item/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts index 472226ea98d..88b0ad33d5e 100644 --- a/src/me/joinedTeams/item/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/tags/item/members/item/teamworkTagMemberItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TeamworkTagMemberItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTagMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/tags/item/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/tags/item/members/membersRequestBuilder.ts index 77433e7b31a..903af241f38 100644 --- a/src/me/joinedTeams/item/tags/item/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/tags/item/members/membersRequestBuilder.ts @@ -145,7 +145,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTagMember); return requestInfo; }; diff --git a/src/me/joinedTeams/item/tags/item/teamworkTagItemRequestBuilder.ts b/src/me/joinedTeams/item/tags/item/teamworkTagItemRequestBuilder.ts index a9b0674f883..e3610ee0c5e 100644 --- a/src/me/joinedTeams/item/tags/item/teamworkTagItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/tags/item/teamworkTagItemRequestBuilder.ts @@ -131,7 +131,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -149,7 +149,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class TeamworkTagItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTag); return requestInfo; }; diff --git a/src/me/joinedTeams/item/tags/tagsRequestBuilder.ts b/src/me/joinedTeams/item/tags/tagsRequestBuilder.ts index 991dfb7edc6..4dce2c5e290 100644 --- a/src/me/joinedTeams/item/tags/tagsRequestBuilder.ts +++ b/src/me/joinedTeams/item/tags/tagsRequestBuilder.ts @@ -145,7 +145,7 @@ export class TagsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class TagsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeamworkTag); return requestInfo; }; diff --git a/src/me/joinedTeams/item/teamItemRequestBuilder.ts b/src/me/joinedTeams/item/teamItemRequestBuilder.ts index a27191d17e5..107db1243dc 100644 --- a/src/me/joinedTeams/item/teamItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/teamItemRequestBuilder.ts @@ -247,7 +247,7 @@ export class TeamItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -265,7 +265,7 @@ export class TeamItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -284,7 +284,7 @@ export class TeamItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeam); return requestInfo; }; diff --git a/src/me/joinedTeams/item/template/templateRequestBuilder.ts b/src/me/joinedTeams/item/template/templateRequestBuilder.ts index 7b6f665df30..cd56a222a24 100644 --- a/src/me/joinedTeams/item/template/templateRequestBuilder.ts +++ b/src/me/joinedTeams/item/template/templateRequestBuilder.ts @@ -73,7 +73,7 @@ export class TemplateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/item/unarchive/unarchiveRequestBuilder.ts b/src/me/joinedTeams/item/unarchive/unarchiveRequestBuilder.ts index 42f5358bfae..138e1ad9cd7 100644 --- a/src/me/joinedTeams/item/unarchive/unarchiveRequestBuilder.ts +++ b/src/me/joinedTeams/item/unarchive/unarchiveRequestBuilder.ts @@ -56,7 +56,7 @@ export class UnarchiveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/joinedTeams/joinedTeamsRequestBuilder.ts b/src/me/joinedTeams/joinedTeamsRequestBuilder.ts index b4a9414acda..4b97a638638 100644 --- a/src/me/joinedTeams/joinedTeamsRequestBuilder.ts +++ b/src/me/joinedTeams/joinedTeamsRequestBuilder.ts @@ -151,7 +151,7 @@ export class JoinedTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +170,7 @@ export class JoinedTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTeam); return requestInfo; }; diff --git a/src/me/licenseDetails/item/licenseDetailsItemRequestBuilder.ts b/src/me/licenseDetails/item/licenseDetailsItemRequestBuilder.ts index 47eba0a0b37..86513de9485 100644 --- a/src/me/licenseDetails/item/licenseDetailsItemRequestBuilder.ts +++ b/src/me/licenseDetails/item/licenseDetailsItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class LicenseDetailsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class LicenseDetailsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class LicenseDetailsItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLicenseDetails); return requestInfo; }; diff --git a/src/me/licenseDetails/licenseDetailsRequestBuilder.ts b/src/me/licenseDetails/licenseDetailsRequestBuilder.ts index bd7dda6b8d8..0ed18c58186 100644 --- a/src/me/licenseDetails/licenseDetailsRequestBuilder.ts +++ b/src/me/licenseDetails/licenseDetailsRequestBuilder.ts @@ -144,7 +144,7 @@ export class LicenseDetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class LicenseDetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLicenseDetails); return requestInfo; }; diff --git a/src/me/mailFolders/delta/deltaGetResponse.ts b/src/me/mailFolders/delta/deltaGetResponse.ts index 22725ee9531..33044a90fa4 100644 --- a/src/me/mailFolders/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMailFolder); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/delta/deltaRequestBuilder.ts b/src/me/mailFolders/delta/deltaRequestBuilder.ts index 90e3f8ad125..4a2f16c165b 100644 --- a/src/me/mailFolders/delta/deltaRequestBuilder.ts +++ b/src/me/mailFolders/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/childFolders/childFoldersRequestBuilder.ts b/src/me/mailFolders/item/childFolders/childFoldersRequestBuilder.ts index 53113fce576..6ac185ffa59 100644 --- a/src/me/mailFolders/item/childFolders/childFoldersRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/childFoldersRequestBuilder.ts @@ -121,11 +121,11 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMailFolderCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MailFolder - * @see {@link https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0|Find more info here} */ public post(body: MailFolder, requestConfiguration?: ChildFoldersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,11 +152,11 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -171,7 +171,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailFolder); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts b/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts index e2519d2826b..02f4a79c300 100644 --- a/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMailFolder); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/childFolders/delta/deltaRequestBuilder.ts b/src/me/mailFolders/item/childFolders/delta/deltaRequestBuilder.ts index c1c2f123998..203e6c7ce56 100644 --- a/src/me/mailFolders/item/childFolders/delta/deltaRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/childFolders/item/copy/copyRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/copy/copyRequestBuilder.ts index 611bf6a6151..3634f709011 100644 --- a/src/me/mailFolders/item/childFolders/item/copy/copyRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/mailFolderItemRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/mailFolderItemRequestBuilder.ts index 8d1c796ae55..5c1ef77172d 100644 --- a/src/me/mailFolders/item/childFolders/item/mailFolderItemRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/mailFolderItemRequestBuilder.ts @@ -153,7 +153,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -190,7 +190,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailFolder); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts index 31efb9e5cd3..0be70bc6400 100644 --- a/src/me/mailFolders/item/childFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessageRule); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messageRules/messageRulesRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messageRules/messageRulesRequestBuilder.ts index 5de9fefdeb7..ab4f0b8b3c6 100644 --- a/src/me/mailFolders/item/childFolders/item/messageRules/messageRulesRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messageRules/messageRulesRequestBuilder.ts @@ -137,7 +137,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessageRule); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts index f9f3c90acb4..35657e8c3fe 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaRequestBuilder.ts index 889a0a027b3..ac7afee344d 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts index 03135106f66..e1c7ce57e35 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts @@ -140,7 +140,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 20a12ffa457..33c13d46ac9 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts index 5c88a4099df..92c9ebceb08 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/copy/copyRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/copy/copyRequestBuilder.ts index 5b4357df4c9..29cae5016e7 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/copy/copyRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts index edaadd2e33c..275de7a2511 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardRequestBuilder.ts index d2fdf9be7d9..2166a61ca56 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts index 4dcd709b1f3..586dcc2e009 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyRequestBuilder.ts index 7719c5bab6d..95c951c8c5a 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index 6c913e2c6c3..c4dd8bedee6 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts index e3c3602996d..bc0541d4eba 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/extensions/extensionsRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/extensions/extensionsRequestBuilder.ts index 091a8c69ea5..3e0e88e44c1 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts index c4d9ed9fc54..796a3bc4f38 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts index aa552a266a2..ca87bcf82e6 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardRequestBuilder.ts index 78f1b4e1d81..b1cca8860c2 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/messageItemRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/messageItemRequestBuilder.ts index 73cb7b93bd3..b322202a1c6 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/messageItemRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/messageItemRequestBuilder.ts @@ -205,7 +205,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -242,7 +242,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/move/moveRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/move/moveRequestBuilder.ts index f64c3a3938a..592bc929c40 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/move/moveRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/move/moveRequestBuilder.ts @@ -62,7 +62,7 @@ export class MoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMovePostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts index 61f10ce7a01..2086d16b3f1 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyRequestBuilder.ts index e515590250b..1170bddf1be 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts index 994de86e8f5..7a58fedde5e 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts index 84e5331baa0..59429974e04 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/send/sendRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/send/sendRequestBuilder.ts index eb3a65b4c53..ee7719218fc 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/send/sendRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/send/sendRequestBuilder.ts @@ -56,7 +56,7 @@ export class SendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/value/contentRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/value/contentRequestBuilder.ts index 1a9921ed0c6..dac19e18096 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/value/contentRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/messages/messagesRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/messagesRequestBuilder.ts index 7735e8fb34c..1afaadaeafb 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/messagesRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/mailFolders/item/childFolders/item/move/moveRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/move/moveRequestBuilder.ts index 5df0464f5e4..4a0cab0ecf8 100644 --- a/src/me/mailFolders/item/childFolders/item/move/moveRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/move/moveRequestBuilder.ts @@ -62,7 +62,7 @@ export class MoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMovePostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/copy/copyRequestBuilder.ts b/src/me/mailFolders/item/copy/copyRequestBuilder.ts index 45a7e188822..795257b7c83 100644 --- a/src/me/mailFolders/item/copy/copyRequestBuilder.ts +++ b/src/me/mailFolders/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts b/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts index 59378041d89..a47344b07bd 100644 --- a/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts +++ b/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailFolder); return requestInfo; }; diff --git a/src/me/mailFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts b/src/me/mailFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts index 670eea41a4a..0687cbe1e92 100644 --- a/src/me/mailFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts +++ b/src/me/mailFolders/item/messageRules/item/messageRuleItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class MessageRuleItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessageRule); return requestInfo; }; diff --git a/src/me/mailFolders/item/messageRules/messageRulesRequestBuilder.ts b/src/me/mailFolders/item/messageRules/messageRulesRequestBuilder.ts index 15e0a00535d..b7d73f8412e 100644 --- a/src/me/mailFolders/item/messageRules/messageRulesRequestBuilder.ts +++ b/src/me/mailFolders/item/messageRules/messageRulesRequestBuilder.ts @@ -137,7 +137,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessageRule); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts b/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts index ba504ea5471..bcaea4522e9 100644 --- a/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/messages/delta/deltaRequestBuilder.ts b/src/me/mailFolders/item/messages/delta/deltaRequestBuilder.ts index 6da68f33219..0af74e67446 100644 --- a/src/me/mailFolders/item/messages/delta/deltaRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts index c788f991957..96fede28ba8 100644 --- a/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts @@ -140,7 +140,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 9680605f82d..6f6e05bb764 100644 --- a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/mailFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts index fb4091ab6e1..571cf59e1eb 100644 --- a/src/me/mailFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/messages/item/copy/copyRequestBuilder.ts b/src/me/mailFolders/item/messages/item/copy/copyRequestBuilder.ts index 9b6af72e5e2..88566c3af7e 100644 --- a/src/me/mailFolders/item/messages/item/copy/copyRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts index c07b9cf90e1..76c8b3ac384 100644 --- a/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createForward/createForwardRequestBuilder.ts b/src/me/mailFolders/item/messages/item/createForward/createForwardRequestBuilder.ts index ca14d943da7..ad88a3230b7 100644 --- a/src/me/mailFolders/item/messages/item/createForward/createForwardRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/createForward/createForwardRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts index 68cce2e87e2..1bdd5e8923e 100644 --- a/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createReply/createReplyRequestBuilder.ts b/src/me/mailFolders/item/messages/item/createReply/createReplyRequestBuilder.ts index 0b2c3da6707..976b3432087 100644 --- a/src/me/mailFolders/item/messages/item/createReply/createReplyRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/createReply/createReplyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index eed8a90f34c..591c0ddffe6 100644 --- a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts index 0408352450c..4a5a9b97f6e 100644 --- a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/extensions/extensionsRequestBuilder.ts b/src/me/mailFolders/item/messages/item/extensions/extensionsRequestBuilder.ts index fc1287dc8e8..dcfc116b59f 100644 --- a/src/me/mailFolders/item/messages/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/mailFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts index 47bcb72175a..059dfabcbb3 100644 --- a/src/me/mailFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts b/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts index 20ce177b368..a7ef82b1bfa 100644 --- a/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/forward/forwardRequestBuilder.ts b/src/me/mailFolders/item/messages/item/forward/forwardRequestBuilder.ts index b479e10ccbd..079d14dff86 100644 --- a/src/me/mailFolders/item/messages/item/forward/forwardRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/messageItemRequestBuilder.ts b/src/me/mailFolders/item/messages/item/messageItemRequestBuilder.ts index 2716c3f5908..a30bcfcf352 100644 --- a/src/me/mailFolders/item/messages/item/messageItemRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/messageItemRequestBuilder.ts @@ -205,7 +205,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -223,7 +223,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -242,7 +242,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/move/moveRequestBuilder.ts b/src/me/mailFolders/item/messages/item/move/moveRequestBuilder.ts index 85ac26132a9..4437b9fa545 100644 --- a/src/me/mailFolders/item/messages/item/move/moveRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/move/moveRequestBuilder.ts @@ -62,7 +62,7 @@ export class MoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMovePostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts b/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts index 8f9e6c0289c..2bb55b7e211 100644 --- a/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/reply/replyRequestBuilder.ts b/src/me/mailFolders/item/messages/item/reply/replyRequestBuilder.ts index a5cb61f7c89..36c5e0fc9ca 100644 --- a/src/me/mailFolders/item/messages/item/reply/replyRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/reply/replyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts index 22ebab7eb3a..4bd65422196 100644 --- a/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts b/src/me/mailFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts index 8047fa6be81..fddb176f10a 100644 --- a/src/me/mailFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/replyAll/replyAllRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/item/send/sendRequestBuilder.ts b/src/me/mailFolders/item/messages/item/send/sendRequestBuilder.ts index 44bc9551e12..0535eaeafcb 100644 --- a/src/me/mailFolders/item/messages/item/send/sendRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/send/sendRequestBuilder.ts @@ -56,7 +56,7 @@ export class SendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/mailFolders/item/messages/item/value/contentRequestBuilder.ts b/src/me/mailFolders/item/messages/item/value/contentRequestBuilder.ts index a23240805ce..8fb1a4bebbf 100644 --- a/src/me/mailFolders/item/messages/item/value/contentRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/mailFolders/item/messages/messagesRequestBuilder.ts b/src/me/mailFolders/item/messages/messagesRequestBuilder.ts index aa1f1315927..06884e90457 100644 --- a/src/me/mailFolders/item/messages/messagesRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/messagesRequestBuilder.ts @@ -152,7 +152,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/mailFolders/item/move/moveRequestBuilder.ts b/src/me/mailFolders/item/move/moveRequestBuilder.ts index d2c1db76274..162013f6f90 100644 --- a/src/me/mailFolders/item/move/moveRequestBuilder.ts +++ b/src/me/mailFolders/item/move/moveRequestBuilder.ts @@ -62,7 +62,7 @@ export class MoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMovePostRequestBody); return requestInfo; }; diff --git a/src/me/mailFolders/mailFoldersRequestBuilder.ts b/src/me/mailFolders/mailFoldersRequestBuilder.ts index 76f6e1a524a..4da69fca1ad 100644 --- a/src/me/mailFolders/mailFoldersRequestBuilder.ts +++ b/src/me/mailFolders/mailFoldersRequestBuilder.ts @@ -152,7 +152,7 @@ export class MailFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class MailFoldersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailFolder); return requestInfo; }; diff --git a/src/me/mailboxSettings/mailboxSettingsRequestBuilder.ts b/src/me/mailboxSettings/mailboxSettingsRequestBuilder.ts index 4dded9d3769..0f41e844e78 100644 --- a/src/me/mailboxSettings/mailboxSettingsRequestBuilder.ts +++ b/src/me/mailboxSettings/mailboxSettingsRequestBuilder.ts @@ -98,7 +98,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -117,7 +117,7 @@ export class MailboxSettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMailboxSettings); return requestInfo; }; diff --git a/src/me/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts b/src/me/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts index d4aa30a0603..81c604bdee6 100644 --- a/src/me/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts +++ b/src/me/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts b/src/me/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts index 8c48ae0f4a4..e147314f06d 100644 --- a/src/me/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts +++ b/src/me/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts @@ -116,7 +116,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts b/src/me/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts index 440f69b8958..d784fb42ee1 100644 --- a/src/me/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts +++ b/src/me/managedDevices/item/bypassActivationLock/bypassActivationLockRequestBuilder.ts @@ -56,7 +56,7 @@ export class BypassActivationLockRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts b/src/me/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts index 644c36c3d22..fab7a9a5137 100644 --- a/src/me/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts +++ b/src/me/managedDevices/item/cleanWindowsDevice/cleanWindowsDeviceRequestBuilder.ts @@ -60,7 +60,7 @@ export class CleanWindowsDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCleanWindowsDevicePostRequestBody); return requestInfo; }; diff --git a/src/me/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts b/src/me/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts index c036c737bec..c36a2f4733c 100644 --- a/src/me/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts +++ b/src/me/managedDevices/item/deleteUserFromSharedAppleDevice/deleteUserFromSharedAppleDeviceRequestBuilder.ts @@ -60,7 +60,7 @@ export class DeleteUserFromSharedAppleDeviceRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeleteUserFromSharedAppleDevicePostRequestBody); return requestInfo; }; diff --git a/src/me/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts b/src/me/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts index 6603d77234f..63a09cb29d7 100644 --- a/src/me/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts +++ b/src/me/managedDevices/item/deviceCategory/deviceCategoryRequestBuilder.ts @@ -123,7 +123,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DeviceCategoryRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCategory); return requestInfo; }; diff --git a/src/me/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts b/src/me/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts index 4f2eef85250..71b21ca25fc 100644 --- a/src/me/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts +++ b/src/me/managedDevices/item/deviceCompliancePolicyStates/deviceCompliancePolicyStatesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceCompliancePolicyStatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceCompliancePolicyStatesRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyState); return requestInfo; }; diff --git a/src/me/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts b/src/me/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts index 1d816e0e757..3d211c1834d 100644 --- a/src/me/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts +++ b/src/me/managedDevices/item/deviceCompliancePolicyStates/item/deviceCompliancePolicyStateItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceCompliancePolicyStateItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceCompliancePolicyState); return requestInfo; }; diff --git a/src/me/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts b/src/me/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts index 8440006fe20..00bd3cd8c46 100644 --- a/src/me/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts +++ b/src/me/managedDevices/item/deviceConfigurationStates/deviceConfigurationStatesRequestBuilder.ts @@ -143,7 +143,7 @@ export class DeviceConfigurationStatesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class DeviceConfigurationStatesRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationState); return requestInfo; }; diff --git a/src/me/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts b/src/me/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts index 18902c85d02..b69319bc178 100644 --- a/src/me/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts +++ b/src/me/managedDevices/item/deviceConfigurationStates/item/deviceConfigurationStateItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class DeviceConfigurationStateItemRequestBuilder extends BaseRequestBuild requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceConfigurationState); return requestInfo; }; diff --git a/src/me/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts b/src/me/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts index ceecfb03716..3679314e88f 100644 --- a/src/me/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts +++ b/src/me/managedDevices/item/disableLostMode/disableLostModeRequestBuilder.ts @@ -56,7 +56,7 @@ export class DisableLostModeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts b/src/me/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts index 81532ff3822..328744cad4d 100644 --- a/src/me/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts +++ b/src/me/managedDevices/item/locateDevice/locateDeviceRequestBuilder.ts @@ -56,7 +56,7 @@ export class LocateDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts b/src/me/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts index 9b32220b238..bf7344ac0fa 100644 --- a/src/me/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts +++ b/src/me/managedDevices/item/logCollectionRequests/item/createDownloadUrl/createDownloadUrlRequestBuilder.ts @@ -58,7 +58,7 @@ export class CreateDownloadUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts b/src/me/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts index d12cd07ea94..91b1e685005 100644 --- a/src/me/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts +++ b/src/me/managedDevices/item/logCollectionRequests/item/deviceLogCollectionResponseItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLogCollectionResponse); return requestInfo; }; diff --git a/src/me/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts b/src/me/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts index c3f4cd36714..6dc4fbe9bae 100644 --- a/src/me/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts +++ b/src/me/managedDevices/item/logCollectionRequests/logCollectionRequestsRequestBuilder.ts @@ -143,7 +143,7 @@ export class LogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class LogCollectionRequestsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLogCollectionResponse); return requestInfo; }; diff --git a/src/me/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts b/src/me/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts index 39b85e77af8..ad13725e6bc 100644 --- a/src/me/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts +++ b/src/me/managedDevices/item/logoutSharedAppleDeviceActiveUser/logoutSharedAppleDeviceActiveUserRequestBuilder.ts @@ -56,7 +56,7 @@ export class LogoutSharedAppleDeviceActiveUserRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/managedDeviceItemRequestBuilder.ts b/src/me/managedDevices/item/managedDeviceItemRequestBuilder.ts index 145a381d868..e279472d206 100644 --- a/src/me/managedDevices/item/managedDeviceItemRequestBuilder.ts +++ b/src/me/managedDevices/item/managedDeviceItemRequestBuilder.ts @@ -289,7 +289,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -307,7 +307,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -326,7 +326,7 @@ export class ManagedDeviceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDevice); return requestInfo; }; diff --git a/src/me/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts b/src/me/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts index 668a57bb70c..c9d72ba38e8 100644 --- a/src/me/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts +++ b/src/me/managedDevices/item/rebootNow/rebootNowRequestBuilder.ts @@ -56,7 +56,7 @@ export class RebootNowRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts b/src/me/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts index 9f1c8f8121d..f17c9656204 100644 --- a/src/me/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts +++ b/src/me/managedDevices/item/recoverPasscode/recoverPasscodeRequestBuilder.ts @@ -56,7 +56,7 @@ export class RecoverPasscodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts b/src/me/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts index af1f980e3e9..0218fd5d0ee 100644 --- a/src/me/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts +++ b/src/me/managedDevices/item/remoteLock/remoteLockRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoteLockRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts b/src/me/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts index 769e634c31b..46fc8bb6f34 100644 --- a/src/me/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts +++ b/src/me/managedDevices/item/requestRemoteAssistance/requestRemoteAssistanceRequestBuilder.ts @@ -56,7 +56,7 @@ export class RequestRemoteAssistanceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts b/src/me/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts index 60254af116e..4c23b8110e2 100644 --- a/src/me/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts +++ b/src/me/managedDevices/item/resetPasscode/resetPasscodeRequestBuilder.ts @@ -56,7 +56,7 @@ export class ResetPasscodeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/retire/retireRequestBuilder.ts b/src/me/managedDevices/item/retire/retireRequestBuilder.ts index c9d5dac9097..d74131a51db 100644 --- a/src/me/managedDevices/item/retire/retireRequestBuilder.ts +++ b/src/me/managedDevices/item/retire/retireRequestBuilder.ts @@ -56,7 +56,7 @@ export class RetireRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/shutDown/shutDownRequestBuilder.ts b/src/me/managedDevices/item/shutDown/shutDownRequestBuilder.ts index f4a0f22ebd8..85b4269df5e 100644 --- a/src/me/managedDevices/item/shutDown/shutDownRequestBuilder.ts +++ b/src/me/managedDevices/item/shutDown/shutDownRequestBuilder.ts @@ -56,7 +56,7 @@ export class ShutDownRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts b/src/me/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts index 02ed82fcc6d..e2c2a07c518 100644 --- a/src/me/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts +++ b/src/me/managedDevices/item/syncDevice/syncDeviceRequestBuilder.ts @@ -56,7 +56,7 @@ export class SyncDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts index c88df63f52e..ca95c48edf4 100644 --- a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts +++ b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpdateWindowsDeviceAccountPostRequestBody(updateW } } export function serializeUpdateWindowsDeviceAccountPostRequestBody(writer: SerializationWriter, updateWindowsDeviceAccountPostRequestBody: UpdateWindowsDeviceAccountPostRequestBody | undefined = {} as UpdateWindowsDeviceAccountPostRequestBody) : void { - writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, ); + writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, serializeUpdateWindowsDeviceAccountActionParameter); writer.writeAdditionalData(updateWindowsDeviceAccountPostRequestBody.additionalData); } export interface UpdateWindowsDeviceAccountPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts index dd9c928ce58..ec8c6d341fe 100644 --- a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts +++ b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountRequestBuilder.ts @@ -60,7 +60,7 @@ export class UpdateWindowsDeviceAccountRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUpdateWindowsDeviceAccountPostRequestBody); return requestInfo; }; diff --git a/src/me/managedDevices/item/users/usersRequestBuilder.ts b/src/me/managedDevices/item/users/usersRequestBuilder.ts index 865afea8e80..0f2a03f2533 100644 --- a/src/me/managedDevices/item/users/usersRequestBuilder.ts +++ b/src/me/managedDevices/item/users/usersRequestBuilder.ts @@ -98,7 +98,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts b/src/me/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts index 4c115314271..1ec4f88333c 100644 --- a/src/me/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts +++ b/src/me/managedDevices/item/windowsDefenderScan/windowsDefenderScanRequestBuilder.ts @@ -60,7 +60,7 @@ export class WindowsDefenderScanRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDefenderScanPostRequestBody); return requestInfo; }; diff --git a/src/me/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts b/src/me/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts index 13a5301dfdf..fa2e344cc73 100644 --- a/src/me/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts +++ b/src/me/managedDevices/item/windowsDefenderUpdateSignatures/windowsDefenderUpdateSignaturesRequestBuilder.ts @@ -56,7 +56,7 @@ export class WindowsDefenderUpdateSignaturesRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts b/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts index 59cf10e80b9..ba5dcb29c35 100644 --- a/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts +++ b/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/detectedMalwareStateRequestBuilder.ts @@ -145,7 +145,7 @@ export class DetectedMalwareStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class DetectedMalwareStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDeviceMalwareState); return requestInfo; }; diff --git a/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts b/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts index f6d91ab8d23..018aadd7086 100644 --- a/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts +++ b/src/me/managedDevices/item/windowsProtectionState/detectedMalwareState/item/windowsDeviceMalwareStateItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class WindowsDeviceMalwareStateItemRequestBuilder extends BaseRequestBuil requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsDeviceMalwareState); return requestInfo; }; diff --git a/src/me/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts b/src/me/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts index cf0194fb159..ca2e7cbbc3a 100644 --- a/src/me/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts +++ b/src/me/managedDevices/item/windowsProtectionState/windowsProtectionStateRequestBuilder.ts @@ -130,7 +130,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class WindowsProtectionStateRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWindowsProtectionState); return requestInfo; }; diff --git a/src/me/managedDevices/item/wipe/wipeRequestBuilder.ts b/src/me/managedDevices/item/wipe/wipeRequestBuilder.ts index 924f3f5bf18..e5d50c1ec6c 100644 --- a/src/me/managedDevices/item/wipe/wipeRequestBuilder.ts +++ b/src/me/managedDevices/item/wipe/wipeRequestBuilder.ts @@ -60,7 +60,7 @@ export class WipeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWipePostRequestBody); return requestInfo; }; diff --git a/src/me/managedDevices/managedDevicesRequestBuilder.ts b/src/me/managedDevices/managedDevicesRequestBuilder.ts index f0a74df1ca9..819dd959856 100644 --- a/src/me/managedDevices/managedDevicesRequestBuilder.ts +++ b/src/me/managedDevices/managedDevicesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ManagedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ManagedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeManagedDevice); return requestInfo; }; diff --git a/src/me/manager/managerRequestBuilder.ts b/src/me/manager/managerRequestBuilder.ts index 327643f3e63..2e6aef218a8 100644 --- a/src/me/manager/managerRequestBuilder.ts +++ b/src/me/manager/managerRequestBuilder.ts @@ -105,7 +105,7 @@ export class ManagerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -123,7 +123,7 @@ export class ManagerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/manager/ref/refRequestBuilder.ts b/src/me/manager/ref/refRequestBuilder.ts index 28621a2542d..5b2c543c091 100644 --- a/src/me/manager/ref/refRequestBuilder.ts +++ b/src/me/manager/ref/refRequestBuilder.ts @@ -109,7 +109,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -126,7 +126,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -145,7 +145,7 @@ export class RefRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReferenceUpdate); return requestInfo; }; diff --git a/src/me/meRequestBuilder.ts b/src/me/meRequestBuilder.ts index 2db53fca22f..0dbd10d402a 100644 --- a/src/me/meRequestBuilder.ts +++ b/src/me/meRequestBuilder.ts @@ -556,10 +556,10 @@ export class MeRequestBuilder extends BaseRequestBuilder { return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(this.pathParameters, this.requestAdapter, skip, top); }; /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of User - * @see {@link https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MeRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -600,7 +600,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(this.pathParameters, this.requestAdapter, endDateTime, startDateTime); }; /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -614,7 +614,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -633,7 +633,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUser); return requestInfo; }; diff --git a/src/me/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/me/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 1717900a27e..7b2f69c1af6 100644 --- a/src/me/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/me/memberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts b/src/me/memberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts index f85c43df76a..bc4cca063b7 100644 --- a/src/me/memberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts +++ b/src/me/memberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/graphGroup/graphGroupRequestBuilder.ts b/src/me/memberOf/graphGroup/graphGroupRequestBuilder.ts index 78d6d03c962..4e8c33535c7 100644 --- a/src/me/memberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/memberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/item/directoryObjectItemRequestBuilder.ts b/src/me/memberOf/item/directoryObjectItemRequestBuilder.ts index 3eb5972129c..48a1d0c43b0 100644 --- a/src/me/memberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/memberOf/item/directoryObjectItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/me/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 47e2de5e3d8..874f30c37aa 100644 --- a/src/me/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/me/memberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts b/src/me/memberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts index e3fe5cee698..2265bac2709 100644 --- a/src/me/memberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts +++ b/src/me/memberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/me/memberOf/item/graphGroup/graphGroupRequestBuilder.ts index 0f45e2c6de7..0240079f14c 100644 --- a/src/me/memberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/memberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/memberOf/memberOfRequestBuilder.ts b/src/me/memberOf/memberOfRequestBuilder.ts index 58b16062b21..b6b4a8c717e 100644 --- a/src/me/memberOf/memberOfRequestBuilder.ts +++ b/src/me/memberOf/memberOfRequestBuilder.ts @@ -138,7 +138,7 @@ export class MemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/messages/delta/deltaGetResponse.ts b/src/me/messages/delta/deltaGetResponse.ts index 439012aa41d..0621f515e38 100644 --- a/src/me/messages/delta/deltaGetResponse.ts +++ b/src/me/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/messages/delta/deltaRequestBuilder.ts b/src/me/messages/delta/deltaRequestBuilder.ts index 637e8f2c6b1..ac3970d54e7 100644 --- a/src/me/messages/delta/deltaRequestBuilder.ts +++ b/src/me/messages/delta/deltaRequestBuilder.ts @@ -94,7 +94,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/messages/item/attachments/attachmentsRequestBuilder.ts index 4ea3d6fa5ba..686fe8f7716 100644 --- a/src/me/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/messages/item/attachments/attachmentsRequestBuilder.ts @@ -140,7 +140,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachment); return requestInfo; }; diff --git a/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 8d1e31896fa..cb0ce16a1f8 100644 --- a/src/me/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/messages/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/attachments/item/attachmentItemRequestBuilder.ts b/src/me/messages/item/attachments/item/attachmentItemRequestBuilder.ts index 6356cda43ca..853ff8465ae 100644 --- a/src/me/messages/item/attachments/item/attachmentItemRequestBuilder.ts +++ b/src/me/messages/item/attachments/item/attachmentItemRequestBuilder.ts @@ -97,7 +97,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -115,7 +115,7 @@ export class AttachmentItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/messages/item/copy/copyRequestBuilder.ts b/src/me/messages/item/copy/copyRequestBuilder.ts index 156f1927c57..c4cfd9dbec6 100644 --- a/src/me/messages/item/copy/copyRequestBuilder.ts +++ b/src/me/messages/item/copy/copyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/messages/item/createForward/createForwardPostRequestBody.ts index 668b2847987..f6bf1cb8aa5 100644 --- a/src/me/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createForward/createForwardRequestBuilder.ts b/src/me/messages/item/createForward/createForwardRequestBuilder.ts index 463f6b6b50c..38a0721315c 100644 --- a/src/me/messages/item/createForward/createForwardRequestBuilder.ts +++ b/src/me/messages/item/createForward/createForwardRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/messages/item/createReply/createReplyPostRequestBody.ts index 7866fb7439e..8459b4c7ab3 100644 --- a/src/me/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createReply/createReplyRequestBuilder.ts b/src/me/messages/item/createReply/createReplyRequestBuilder.ts index 0b3cc73296d..dbd04c212a1 100644 --- a/src/me/messages/item/createReply/createReplyRequestBuilder.ts +++ b/src/me/messages/item/createReply/createReplyRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index faa12c813e7..cb6e75efbcc 100644 --- a/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createReplyAll/createReplyAllRequestBuilder.ts b/src/me/messages/item/createReplyAll/createReplyAllRequestBuilder.ts index 499e8889877..04f4dc63171 100644 --- a/src/me/messages/item/createReplyAll/createReplyAllRequestBuilder.ts +++ b/src/me/messages/item/createReplyAll/createReplyAllRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/extensions/extensionsRequestBuilder.ts b/src/me/messages/item/extensions/extensionsRequestBuilder.ts index 0929fcc525f..d4f5cae0f3b 100644 --- a/src/me/messages/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/messages/item/extensions/extensionsRequestBuilder.ts @@ -140,7 +140,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/messages/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/messages/item/extensions/item/extensionItemRequestBuilder.ts index 3e6a07d3f1b..8885b398f33 100644 --- a/src/me/messages/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/messages/item/extensions/item/extensionItemRequestBuilder.ts @@ -123,7 +123,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/messages/item/forward/forwardPostRequestBody.ts b/src/me/messages/item/forward/forwardPostRequestBody.ts index a38f1d8cb49..27a45b00b1a 100644 --- a/src/me/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/forward/forwardRequestBuilder.ts b/src/me/messages/item/forward/forwardRequestBuilder.ts index c59a9505255..9b6ebd5f3aa 100644 --- a/src/me/messages/item/forward/forwardRequestBuilder.ts +++ b/src/me/messages/item/forward/forwardRequestBuilder.ts @@ -60,7 +60,7 @@ export class ForwardRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeForwardPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/messageItemRequestBuilder.ts b/src/me/messages/item/messageItemRequestBuilder.ts index d0600c788cd..d6c238b60db 100644 --- a/src/me/messages/item/messageItemRequestBuilder.ts +++ b/src/me/messages/item/messageItemRequestBuilder.ts @@ -151,9 +151,9 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/messages/{message%2Did}{?includeHiddenMessages*,%24select,%24expand}"); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MessageItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -169,7 +169,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { * The messages in a mailbox or folder. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MessageItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -199,7 +199,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageFromDiscriminatorValue, errorMapping); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -212,7 +212,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -230,7 +230,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -249,7 +249,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/messages/item/move/moveRequestBuilder.ts b/src/me/messages/item/move/moveRequestBuilder.ts index 6982b3aecf0..b40f3179e41 100644 --- a/src/me/messages/item/move/moveRequestBuilder.ts +++ b/src/me/messages/item/move/moveRequestBuilder.ts @@ -62,7 +62,7 @@ export class MoveRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMovePostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/reply/replyPostRequestBody.ts b/src/me/messages/item/reply/replyPostRequestBody.ts index a05a276aab9..a5c32068613 100644 --- a/src/me/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/reply/replyRequestBuilder.ts b/src/me/messages/item/reply/replyRequestBuilder.ts index 7bfeacf1719..f00ec04262d 100644 --- a/src/me/messages/item/reply/replyRequestBuilder.ts +++ b/src/me/messages/item/reply/replyRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/messages/item/replyAll/replyAllPostRequestBody.ts index f877d84308b..c7d7649a20e 100644 --- a/src/me/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/replyAll/replyAllRequestBuilder.ts b/src/me/messages/item/replyAll/replyAllRequestBuilder.ts index c0516e6cf76..a806c68a411 100644 --- a/src/me/messages/item/replyAll/replyAllRequestBuilder.ts +++ b/src/me/messages/item/replyAll/replyAllRequestBuilder.ts @@ -60,7 +60,7 @@ export class ReplyAllRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeReplyAllPostRequestBody); return requestInfo; }; diff --git a/src/me/messages/item/send/sendRequestBuilder.ts b/src/me/messages/item/send/sendRequestBuilder.ts index 33c302e0d20..a991cb4dc19 100644 --- a/src/me/messages/item/send/sendRequestBuilder.ts +++ b/src/me/messages/item/send/sendRequestBuilder.ts @@ -56,7 +56,7 @@ export class SendRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/messages/item/value/contentRequestBuilder.ts b/src/me/messages/item/value/contentRequestBuilder.ts index 9aa45423eff..af7344c346a 100644 --- a/src/me/messages/item/value/contentRequestBuilder.ts +++ b/src/me/messages/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/messages/messagesRequestBuilder.ts b/src/me/messages/messagesRequestBuilder.ts index e19249dd99c..82820b78545 100644 --- a/src/me/messages/messagesRequestBuilder.ts +++ b/src/me/messages/messagesRequestBuilder.ts @@ -125,11 +125,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: Message, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,11 +156,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation @@ -175,7 +175,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMessage); return requestInfo; }; diff --git a/src/me/oauth2PermissionGrants/item/oAuth2PermissionGrantItemRequestBuilder.ts b/src/me/oauth2PermissionGrants/item/oAuth2PermissionGrantItemRequestBuilder.ts index c5e3bf84867..39b1b5776af 100644 --- a/src/me/oauth2PermissionGrants/item/oAuth2PermissionGrantItemRequestBuilder.ts +++ b/src/me/oauth2PermissionGrants/item/oAuth2PermissionGrantItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class OAuth2PermissionGrantItemRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/oauth2PermissionGrants/oauth2PermissionGrantsRequestBuilder.ts b/src/me/oauth2PermissionGrants/oauth2PermissionGrantsRequestBuilder.ts index 20872ce1b81..9acab02820b 100644 --- a/src/me/oauth2PermissionGrants/oauth2PermissionGrantsRequestBuilder.ts +++ b/src/me/oauth2PermissionGrants/oauth2PermissionGrantsRequestBuilder.ts @@ -117,7 +117,7 @@ export class Oauth2PermissionGrantsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts b/src/me/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts index e9853fa3d73..7be4bfd6a19 100644 --- a/src/me/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts +++ b/src/me/onenote/notebooks/getNotebookFromWebUrl/getNotebookFromWebUrlRequestBuilder.ts @@ -62,7 +62,7 @@ export class GetNotebookFromWebUrlRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeGetNotebookFromWebUrlPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 2d52be10cab..67ab4b540ad 100644 --- a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts index eb5561ea0b0..6d66d65c5cd 100644 --- a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts +++ b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.ts @@ -87,7 +87,7 @@ export class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder extend requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts index e982b3e0f09..96e4d27d9d0 100644 --- a/src/me/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/copyNotebook/copyNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyNotebookPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/notebookItemRequestBuilder.ts b/src/me/onenote/notebooks/item/notebookItemRequestBuilder.ts index 372939c2b18..660cbe7f191 100644 --- a/src/me/onenote/notebooks/item/notebookItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/notebookItemRequestBuilder.ts @@ -143,7 +143,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -180,7 +180,7 @@ export class NotebookItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index bec8bb8fe7e..87c1aa887f9 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index dc40dd1a82f..cbc73c4e1bf 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index dad4fb80774..2a90758ecd0 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index f989b3a42ff..4112df68ce0 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index f358cc28b25..c0a20dd1df1 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index a0164da11a7..ad2f9f0c547 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 1302bb50faf..8a0b9899c34 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index deeb38e340f..e2f4ea3ca96 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index 4add716cf69..443eee87a3b 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 4a9430cb560..8198e003614 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 69812cabd9a..c7631032a4a 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index a55e0c2e309..78d880acb09 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index f92729c50c7..a33e6c26556 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 6b80ecb91d1..ba655267427 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index e621af8ceab..7294d3f9e6d 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index f0b61304170..abf7eb84b66 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index faa4db60689..3cf0e549e59 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 40748d65bb6..beb70f707ad 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 25ce619036b..bc46dd1c56e 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts index 10bf7869e12..b7433a97183 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/me/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts index 8b235931ebb..d40cb05b6b2 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index d0893dd8fd4..8b7ba19dff7 100644 --- a/src/me/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index a66e874325c..dc448946af2 100644 --- a/src/me/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts index 2c5a1b734a1..a02e33ca9b6 100644 --- a/src/me/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts index 9dcb1148114..2fcf12c9e0c 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 9080390c1dc..a8c7e40cc28 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 88732c7ec0a..abd57c9692e 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index fb0799297d8..1e62308910b 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 4eb2cfd3b12..43397be8d0c 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 7b712d15a53..5fb87d823d0 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index b80cca3cb62..24ee05f3012 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 06ce0d7956a..60da81a29e6 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts index 11dd12958ed..f99475d061b 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 87af227b4a2..fd74c1af2e1 100644 --- a/src/me/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 7953bf53e77..d8e6c0c7cd3 100644 --- a/src/me/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/notebooks/item/sections/sectionsRequestBuilder.ts b/src/me/onenote/notebooks/item/sections/sectionsRequestBuilder.ts index af92c5fff2f..6f2ca9f71fb 100644 --- a/src/me/onenote/notebooks/item/sections/sectionsRequestBuilder.ts +++ b/src/me/onenote/notebooks/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/notebooks/notebooksRequestBuilder.ts b/src/me/onenote/notebooks/notebooksRequestBuilder.ts index 6938462e618..6373fcf236c 100644 --- a/src/me/onenote/notebooks/notebooksRequestBuilder.ts +++ b/src/me/onenote/notebooks/notebooksRequestBuilder.ts @@ -162,7 +162,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class NotebooksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeNotebook); return requestInfo; }; diff --git a/src/me/onenote/onenoteRequestBuilder.ts b/src/me/onenote/onenoteRequestBuilder.ts index 2d9f7046cf2..ce50dc78954 100644 --- a/src/me/onenote/onenoteRequestBuilder.ts +++ b/src/me/onenote/onenoteRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenoteRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenote); return requestInfo; }; diff --git a/src/me/onenote/operations/item/onenoteOperationItemRequestBuilder.ts b/src/me/onenote/operations/item/onenoteOperationItemRequestBuilder.ts index 9318fb1fa4a..13e5b10beb2 100644 --- a/src/me/onenote/operations/item/onenoteOperationItemRequestBuilder.ts +++ b/src/me/onenote/operations/item/onenoteOperationItemRequestBuilder.ts @@ -122,7 +122,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -140,7 +140,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -159,7 +159,7 @@ export class OnenoteOperationItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/me/onenote/operations/operationsRequestBuilder.ts b/src/me/onenote/operations/operationsRequestBuilder.ts index 215438dbec5..6c7ee498b66 100644 --- a/src/me/onenote/operations/operationsRequestBuilder.ts +++ b/src/me/onenote/operations/operationsRequestBuilder.ts @@ -143,7 +143,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class OperationsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteOperation); return requestInfo; }; diff --git a/src/me/onenote/pages/item/content/contentRequestBuilder.ts b/src/me/onenote/pages/item/content/contentRequestBuilder.ts index 04062e00139..c27e8490157 100644 --- a/src/me/onenote/pages/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/me/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts index d7e6d3c2b57..064b7a27718 100644 --- a/src/me/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/me/onenote/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/pages/item/onenotePageItemRequestBuilder.ts b/src/me/onenote/pages/item/onenotePageItemRequestBuilder.ts index e17262a2c19..b1f3191cd81 100644 --- a/src/me/onenote/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/me/onenote/pages/item/onenotePageItemRequestBuilder.ts @@ -165,7 +165,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -183,7 +183,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -202,7 +202,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index cf05435de98..990785cdd73 100644 --- a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 0feb55d00b9..d73bc498a1a 100644 --- a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 8b84611f254..6498dfc5442 100644 --- a/src/me/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/me/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts index afce22ab286..37f0b2da5b5 100644 --- a/src/me/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/me/onenote/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/pages/item/preview/previewRequestBuilder.ts b/src/me/onenote/pages/item/preview/previewRequestBuilder.ts index b88db7e9f28..cb32e5b8965 100644 --- a/src/me/onenote/pages/item/preview/previewRequestBuilder.ts +++ b/src/me/onenote/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/pages/pagesRequestBuilder.ts b/src/me/onenote/pages/pagesRequestBuilder.ts index d394fb1749d..7a69fd0a5ff 100644 --- a/src/me/onenote/pages/pagesRequestBuilder.ts +++ b/src/me/onenote/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/resources/item/content/contentRequestBuilder.ts b/src/me/onenote/resources/item/content/contentRequestBuilder.ts index b50fbad4653..f71554dd66a 100644 --- a/src/me/onenote/resources/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/resources/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/resources/item/onenoteResourceItemRequestBuilder.ts b/src/me/onenote/resources/item/onenoteResourceItemRequestBuilder.ts index e414e512a10..08bc33f4a7e 100644 --- a/src/me/onenote/resources/item/onenoteResourceItemRequestBuilder.ts +++ b/src/me/onenote/resources/item/onenoteResourceItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class OnenoteResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/me/onenote/resources/resourcesRequestBuilder.ts b/src/me/onenote/resources/resourcesRequestBuilder.ts index 2efe62593d1..e717b495d9c 100644 --- a/src/me/onenote/resources/resourcesRequestBuilder.ts +++ b/src/me/onenote/resources/resourcesRequestBuilder.ts @@ -143,7 +143,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteResource); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts index a2f54abe3f0..b49f680921a 100644 --- a/src/me/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index ca8b4fccb6f..e83202f329e 100644 --- a/src/me/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts index c886f4b9f02..dd28e54026e 100644 --- a/src/me/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -150,7 +150,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -168,7 +168,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -187,7 +187,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts index 5eacc163879..50baf801e5e 100644 --- a/src/me/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sectionGroups/item/sectionGroupItemRequestBuilder.ts @@ -73,7 +73,7 @@ export class SectionGroupItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts index 33a5cb82a67..e40b55b944f 100644 --- a/src/me/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sectionGroups/sectionGroupsRequestBuilder.ts @@ -117,7 +117,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 716fb4df2f9..c840646912e 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index 46776064a0f..2f8675eb398 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts index 39268d33036..190b7c93428 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/onenoteSectionItemRequestBuilder.ts @@ -156,7 +156,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -174,7 +174,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -193,7 +193,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts index 87defe7f512..7d8d9c116c0 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 8f6d0aca1d4..29b21b27b3c 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 7f7c560e936..3d2a468e350 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index fb0799297d8..1e62308910b 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 69ec9015306..68e27e93fd3 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index 9aa24d3a828..91a726a3190 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index 08c01f92306..0855d5ce539 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts index 5690f545f76..b82cb6a4838 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts index 1ace53c4e22..a3d1a56ce21 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 41203a97d99..d7916c1682e 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index 4798fd9421d..7e37f0ac2a7 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts b/src/me/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts index 8844b70fd04..b51d54aacaa 100644 --- a/src/me/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/item/sections/sectionsRequestBuilder.ts @@ -145,7 +145,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/sectionGroups/sectionGroupsRequestBuilder.ts b/src/me/onenote/sectionGroups/sectionGroupsRequestBuilder.ts index 0d37045d5c1..153c2ec9344 100644 --- a/src/me/onenote/sectionGroups/sectionGroupsRequestBuilder.ts +++ b/src/me/onenote/sectionGroups/sectionGroupsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionGroupsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSectionGroup); return requestInfo; }; diff --git a/src/me/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts b/src/me/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts index 824ee8ab338..ad2399e6a76 100644 --- a/src/me/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts +++ b/src/me/onenote/sections/item/copyToNotebook/copyToNotebookRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToNotebookPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts b/src/me/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts index cb1e67197de..b18abe563a9 100644 --- a/src/me/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts +++ b/src/me/onenote/sections/item/copyToSectionGroup/copyToSectionGroupRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionGroupPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sections/item/onenoteSectionItemRequestBuilder.ts b/src/me/onenote/sections/item/onenoteSectionItemRequestBuilder.ts index 8c968c29abc..e4b6f6d3280 100644 --- a/src/me/onenote/sections/item/onenoteSectionItemRequestBuilder.ts +++ b/src/me/onenote/sections/item/onenoteSectionItemRequestBuilder.ts @@ -157,7 +157,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class OnenoteSectionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onenote/sections/item/pages/item/content/contentRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/content/contentRequestBuilder.ts index 97019bc8a48..c57e8186f04 100644 --- a/src/me/onenote/sections/item/pages/item/content/contentRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts index 6e2c0ce4229..a4e091632aa 100644 --- a/src/me/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/copyToSection/copyToSectionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CopyToSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCopyToSectionPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts index 1cfcbd12e3d..b192be8dae5 100644 --- a/src/me/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/onenotePageItemRequestBuilder.ts @@ -163,7 +163,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -200,7 +200,7 @@ export class OnenotePageItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 9b149afaaa6..87992afeb5d 100644 --- a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts index 20810652bcc..37db2acab12 100644 --- a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentRequestBuilder.ts @@ -59,7 +59,7 @@ export class OnenotePatchContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePatchContentPostRequestBody); return requestInfo; }; diff --git a/src/me/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts index ad6ff519129..579eac5299a 100644 --- a/src/me/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts index 1987eacf904..47c5ff8c82d 100644 --- a/src/me/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/parentSection/parentSectionRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts b/src/me/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts index 5fd6378be10..eaecd401d07 100644 --- a/src/me/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/item/preview/previewRequestBuilder.ts @@ -58,7 +58,7 @@ export class PreviewRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sections/item/pages/pagesRequestBuilder.ts b/src/me/onenote/sections/item/pages/pagesRequestBuilder.ts index 433ca21347a..079dede7d62 100644 --- a/src/me/onenote/sections/item/pages/pagesRequestBuilder.ts +++ b/src/me/onenote/sections/item/pages/pagesRequestBuilder.ts @@ -145,7 +145,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class PagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenotePage); return requestInfo; }; diff --git a/src/me/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts b/src/me/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts index 662cca3666c..8c3d29c79c3 100644 --- a/src/me/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts +++ b/src/me/onenote/sections/item/parentNotebook/parentNotebookRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentNotebookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts b/src/me/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts index b6e4cd83135..55237b9211f 100644 --- a/src/me/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts +++ b/src/me/onenote/sections/item/parentSectionGroup/parentSectionGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class ParentSectionGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onenote/sections/sectionsRequestBuilder.ts b/src/me/onenote/sections/sectionsRequestBuilder.ts index eed9fe54bc7..8db71cd74d7 100644 --- a/src/me/onenote/sections/sectionsRequestBuilder.ts +++ b/src/me/onenote/sections/sectionsRequestBuilder.ts @@ -144,7 +144,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class SectionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnenoteSection); return requestInfo; }; diff --git a/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts b/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts index 30c217d0931..bae27cce377 100644 --- a/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts +++ b/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts @@ -50,10 +50,10 @@ export function deserializeIntoCreateOrGetPostRequestBody(createOrGetPostRequest } } export function serializeCreateOrGetPostRequestBody(writer: SerializationWriter, createOrGetPostRequestBody: CreateOrGetPostRequestBody | undefined = {} as CreateOrGetPostRequestBody) : void { - writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, ); + writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, serializeChatInfo); writer.writeDateValue("endDateTime", createOrGetPostRequestBody.endDateTime); writer.writeStringValue("externalId", createOrGetPostRequestBody.externalId); - writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, ); + writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, serializeMeetingParticipants); writer.writeDateValue("startDateTime", createOrGetPostRequestBody.startDateTime); writer.writeStringValue("subject", createOrGetPostRequestBody.subject); writer.writeAdditionalData(createOrGetPostRequestBody.additionalData); diff --git a/src/me/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts b/src/me/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts index 90266ec78fa..6afbfcf35f1 100644 --- a/src/me/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts +++ b/src/me/onlineMeetings/createOrGet/createOrGetRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateOrGetRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateOrGetPostRequestBody); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts b/src/me/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts index dfd6abce3d3..658931eb456 100644 --- a/src/me/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts +++ b/src/me/onlineMeetings/item/attendanceReports/attendanceReportsRequestBuilder.ts @@ -69,7 +69,7 @@ export interface AttendanceReportsRequestBuilderPostRequestConfiguration { options?: RequestOption[]; } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { /** @@ -79,7 +79,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { return new CountRequestBuilder(this.pathParameters, this.requestAdapter); } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @returns a MeetingAttendanceReportItemRequestBuilder */ @@ -98,10 +98,9 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/attendanceReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from me * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReportCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AttendanceReportsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +129,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMeetingAttendanceReportFromDiscriminatorValue, errorMapping); }; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from me * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +143,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +162,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMeetingAttendanceReport); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts b/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts index 9dd83cda946..6846c4d634c 100644 --- a/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts +++ b/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/attendanceRecordsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttendanceRecord); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts b/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts index 70015366dc7..d31ef517985 100644 --- a/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts +++ b/src/me/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/attendanceRecordItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class AttendanceRecordItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttendanceRecord); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts b/src/me/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts index 62ace24d5bf..d3520a30466 100644 --- a/src/me/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts +++ b/src/me/onlineMeetings/item/attendanceReports/item/meetingAttendanceReportItemRequestBuilder.ts @@ -52,7 +52,7 @@ export interface MeetingAttendanceReportItemRequestBuilderPatchRequestConfigurat options?: RequestOption[]; } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilder { /** @@ -84,10 +84,9 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from me * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReport - * @see {@link https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -129,11 +128,11 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from me * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -147,7 +146,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -166,7 +165,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeMeetingAttendanceReport); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts b/src/me/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts index a16f849ade1..433e28f2e19 100644 --- a/src/me/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts +++ b/src/me/onlineMeetings/item/attendeeReport/attendeeReportRequestBuilder.ts @@ -83,7 +83,7 @@ export class AttendeeReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class AttendeeReportRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts b/src/me/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts index ed337af14bf..87ae80e2c5c 100644 --- a/src/me/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts +++ b/src/me/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder.ts @@ -58,7 +58,7 @@ export class GetVirtualAppointmentJoinWebUrlRequestBuilder extends BaseRequestBu requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts b/src/me/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts index 07a21769740..c5997139f1e 100644 --- a/src/me/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts +++ b/src/me/onlineMeetings/item/onlineMeetingItemRequestBuilder.ts @@ -7,6 +7,7 @@ import { createOnlineMeetingFromDiscriminatorValue, deserializeIntoOnlineMeeting import { AttendanceReportsRequestBuilder } from './attendanceReports/attendanceReportsRequestBuilder'; import { AttendeeReportRequestBuilder } from './attendeeReport/attendeeReportRequestBuilder'; import { GetVirtualAppointmentJoinWebUrlRequestBuilder } from './getVirtualAppointmentJoinWebUrl/getVirtualAppointmentJoinWebUrlRequestBuilder'; +import { RecordingsRequestBuilder } from './recordings/recordingsRequestBuilder'; import { TranscriptsRequestBuilder } from './transcripts/transcriptsRequestBuilder'; import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; @@ -59,7 +60,7 @@ export interface OnlineMeetingItemRequestBuilderPatchRequestConfiguration { */ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ public get attendanceReports(): AttendanceReportsRequestBuilder { return new AttendanceReportsRequestBuilder(this.pathParameters, this.requestAdapter); @@ -76,6 +77,12 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { public get getVirtualAppointmentJoinWebUrl(): GetVirtualAppointmentJoinWebUrlRequestBuilder { return new GetVirtualAppointmentJoinWebUrlRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ + public get recordings(): RecordingsRequestBuilder { + return new RecordingsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. */ @@ -152,7 +159,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -170,7 +177,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -189,7 +196,7 @@ export class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnlineMeeting); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/recordings/count/countRequestBuilder.ts b/src/me/onlineMeetings/item/recordings/count/countRequestBuilder.ts new file mode 100644 index 00000000000..0d1ccbd0b10 --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/count/countRequestBuilder.ts @@ -0,0 +1,88 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CountRequestBuilderGetQueryParameters { + /** + * Filter items by property values + */ + filter?: string; + /** + * Search items by search phrases + */ + search?: string; +} +export interface CountRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CountRequestBuilderGetQueryParameters; +} +/** + * Provides operations to count the resources in the collection. + */ +export class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new CountRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/$count{?%24search,%24filter}"); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of Integer + */ + public get(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "number", errorMapping); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "text/plain;q=0.9"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CountRequestBuilder + */ + public withUrl(rawUrl: string) : CountRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CountRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/users/item/photos/count/index.ts b/src/me/onlineMeetings/item/recordings/count/index.ts similarity index 100% rename from src/users/item/photos/count/index.ts rename to src/me/onlineMeetings/item/recordings/count/index.ts diff --git a/src/me/onlineMeetings/item/recordings/index.ts b/src/me/onlineMeetings/item/recordings/index.ts new file mode 100644 index 00000000000..347736aa80a --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/index.ts @@ -0,0 +1 @@ +export * from './recordingsRequestBuilder' diff --git a/src/me/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts b/src/me/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts new file mode 100644 index 00000000000..f457488312c --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/item/callRecordingItemRequestBuilder.ts @@ -0,0 +1,184 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createCallRecordingFromDiscriminatorValue, deserializeIntoCallRecording, serializeCallRecording, type CallRecording } from '../../../../../models/callRecording'; +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { ContentRequestBuilder } from './content/contentRequestBuilder'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CallRecordingItemRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface CallRecordingItemRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface CallRecordingItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CallRecordingItemRequestBuilderGetQueryParameters; +} +export interface CallRecordingItemRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ +export class CallRecordingItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the media for the user entity. + */ + public get content(): ContentRequestBuilder { + return new ContentRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Instantiates a new CallRecordingItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}"); + }; + /** + * Delete navigation property recordings for me + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + */ + public delete(requestConfiguration?: CallRecordingItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + * @see {@link https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: CallRecordingItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Update the navigation property recordings in me + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public patch(body: CallRecording, requestConfiguration?: CallRecordingItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Delete navigation property recordings for me + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: CallRecordingItemRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CallRecordingItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Update the navigation property recordings in me + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: CallRecording, requestConfiguration?: CallRecordingItemRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecording); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CallRecordingItemRequestBuilder + */ + public withUrl(rawUrl: string) : CallRecordingItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CallRecordingItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/me/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts b/src/me/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts new file mode 100644 index 00000000000..be32bc1be1c --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/item/content/contentRequestBuilder.ts @@ -0,0 +1,121 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type CallRecording } from '../../../../../../models/'; +import { createCallRecordingFromDiscriminatorValue } from '../../../../../../models/callRecording'; +import { type ODataError } from '../../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface ContentRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface ContentRequestBuilderPutRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the media for the user entity. + */ +export class ContentRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new ContentRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content"); + }; + /** + * The content of the recording. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of ArrayBuffer + */ + public get(requestConfiguration?: ContentRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "ArrayBuffer", errorMapping); + }; + /** + * The content of the recording. Read-only. + * @param body Binary request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public put(body: ArrayBuffer | undefined, requestConfiguration?: ContentRequestBuilderPutRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPutRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * The content of the recording. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: ContentRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); + return requestInfo; + }; + /** + * The content of the recording. Read-only. + * @param body Binary request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: ContentRequestBuilderPutRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PUT; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setStreamContent(body, "application/octet-stream"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a contentRequestBuilder + */ + public withUrl(rawUrl: string) : ContentRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new ContentRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/me/onlineMeetings/item/recordings/item/content/index.ts b/src/me/onlineMeetings/item/recordings/item/content/index.ts new file mode 100644 index 00000000000..28c86e75ee2 --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/item/content/index.ts @@ -0,0 +1 @@ +export * from './contentRequestBuilder' diff --git a/src/me/onlineMeetings/item/recordings/item/index.ts b/src/me/onlineMeetings/item/recordings/item/index.ts new file mode 100644 index 00000000000..1ca3ca16334 --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/item/index.ts @@ -0,0 +1 @@ +export * from './callRecordingItemRequestBuilder' diff --git a/src/me/onlineMeetings/item/recordings/recordingsRequestBuilder.ts b/src/me/onlineMeetings/item/recordings/recordingsRequestBuilder.ts new file mode 100644 index 00000000000..58a2e40a1db --- /dev/null +++ b/src/me/onlineMeetings/item/recordings/recordingsRequestBuilder.ts @@ -0,0 +1,180 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type CallRecordingCollectionResponse } from '../../../../models/'; +import { createCallRecordingFromDiscriminatorValue, deserializeIntoCallRecording, serializeCallRecording, type CallRecording } from '../../../../models/callRecording'; +import { createCallRecordingCollectionResponseFromDiscriminatorValue } from '../../../../models/callRecordingCollectionResponse'; +import { type ODataError } from '../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../models/oDataErrors/oDataError'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { CallRecordingItemRequestBuilder } from './item/callRecordingItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface RecordingsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Expand related entities + */ + expand?: string[]; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Skip the first n items + */ + skip?: number; + /** + * Show only the first n items + */ + top?: number; +} +export interface RecordingsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: RecordingsRequestBuilderGetQueryParameters; +} +export interface RecordingsRequestBuilderPostRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ +export class RecordingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + * @param callRecordingId The unique identifier of callRecording + * @returns a CallRecordingItemRequestBuilder + */ + public byCallRecordingId(callRecordingId: string) : CallRecordingItemRequestBuilder { + if(!callRecordingId) throw new Error("callRecordingId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["callRecording%2Did"] = callRecordingId + return new CallRecordingItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new RecordingsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/me/onlineMeetings/{onlineMeeting%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecordingCollectionResponse + */ + public get(requestConfiguration?: RecordingsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Create new navigation property to recordings for me + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of CallRecording + */ + public post(body: CallRecording, requestConfiguration?: RecordingsRequestBuilderPostRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createCallRecordingFromDiscriminatorValue, errorMapping); + }; + /** + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: RecordingsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + return requestInfo; + }; + /** + * Create new navigation property to recordings for me + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPostRequestInformation(body: CallRecording, requestConfiguration?: RecordingsRequestBuilderPostRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.POST; + requestInfo.tryAddRequestHeaders("Accept", "application/json"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallRecording); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a recordingsRequestBuilder + */ + public withUrl(rawUrl: string) : RecordingsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new RecordingsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/me/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts b/src/me/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts index 41422ecde5a..1ff33406de3 100644 --- a/src/me/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts +++ b/src/me/onlineMeetings/item/transcripts/item/callTranscriptItemRequestBuilder.ts @@ -136,7 +136,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -154,7 +154,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -173,7 +173,7 @@ export class CallTranscriptItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallTranscript); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts b/src/me/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts index 14d04f70607..c25253b4dda 100644 --- a/src/me/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts +++ b/src/me/onlineMeetings/item/transcripts/item/content/contentRequestBuilder.ts @@ -85,7 +85,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -104,7 +104,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts b/src/me/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts index 857c4493c1d..988401249ed 100644 --- a/src/me/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts +++ b/src/me/onlineMeetings/item/transcripts/item/metadataContent/metadataContentRequestBuilder.ts @@ -83,7 +83,7 @@ export class MetadataContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class MetadataContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts b/src/me/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts index c42232545c5..1c459b3170b 100644 --- a/src/me/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts +++ b/src/me/onlineMeetings/item/transcripts/transcriptsRequestBuilder.ts @@ -144,7 +144,7 @@ export class TranscriptsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TranscriptsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCallTranscript); return requestInfo; }; diff --git a/src/me/onlineMeetings/onlineMeetingsRequestBuilder.ts b/src/me/onlineMeetings/onlineMeetingsRequestBuilder.ts index 7fac37b9b9b..eed877ed25a 100644 --- a/src/me/onlineMeetings/onlineMeetingsRequestBuilder.ts +++ b/src/me/onlineMeetings/onlineMeetingsRequestBuilder.ts @@ -152,7 +152,7 @@ export class OnlineMeetingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class OnlineMeetingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOnlineMeeting); return requestInfo; }; diff --git a/src/me/outlook/masterCategories/item/outlookCategoryItemRequestBuilder.ts b/src/me/outlook/masterCategories/item/outlookCategoryItemRequestBuilder.ts index 52ce22680c1..30e8e769157 100644 --- a/src/me/outlook/masterCategories/item/outlookCategoryItemRequestBuilder.ts +++ b/src/me/outlook/masterCategories/item/outlookCategoryItemRequestBuilder.ts @@ -120,7 +120,7 @@ export class OutlookCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -138,7 +138,7 @@ export class OutlookCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -157,7 +157,7 @@ export class OutlookCategoryItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOutlookCategory); return requestInfo; }; diff --git a/src/me/outlook/masterCategories/masterCategoriesRequestBuilder.ts b/src/me/outlook/masterCategories/masterCategoriesRequestBuilder.ts index 60ddcb1fdf7..49880a1d1c6 100644 --- a/src/me/outlook/masterCategories/masterCategoriesRequestBuilder.ts +++ b/src/me/outlook/masterCategories/masterCategoriesRequestBuilder.ts @@ -137,7 +137,7 @@ export class MasterCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class MasterCategoriesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeOutlookCategory); return requestInfo; }; diff --git a/src/me/outlook/outlookRequestBuilder.ts b/src/me/outlook/outlookRequestBuilder.ts index e1e38af9948..fb2be82907a 100644 --- a/src/me/outlook/outlookRequestBuilder.ts +++ b/src/me/outlook/outlookRequestBuilder.ts @@ -100,7 +100,7 @@ export class OutlookRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts b/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts index e830408bb0b..09b590f85a4 100644 --- a/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts +++ b/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedLanguagesGetResponse(supportedLanguagesG } export function serializeSupportedLanguagesGetResponse(writer: SerializationWriter, supportedLanguagesGetResponse: SupportedLanguagesGetResponse | undefined = {} as SupportedLanguagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedLanguagesGetResponse) - writer.writeCollectionOfObjectValues("value", supportedLanguagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedLanguagesGetResponse.value, serializeLocaleInfo); } export interface SupportedLanguagesGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/outlook/supportedLanguages/supportedLanguagesRequestBuilder.ts b/src/me/outlook/supportedLanguages/supportedLanguagesRequestBuilder.ts index 79708e98608..629d8186941 100644 --- a/src/me/outlook/supportedLanguages/supportedLanguagesRequestBuilder.ts +++ b/src/me/outlook/supportedLanguages/supportedLanguagesRequestBuilder.ts @@ -86,7 +86,7 @@ export class SupportedLanguagesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts b/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts index 0afa3d5abec..1fbd786df3f 100644 --- a/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts +++ b/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedTimeZonesGetResponse(supportedTimeZonesG } export function serializeSupportedTimeZonesGetResponse(writer: SerializationWriter, supportedTimeZonesGetResponse: SupportedTimeZonesGetResponse | undefined = {} as SupportedTimeZonesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedTimeZonesGetResponse) - writer.writeCollectionOfObjectValues("value", supportedTimeZonesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedTimeZonesGetResponse.value, serializeTimeZoneInformation); } export interface SupportedTimeZonesGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/outlook/supportedTimeZones/supportedTimeZonesRequestBuilder.ts b/src/me/outlook/supportedTimeZones/supportedTimeZonesRequestBuilder.ts index 7c3a4d9a0d7..51b93bdbbe2 100644 --- a/src/me/outlook/supportedTimeZones/supportedTimeZonesRequestBuilder.ts +++ b/src/me/outlook/supportedTimeZones/supportedTimeZonesRequestBuilder.ts @@ -85,7 +85,7 @@ export class SupportedTimeZonesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts index 69cb2dbdec1..28a4e995f92 100644 --- a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts +++ b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedTimeZonesWithTimeZoneStandardGetResponse } export function serializeSupportedTimeZonesWithTimeZoneStandardGetResponse(writer: SerializationWriter, supportedTimeZonesWithTimeZoneStandardGetResponse: SupportedTimeZonesWithTimeZoneStandardGetResponse | undefined = {} as SupportedTimeZonesWithTimeZoneStandardGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedTimeZonesWithTimeZoneStandardGetResponse) - writer.writeCollectionOfObjectValues("value", supportedTimeZonesWithTimeZoneStandardGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedTimeZonesWithTimeZoneStandardGetResponse.value, serializeTimeZoneInformation); } export interface SupportedTimeZonesWithTimeZoneStandardGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardRequestBuilder.ts b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardRequestBuilder.ts index 8900f25ae18..0f9d5eb10ac 100644 --- a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardRequestBuilder.ts +++ b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardRequestBuilder.ts @@ -87,7 +87,7 @@ export class SupportedTimeZonesWithTimeZoneStandardRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/me/ownedDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 8510319bfa0..9b66b2c860f 100644 --- a/src/me/ownedDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/me/ownedDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/graphDevice/graphDeviceRequestBuilder.ts b/src/me/ownedDevices/graphDevice/graphDeviceRequestBuilder.ts index a86874181d2..40367607b1e 100644 --- a/src/me/ownedDevices/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/me/ownedDevices/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/graphEndpoint/graphEndpointRequestBuilder.ts b/src/me/ownedDevices/graphEndpoint/graphEndpointRequestBuilder.ts index b7c33f6ab2a..75052aa0adf 100644 --- a/src/me/ownedDevices/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/me/ownedDevices/graphEndpoint/graphEndpointRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/item/directoryObjectItemRequestBuilder.ts b/src/me/ownedDevices/item/directoryObjectItemRequestBuilder.ts index 933d1d45eaf..5e643ccc7e5 100644 --- a/src/me/ownedDevices/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/ownedDevices/item/directoryObjectItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/me/ownedDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 5d283af8bce..1fe6a5502ba 100644 --- a/src/me/ownedDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/me/ownedDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/item/graphDevice/graphDeviceRequestBuilder.ts b/src/me/ownedDevices/item/graphDevice/graphDeviceRequestBuilder.ts index d0c6d36e558..890672cc601 100644 --- a/src/me/ownedDevices/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/me/ownedDevices/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts b/src/me/ownedDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts index 677a61acbe6..646464c5c78 100644 --- a/src/me/ownedDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/me/ownedDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedDevices/ownedDevicesRequestBuilder.ts b/src/me/ownedDevices/ownedDevicesRequestBuilder.ts index b2cf7bab9db..f9880bf49b5 100644 --- a/src/me/ownedDevices/ownedDevicesRequestBuilder.ts +++ b/src/me/ownedDevices/ownedDevicesRequestBuilder.ts @@ -138,7 +138,7 @@ export class OwnedDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/graphApplication/graphApplicationRequestBuilder.ts b/src/me/ownedObjects/graphApplication/graphApplicationRequestBuilder.ts index 12508d1b7d9..3abbc0af6d6 100644 --- a/src/me/ownedObjects/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/me/ownedObjects/graphApplication/graphApplicationRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/graphGroup/graphGroupRequestBuilder.ts b/src/me/ownedObjects/graphGroup/graphGroupRequestBuilder.ts index 187ac031566..fdad14fcf9e 100644 --- a/src/me/ownedObjects/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/ownedObjects/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/me/ownedObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 58ebced687f..b4a93b0c70a 100644 --- a/src/me/ownedObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/me/ownedObjects/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/item/directoryObjectItemRequestBuilder.ts b/src/me/ownedObjects/item/directoryObjectItemRequestBuilder.ts index de5ce4a35c5..95f6b011d33 100644 --- a/src/me/ownedObjects/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/ownedObjects/item/directoryObjectItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/item/graphApplication/graphApplicationRequestBuilder.ts b/src/me/ownedObjects/item/graphApplication/graphApplicationRequestBuilder.ts index a21cba84cbd..800162b48a9 100644 --- a/src/me/ownedObjects/item/graphApplication/graphApplicationRequestBuilder.ts +++ b/src/me/ownedObjects/item/graphApplication/graphApplicationRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphApplicationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/item/graphGroup/graphGroupRequestBuilder.ts b/src/me/ownedObjects/item/graphGroup/graphGroupRequestBuilder.ts index 36d8652ca2e..919fcfcfb3a 100644 --- a/src/me/ownedObjects/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/ownedObjects/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts b/src/me/ownedObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts index 68c0d3abd58..db7cefa5730 100644 --- a/src/me/ownedObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts +++ b/src/me/ownedObjects/item/graphServicePrincipal/graphServicePrincipalRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/ownedObjects/ownedObjectsRequestBuilder.ts b/src/me/ownedObjects/ownedObjectsRequestBuilder.ts index 65a681dc3a2..6edb1d9b604 100644 --- a/src/me/ownedObjects/ownedObjectsRequestBuilder.ts +++ b/src/me/ownedObjects/ownedObjectsRequestBuilder.ts @@ -138,7 +138,7 @@ export class OwnedObjectsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/people/item/personItemRequestBuilder.ts b/src/me/people/item/personItemRequestBuilder.ts index 64d289d4be2..73d337f0ff0 100644 --- a/src/me/people/item/personItemRequestBuilder.ts +++ b/src/me/people/item/personItemRequestBuilder.ts @@ -69,7 +69,7 @@ export class PersonItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/people/peopleRequestBuilder.ts b/src/me/people/peopleRequestBuilder.ts index 7f578e12a45..8576d5db40f 100644 --- a/src/me/people/peopleRequestBuilder.ts +++ b/src/me/people/peopleRequestBuilder.ts @@ -113,7 +113,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/photo/photoRequestBuilder.ts b/src/me/photo/photoRequestBuilder.ts index 169c4c1e017..705e47e4d2a 100644 --- a/src/me/photo/photoRequestBuilder.ts +++ b/src/me/photo/photoRequestBuilder.ts @@ -80,7 +80,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfilePhoto * @see {@link https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0|Find more info here} @@ -125,11 +125,11 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Microsoft Entra ID. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -143,7 +143,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class PhotoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeProfilePhoto); return requestInfo; }; diff --git a/src/me/photo/value/contentRequestBuilder.ts b/src/me/photo/value/contentRequestBuilder.ts index d6d5983bb35..c4c2c259b8d 100644 --- a/src/me/photo/value/contentRequestBuilder.ts +++ b/src/me/photo/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/photos/item/profilePhotoItemRequestBuilder.ts b/src/me/photos/item/profilePhotoItemRequestBuilder.ts index 3d4f9912d00..d0502206532 100644 --- a/src/me/photos/item/profilePhotoItemRequestBuilder.ts +++ b/src/me/photos/item/profilePhotoItemRequestBuilder.ts @@ -47,7 +47,7 @@ export class ProfilePhotoItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/photos/{profilePhoto%2Did}{?%24select}"); }; /** - * Get photos from me + * The collection of the user's profile photos in different sizes. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfilePhoto */ @@ -62,7 +62,7 @@ export class ProfilePhotoItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfilePhotoFromDiscriminatorValue, errorMapping); }; /** - * Get photos from me + * The collection of the user's profile photos in different sizes. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -76,7 +76,7 @@ export class ProfilePhotoItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/photos/item/value/contentRequestBuilder.ts b/src/me/photos/item/value/contentRequestBuilder.ts index 3169ba4deae..fa0b82b29c3 100644 --- a/src/me/photos/item/value/contentRequestBuilder.ts +++ b/src/me/photos/item/value/contentRequestBuilder.ts @@ -82,7 +82,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -101,7 +101,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/photos/photosRequestBuilder.ts b/src/me/photos/photosRequestBuilder.ts index 80ff2e36411..08fea01021e 100644 --- a/src/me/photos/photosRequestBuilder.ts +++ b/src/me/photos/photosRequestBuilder.ts @@ -5,15 +5,10 @@ import { type ProfilePhotoCollectionResponse } from '../../models/'; import { type ODataError } from '../../models/oDataErrors/'; import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../models/oDataErrors/oDataError'; import { createProfilePhotoCollectionResponseFromDiscriminatorValue } from '../../models/profilePhotoCollectionResponse'; -import { CountRequestBuilder } from './count/countRequestBuilder'; import { ProfilePhotoItemRequestBuilder } from './item/profilePhotoItemRequestBuilder'; import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; export interface PhotosRequestBuilderGetQueryParameters { - /** - * Include count of items - */ - count?: boolean; /** * Filter items by property values */ @@ -53,12 +48,6 @@ export interface PhotosRequestBuilderGetRequestConfiguration { * Provides operations to manage the photos property of the microsoft.graph.user entity. */ export class PhotosRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - */ - public get count(): CountRequestBuilder { - return new CountRequestBuilder(this.pathParameters, this.requestAdapter); - } /** * Provides operations to manage the photos property of the microsoft.graph.user entity. * @param profilePhotoId The unique identifier of profilePhoto @@ -76,10 +65,10 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}"); + super(pathParameters, requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24orderby,%24select}"); }; /** - * Get photos from me + * The collection of the user's profile photos in different sizes. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ProfilePhotoCollectionResponse */ @@ -94,7 +83,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createProfilePhotoCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Get photos from me + * The collection of the user's profile photos in different sizes. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -108,7 +97,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/planner/plannerRequestBuilder.ts b/src/me/planner/plannerRequestBuilder.ts index d247bfac416..ee43038f21e 100644 --- a/src/me/planner/plannerRequestBuilder.ts +++ b/src/me/planner/plannerRequestBuilder.ts @@ -135,7 +135,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -153,7 +153,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -172,7 +172,7 @@ export class PlannerRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerUser); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/bucketsRequestBuilder.ts b/src/me/planner/plans/item/buckets/bucketsRequestBuilder.ts index 4426126807f..e08bc737156 100644 --- a/src/me/planner/plans/item/buckets/bucketsRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/bucketsRequestBuilder.ts @@ -144,7 +144,7 @@ export class BucketsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class BucketsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucket); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts index 2efa3a17143..34af9b87afe 100644 --- a/src/me/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/plannerBucketItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class PlannerBucketItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucket); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts index 05b76ae027d..224be36669c 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerAssignedToTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts index 8c8f4801f7c..ea8e5c63745 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucketTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts index 42a54d581ba..0ddf4d96d3d 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTaskDetails); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts index 9d4f4c6aed3..dab1c2974ec 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/item/plannerTaskItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts index 4e858b2274d..eb9cfe37b9c 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerProgressTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts b/src/me/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts index 48ac9286e01..5a01db02f5a 100644 --- a/src/me/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts +++ b/src/me/planner/plans/item/buckets/item/tasks/tasksRequestBuilder.ts @@ -144,7 +144,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/planner/plans/item/details/detailsRequestBuilder.ts b/src/me/planner/plans/item/details/detailsRequestBuilder.ts index 9cd6a3258b4..d4a74a6decb 100644 --- a/src/me/planner/plans/item/details/detailsRequestBuilder.ts +++ b/src/me/planner/plans/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlanDetails); return requestInfo; }; diff --git a/src/me/planner/plans/item/plannerPlanItemRequestBuilder.ts b/src/me/planner/plans/item/plannerPlanItemRequestBuilder.ts index 4a3bf825d07..6203d034cd3 100644 --- a/src/me/planner/plans/item/plannerPlanItemRequestBuilder.ts +++ b/src/me/planner/plans/item/plannerPlanItemRequestBuilder.ts @@ -142,7 +142,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class PlannerPlanItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlan); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts index 4392a62b3c9..447fbb98984 100644 --- a/src/me/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerAssignedToTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts index c547223891a..15d8ad27fc6 100644 --- a/src/me/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucketTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts b/src/me/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts index 59c984a8094..10af02ab389 100644 --- a/src/me/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTaskDetails); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts b/src/me/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts index 70d69c9cf46..ba11a712aea 100644 --- a/src/me/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/item/plannerTaskItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts b/src/me/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts index 48c7c9bb130..a1d20f3c771 100644 --- a/src/me/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerProgressTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/plans/item/tasks/tasksRequestBuilder.ts b/src/me/planner/plans/item/tasks/tasksRequestBuilder.ts index f5e522b0ef9..7cd2553f5f7 100644 --- a/src/me/planner/plans/item/tasks/tasksRequestBuilder.ts +++ b/src/me/planner/plans/item/tasks/tasksRequestBuilder.ts @@ -144,7 +144,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/planner/plans/plansRequestBuilder.ts b/src/me/planner/plans/plansRequestBuilder.ts index cf2043b9b49..5e0c92efe0b 100644 --- a/src/me/planner/plans/plansRequestBuilder.ts +++ b/src/me/planner/plans/plansRequestBuilder.ts @@ -144,7 +144,7 @@ export class PlansRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class PlansRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerPlan); return requestInfo; }; diff --git a/src/me/planner/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts b/src/me/planner/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts index 698a151c099..9e6673cf247 100644 --- a/src/me/planner/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/tasks/item/assignedToTaskBoardFormat/assignedToTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class AssignedToTaskBoardFormatRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerAssignedToTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts b/src/me/planner/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts index 86d7e940176..16b2f8a66ff 100644 --- a/src/me/planner/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/tasks/item/bucketTaskBoardFormat/bucketTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class BucketTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerBucketTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/tasks/item/details/detailsRequestBuilder.ts b/src/me/planner/tasks/item/details/detailsRequestBuilder.ts index 40c25916e90..ce873d6f3e6 100644 --- a/src/me/planner/tasks/item/details/detailsRequestBuilder.ts +++ b/src/me/planner/tasks/item/details/detailsRequestBuilder.ts @@ -123,7 +123,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class DetailsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTaskDetails); return requestInfo; }; diff --git a/src/me/planner/tasks/item/plannerTaskItemRequestBuilder.ts b/src/me/planner/tasks/item/plannerTaskItemRequestBuilder.ts index 66f30837f06..c47a80a16c6 100644 --- a/src/me/planner/tasks/item/plannerTaskItemRequestBuilder.ts +++ b/src/me/planner/tasks/item/plannerTaskItemRequestBuilder.ts @@ -149,7 +149,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -186,7 +186,7 @@ export class PlannerTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/planner/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts b/src/me/planner/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts index ad7429859fb..211fe30660c 100644 --- a/src/me/planner/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts +++ b/src/me/planner/tasks/item/progressTaskBoardFormat/progressTaskBoardFormatRequestBuilder.ts @@ -123,7 +123,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ProgressTaskBoardFormatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerProgressTaskBoardTaskFormat); return requestInfo; }; diff --git a/src/me/planner/tasks/tasksRequestBuilder.ts b/src/me/planner/tasks/tasksRequestBuilder.ts index 641eff6ddc8..b2b1058bfd4 100644 --- a/src/me/planner/tasks/tasksRequestBuilder.ts +++ b/src/me/planner/tasks/tasksRequestBuilder.ts @@ -144,7 +144,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePlannerTask); return requestInfo; }; diff --git a/src/me/presence/clearPresence/clearPresenceRequestBuilder.ts b/src/me/presence/clearPresence/clearPresenceRequestBuilder.ts index e16f8cae0a1..57799bb7cea 100644 --- a/src/me/presence/clearPresence/clearPresenceRequestBuilder.ts +++ b/src/me/presence/clearPresence/clearPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class ClearPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeClearPresencePostRequestBody); return requestInfo; }; diff --git a/src/me/presence/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts b/src/me/presence/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts index fe15a6f4a27..23c8c64f38b 100644 --- a/src/me/presence/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts +++ b/src/me/presence/clearUserPreferredPresence/clearUserPreferredPresenceRequestBuilder.ts @@ -56,7 +56,7 @@ export class ClearUserPreferredPresenceRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/presence/presenceRequestBuilder.ts b/src/me/presence/presenceRequestBuilder.ts index 436b673b22e..f7143bffdd2 100644 --- a/src/me/presence/presenceRequestBuilder.ts +++ b/src/me/presence/presenceRequestBuilder.ts @@ -157,7 +157,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -194,7 +194,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePresence); return requestInfo; }; diff --git a/src/me/presence/setPresence/setPresenceRequestBuilder.ts b/src/me/presence/setPresence/setPresenceRequestBuilder.ts index be8f72f705b..56bfaab0580 100644 --- a/src/me/presence/setPresence/setPresenceRequestBuilder.ts +++ b/src/me/presence/setPresence/setPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetPresencePostRequestBody); return requestInfo; }; diff --git a/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts b/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts index 24f76404371..7daae388346 100644 --- a/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts +++ b/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetStatusMessagePostRequestBody(setStatusMessageP } } export function serializeSetStatusMessagePostRequestBody(writer: SerializationWriter, setStatusMessagePostRequestBody: SetStatusMessagePostRequestBody | undefined = {} as SetStatusMessagePostRequestBody) : void { - writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, ); + writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, serializePresenceStatusMessage); writer.writeAdditionalData(setStatusMessagePostRequestBody.additionalData); } export interface SetStatusMessagePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/presence/setStatusMessage/setStatusMessageRequestBuilder.ts b/src/me/presence/setStatusMessage/setStatusMessageRequestBuilder.ts index afab0e6018a..fa6541621e9 100644 --- a/src/me/presence/setStatusMessage/setStatusMessageRequestBuilder.ts +++ b/src/me/presence/setStatusMessage/setStatusMessageRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetStatusMessageRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetStatusMessagePostRequestBody); return requestInfo; }; diff --git a/src/me/presence/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts b/src/me/presence/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts index f5c7b448bca..338f78141fd 100644 --- a/src/me/presence/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts +++ b/src/me/presence/setUserPreferredPresence/setUserPreferredPresenceRequestBuilder.ts @@ -60,7 +60,7 @@ export class SetUserPreferredPresenceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSetUserPreferredPresencePostRequestBody); return requestInfo; }; diff --git a/src/me/registeredDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/me/registeredDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index bdac9dacbed..c1259fca356 100644 --- a/src/me/registeredDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/me/registeredDevices/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/graphDevice/graphDeviceRequestBuilder.ts b/src/me/registeredDevices/graphDevice/graphDeviceRequestBuilder.ts index d49f0c404e4..290bdd9d329 100644 --- a/src/me/registeredDevices/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/me/registeredDevices/graphDevice/graphDeviceRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/graphEndpoint/graphEndpointRequestBuilder.ts b/src/me/registeredDevices/graphEndpoint/graphEndpointRequestBuilder.ts index 0c061901340..27df2c0b31a 100644 --- a/src/me/registeredDevices/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/me/registeredDevices/graphEndpoint/graphEndpointRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/item/directoryObjectItemRequestBuilder.ts b/src/me/registeredDevices/item/directoryObjectItemRequestBuilder.ts index 40eaa9d59b3..e2358f87ae1 100644 --- a/src/me/registeredDevices/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/registeredDevices/item/directoryObjectItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts b/src/me/registeredDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts index 754c859f056..c7cceee70b9 100644 --- a/src/me/registeredDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts +++ b/src/me/registeredDevices/item/graphAppRoleAssignment/graphAppRoleAssignmentRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/item/graphDevice/graphDeviceRequestBuilder.ts b/src/me/registeredDevices/item/graphDevice/graphDeviceRequestBuilder.ts index bab66eb1835..4880056e90f 100644 --- a/src/me/registeredDevices/item/graphDevice/graphDeviceRequestBuilder.ts +++ b/src/me/registeredDevices/item/graphDevice/graphDeviceRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDeviceRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts b/src/me/registeredDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts index baf1bbf5eb6..8fba0142f36 100644 --- a/src/me/registeredDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts +++ b/src/me/registeredDevices/item/graphEndpoint/graphEndpointRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphEndpointRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/registeredDevices/registeredDevicesRequestBuilder.ts b/src/me/registeredDevices/registeredDevicesRequestBuilder.ts index 9f0c74d0852..87265b454fc 100644 --- a/src/me/registeredDevices/registeredDevicesRequestBuilder.ts +++ b/src/me/registeredDevices/registeredDevicesRequestBuilder.ts @@ -138,7 +138,7 @@ export class RegisteredDevicesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts index 7aec59022f6..0822961406f 100644 --- a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts +++ b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface ReminderViewWithStartDateTimeWithEndDateTimeGetResponse extends } export function serializeReminderViewWithStartDateTimeWithEndDateTimeGetResponse(writer: SerializationWriter, reminderViewWithStartDateTimeWithEndDateTimeGetResponse: ReminderViewWithStartDateTimeWithEndDateTimeGetResponse | undefined = {} as ReminderViewWithStartDateTimeWithEndDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, reminderViewWithStartDateTimeWithEndDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", reminderViewWithStartDateTimeWithEndDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", reminderViewWithStartDateTimeWithEndDateTimeGetResponse.value, serializeReminder); } // tslint:enable // eslint-enable diff --git a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.ts b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.ts index 1d74488c3aa..7597972dbea 100644 --- a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.ts +++ b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.ts @@ -89,7 +89,7 @@ export class ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder extends requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/removeAllDevicesFromManagement/removeAllDevicesFromManagementRequestBuilder.ts b/src/me/removeAllDevicesFromManagement/removeAllDevicesFromManagementRequestBuilder.ts index 7f267bea32a..a89dcbe8769 100644 --- a/src/me/removeAllDevicesFromManagement/removeAllDevicesFromManagementRequestBuilder.ts +++ b/src/me/removeAllDevicesFromManagement/removeAllDevicesFromManagementRequestBuilder.ts @@ -56,7 +56,7 @@ export class RemoveAllDevicesFromManagementRequestBuilder extends BaseRequestBui requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/reprocessLicenseAssignment/reprocessLicenseAssignmentRequestBuilder.ts b/src/me/reprocessLicenseAssignment/reprocessLicenseAssignmentRequestBuilder.ts index 18518c4b37e..2aa145fe326 100644 --- a/src/me/reprocessLicenseAssignment/reprocessLicenseAssignmentRequestBuilder.ts +++ b/src/me/reprocessLicenseAssignment/reprocessLicenseAssignmentRequestBuilder.ts @@ -59,7 +59,7 @@ export class ReprocessLicenseAssignmentRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/restore/restoreRequestBuilder.ts b/src/me/restore/restoreRequestBuilder.ts index f5c1cc6a276..c4734d7c890 100644 --- a/src/me/restore/restoreRequestBuilder.ts +++ b/src/me/restore/restoreRequestBuilder.ts @@ -59,7 +59,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts b/src/me/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts index 5d1f133f0d5..c4f338251fe 100644 --- a/src/me/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts +++ b/src/me/retryServiceProvisioning/retryServiceProvisioningRequestBuilder.ts @@ -55,7 +55,7 @@ export class RetryServiceProvisioningRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/revokeSignInSessions/revokeSignInSessionsRequestBuilder.ts b/src/me/revokeSignInSessions/revokeSignInSessionsRequestBuilder.ts index 4c17f401bae..7e49f32d55b 100644 --- a/src/me/revokeSignInSessions/revokeSignInSessionsRequestBuilder.ts +++ b/src/me/revokeSignInSessions/revokeSignInSessionsRequestBuilder.ts @@ -59,7 +59,7 @@ export class RevokeSignInSessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/scopedRoleMemberOf/item/scopedRoleMembershipItemRequestBuilder.ts b/src/me/scopedRoleMemberOf/item/scopedRoleMembershipItemRequestBuilder.ts index 1e75b8ae444..2937e5d0ba8 100644 --- a/src/me/scopedRoleMemberOf/item/scopedRoleMembershipItemRequestBuilder.ts +++ b/src/me/scopedRoleMemberOf/item/scopedRoleMembershipItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ScopedRoleMembershipItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/me/scopedRoleMemberOf/scopedRoleMemberOfRequestBuilder.ts b/src/me/scopedRoleMemberOf/scopedRoleMemberOfRequestBuilder.ts index 4e46183c55a..6987fec8157 100644 --- a/src/me/scopedRoleMemberOf/scopedRoleMemberOfRequestBuilder.ts +++ b/src/me/scopedRoleMemberOf/scopedRoleMemberOfRequestBuilder.ts @@ -143,7 +143,7 @@ export class ScopedRoleMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ScopedRoleMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeScopedRoleMembership); return requestInfo; }; diff --git a/src/me/sendMail/sendMailPostRequestBody.ts b/src/me/sendMail/sendMailPostRequestBody.ts index 792adbb9f5e..13cc522c587 100644 --- a/src/me/sendMail/sendMailPostRequestBody.ts +++ b/src/me/sendMail/sendMailPostRequestBody.ts @@ -29,7 +29,7 @@ export interface SendMailPostRequestBody extends AdditionalDataHolder, Parsable saveToSentItems?: boolean; } export function serializeSendMailPostRequestBody(writer: SerializationWriter, sendMailPostRequestBody: SendMailPostRequestBody | undefined = {} as SendMailPostRequestBody) : void { - writer.writeObjectValue("Message", sendMailPostRequestBody.message, ); + writer.writeObjectValue("Message", sendMailPostRequestBody.message, serializeMessage); writer.writeBooleanValue("SaveToSentItems", sendMailPostRequestBody.saveToSentItems); writer.writeAdditionalData(sendMailPostRequestBody.additionalData); } diff --git a/src/me/sendMail/sendMailRequestBuilder.ts b/src/me/sendMail/sendMailRequestBuilder.ts index b394d9c64d3..eab26c02546 100644 --- a/src/me/sendMail/sendMailRequestBuilder.ts +++ b/src/me/sendMail/sendMailRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendMailRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendMailPostRequestBody); return requestInfo; }; diff --git a/src/me/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts b/src/me/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts index 01ca4a4034e..cee928dc016 100644 --- a/src/me/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts +++ b/src/me/serviceProvisioningErrors/serviceProvisioningErrorsRequestBuilder.ts @@ -104,7 +104,7 @@ export class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/settings/settingsRequestBuilder.ts b/src/me/settings/settingsRequestBuilder.ts index 0c91761d208..a52dc802a95 100644 --- a/src/me/settings/settingsRequestBuilder.ts +++ b/src/me/settings/settingsRequestBuilder.ts @@ -130,7 +130,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -148,7 +148,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -167,7 +167,7 @@ export class SettingsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserSettings); return requestInfo; }; diff --git a/src/me/settings/shiftPreferences/shiftPreferencesRequestBuilder.ts b/src/me/settings/shiftPreferences/shiftPreferencesRequestBuilder.ts index 8ce26699069..b4400b89e7e 100644 --- a/src/me/settings/shiftPreferences/shiftPreferencesRequestBuilder.ts +++ b/src/me/settings/shiftPreferences/shiftPreferencesRequestBuilder.ts @@ -123,7 +123,7 @@ export class ShiftPreferencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -141,7 +141,7 @@ export class ShiftPreferencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class ShiftPreferencesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeShiftPreferences); return requestInfo; }; diff --git a/src/me/teamwork/associatedTeams/associatedTeamsRequestBuilder.ts b/src/me/teamwork/associatedTeams/associatedTeamsRequestBuilder.ts index d99399f19ff..226e5167d70 100644 --- a/src/me/teamwork/associatedTeams/associatedTeamsRequestBuilder.ts +++ b/src/me/teamwork/associatedTeams/associatedTeamsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AssociatedTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AssociatedTeamsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssociatedTeamInfo); return requestInfo; }; diff --git a/src/me/teamwork/associatedTeams/item/associatedTeamInfoItemRequestBuilder.ts b/src/me/teamwork/associatedTeams/item/associatedTeamInfoItemRequestBuilder.ts index de7bc003d0c..53c3db2cca6 100644 --- a/src/me/teamwork/associatedTeams/item/associatedTeamInfoItemRequestBuilder.ts +++ b/src/me/teamwork/associatedTeams/item/associatedTeamInfoItemRequestBuilder.ts @@ -128,7 +128,7 @@ export class AssociatedTeamInfoItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class AssociatedTeamInfoItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class AssociatedTeamInfoItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAssociatedTeamInfo); return requestInfo; }; diff --git a/src/me/teamwork/associatedTeams/item/team/teamRequestBuilder.ts b/src/me/teamwork/associatedTeams/item/team/teamRequestBuilder.ts index e5ed06db166..6e6424b87a1 100644 --- a/src/me/teamwork/associatedTeams/item/team/teamRequestBuilder.ts +++ b/src/me/teamwork/associatedTeams/item/team/teamRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/teamwork/installedApps/installedAppsRequestBuilder.ts b/src/me/teamwork/installedApps/installedAppsRequestBuilder.ts index 1d169df11b9..1bfd3965f65 100644 --- a/src/me/teamwork/installedApps/installedAppsRequestBuilder.ts +++ b/src/me/teamwork/installedApps/installedAppsRequestBuilder.ts @@ -145,7 +145,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class InstalledAppsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserScopeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/teamwork/installedApps/item/chat/chatRequestBuilder.ts b/src/me/teamwork/installedApps/item/chat/chatRequestBuilder.ts index 3f5723de799..2a4ef4136a8 100644 --- a/src/me/teamwork/installedApps/item/chat/chatRequestBuilder.ts +++ b/src/me/teamwork/installedApps/item/chat/chatRequestBuilder.ts @@ -74,7 +74,7 @@ export class ChatRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/teamwork/installedApps/item/teamsApp/teamsAppRequestBuilder.ts b/src/me/teamwork/installedApps/item/teamsApp/teamsAppRequestBuilder.ts index 61ddcd22487..b7d224b89fd 100644 --- a/src/me/teamwork/installedApps/item/teamsApp/teamsAppRequestBuilder.ts +++ b/src/me/teamwork/installedApps/item/teamsApp/teamsAppRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/teamwork/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts b/src/me/teamwork/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts index 56d9d52d2f1..d3edfe2df86 100644 --- a/src/me/teamwork/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts +++ b/src/me/teamwork/installedApps/item/teamsAppDefinition/teamsAppDefinitionRequestBuilder.ts @@ -73,7 +73,7 @@ export class TeamsAppDefinitionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/teamwork/installedApps/item/userScopeTeamsAppInstallationItemRequestBuilder.ts b/src/me/teamwork/installedApps/item/userScopeTeamsAppInstallationItemRequestBuilder.ts index d44b394e69f..3e2c4a7d6c0 100644 --- a/src/me/teamwork/installedApps/item/userScopeTeamsAppInstallationItemRequestBuilder.ts +++ b/src/me/teamwork/installedApps/item/userScopeTeamsAppInstallationItemRequestBuilder.ts @@ -144,7 +144,7 @@ export class UserScopeTeamsAppInstallationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class UserScopeTeamsAppInstallationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -181,7 +181,7 @@ export class UserScopeTeamsAppInstallationItemRequestBuilder extends BaseRequest requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserScopeTeamsAppInstallation); return requestInfo; }; diff --git a/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index da430d8e9ec..26774a19b1b 100644 --- a/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -48,9 +48,9 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/teamwork/sendActivityNotification/sendActivityNotificationRequestBuilder.ts b/src/me/teamwork/sendActivityNotification/sendActivityNotificationRequestBuilder.ts index 979c65df4fd..9fadc5a0af8 100644 --- a/src/me/teamwork/sendActivityNotification/sendActivityNotificationRequestBuilder.ts +++ b/src/me/teamwork/sendActivityNotification/sendActivityNotificationRequestBuilder.ts @@ -60,7 +60,7 @@ export class SendActivityNotificationRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeSendActivityNotificationPostRequestBody); return requestInfo; }; diff --git a/src/me/teamwork/teamworkRequestBuilder.ts b/src/me/teamwork/teamworkRequestBuilder.ts index 2e0c925ff8e..8d1b206c801 100644 --- a/src/me/teamwork/teamworkRequestBuilder.ts +++ b/src/me/teamwork/teamworkRequestBuilder.ts @@ -142,7 +142,7 @@ export class TeamworkRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -160,7 +160,7 @@ export class TeamworkRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -179,7 +179,7 @@ export class TeamworkRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeUserTeamwork); return requestInfo; }; diff --git a/src/me/todo/lists/delta/deltaGetResponse.ts b/src/me/todo/lists/delta/deltaGetResponse.ts index 4cc217d91a2..4162ccc8da1 100644 --- a/src/me/todo/lists/delta/deltaGetResponse.ts +++ b/src/me/todo/lists/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeTodoTaskList); } // tslint:enable // eslint-enable diff --git a/src/me/todo/lists/delta/deltaRequestBuilder.ts b/src/me/todo/lists/delta/deltaRequestBuilder.ts index 96ec2898d9a..0b3d6c51aa7 100644 --- a/src/me/todo/lists/delta/deltaRequestBuilder.ts +++ b/src/me/todo/lists/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/todo/lists/item/extensions/extensionsRequestBuilder.ts b/src/me/todo/lists/item/extensions/extensionsRequestBuilder.ts index 71aec5fdf09..f1e21c6aaae 100644 --- a/src/me/todo/lists/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/todo/lists/item/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/todo/lists/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/todo/lists/item/extensions/item/extensionItemRequestBuilder.ts index 6b7f22ae13b..51f40b04e74 100644 --- a/src/me/todo/lists/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/todo/lists/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts b/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts index 61b81155157..10f5048ab5d 100644 --- a/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts +++ b/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeTodoTask); } // tslint:enable // eslint-enable diff --git a/src/me/todo/lists/item/tasks/delta/deltaRequestBuilder.ts b/src/me/todo/lists/item/tasks/delta/deltaRequestBuilder.ts index 528b25fec5c..c99e70be1a9 100644 --- a/src/me/todo/lists/item/tasks/delta/deltaRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/delta/deltaRequestBuilder.ts @@ -93,7 +93,7 @@ export class DeltaRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/todo/lists/item/tasks/item/attachmentSessions/attachmentSessionsRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachmentSessions/attachmentSessionsRequestBuilder.ts index 97178d30ef7..67c65c1a56f 100644 --- a/src/me/todo/lists/item/tasks/item/attachmentSessions/attachmentSessionsRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachmentSessions/attachmentSessionsRequestBuilder.ts @@ -108,7 +108,7 @@ export class AttachmentSessionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/todo/lists/item/tasks/item/attachmentSessions/item/attachmentSessionItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachmentSessions/item/attachmentSessionItemRequestBuilder.ts index 0e032b16538..6fec5007999 100644 --- a/src/me/todo/lists/item/tasks/item/attachmentSessions/item/attachmentSessionItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachmentSessions/item/attachmentSessionItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class AttachmentSessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class AttachmentSessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class AttachmentSessionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachmentSession); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/attachmentSessions/item/content/contentRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachmentSessions/item/content/contentRequestBuilder.ts index 829d8633f27..41f9219fb31 100644 --- a/src/me/todo/lists/item/tasks/item/attachmentSessions/item/content/contentRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachmentSessions/item/content/contentRequestBuilder.ts @@ -84,7 +84,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -103,7 +103,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/attachments/attachmentsRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachments/attachmentsRequestBuilder.ts index 5cad44169a1..e5ec6016cae 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/attachmentsRequestBuilder.ts @@ -144,7 +144,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -163,7 +163,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAttachmentBase); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 7941979cac2..b480b89908a 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("attachmentInfo", createUploadSessionPostRequestBody.attachmentInfo, ); + writer.writeObjectValue("attachmentInfo", createUploadSessionPostRequestBody.attachmentInfo, serializeAttachmentInfo); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts index 17fdf3217a4..82bcc0bd2e7 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionRequestBuilder.ts @@ -62,7 +62,7 @@ export class CreateUploadSessionRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeCreateUploadSessionPostRequestBody); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/attachments/item/attachmentBaseItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachments/item/attachmentBaseItemRequestBuilder.ts index e5d54b1ed73..395b8da04a9 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/item/attachmentBaseItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/item/attachmentBaseItemRequestBuilder.ts @@ -101,7 +101,7 @@ export class AttachmentBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -119,7 +119,7 @@ export class AttachmentBaseItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/todo/lists/item/tasks/item/attachments/item/value/contentRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/attachments/item/value/contentRequestBuilder.ts index cef6086b628..ead13ff4a06 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/item/value/contentRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/item/value/contentRequestBuilder.ts @@ -83,7 +83,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/octet-stream, application/json"); return requestInfo; }; /** @@ -102,7 +102,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PUT; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/checklistItems/checklistItemsRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/checklistItems/checklistItemsRequestBuilder.ts index ca18159157b..d9c2dab19f2 100644 --- a/src/me/todo/lists/item/tasks/item/checklistItems/checklistItemsRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/checklistItems/checklistItemsRequestBuilder.ts @@ -145,7 +145,7 @@ export class ChecklistItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class ChecklistItemsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChecklistItem); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/checklistItems/item/checklistItemItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/checklistItems/item/checklistItemItemRequestBuilder.ts index e644fe811e4..1d362ac5059 100644 --- a/src/me/todo/lists/item/tasks/item/checklistItems/item/checklistItemItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/checklistItems/item/checklistItemItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class ChecklistItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class ChecklistItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class ChecklistItemItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeChecklistItem); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/extensions/extensionsRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/extensions/extensionsRequestBuilder.ts index 6e7bc0a7de4..8e790145546 100644 --- a/src/me/todo/lists/item/tasks/item/extensions/extensionsRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/extensions/extensionsRequestBuilder.ts @@ -143,7 +143,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -162,7 +162,7 @@ export class ExtensionsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/extensions/item/extensionItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/extensions/item/extensionItemRequestBuilder.ts index f797a74993a..f66afad7a7d 100644 --- a/src/me/todo/lists/item/tasks/item/extensions/item/extensionItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/extensions/item/extensionItemRequestBuilder.ts @@ -121,7 +121,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -139,7 +139,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -158,7 +158,7 @@ export class ExtensionItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeExtension); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/linkedResources/item/linkedResourceItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/linkedResources/item/linkedResourceItemRequestBuilder.ts index 7bc340805f8..fa92e4ee2fd 100644 --- a/src/me/todo/lists/item/tasks/item/linkedResources/item/linkedResourceItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/linkedResources/item/linkedResourceItemRequestBuilder.ts @@ -124,7 +124,7 @@ export class LinkedResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -142,7 +142,7 @@ export class LinkedResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -161,7 +161,7 @@ export class LinkedResourceItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLinkedResource); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/linkedResources/linkedResourcesRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/linkedResources/linkedResourcesRequestBuilder.ts index 9c420b57de0..a55ecc64aed 100644 --- a/src/me/todo/lists/item/tasks/item/linkedResources/linkedResourcesRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/linkedResources/linkedResourcesRequestBuilder.ts @@ -145,7 +145,7 @@ export class LinkedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -164,7 +164,7 @@ export class LinkedResourcesRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeLinkedResource); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/item/todoTaskItemRequestBuilder.ts b/src/me/todo/lists/item/tasks/item/todoTaskItemRequestBuilder.ts index e9a2ebf4c10..e2c921c964d 100644 --- a/src/me/todo/lists/item/tasks/item/todoTaskItemRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/item/todoTaskItemRequestBuilder.ts @@ -159,7 +159,7 @@ export class TodoTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -177,7 +177,7 @@ export class TodoTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -196,7 +196,7 @@ export class TodoTaskItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTodoTask); return requestInfo; }; diff --git a/src/me/todo/lists/item/tasks/tasksRequestBuilder.ts b/src/me/todo/lists/item/tasks/tasksRequestBuilder.ts index 7bf59827546..5ee765ed1dc 100644 --- a/src/me/todo/lists/item/tasks/tasksRequestBuilder.ts +++ b/src/me/todo/lists/item/tasks/tasksRequestBuilder.ts @@ -152,7 +152,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class TasksRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTodoTask); return requestInfo; }; diff --git a/src/me/todo/lists/item/todoTaskListItemRequestBuilder.ts b/src/me/todo/lists/item/todoTaskListItemRequestBuilder.ts index 5fba52701fe..50644abc28c 100644 --- a/src/me/todo/lists/item/todoTaskListItemRequestBuilder.ts +++ b/src/me/todo/lists/item/todoTaskListItemRequestBuilder.ts @@ -138,7 +138,7 @@ export class TodoTaskListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -156,7 +156,7 @@ export class TodoTaskListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -175,7 +175,7 @@ export class TodoTaskListItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTodoTaskList); return requestInfo; }; diff --git a/src/me/todo/lists/listsRequestBuilder.ts b/src/me/todo/lists/listsRequestBuilder.ts index 4f655e48a72..dfdbd1a98a8 100644 --- a/src/me/todo/lists/listsRequestBuilder.ts +++ b/src/me/todo/lists/listsRequestBuilder.ts @@ -152,7 +152,7 @@ export class ListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -171,7 +171,7 @@ export class ListsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTodoTaskList); return requestInfo; }; diff --git a/src/me/todo/todoRequestBuilder.ts b/src/me/todo/todoRequestBuilder.ts index 1fde2d9560e..df8c903036c 100644 --- a/src/me/todo/todoRequestBuilder.ts +++ b/src/me/todo/todoRequestBuilder.ts @@ -128,7 +128,7 @@ export class TodoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.DELETE; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -146,7 +146,7 @@ export class TodoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** @@ -165,7 +165,7 @@ export class TodoRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.PATCH; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTodo); return requestInfo; }; diff --git a/src/me/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/me/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index a9cb124ab66..5ea10c31e47 100644 --- a/src/me/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/me/transitiveMemberOf/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts b/src/me/transitiveMemberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts index a2242f2a47a..32cd230f125 100644 --- a/src/me/transitiveMemberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts +++ b/src/me/transitiveMemberOf/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts b/src/me/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts index 0a0ce7c9b55..d28ac03f522 100644 --- a/src/me/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/transitiveMemberOf/graphGroup/graphGroupRequestBuilder.ts @@ -104,7 +104,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts b/src/me/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts index 3462158b73a..dd898e77198 100644 --- a/src/me/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts +++ b/src/me/transitiveMemberOf/item/directoryObjectItemRequestBuilder.ts @@ -94,7 +94,7 @@ export class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts b/src/me/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts index 14a5a144f3c..d2cd15968b1 100644 --- a/src/me/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts +++ b/src/me/transitiveMemberOf/item/graphAdministrativeUnit/graphAdministrativeUnitRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts b/src/me/transitiveMemberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts index 910bf693c46..9b11bf8d8de 100644 --- a/src/me/transitiveMemberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts +++ b/src/me/transitiveMemberOf/item/graphDirectoryRole/graphDirectoryRoleRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts b/src/me/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts index f8373f5cf0a..a87c61dffc4 100644 --- a/src/me/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts +++ b/src/me/transitiveMemberOf/item/graphGroup/graphGroupRequestBuilder.ts @@ -73,7 +73,7 @@ export class GraphGroupRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts b/src/me/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts index aa8c93ec36b..4da19056211 100644 --- a/src/me/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts +++ b/src/me/transitiveMemberOf/transitiveMemberOfRequestBuilder.ts @@ -138,7 +138,7 @@ export class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.GET; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); return requestInfo; }; /** diff --git a/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts b/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts index c61eec2a157..8d5609d5189 100644 --- a/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts +++ b/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoTranslateExchangeIdsPostResponse(translateExchang } export function serializeTranslateExchangeIdsPostResponse(writer: SerializationWriter, translateExchangeIdsPostResponse: TranslateExchangeIdsPostResponse | undefined = {} as TranslateExchangeIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, translateExchangeIdsPostResponse) - writer.writeCollectionOfObjectValues("value", translateExchangeIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", translateExchangeIdsPostResponse.value, serializeConvertIdResult); } export interface TranslateExchangeIdsPostResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/translateExchangeIds/translateExchangeIdsRequestBuilder.ts b/src/me/translateExchangeIds/translateExchangeIdsRequestBuilder.ts index f6cd89b6226..05835b38947 100644 --- a/src/me/translateExchangeIds/translateExchangeIdsRequestBuilder.ts +++ b/src/me/translateExchangeIds/translateExchangeIdsRequestBuilder.ts @@ -62,7 +62,7 @@ export class TranslateExchangeIdsRequestBuilder extends BaseRequestBuilder { requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeTranslateExchangeIdsPostRequestBody); return requestInfo; }; diff --git a/src/me/wipeManagedAppRegistrationsByDeviceTag/wipeManagedAppRegistrationsByDeviceTagRequestBuilder.ts b/src/me/wipeManagedAppRegistrationsByDeviceTag/wipeManagedAppRegistrationsByDeviceTagRequestBuilder.ts index c2da0896866..fa6fc5584c5 100644 --- a/src/me/wipeManagedAppRegistrationsByDeviceTag/wipeManagedAppRegistrationsByDeviceTagRequestBuilder.ts +++ b/src/me/wipeManagedAppRegistrationsByDeviceTag/wipeManagedAppRegistrationsByDeviceTagRequestBuilder.ts @@ -60,7 +60,7 @@ export class WipeManagedAppRegistrationsByDeviceTagRequestBuilder extends BaseRe requestInfo.urlTemplate = this.urlTemplate; requestInfo.pathParameters = this.pathParameters; requestInfo.httpMethod = HttpMethod.POST; - requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + requestInfo.tryAddRequestHeaders("Accept", "application/json"); requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeWipeManagedAppRegistrationsByDeviceTagPostRequestBody); return requestInfo; }; diff --git a/src/models/aadUserConversationMember.ts b/src/models/aadUserConversationMember.ts index 4c4f697a144..36537b0b4b9 100644 --- a/src/models/aadUserConversationMember.ts +++ b/src/models/aadUserConversationMember.ts @@ -40,7 +40,7 @@ export function serializeAadUserConversationMember(writer: SerializationWriter, serializeConversationMember(writer, aadUserConversationMember) writer.writeStringValue("email", aadUserConversationMember.email); writer.writeStringValue("tenantId", aadUserConversationMember.tenantId); - writer.writeObjectValue("user", aadUserConversationMember.user, ); + writer.writeObjectValue("user", aadUserConversationMember.user, serializeUser); writer.writeStringValue("userId", aadUserConversationMember.userId); } // tslint:enable diff --git a/src/models/accessPackage.ts b/src/models/accessPackage.ts index 54ef4f35e4c..221668fbc12 100644 --- a/src/models/accessPackage.ts +++ b/src/models/accessPackage.ts @@ -76,17 +76,17 @@ export function deserializeIntoAccessPackage(accessPackage: AccessPackage | unde } export function serializeAccessPackage(writer: SerializationWriter, accessPackage: AccessPackage | undefined = {} as AccessPackage) : void { serializeEntity(writer, accessPackage) - writer.writeCollectionOfObjectValues("accessPackagesIncompatibleWith", accessPackage.accessPackagesIncompatibleWith, ); - writer.writeCollectionOfObjectValues("assignmentPolicies", accessPackage.assignmentPolicies, ); - writer.writeObjectValue("catalog", accessPackage.catalog, ); + writer.writeCollectionOfObjectValues("accessPackagesIncompatibleWith", accessPackage.accessPackagesIncompatibleWith, serializeAccessPackage); + writer.writeCollectionOfObjectValues("assignmentPolicies", accessPackage.assignmentPolicies, serializeAccessPackageAssignmentPolicy); + writer.writeObjectValue("catalog", accessPackage.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackage.createdDateTime); writer.writeStringValue("description", accessPackage.description); writer.writeStringValue("displayName", accessPackage.displayName); - writer.writeCollectionOfObjectValues("incompatibleAccessPackages", accessPackage.incompatibleAccessPackages, ); - writer.writeCollectionOfObjectValues("incompatibleGroups", accessPackage.incompatibleGroups, ); + writer.writeCollectionOfObjectValues("incompatibleAccessPackages", accessPackage.incompatibleAccessPackages, serializeAccessPackage); + writer.writeCollectionOfObjectValues("incompatibleGroups", accessPackage.incompatibleGroups, serializeGroup); writer.writeBooleanValue("isHidden", accessPackage.isHidden); writer.writeDateValue("modifiedDateTime", accessPackage.modifiedDateTime); - writer.writeCollectionOfObjectValues("resourceRoleScopes", accessPackage.resourceRoleScopes, ); + writer.writeCollectionOfObjectValues("resourceRoleScopes", accessPackage.resourceRoleScopes, serializeAccessPackageResourceRoleScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAnswer.ts b/src/models/accessPackageAnswer.ts index 25153ee5188..9ea7bfea686 100644 --- a/src/models/accessPackageAnswer.ts +++ b/src/models/accessPackageAnswer.ts @@ -46,7 +46,7 @@ export function deserializeIntoAccessPackageAnswer(accessPackageAnswer: AccessPa } } export function serializeAccessPackageAnswer(writer: SerializationWriter, accessPackageAnswer: AccessPackageAnswer | undefined = {} as AccessPackageAnswer) : void { - writer.writeObjectValue("answeredQuestion", accessPackageAnswer.answeredQuestion, ); + writer.writeObjectValue("answeredQuestion", accessPackageAnswer.answeredQuestion, serializeAccessPackageQuestion); writer.writeStringValue("displayValue", accessPackageAnswer.displayValue); writer.writeStringValue("@odata.type", accessPackageAnswer.odataType); writer.writeAdditionalData(accessPackageAnswer.additionalData); diff --git a/src/models/accessPackageAnswerChoice.ts b/src/models/accessPackageAnswerChoice.ts index 1b2a665ad59..e5482e8925a 100644 --- a/src/models/accessPackageAnswerChoice.ts +++ b/src/models/accessPackageAnswerChoice.ts @@ -40,7 +40,7 @@ export function deserializeIntoAccessPackageAnswerChoice(accessPackageAnswerChoi } export function serializeAccessPackageAnswerChoice(writer: SerializationWriter, accessPackageAnswerChoice: AccessPackageAnswerChoice | undefined = {} as AccessPackageAnswerChoice) : void { writer.writeStringValue("actualValue", accessPackageAnswerChoice.actualValue); - writer.writeCollectionOfObjectValues("localizations", accessPackageAnswerChoice.localizations, ); + writer.writeCollectionOfObjectValues("localizations", accessPackageAnswerChoice.localizations, serializeAccessPackageLocalizedText); writer.writeStringValue("@odata.type", accessPackageAnswerChoice.odataType); writer.writeStringValue("text", accessPackageAnswerChoice.text); writer.writeAdditionalData(accessPackageAnswerChoice.additionalData); diff --git a/src/models/accessPackageApprovalStage.ts b/src/models/accessPackageApprovalStage.ts index a32faa23645..6df8d564129 100644 --- a/src/models/accessPackageApprovalStage.ts +++ b/src/models/accessPackageApprovalStage.ts @@ -66,13 +66,13 @@ export function deserializeIntoAccessPackageApprovalStage(accessPackageApprovalS export function serializeAccessPackageApprovalStage(writer: SerializationWriter, accessPackageApprovalStage: AccessPackageApprovalStage | undefined = {} as AccessPackageApprovalStage) : void { writer.writeDurationValue("durationBeforeAutomaticDenial", accessPackageApprovalStage.durationBeforeAutomaticDenial); writer.writeDurationValue("durationBeforeEscalation", accessPackageApprovalStage.durationBeforeEscalation); - writer.writeCollectionOfObjectValues("escalationApprovers", accessPackageApprovalStage.escalationApprovers, ); - writer.writeCollectionOfObjectValues("fallbackEscalationApprovers", accessPackageApprovalStage.fallbackEscalationApprovers, ); - writer.writeCollectionOfObjectValues("fallbackPrimaryApprovers", accessPackageApprovalStage.fallbackPrimaryApprovers, ); + writer.writeCollectionOfObjectValues("escalationApprovers", accessPackageApprovalStage.escalationApprovers, serializeSubjectSet); + writer.writeCollectionOfObjectValues("fallbackEscalationApprovers", accessPackageApprovalStage.fallbackEscalationApprovers, serializeSubjectSet); + writer.writeCollectionOfObjectValues("fallbackPrimaryApprovers", accessPackageApprovalStage.fallbackPrimaryApprovers, serializeSubjectSet); writer.writeBooleanValue("isApproverJustificationRequired", accessPackageApprovalStage.isApproverJustificationRequired); writer.writeBooleanValue("isEscalationEnabled", accessPackageApprovalStage.isEscalationEnabled); writer.writeStringValue("@odata.type", accessPackageApprovalStage.odataType); - writer.writeCollectionOfObjectValues("primaryApprovers", accessPackageApprovalStage.primaryApprovers, ); + writer.writeCollectionOfObjectValues("primaryApprovers", accessPackageApprovalStage.primaryApprovers, serializeSubjectSet); writer.writeAdditionalData(accessPackageApprovalStage.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignment.ts b/src/models/accessPackageAssignment.ts index c574054f380..1c87aa26a89 100644 --- a/src/models/accessPackageAssignment.ts +++ b/src/models/accessPackageAssignment.ts @@ -63,14 +63,14 @@ export function deserializeIntoAccessPackageAssignment(accessPackageAssignment: } export function serializeAccessPackageAssignment(writer: SerializationWriter, accessPackageAssignment: AccessPackageAssignment | undefined = {} as AccessPackageAssignment) : void { serializeEntity(writer, accessPackageAssignment) - writer.writeObjectValue("accessPackage", accessPackageAssignment.accessPackage, ); - writer.writeObjectValue("assignmentPolicy", accessPackageAssignment.assignmentPolicy, ); - writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignment.customExtensionCalloutInstances, ); + writer.writeObjectValue("accessPackage", accessPackageAssignment.accessPackage, serializeAccessPackage); + writer.writeObjectValue("assignmentPolicy", accessPackageAssignment.assignmentPolicy, serializeAccessPackageAssignmentPolicy); + writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignment.customExtensionCalloutInstances, serializeCustomExtensionCalloutInstance); writer.writeDateValue("expiredDateTime", accessPackageAssignment.expiredDateTime); - writer.writeObjectValue("schedule", accessPackageAssignment.schedule, ); + writer.writeObjectValue("schedule", accessPackageAssignment.schedule, serializeEntitlementManagementSchedule); writer.writeEnumValue("state", accessPackageAssignment.state); writer.writeStringValue("status", accessPackageAssignment.status); - writer.writeObjectValue("target", accessPackageAssignment.target, ); + writer.writeObjectValue("target", accessPackageAssignment.target, serializeAccessPackageSubject); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentApprovalSettings.ts b/src/models/accessPackageAssignmentApprovalSettings.ts index c5d0ea19480..33efeed7835 100644 --- a/src/models/accessPackageAssignmentApprovalSettings.ts +++ b/src/models/accessPackageAssignmentApprovalSettings.ts @@ -42,7 +42,7 @@ export function serializeAccessPackageAssignmentApprovalSettings(writer: Seriali writer.writeBooleanValue("isApprovalRequiredForAdd", accessPackageAssignmentApprovalSettings.isApprovalRequiredForAdd); writer.writeBooleanValue("isApprovalRequiredForUpdate", accessPackageAssignmentApprovalSettings.isApprovalRequiredForUpdate); writer.writeStringValue("@odata.type", accessPackageAssignmentApprovalSettings.odataType); - writer.writeCollectionOfObjectValues("stages", accessPackageAssignmentApprovalSettings.stages, ); + writer.writeCollectionOfObjectValues("stages", accessPackageAssignmentApprovalSettings.stages, serializeAccessPackageApprovalStage); writer.writeAdditionalData(accessPackageAssignmentApprovalSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentCollectionResponse.ts b/src/models/accessPackageAssignmentCollectionResponse.ts index 0cd14b8efd2..df6247eece1 100644 --- a/src/models/accessPackageAssignmentCollectionResponse.ts +++ b/src/models/accessPackageAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentCollectionResponse(accessP } export function serializeAccessPackageAssignmentCollectionResponse(writer: SerializationWriter, accessPackageAssignmentCollectionResponse: AccessPackageAssignmentCollectionResponse | undefined = {} as AccessPackageAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentCollectionResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentPolicy.ts b/src/models/accessPackageAssignmentPolicy.ts index 5edba7d3ddb..e03fc147b0c 100644 --- a/src/models/accessPackageAssignmentPolicy.ts +++ b/src/models/accessPackageAssignmentPolicy.ts @@ -103,21 +103,21 @@ export function deserializeIntoAccessPackageAssignmentPolicy(accessPackageAssign } export function serializeAccessPackageAssignmentPolicy(writer: SerializationWriter, accessPackageAssignmentPolicy: AccessPackageAssignmentPolicy | undefined = {} as AccessPackageAssignmentPolicy) : void { serializeEntity(writer, accessPackageAssignmentPolicy) - writer.writeObjectValue("accessPackage", accessPackageAssignmentPolicy.accessPackage, ); + writer.writeObjectValue("accessPackage", accessPackageAssignmentPolicy.accessPackage, serializeAccessPackage); writer.writeEnumValue("allowedTargetScope", accessPackageAssignmentPolicy.allowedTargetScope); - writer.writeObjectValue("automaticRequestSettings", accessPackageAssignmentPolicy.automaticRequestSettings, ); - writer.writeObjectValue("catalog", accessPackageAssignmentPolicy.catalog, ); + writer.writeObjectValue("automaticRequestSettings", accessPackageAssignmentPolicy.automaticRequestSettings, serializeAccessPackageAutomaticRequestSettings); + writer.writeObjectValue("catalog", accessPackageAssignmentPolicy.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackageAssignmentPolicy.createdDateTime); - writer.writeCollectionOfObjectValues("customExtensionStageSettings", accessPackageAssignmentPolicy.customExtensionStageSettings, ); + writer.writeCollectionOfObjectValues("customExtensionStageSettings", accessPackageAssignmentPolicy.customExtensionStageSettings, serializeCustomExtensionStageSetting); writer.writeStringValue("description", accessPackageAssignmentPolicy.description); writer.writeStringValue("displayName", accessPackageAssignmentPolicy.displayName); - writer.writeObjectValue("expiration", accessPackageAssignmentPolicy.expiration, ); + writer.writeObjectValue("expiration", accessPackageAssignmentPolicy.expiration, serializeExpirationPattern); writer.writeDateValue("modifiedDateTime", accessPackageAssignmentPolicy.modifiedDateTime); - writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentPolicy.questions, ); - writer.writeObjectValue("requestApprovalSettings", accessPackageAssignmentPolicy.requestApprovalSettings, ); - writer.writeObjectValue("requestorSettings", accessPackageAssignmentPolicy.requestorSettings, ); - writer.writeObjectValue("reviewSettings", accessPackageAssignmentPolicy.reviewSettings, ); - writer.writeCollectionOfObjectValues("specificAllowedTargets", accessPackageAssignmentPolicy.specificAllowedTargets, ); + writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentPolicy.questions, serializeAccessPackageQuestion); + writer.writeObjectValue("requestApprovalSettings", accessPackageAssignmentPolicy.requestApprovalSettings, serializeAccessPackageAssignmentApprovalSettings); + writer.writeObjectValue("requestorSettings", accessPackageAssignmentPolicy.requestorSettings, serializeAccessPackageAssignmentRequestorSettings); + writer.writeObjectValue("reviewSettings", accessPackageAssignmentPolicy.reviewSettings, serializeAccessPackageAssignmentReviewSettings); + writer.writeCollectionOfObjectValues("specificAllowedTargets", accessPackageAssignmentPolicy.specificAllowedTargets, serializeSubjectSet); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentPolicyCollectionResponse.ts b/src/models/accessPackageAssignmentPolicyCollectionResponse.ts index 67367eeaae0..56e186f6eb1 100644 --- a/src/models/accessPackageAssignmentPolicyCollectionResponse.ts +++ b/src/models/accessPackageAssignmentPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentPolicyCollectionResponse(a } export function serializeAccessPackageAssignmentPolicyCollectionResponse(writer: SerializationWriter, accessPackageAssignmentPolicyCollectionResponse: AccessPackageAssignmentPolicyCollectionResponse | undefined = {} as AccessPackageAssignmentPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentPolicyCollectionResponse.value, serializeAccessPackageAssignmentPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentRequest.ts b/src/models/accessPackageAssignmentRequest.ts index 630c882e918..2a26af804d2 100644 --- a/src/models/accessPackageAssignmentRequest.ts +++ b/src/models/accessPackageAssignmentRequest.ts @@ -80,15 +80,15 @@ export function deserializeIntoAccessPackageAssignmentRequest(accessPackageAssig } export function serializeAccessPackageAssignmentRequest(writer: SerializationWriter, accessPackageAssignmentRequest: AccessPackageAssignmentRequest | undefined = {} as AccessPackageAssignmentRequest) : void { serializeEntity(writer, accessPackageAssignmentRequest) - writer.writeObjectValue("accessPackage", accessPackageAssignmentRequest.accessPackage, ); - writer.writeCollectionOfObjectValues("answers", accessPackageAssignmentRequest.answers, ); - writer.writeObjectValue("assignment", accessPackageAssignmentRequest.assignment, ); + writer.writeObjectValue("accessPackage", accessPackageAssignmentRequest.accessPackage, serializeAccessPackage); + writer.writeCollectionOfObjectValues("answers", accessPackageAssignmentRequest.answers, serializeAccessPackageAnswer); + writer.writeObjectValue("assignment", accessPackageAssignmentRequest.assignment, serializeAccessPackageAssignment); writer.writeDateValue("completedDateTime", accessPackageAssignmentRequest.completedDateTime); writer.writeDateValue("createdDateTime", accessPackageAssignmentRequest.createdDateTime); - writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignmentRequest.customExtensionCalloutInstances, ); - writer.writeObjectValue("requestor", accessPackageAssignmentRequest.requestor, ); + writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignmentRequest.customExtensionCalloutInstances, serializeCustomExtensionCalloutInstance); + writer.writeObjectValue("requestor", accessPackageAssignmentRequest.requestor, serializeAccessPackageSubject); writer.writeEnumValue("requestType", accessPackageAssignmentRequest.requestType); - writer.writeObjectValue("schedule", accessPackageAssignmentRequest.schedule, ); + writer.writeObjectValue("schedule", accessPackageAssignmentRequest.schedule, serializeEntitlementManagementSchedule); writer.writeEnumValue("state", accessPackageAssignmentRequest.state); writer.writeStringValue("status", accessPackageAssignmentRequest.status); } diff --git a/src/models/accessPackageAssignmentRequestCollectionResponse.ts b/src/models/accessPackageAssignmentRequestCollectionResponse.ts index 7421c16f1e2..debae3603e7 100644 --- a/src/models/accessPackageAssignmentRequestCollectionResponse.ts +++ b/src/models/accessPackageAssignmentRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentRequestCollectionResponse( } export function serializeAccessPackageAssignmentRequestCollectionResponse(writer: SerializationWriter, accessPackageAssignmentRequestCollectionResponse: AccessPackageAssignmentRequestCollectionResponse | undefined = {} as AccessPackageAssignmentRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentRequestCollectionResponse.value, serializeAccessPackageAssignmentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentRequestRequirements.ts b/src/models/accessPackageAssignmentRequestRequirements.ts index fc83fb96fd9..145f7f19ae2 100644 --- a/src/models/accessPackageAssignmentRequestRequirements.ts +++ b/src/models/accessPackageAssignmentRequestRequirements.ts @@ -72,8 +72,8 @@ export function serializeAccessPackageAssignmentRequestRequirements(writer: Seri writer.writeStringValue("policyDescription", accessPackageAssignmentRequestRequirements.policyDescription); writer.writeStringValue("policyDisplayName", accessPackageAssignmentRequestRequirements.policyDisplayName); writer.writeStringValue("policyId", accessPackageAssignmentRequestRequirements.policyId); - writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentRequestRequirements.questions, ); - writer.writeObjectValue("schedule", accessPackageAssignmentRequestRequirements.schedule, ); + writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentRequestRequirements.questions, serializeAccessPackageQuestion); + writer.writeObjectValue("schedule", accessPackageAssignmentRequestRequirements.schedule, serializeEntitlementManagementSchedule); writer.writeAdditionalData(accessPackageAssignmentRequestRequirements.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentRequestWorkflowExtension.ts b/src/models/accessPackageAssignmentRequestWorkflowExtension.ts index c2694701686..085c234e092 100644 --- a/src/models/accessPackageAssignmentRequestWorkflowExtension.ts +++ b/src/models/accessPackageAssignmentRequestWorkflowExtension.ts @@ -43,7 +43,7 @@ export function deserializeIntoAccessPackageAssignmentRequestWorkflowExtension(a } export function serializeAccessPackageAssignmentRequestWorkflowExtension(writer: SerializationWriter, accessPackageAssignmentRequestWorkflowExtension: AccessPackageAssignmentRequestWorkflowExtension | undefined = {} as AccessPackageAssignmentRequestWorkflowExtension) : void { serializeCustomCalloutExtension(writer, accessPackageAssignmentRequestWorkflowExtension) - writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentRequestWorkflowExtension.callbackConfiguration, ); + writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentRequestWorkflowExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration); writer.writeStringValue("createdBy", accessPackageAssignmentRequestWorkflowExtension.createdBy); writer.writeDateValue("createdDateTime", accessPackageAssignmentRequestWorkflowExtension.createdDateTime); writer.writeStringValue("lastModifiedBy", accessPackageAssignmentRequestWorkflowExtension.lastModifiedBy); diff --git a/src/models/accessPackageAssignmentRequestorSettings.ts b/src/models/accessPackageAssignmentRequestorSettings.ts index 45c32ce2739..42f83355924 100644 --- a/src/models/accessPackageAssignmentRequestorSettings.ts +++ b/src/models/accessPackageAssignmentRequestorSettings.ts @@ -72,7 +72,7 @@ export function serializeAccessPackageAssignmentRequestorSettings(writer: Serial writer.writeBooleanValue("enableTargetsToSelfRemoveAccess", accessPackageAssignmentRequestorSettings.enableTargetsToSelfRemoveAccess); writer.writeBooleanValue("enableTargetsToSelfUpdateAccess", accessPackageAssignmentRequestorSettings.enableTargetsToSelfUpdateAccess); writer.writeStringValue("@odata.type", accessPackageAssignmentRequestorSettings.odataType); - writer.writeCollectionOfObjectValues("onBehalfRequestors", accessPackageAssignmentRequestorSettings.onBehalfRequestors, ); + writer.writeCollectionOfObjectValues("onBehalfRequestors", accessPackageAssignmentRequestorSettings.onBehalfRequestors, serializeSubjectSet); writer.writeAdditionalData(accessPackageAssignmentRequestorSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentReviewSettings.ts b/src/models/accessPackageAssignmentReviewSettings.ts index dc51ca58726..60ea08b7379 100644 --- a/src/models/accessPackageAssignmentReviewSettings.ts +++ b/src/models/accessPackageAssignmentReviewSettings.ts @@ -67,14 +67,14 @@ export function deserializeIntoAccessPackageAssignmentReviewSettings(accessPacka } export function serializeAccessPackageAssignmentReviewSettings(writer: SerializationWriter, accessPackageAssignmentReviewSettings: AccessPackageAssignmentReviewSettings | undefined = {} as AccessPackageAssignmentReviewSettings) : void { writer.writeEnumValue("expirationBehavior", accessPackageAssignmentReviewSettings.expirationBehavior); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessPackageAssignmentReviewSettings.fallbackReviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessPackageAssignmentReviewSettings.fallbackReviewers, serializeSubjectSet); writer.writeBooleanValue("isEnabled", accessPackageAssignmentReviewSettings.isEnabled); writer.writeBooleanValue("isRecommendationEnabled", accessPackageAssignmentReviewSettings.isRecommendationEnabled); writer.writeBooleanValue("isReviewerJustificationRequired", accessPackageAssignmentReviewSettings.isReviewerJustificationRequired); writer.writeBooleanValue("isSelfReview", accessPackageAssignmentReviewSettings.isSelfReview); writer.writeStringValue("@odata.type", accessPackageAssignmentReviewSettings.odataType); - writer.writeCollectionOfObjectValues("primaryReviewers", accessPackageAssignmentReviewSettings.primaryReviewers, ); - writer.writeObjectValue("schedule", accessPackageAssignmentReviewSettings.schedule, ); + writer.writeCollectionOfObjectValues("primaryReviewers", accessPackageAssignmentReviewSettings.primaryReviewers, serializeSubjectSet); + writer.writeObjectValue("schedule", accessPackageAssignmentReviewSettings.schedule, serializeEntitlementManagementSchedule); writer.writeAdditionalData(accessPackageAssignmentReviewSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentWorkflowExtension.ts b/src/models/accessPackageAssignmentWorkflowExtension.ts index 077779475d3..ed8af17134e 100644 --- a/src/models/accessPackageAssignmentWorkflowExtension.ts +++ b/src/models/accessPackageAssignmentWorkflowExtension.ts @@ -43,7 +43,7 @@ export function deserializeIntoAccessPackageAssignmentWorkflowExtension(accessPa } export function serializeAccessPackageAssignmentWorkflowExtension(writer: SerializationWriter, accessPackageAssignmentWorkflowExtension: AccessPackageAssignmentWorkflowExtension | undefined = {} as AccessPackageAssignmentWorkflowExtension) : void { serializeCustomCalloutExtension(writer, accessPackageAssignmentWorkflowExtension) - writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentWorkflowExtension.callbackConfiguration, ); + writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentWorkflowExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration); writer.writeStringValue("createdBy", accessPackageAssignmentWorkflowExtension.createdBy); writer.writeDateValue("createdDateTime", accessPackageAssignmentWorkflowExtension.createdDateTime); writer.writeStringValue("lastModifiedBy", accessPackageAssignmentWorkflowExtension.lastModifiedBy); diff --git a/src/models/accessPackageCatalog.ts b/src/models/accessPackageCatalog.ts index b32fa5e2176..f6908e8c06e 100644 --- a/src/models/accessPackageCatalog.ts +++ b/src/models/accessPackageCatalog.ts @@ -84,17 +84,17 @@ export function deserializeIntoAccessPackageCatalog(accessPackageCatalog: Access } export function serializeAccessPackageCatalog(writer: SerializationWriter, accessPackageCatalog: AccessPackageCatalog | undefined = {} as AccessPackageCatalog) : void { serializeEntity(writer, accessPackageCatalog) - writer.writeCollectionOfObjectValues("accessPackages", accessPackageCatalog.accessPackages, ); + writer.writeCollectionOfObjectValues("accessPackages", accessPackageCatalog.accessPackages, serializeAccessPackage); writer.writeEnumValue("catalogType", accessPackageCatalog.catalogType); writer.writeDateValue("createdDateTime", accessPackageCatalog.createdDateTime); - writer.writeCollectionOfObjectValues("customWorkflowExtensions", accessPackageCatalog.customWorkflowExtensions, ); + writer.writeCollectionOfObjectValues("customWorkflowExtensions", accessPackageCatalog.customWorkflowExtensions, serializeCustomCalloutExtension); writer.writeStringValue("description", accessPackageCatalog.description); writer.writeStringValue("displayName", accessPackageCatalog.displayName); writer.writeBooleanValue("isExternallyVisible", accessPackageCatalog.isExternallyVisible); writer.writeDateValue("modifiedDateTime", accessPackageCatalog.modifiedDateTime); - writer.writeCollectionOfObjectValues("resourceRoles", accessPackageCatalog.resourceRoles, ); - writer.writeCollectionOfObjectValues("resources", accessPackageCatalog.resources, ); - writer.writeCollectionOfObjectValues("resourceScopes", accessPackageCatalog.resourceScopes, ); + writer.writeCollectionOfObjectValues("resourceRoles", accessPackageCatalog.resourceRoles, serializeAccessPackageResourceRole); + writer.writeCollectionOfObjectValues("resources", accessPackageCatalog.resources, serializeAccessPackageResource); + writer.writeCollectionOfObjectValues("resourceScopes", accessPackageCatalog.resourceScopes, serializeAccessPackageResourceScope); writer.writeEnumValue("state", accessPackageCatalog.state); } // tslint:enable diff --git a/src/models/accessPackageCatalogCollectionResponse.ts b/src/models/accessPackageCatalogCollectionResponse.ts index 6cd5e95c242..c8da917d526 100644 --- a/src/models/accessPackageCatalogCollectionResponse.ts +++ b/src/models/accessPackageCatalogCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageCatalogCollectionResponse(accessPack } export function serializeAccessPackageCatalogCollectionResponse(writer: SerializationWriter, accessPackageCatalogCollectionResponse: AccessPackageCatalogCollectionResponse | undefined = {} as AccessPackageCatalogCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageCatalogCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageCatalogCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageCatalogCollectionResponse.value, serializeAccessPackageCatalog); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageCollectionResponse.ts b/src/models/accessPackageCollectionResponse.ts index e38dfae3bbc..4a0b3a43f7f 100644 --- a/src/models/accessPackageCollectionResponse.ts +++ b/src/models/accessPackageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageCollectionResponse(accessPackageColl } export function serializeAccessPackageCollectionResponse(writer: SerializationWriter, accessPackageCollectionResponse: AccessPackageCollectionResponse | undefined = {} as AccessPackageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageCollectionResponse.value, serializeAccessPackage); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageMultipleChoiceQuestion.ts b/src/models/accessPackageMultipleChoiceQuestion.ts index 02649fbda11..1adc6babfe2 100644 --- a/src/models/accessPackageMultipleChoiceQuestion.ts +++ b/src/models/accessPackageMultipleChoiceQuestion.ts @@ -28,7 +28,7 @@ export function deserializeIntoAccessPackageMultipleChoiceQuestion(accessPackage } export function serializeAccessPackageMultipleChoiceQuestion(writer: SerializationWriter, accessPackageMultipleChoiceQuestion: AccessPackageMultipleChoiceQuestion | undefined = {} as AccessPackageMultipleChoiceQuestion) : void { serializeAccessPackageQuestion(writer, accessPackageMultipleChoiceQuestion) - writer.writeCollectionOfObjectValues("choices", accessPackageMultipleChoiceQuestion.choices, ); + writer.writeCollectionOfObjectValues("choices", accessPackageMultipleChoiceQuestion.choices, serializeAccessPackageAnswerChoice); writer.writeBooleanValue("isMultipleSelectionAllowed", accessPackageMultipleChoiceQuestion.isMultipleSelectionAllowed); } // tslint:enable diff --git a/src/models/accessPackageQuestion.ts b/src/models/accessPackageQuestion.ts index 1e21d83f74c..72ad82eabcf 100644 --- a/src/models/accessPackageQuestion.ts +++ b/src/models/accessPackageQuestion.ts @@ -60,7 +60,7 @@ export function serializeAccessPackageQuestion(writer: SerializationWriter, acce serializeEntity(writer, accessPackageQuestion) writer.writeBooleanValue("isAnswerEditable", accessPackageQuestion.isAnswerEditable); writer.writeBooleanValue("isRequired", accessPackageQuestion.isRequired); - writer.writeCollectionOfObjectValues("localizations", accessPackageQuestion.localizations, ); + writer.writeCollectionOfObjectValues("localizations", accessPackageQuestion.localizations, serializeAccessPackageLocalizedText); writer.writeNumberValue("sequence", accessPackageQuestion.sequence); writer.writeStringValue("text", accessPackageQuestion.text); } diff --git a/src/models/accessPackageQuestionCollectionResponse.ts b/src/models/accessPackageQuestionCollectionResponse.ts index f121059ed74..c2226ff2e48 100644 --- a/src/models/accessPackageQuestionCollectionResponse.ts +++ b/src/models/accessPackageQuestionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageQuestionCollectionResponse(accessPac } export function serializeAccessPackageQuestionCollectionResponse(writer: SerializationWriter, accessPackageQuestionCollectionResponse: AccessPackageQuestionCollectionResponse | undefined = {} as AccessPackageQuestionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageQuestionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageQuestionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageQuestionCollectionResponse.value, serializeAccessPackageQuestion); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResource.ts b/src/models/accessPackageResource.ts index baf8fce2cef..16cf41d5208 100644 --- a/src/models/accessPackageResource.ts +++ b/src/models/accessPackageResource.ts @@ -68,12 +68,12 @@ export function serializeAccessPackageResource(writer: SerializationWriter, acce writer.writeDateValue("createdDateTime", accessPackageResource.createdDateTime); writer.writeStringValue("description", accessPackageResource.description); writer.writeStringValue("displayName", accessPackageResource.displayName); - writer.writeObjectValue("environment", accessPackageResource.environment, ); + writer.writeObjectValue("environment", accessPackageResource.environment, serializeAccessPackageResourceEnvironment); writer.writeDateValue("modifiedDateTime", accessPackageResource.modifiedDateTime); writer.writeStringValue("originId", accessPackageResource.originId); writer.writeStringValue("originSystem", accessPackageResource.originSystem); - writer.writeCollectionOfObjectValues("roles", accessPackageResource.roles, ); - writer.writeCollectionOfObjectValues("scopes", accessPackageResource.scopes, ); + writer.writeCollectionOfObjectValues("roles", accessPackageResource.roles, serializeAccessPackageResourceRole); + writer.writeCollectionOfObjectValues("scopes", accessPackageResource.scopes, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceCollectionResponse.ts b/src/models/accessPackageResourceCollectionResponse.ts index c3dbab01533..69e596eb11a 100644 --- a/src/models/accessPackageResourceCollectionResponse.ts +++ b/src/models/accessPackageResourceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceCollectionResponse(accessPac } export function serializeAccessPackageResourceCollectionResponse(writer: SerializationWriter, accessPackageResourceCollectionResponse: AccessPackageResourceCollectionResponse | undefined = {} as AccessPackageResourceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceCollectionResponse.value, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceEnvironment.ts b/src/models/accessPackageResourceEnvironment.ts index 0366d6e7ca9..73243aa9b76 100644 --- a/src/models/accessPackageResourceEnvironment.ts +++ b/src/models/accessPackageResourceEnvironment.ts @@ -65,7 +65,7 @@ export function serializeAccessPackageResourceEnvironment(writer: SerializationW writer.writeDateValue("modifiedDateTime", accessPackageResourceEnvironment.modifiedDateTime); writer.writeStringValue("originId", accessPackageResourceEnvironment.originId); writer.writeStringValue("originSystem", accessPackageResourceEnvironment.originSystem); - writer.writeCollectionOfObjectValues("resources", accessPackageResourceEnvironment.resources, ); + writer.writeCollectionOfObjectValues("resources", accessPackageResourceEnvironment.resources, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceEnvironmentCollectionResponse.ts b/src/models/accessPackageResourceEnvironmentCollectionResponse.ts index 1856a043e0d..a9e17edc4ca 100644 --- a/src/models/accessPackageResourceEnvironmentCollectionResponse.ts +++ b/src/models/accessPackageResourceEnvironmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceEnvironmentCollectionRespons } export function serializeAccessPackageResourceEnvironmentCollectionResponse(writer: SerializationWriter, accessPackageResourceEnvironmentCollectionResponse: AccessPackageResourceEnvironmentCollectionResponse | undefined = {} as AccessPackageResourceEnvironmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceEnvironmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceEnvironmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceEnvironmentCollectionResponse.value, serializeAccessPackageResourceEnvironment); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRequest.ts b/src/models/accessPackageResourceRequest.ts index 11f5c771aa4..257d8d14007 100644 --- a/src/models/accessPackageResourceRequest.ts +++ b/src/models/accessPackageResourceRequest.ts @@ -46,10 +46,10 @@ export function deserializeIntoAccessPackageResourceRequest(accessPackageResourc } export function serializeAccessPackageResourceRequest(writer: SerializationWriter, accessPackageResourceRequest: AccessPackageResourceRequest | undefined = {} as AccessPackageResourceRequest) : void { serializeEntity(writer, accessPackageResourceRequest) - writer.writeObjectValue("catalog", accessPackageResourceRequest.catalog, ); + writer.writeObjectValue("catalog", accessPackageResourceRequest.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackageResourceRequest.createdDateTime); writer.writeEnumValue("requestType", accessPackageResourceRequest.requestType); - writer.writeObjectValue("resource", accessPackageResourceRequest.resource, ); + writer.writeObjectValue("resource", accessPackageResourceRequest.resource, serializeAccessPackageResource); writer.writeEnumValue("state", accessPackageResourceRequest.state); } // tslint:enable diff --git a/src/models/accessPackageResourceRequestCollectionResponse.ts b/src/models/accessPackageResourceRequestCollectionResponse.ts index 6e85c9b1c0b..65da70526a5 100644 --- a/src/models/accessPackageResourceRequestCollectionResponse.ts +++ b/src/models/accessPackageResourceRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRequestCollectionResponse(ac } export function serializeAccessPackageResourceRequestCollectionResponse(writer: SerializationWriter, accessPackageResourceRequestCollectionResponse: AccessPackageResourceRequestCollectionResponse | undefined = {} as AccessPackageResourceRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRequestCollectionResponse.value, serializeAccessPackageResourceRequest); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRole.ts b/src/models/accessPackageResourceRole.ts index b4b45c082d1..618c409bae0 100644 --- a/src/models/accessPackageResourceRole.ts +++ b/src/models/accessPackageResourceRole.ts @@ -47,7 +47,7 @@ export function serializeAccessPackageResourceRole(writer: SerializationWriter, writer.writeStringValue("displayName", accessPackageResourceRole.displayName); writer.writeStringValue("originId", accessPackageResourceRole.originId); writer.writeStringValue("originSystem", accessPackageResourceRole.originSystem); - writer.writeObjectValue("resource", accessPackageResourceRole.resource, ); + writer.writeObjectValue("resource", accessPackageResourceRole.resource, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleCollectionResponse.ts b/src/models/accessPackageResourceRoleCollectionResponse.ts index b72890ff13c..6b7b4e0bd20 100644 --- a/src/models/accessPackageResourceRoleCollectionResponse.ts +++ b/src/models/accessPackageResourceRoleCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRoleCollectionResponse(acces } export function serializeAccessPackageResourceRoleCollectionResponse(writer: SerializationWriter, accessPackageResourceRoleCollectionResponse: AccessPackageResourceRoleCollectionResponse | undefined = {} as AccessPackageResourceRoleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRoleCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleCollectionResponse.value, serializeAccessPackageResourceRole); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleScope.ts b/src/models/accessPackageResourceRoleScope.ts index 1c18fc477c1..30a174c0ea8 100644 --- a/src/models/accessPackageResourceRoleScope.ts +++ b/src/models/accessPackageResourceRoleScope.ts @@ -35,8 +35,8 @@ export function deserializeIntoAccessPackageResourceRoleScope(accessPackageResou export function serializeAccessPackageResourceRoleScope(writer: SerializationWriter, accessPackageResourceRoleScope: AccessPackageResourceRoleScope | undefined = {} as AccessPackageResourceRoleScope) : void { serializeEntity(writer, accessPackageResourceRoleScope) writer.writeDateValue("createdDateTime", accessPackageResourceRoleScope.createdDateTime); - writer.writeObjectValue("role", accessPackageResourceRoleScope.role, ); - writer.writeObjectValue("scope", accessPackageResourceRoleScope.scope, ); + writer.writeObjectValue("role", accessPackageResourceRoleScope.role, serializeAccessPackageResourceRole); + writer.writeObjectValue("scope", accessPackageResourceRoleScope.scope, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleScopeCollectionResponse.ts b/src/models/accessPackageResourceRoleScopeCollectionResponse.ts index 9f0b40788f7..0280a363a2a 100644 --- a/src/models/accessPackageResourceRoleScopeCollectionResponse.ts +++ b/src/models/accessPackageResourceRoleScopeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRoleScopeCollectionResponse( } export function serializeAccessPackageResourceRoleScopeCollectionResponse(writer: SerializationWriter, accessPackageResourceRoleScopeCollectionResponse: AccessPackageResourceRoleScopeCollectionResponse | undefined = {} as AccessPackageResourceRoleScopeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRoleScopeCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleScopeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleScopeCollectionResponse.value, serializeAccessPackageResourceRoleScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceScope.ts b/src/models/accessPackageResourceScope.ts index d8dd9b099c3..737fe922ade 100644 --- a/src/models/accessPackageResourceScope.ts +++ b/src/models/accessPackageResourceScope.ts @@ -53,7 +53,7 @@ export function serializeAccessPackageResourceScope(writer: SerializationWriter, writer.writeBooleanValue("isRootScope", accessPackageResourceScope.isRootScope); writer.writeStringValue("originId", accessPackageResourceScope.originId); writer.writeStringValue("originSystem", accessPackageResourceScope.originSystem); - writer.writeObjectValue("resource", accessPackageResourceScope.resource, ); + writer.writeObjectValue("resource", accessPackageResourceScope.resource, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceScopeCollectionResponse.ts b/src/models/accessPackageResourceScopeCollectionResponse.ts index f2ce46a2cad..396e4e667e3 100644 --- a/src/models/accessPackageResourceScopeCollectionResponse.ts +++ b/src/models/accessPackageResourceScopeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceScopeCollectionResponse(acce } export function serializeAccessPackageResourceScopeCollectionResponse(writer: SerializationWriter, accessPackageResourceScopeCollectionResponse: AccessPackageResourceScopeCollectionResponse | undefined = {} as AccessPackageResourceScopeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceScopeCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceScopeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceScopeCollectionResponse.value, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageSubject.ts b/src/models/accessPackageSubject.ts index d7926bd8b39..a372759fc9b 100644 --- a/src/models/accessPackageSubject.ts +++ b/src/models/accessPackageSubject.ts @@ -54,7 +54,7 @@ export function deserializeIntoAccessPackageSubject(accessPackageSubject: Access } export function serializeAccessPackageSubject(writer: SerializationWriter, accessPackageSubject: AccessPackageSubject | undefined = {} as AccessPackageSubject) : void { serializeEntity(writer, accessPackageSubject) - writer.writeObjectValue("connectedOrganization", accessPackageSubject.connectedOrganization, ); + writer.writeObjectValue("connectedOrganization", accessPackageSubject.connectedOrganization, serializeConnectedOrganization); writer.writeStringValue("displayName", accessPackageSubject.displayName); writer.writeStringValue("email", accessPackageSubject.email); writer.writeStringValue("objectId", accessPackageSubject.objectId); diff --git a/src/models/accessReviewHistoryDefinition.ts b/src/models/accessReviewHistoryDefinition.ts index 794966e5a6b..0f28c98290c 100644 --- a/src/models/accessReviewHistoryDefinition.ts +++ b/src/models/accessReviewHistoryDefinition.ts @@ -73,16 +73,16 @@ export function deserializeIntoAccessReviewHistoryDefinition(accessReviewHistory } export function serializeAccessReviewHistoryDefinition(writer: SerializationWriter, accessReviewHistoryDefinition: AccessReviewHistoryDefinition | undefined = {} as AccessReviewHistoryDefinition) : void { serializeEntity(writer, accessReviewHistoryDefinition) - writer.writeObjectValue("createdBy", accessReviewHistoryDefinition.createdBy, ); + writer.writeObjectValue("createdBy", accessReviewHistoryDefinition.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", accessReviewHistoryDefinition.createdDateTime); if(accessReviewHistoryDefinition.decisions) writer.writeEnumValue("decisions", ...accessReviewHistoryDefinition.decisions); writer.writeStringValue("displayName", accessReviewHistoryDefinition.displayName); - writer.writeCollectionOfObjectValues("instances", accessReviewHistoryDefinition.instances, ); + writer.writeCollectionOfObjectValues("instances", accessReviewHistoryDefinition.instances, serializeAccessReviewHistoryInstance); writer.writeDateValue("reviewHistoryPeriodEndDateTime", accessReviewHistoryDefinition.reviewHistoryPeriodEndDateTime); writer.writeDateValue("reviewHistoryPeriodStartDateTime", accessReviewHistoryDefinition.reviewHistoryPeriodStartDateTime); - writer.writeObjectValue("scheduleSettings", accessReviewHistoryDefinition.scheduleSettings, ); - writer.writeCollectionOfObjectValues("scopes", accessReviewHistoryDefinition.scopes, ); + writer.writeObjectValue("scheduleSettings", accessReviewHistoryDefinition.scheduleSettings, serializeAccessReviewHistoryScheduleSettings); + writer.writeCollectionOfObjectValues("scopes", accessReviewHistoryDefinition.scopes, serializeAccessReviewScope); writer.writeEnumValue("status", accessReviewHistoryDefinition.status); } // tslint:enable diff --git a/src/models/accessReviewHistoryDefinitionCollectionResponse.ts b/src/models/accessReviewHistoryDefinitionCollectionResponse.ts index 5ce54a30e77..da50a08464d 100644 --- a/src/models/accessReviewHistoryDefinitionCollectionResponse.ts +++ b/src/models/accessReviewHistoryDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewHistoryDefinitionCollectionResponse(a } export function serializeAccessReviewHistoryDefinitionCollectionResponse(writer: SerializationWriter, accessReviewHistoryDefinitionCollectionResponse: AccessReviewHistoryDefinitionCollectionResponse | undefined = {} as AccessReviewHistoryDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewHistoryDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewHistoryDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewHistoryDefinitionCollectionResponse.value, serializeAccessReviewHistoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewHistoryInstanceCollectionResponse.ts b/src/models/accessReviewHistoryInstanceCollectionResponse.ts index e645794df1e..9483d331be9 100644 --- a/src/models/accessReviewHistoryInstanceCollectionResponse.ts +++ b/src/models/accessReviewHistoryInstanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewHistoryInstanceCollectionResponse(acc } export function serializeAccessReviewHistoryInstanceCollectionResponse(writer: SerializationWriter, accessReviewHistoryInstanceCollectionResponse: AccessReviewHistoryInstanceCollectionResponse | undefined = {} as AccessReviewHistoryInstanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewHistoryInstanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewHistoryInstanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewHistoryInstanceCollectionResponse.value, serializeAccessReviewHistoryInstance); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewHistoryScheduleSettings.ts b/src/models/accessReviewHistoryScheduleSettings.ts index 1584ed5f39f..366761f08bb 100644 --- a/src/models/accessReviewHistoryScheduleSettings.ts +++ b/src/models/accessReviewHistoryScheduleSettings.ts @@ -35,7 +35,7 @@ export function deserializeIntoAccessReviewHistoryScheduleSettings(accessReviewH } export function serializeAccessReviewHistoryScheduleSettings(writer: SerializationWriter, accessReviewHistoryScheduleSettings: AccessReviewHistoryScheduleSettings | undefined = {} as AccessReviewHistoryScheduleSettings) : void { writer.writeStringValue("@odata.type", accessReviewHistoryScheduleSettings.odataType); - writer.writeObjectValue("recurrence", accessReviewHistoryScheduleSettings.recurrence, ); + writer.writeObjectValue("recurrence", accessReviewHistoryScheduleSettings.recurrence, serializePatternedRecurrence); writer.writeStringValue("reportRange", accessReviewHistoryScheduleSettings.reportRange); writer.writeAdditionalData(accessReviewHistoryScheduleSettings.additionalData); } diff --git a/src/models/accessReviewInstance.ts b/src/models/accessReviewInstance.ts index 927446a3661..df4050c1a19 100644 --- a/src/models/accessReviewInstance.ts +++ b/src/models/accessReviewInstance.ts @@ -67,13 +67,13 @@ export function deserializeIntoAccessReviewInstance(accessReviewInstance: Access } export function serializeAccessReviewInstance(writer: SerializationWriter, accessReviewInstance: AccessReviewInstance | undefined = {} as AccessReviewInstance) : void { serializeEntity(writer, accessReviewInstance) - writer.writeCollectionOfObjectValues("contactedReviewers", accessReviewInstance.contactedReviewers, ); - writer.writeCollectionOfObjectValues("decisions", accessReviewInstance.decisions, ); + writer.writeCollectionOfObjectValues("contactedReviewers", accessReviewInstance.contactedReviewers, serializeAccessReviewReviewer); + writer.writeCollectionOfObjectValues("decisions", accessReviewInstance.decisions, serializeAccessReviewInstanceDecisionItem); writer.writeDateValue("endDateTime", accessReviewInstance.endDateTime); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewInstance.fallbackReviewers, ); - writer.writeCollectionOfObjectValues("reviewers", accessReviewInstance.reviewers, ); - writer.writeObjectValue("scope", accessReviewInstance.scope, ); - writer.writeCollectionOfObjectValues("stages", accessReviewInstance.stages, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewInstance.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeCollectionOfObjectValues("reviewers", accessReviewInstance.reviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("scope", accessReviewInstance.scope, serializeAccessReviewScope); + writer.writeCollectionOfObjectValues("stages", accessReviewInstance.stages, serializeAccessReviewStage); writer.writeDateValue("startDateTime", accessReviewInstance.startDateTime); writer.writeStringValue("status", accessReviewInstance.status); } diff --git a/src/models/accessReviewInstanceCollectionResponse.ts b/src/models/accessReviewInstanceCollectionResponse.ts index 37e907a7583..60c8fc4dd0f 100644 --- a/src/models/accessReviewInstanceCollectionResponse.ts +++ b/src/models/accessReviewInstanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewInstanceCollectionResponse(accessRevi } export function serializeAccessReviewInstanceCollectionResponse(writer: SerializationWriter, accessReviewInstanceCollectionResponse: AccessReviewInstanceCollectionResponse | undefined = {} as AccessReviewInstanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewInstanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewInstanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewInstanceCollectionResponse.value, serializeAccessReviewInstance); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewInstanceDecisionItem.ts b/src/models/accessReviewInstanceDecisionItem.ts index 484e3072c57..650174023bf 100644 --- a/src/models/accessReviewInstanceDecisionItem.ts +++ b/src/models/accessReviewInstanceDecisionItem.ts @@ -92,18 +92,18 @@ export function deserializeIntoAccessReviewInstanceDecisionItem(accessReviewInst export function serializeAccessReviewInstanceDecisionItem(writer: SerializationWriter, accessReviewInstanceDecisionItem: AccessReviewInstanceDecisionItem | undefined = {} as AccessReviewInstanceDecisionItem) : void { serializeEntity(writer, accessReviewInstanceDecisionItem) writer.writeStringValue("accessReviewId", accessReviewInstanceDecisionItem.accessReviewId); - writer.writeObjectValue("appliedBy", accessReviewInstanceDecisionItem.appliedBy, ); + writer.writeObjectValue("appliedBy", accessReviewInstanceDecisionItem.appliedBy, serializeUserIdentity); writer.writeDateValue("appliedDateTime", accessReviewInstanceDecisionItem.appliedDateTime); writer.writeStringValue("applyResult", accessReviewInstanceDecisionItem.applyResult); writer.writeStringValue("decision", accessReviewInstanceDecisionItem.decision); - writer.writeCollectionOfObjectValues("insights", accessReviewInstanceDecisionItem.insights, ); + writer.writeCollectionOfObjectValues("insights", accessReviewInstanceDecisionItem.insights, serializeGovernanceInsight); writer.writeStringValue("justification", accessReviewInstanceDecisionItem.justification); - writer.writeObjectValue("principal", accessReviewInstanceDecisionItem.principal, ); + writer.writeObjectValue("principal", accessReviewInstanceDecisionItem.principal, serializeIdentity); writer.writeStringValue("principalLink", accessReviewInstanceDecisionItem.principalLink); writer.writeStringValue("recommendation", accessReviewInstanceDecisionItem.recommendation); - writer.writeObjectValue("resource", accessReviewInstanceDecisionItem.resource, ); + writer.writeObjectValue("resource", accessReviewInstanceDecisionItem.resource, serializeAccessReviewInstanceDecisionItemResource); writer.writeStringValue("resourceLink", accessReviewInstanceDecisionItem.resourceLink); - writer.writeObjectValue("reviewedBy", accessReviewInstanceDecisionItem.reviewedBy, ); + writer.writeObjectValue("reviewedBy", accessReviewInstanceDecisionItem.reviewedBy, serializeUserIdentity); writer.writeDateValue("reviewedDateTime", accessReviewInstanceDecisionItem.reviewedDateTime); } // tslint:enable diff --git a/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts b/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts index 5176c4a1100..af231eb2d73 100644 --- a/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts +++ b/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts @@ -22,7 +22,7 @@ export function deserializeIntoAccessReviewInstanceDecisionItemAzureRoleResource } export function serializeAccessReviewInstanceDecisionItemAzureRoleResource(writer: SerializationWriter, accessReviewInstanceDecisionItemAzureRoleResource: AccessReviewInstanceDecisionItemAzureRoleResource | undefined = {} as AccessReviewInstanceDecisionItemAzureRoleResource) : void { serializeAccessReviewInstanceDecisionItemResource(writer, accessReviewInstanceDecisionItemAzureRoleResource) - writer.writeObjectValue("scope", accessReviewInstanceDecisionItemAzureRoleResource.scope, ); + writer.writeObjectValue("scope", accessReviewInstanceDecisionItemAzureRoleResource.scope, serializeAccessReviewInstanceDecisionItemResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts b/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts index 35baea76a27..0f2560d93b0 100644 --- a/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts +++ b/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewInstanceDecisionItemCollectionRespons } export function serializeAccessReviewInstanceDecisionItemCollectionResponse(writer: SerializationWriter, accessReviewInstanceDecisionItemCollectionResponse: AccessReviewInstanceDecisionItemCollectionResponse | undefined = {} as AccessReviewInstanceDecisionItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewInstanceDecisionItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewInstanceDecisionItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewInstanceDecisionItemCollectionResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewNotificationRecipientItem.ts b/src/models/accessReviewNotificationRecipientItem.ts index b907c443f37..bcb99fcee4f 100644 --- a/src/models/accessReviewNotificationRecipientItem.ts +++ b/src/models/accessReviewNotificationRecipientItem.ts @@ -34,7 +34,7 @@ export function deserializeIntoAccessReviewNotificationRecipientItem(accessRevie } } export function serializeAccessReviewNotificationRecipientItem(writer: SerializationWriter, accessReviewNotificationRecipientItem: AccessReviewNotificationRecipientItem | undefined = {} as AccessReviewNotificationRecipientItem) : void { - writer.writeObjectValue("notificationRecipientScope", accessReviewNotificationRecipientItem.notificationRecipientScope, ); + writer.writeObjectValue("notificationRecipientScope", accessReviewNotificationRecipientItem.notificationRecipientScope, serializeAccessReviewNotificationRecipientScope); writer.writeStringValue("notificationTemplateType", accessReviewNotificationRecipientItem.notificationTemplateType); writer.writeStringValue("@odata.type", accessReviewNotificationRecipientItem.odataType); writer.writeAdditionalData(accessReviewNotificationRecipientItem.additionalData); diff --git a/src/models/accessReviewReviewerCollectionResponse.ts b/src/models/accessReviewReviewerCollectionResponse.ts index 314d9933649..cbd0307221e 100644 --- a/src/models/accessReviewReviewerCollectionResponse.ts +++ b/src/models/accessReviewReviewerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewReviewerCollectionResponse(accessRevi } export function serializeAccessReviewReviewerCollectionResponse(writer: SerializationWriter, accessReviewReviewerCollectionResponse: AccessReviewReviewerCollectionResponse | undefined = {} as AccessReviewReviewerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewReviewerCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewReviewerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewReviewerCollectionResponse.value, serializeAccessReviewReviewer); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewScheduleDefinition.ts b/src/models/accessReviewScheduleDefinition.ts index 6a961d968ed..9231c80559d 100644 --- a/src/models/accessReviewScheduleDefinition.ts +++ b/src/models/accessReviewScheduleDefinition.ts @@ -99,20 +99,20 @@ export function deserializeIntoAccessReviewScheduleDefinition(accessReviewSchedu } export function serializeAccessReviewScheduleDefinition(writer: SerializationWriter, accessReviewScheduleDefinition: AccessReviewScheduleDefinition | undefined = {} as AccessReviewScheduleDefinition) : void { serializeEntity(writer, accessReviewScheduleDefinition) - writer.writeCollectionOfObjectValues("additionalNotificationRecipients", accessReviewScheduleDefinition.additionalNotificationRecipients, ); - writer.writeObjectValue("createdBy", accessReviewScheduleDefinition.createdBy, ); + writer.writeCollectionOfObjectValues("additionalNotificationRecipients", accessReviewScheduleDefinition.additionalNotificationRecipients, serializeAccessReviewNotificationRecipientItem); + writer.writeObjectValue("createdBy", accessReviewScheduleDefinition.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", accessReviewScheduleDefinition.createdDateTime); writer.writeStringValue("descriptionForAdmins", accessReviewScheduleDefinition.descriptionForAdmins); writer.writeStringValue("descriptionForReviewers", accessReviewScheduleDefinition.descriptionForReviewers); writer.writeStringValue("displayName", accessReviewScheduleDefinition.displayName); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewScheduleDefinition.fallbackReviewers, ); - writer.writeObjectValue("instanceEnumerationScope", accessReviewScheduleDefinition.instanceEnumerationScope, ); - writer.writeCollectionOfObjectValues("instances", accessReviewScheduleDefinition.instances, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewScheduleDefinition.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("instanceEnumerationScope", accessReviewScheduleDefinition.instanceEnumerationScope, serializeAccessReviewScope); + writer.writeCollectionOfObjectValues("instances", accessReviewScheduleDefinition.instances, serializeAccessReviewInstance); writer.writeDateValue("lastModifiedDateTime", accessReviewScheduleDefinition.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("reviewers", accessReviewScheduleDefinition.reviewers, ); - writer.writeObjectValue("scope", accessReviewScheduleDefinition.scope, ); - writer.writeObjectValue("settings", accessReviewScheduleDefinition.settings, ); - writer.writeCollectionOfObjectValues("stageSettings", accessReviewScheduleDefinition.stageSettings, ); + writer.writeCollectionOfObjectValues("reviewers", accessReviewScheduleDefinition.reviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("scope", accessReviewScheduleDefinition.scope, serializeAccessReviewScope); + writer.writeObjectValue("settings", accessReviewScheduleDefinition.settings, serializeAccessReviewScheduleSettings); + writer.writeCollectionOfObjectValues("stageSettings", accessReviewScheduleDefinition.stageSettings, serializeAccessReviewStageSettings); writer.writeStringValue("status", accessReviewScheduleDefinition.status); } // tslint:enable diff --git a/src/models/accessReviewScheduleDefinitionCollectionResponse.ts b/src/models/accessReviewScheduleDefinitionCollectionResponse.ts index eddec5273f9..aaa2061466a 100644 --- a/src/models/accessReviewScheduleDefinitionCollectionResponse.ts +++ b/src/models/accessReviewScheduleDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewScheduleDefinitionCollectionResponse( } export function serializeAccessReviewScheduleDefinitionCollectionResponse(writer: SerializationWriter, accessReviewScheduleDefinitionCollectionResponse: AccessReviewScheduleDefinitionCollectionResponse | undefined = {} as AccessReviewScheduleDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewScheduleDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewScheduleDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewScheduleDefinitionCollectionResponse.value, serializeAccessReviewScheduleDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewScheduleSettings.ts b/src/models/accessReviewScheduleSettings.ts index a68c241540f..7e433d87a4b 100644 --- a/src/models/accessReviewScheduleSettings.ts +++ b/src/models/accessReviewScheduleSettings.ts @@ -91,7 +91,7 @@ export function deserializeIntoAccessReviewScheduleSettings(accessReviewSchedule } } export function serializeAccessReviewScheduleSettings(writer: SerializationWriter, accessReviewScheduleSettings: AccessReviewScheduleSettings | undefined = {} as AccessReviewScheduleSettings) : void { - writer.writeCollectionOfObjectValues("applyActions", accessReviewScheduleSettings.applyActions, ); + writer.writeCollectionOfObjectValues("applyActions", accessReviewScheduleSettings.applyActions, serializeAccessReviewApplyAction); writer.writeBooleanValue("autoApplyDecisionsEnabled", accessReviewScheduleSettings.autoApplyDecisionsEnabled); writer.writeBooleanValue("decisionHistoriesForReviewersEnabled", accessReviewScheduleSettings.decisionHistoriesForReviewersEnabled); writer.writeStringValue("defaultDecision", accessReviewScheduleSettings.defaultDecision); @@ -100,10 +100,10 @@ export function serializeAccessReviewScheduleSettings(writer: SerializationWrite writer.writeBooleanValue("justificationRequiredOnApproval", accessReviewScheduleSettings.justificationRequiredOnApproval); writer.writeBooleanValue("mailNotificationsEnabled", accessReviewScheduleSettings.mailNotificationsEnabled); writer.writeStringValue("@odata.type", accessReviewScheduleSettings.odataType); - writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewScheduleSettings.recommendationInsightSettings, ); + writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewScheduleSettings.recommendationInsightSettings, serializeAccessReviewRecommendationInsightSetting); writer.writeDurationValue("recommendationLookBackDuration", accessReviewScheduleSettings.recommendationLookBackDuration); writer.writeBooleanValue("recommendationsEnabled", accessReviewScheduleSettings.recommendationsEnabled); - writer.writeObjectValue("recurrence", accessReviewScheduleSettings.recurrence, ); + writer.writeObjectValue("recurrence", accessReviewScheduleSettings.recurrence, serializePatternedRecurrence); writer.writeBooleanValue("reminderNotificationsEnabled", accessReviewScheduleSettings.reminderNotificationsEnabled); writer.writeAdditionalData(accessReviewScheduleSettings.additionalData); } diff --git a/src/models/accessReviewSet.ts b/src/models/accessReviewSet.ts index 074353d513a..513e053b920 100644 --- a/src/models/accessReviewSet.ts +++ b/src/models/accessReviewSet.ts @@ -29,8 +29,8 @@ export function deserializeIntoAccessReviewSet(accessReviewSet: AccessReviewSet } export function serializeAccessReviewSet(writer: SerializationWriter, accessReviewSet: AccessReviewSet | undefined = {} as AccessReviewSet) : void { serializeEntity(writer, accessReviewSet) - writer.writeCollectionOfObjectValues("definitions", accessReviewSet.definitions, ); - writer.writeCollectionOfObjectValues("historyDefinitions", accessReviewSet.historyDefinitions, ); + writer.writeCollectionOfObjectValues("definitions", accessReviewSet.definitions, serializeAccessReviewScheduleDefinition); + writer.writeCollectionOfObjectValues("historyDefinitions", accessReviewSet.historyDefinitions, serializeAccessReviewHistoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewStage.ts b/src/models/accessReviewStage.ts index b9bf42d7daa..0d76b35b28f 100644 --- a/src/models/accessReviewStage.ts +++ b/src/models/accessReviewStage.ts @@ -49,10 +49,10 @@ export function deserializeIntoAccessReviewStage(accessReviewStage: AccessReview } export function serializeAccessReviewStage(writer: SerializationWriter, accessReviewStage: AccessReviewStage | undefined = {} as AccessReviewStage) : void { serializeEntity(writer, accessReviewStage) - writer.writeCollectionOfObjectValues("decisions", accessReviewStage.decisions, ); + writer.writeCollectionOfObjectValues("decisions", accessReviewStage.decisions, serializeAccessReviewInstanceDecisionItem); writer.writeDateValue("endDateTime", accessReviewStage.endDateTime); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStage.fallbackReviewers, ); - writer.writeCollectionOfObjectValues("reviewers", accessReviewStage.reviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStage.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeCollectionOfObjectValues("reviewers", accessReviewStage.reviewers, serializeAccessReviewReviewerScope); writer.writeDateValue("startDateTime", accessReviewStage.startDateTime); writer.writeStringValue("status", accessReviewStage.status); } diff --git a/src/models/accessReviewStageCollectionResponse.ts b/src/models/accessReviewStageCollectionResponse.ts index 09eba0bf860..f199259a6dd 100644 --- a/src/models/accessReviewStageCollectionResponse.ts +++ b/src/models/accessReviewStageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewStageCollectionResponse(accessReviewS } export function serializeAccessReviewStageCollectionResponse(writer: SerializationWriter, accessReviewStageCollectionResponse: AccessReviewStageCollectionResponse | undefined = {} as AccessReviewStageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewStageCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewStageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewStageCollectionResponse.value, serializeAccessReviewStage); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewStageSettings.ts b/src/models/accessReviewStageSettings.ts index 41a17800393..579c34e67eb 100644 --- a/src/models/accessReviewStageSettings.ts +++ b/src/models/accessReviewStageSettings.ts @@ -68,11 +68,11 @@ export function serializeAccessReviewStageSettings(writer: SerializationWriter, writer.writeCollectionOfPrimitiveValues("decisionsThatWillMoveToNextStage", accessReviewStageSettings.decisionsThatWillMoveToNextStage); writer.writeCollectionOfPrimitiveValues("dependsOn", accessReviewStageSettings.dependsOn); writer.writeNumberValue("durationInDays", accessReviewStageSettings.durationInDays); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStageSettings.fallbackReviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStageSettings.fallbackReviewers, serializeAccessReviewReviewerScope); writer.writeStringValue("@odata.type", accessReviewStageSettings.odataType); - writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewStageSettings.recommendationInsightSettings, ); + writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewStageSettings.recommendationInsightSettings, serializeAccessReviewRecommendationInsightSetting); writer.writeBooleanValue("recommendationsEnabled", accessReviewStageSettings.recommendationsEnabled); - writer.writeCollectionOfObjectValues("reviewers", accessReviewStageSettings.reviewers, ); + writer.writeCollectionOfObjectValues("reviewers", accessReviewStageSettings.reviewers, serializeAccessReviewReviewerScope); writer.writeStringValue("stageId", accessReviewStageSettings.stageId); writer.writeAdditionalData(accessReviewStageSettings.additionalData); } diff --git a/src/models/accountTargetContent.ts b/src/models/accountTargetContent.ts index b091c32171b..a58aac16612 100644 --- a/src/models/accountTargetContent.ts +++ b/src/models/accountTargetContent.ts @@ -17,7 +17,7 @@ export interface AccountTargetContent extends AdditionalDataHolder, Parsable { */ odataType?: string; /** - * The type property + * The type of account target content. Possible values are: unknown, includeAll, addressBook, unknownFutureValue. */ type?: AccountTargetContentType; } diff --git a/src/models/actionResultPart.ts b/src/models/actionResultPart.ts index 391c9a572cc..790c7d05362 100644 --- a/src/models/actionResultPart.ts +++ b/src/models/actionResultPart.ts @@ -41,7 +41,7 @@ export function deserializeIntoActionResultPart(actionResultPart: ActionResultPa } } export function serializeActionResultPart(writer: SerializationWriter, actionResultPart: ActionResultPart | undefined = {} as ActionResultPart) : void { - writer.writeObjectValue("error", actionResultPart.errorEscaped, ); + writer.writeObjectValue("error", actionResultPart.errorEscaped, serializePublicError); writer.writeStringValue("@odata.type", actionResultPart.odataType); writer.writeAdditionalData(actionResultPart.additionalData); } diff --git a/src/models/activityBasedTimeoutPolicyCollectionResponse.ts b/src/models/activityBasedTimeoutPolicyCollectionResponse.ts index c9da39a15be..830cafa60c4 100644 --- a/src/models/activityBasedTimeoutPolicyCollectionResponse.ts +++ b/src/models/activityBasedTimeoutPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoActivityBasedTimeoutPolicyCollectionResponse(acti } export function serializeActivityBasedTimeoutPolicyCollectionResponse(writer: SerializationWriter, activityBasedTimeoutPolicyCollectionResponse: ActivityBasedTimeoutPolicyCollectionResponse | undefined = {} as ActivityBasedTimeoutPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, activityBasedTimeoutPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", activityBasedTimeoutPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", activityBasedTimeoutPolicyCollectionResponse.value, serializeActivityBasedTimeoutPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/activityHistoryItem.ts b/src/models/activityHistoryItem.ts index 962051ad335..70ed2429e96 100644 --- a/src/models/activityHistoryItem.ts +++ b/src/models/activityHistoryItem.ts @@ -65,7 +65,7 @@ export function deserializeIntoActivityHistoryItem(activityHistoryItem: Activity export function serializeActivityHistoryItem(writer: SerializationWriter, activityHistoryItem: ActivityHistoryItem | undefined = {} as ActivityHistoryItem) : void { serializeEntity(writer, activityHistoryItem) writer.writeNumberValue("activeDurationSeconds", activityHistoryItem.activeDurationSeconds); - writer.writeObjectValue("activity", activityHistoryItem.activity, ); + writer.writeObjectValue("activity", activityHistoryItem.activity, serializeUserActivity); writer.writeDateValue("createdDateTime", activityHistoryItem.createdDateTime); writer.writeDateValue("expirationDateTime", activityHistoryItem.expirationDateTime); writer.writeDateValue("lastActiveDateTime", activityHistoryItem.lastActiveDateTime); diff --git a/src/models/activityHistoryItemCollectionResponse.ts b/src/models/activityHistoryItemCollectionResponse.ts index 85af50d016a..1e1016fd0b8 100644 --- a/src/models/activityHistoryItemCollectionResponse.ts +++ b/src/models/activityHistoryItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoActivityHistoryItemCollectionResponse(activityHis } export function serializeActivityHistoryItemCollectionResponse(writer: SerializationWriter, activityHistoryItemCollectionResponse: ActivityHistoryItemCollectionResponse | undefined = {} as ActivityHistoryItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, activityHistoryItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", activityHistoryItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", activityHistoryItemCollectionResponse.value, serializeActivityHistoryItem); } // tslint:enable // eslint-enable diff --git a/src/models/addIn.ts b/src/models/addIn.ts index 17846a6471e..e66deb296e6 100644 --- a/src/models/addIn.ts +++ b/src/models/addIn.ts @@ -42,7 +42,7 @@ export function deserializeIntoAddIn(addIn: AddIn | undefined = {} as AddIn) : R export function serializeAddIn(writer: SerializationWriter, addIn: AddIn | undefined = {} as AddIn) : void { writer.writeGuidValue("id", addIn.id); writer.writeStringValue("@odata.type", addIn.odataType); - writer.writeCollectionOfObjectValues("properties", addIn.properties, ); + writer.writeCollectionOfObjectValues("properties", addIn.properties, serializeKeyValue); writer.writeStringValue("type", addIn.type); writer.writeAdditionalData(addIn.additionalData); } diff --git a/src/models/addressBookAccountTargetContent.ts b/src/models/addressBookAccountTargetContent.ts index bffeefcb9f7..81b10dc9977 100644 --- a/src/models/addressBookAccountTargetContent.ts +++ b/src/models/addressBookAccountTargetContent.ts @@ -6,7 +6,7 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AddressBookAccountTargetContent extends AccountTargetContent, Parsable { /** - * The accountTargetEmails property + * List of user emails targeted for an attack simulation training campaign. */ accountTargetEmails?: string[]; } diff --git a/src/models/admin.ts b/src/models/admin.ts index 712e9ece400..512a5781e76 100644 --- a/src/models/admin.ts +++ b/src/models/admin.ts @@ -21,7 +21,7 @@ export interface Admin extends AdditionalDataHolder, Parsable { */ odataType?: string; /** - * The people property + * Represents a setting to control people-related admin settings in the tenant. */ people?: PeopleAdminSettings; /** @@ -47,11 +47,11 @@ export function deserializeIntoAdmin(admin: Admin | undefined = {} as Admin) : R } } export function serializeAdmin(writer: SerializationWriter, admin: Admin | undefined = {} as Admin) : void { - writer.writeObjectValue("edge", admin.edge, ); + writer.writeObjectValue("edge", admin.edge, serializeEdge); writer.writeStringValue("@odata.type", admin.odataType); - writer.writeObjectValue("people", admin.people, ); - writer.writeObjectValue("serviceAnnouncement", admin.serviceAnnouncement, ); - writer.writeObjectValue("sharepoint", admin.sharepoint, ); + writer.writeObjectValue("people", admin.people, serializePeopleAdminSettings); + writer.writeObjectValue("serviceAnnouncement", admin.serviceAnnouncement, serializeServiceAnnouncement); + writer.writeObjectValue("sharepoint", admin.sharepoint, serializeSharepoint); writer.writeAdditionalData(admin.additionalData); } // tslint:enable diff --git a/src/models/adminConsentRequestPolicy.ts b/src/models/adminConsentRequestPolicy.ts index 218ec5d03ec..17ced9c06e0 100644 --- a/src/models/adminConsentRequestPolicy.ts +++ b/src/models/adminConsentRequestPolicy.ts @@ -52,7 +52,7 @@ export function serializeAdminConsentRequestPolicy(writer: SerializationWriter, writer.writeBooleanValue("notifyReviewers", adminConsentRequestPolicy.notifyReviewers); writer.writeBooleanValue("remindersEnabled", adminConsentRequestPolicy.remindersEnabled); writer.writeNumberValue("requestDurationInDays", adminConsentRequestPolicy.requestDurationInDays); - writer.writeCollectionOfObjectValues("reviewers", adminConsentRequestPolicy.reviewers, ); + writer.writeCollectionOfObjectValues("reviewers", adminConsentRequestPolicy.reviewers, serializeAccessReviewReviewerScope); writer.writeNumberValue("version", adminConsentRequestPolicy.version); } // tslint:enable diff --git a/src/models/administrativeUnit.ts b/src/models/administrativeUnit.ts index 5d0e9a3c7c9..17346007444 100644 --- a/src/models/administrativeUnit.ts +++ b/src/models/administrativeUnit.ts @@ -51,9 +51,9 @@ export function serializeAdministrativeUnit(writer: SerializationWriter, adminis serializeDirectoryObject(writer, administrativeUnit) writer.writeStringValue("description", administrativeUnit.description); writer.writeStringValue("displayName", administrativeUnit.displayName); - writer.writeCollectionOfObjectValues("extensions", administrativeUnit.extensions, ); - writer.writeCollectionOfObjectValues("members", administrativeUnit.members, ); - writer.writeCollectionOfObjectValues("scopedRoleMembers", administrativeUnit.scopedRoleMembers, ); + writer.writeCollectionOfObjectValues("extensions", administrativeUnit.extensions, serializeExtension); + writer.writeCollectionOfObjectValues("members", administrativeUnit.members, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("scopedRoleMembers", administrativeUnit.scopedRoleMembers, serializeScopedRoleMembership); writer.writeStringValue("visibility", administrativeUnit.visibility); } // tslint:enable diff --git a/src/models/administrativeUnitCollectionResponse.ts b/src/models/administrativeUnitCollectionResponse.ts index b699b296a28..24da4d1622d 100644 --- a/src/models/administrativeUnitCollectionResponse.ts +++ b/src/models/administrativeUnitCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdministrativeUnitCollectionResponse(administrati } export function serializeAdministrativeUnitCollectionResponse(writer: SerializationWriter, administrativeUnitCollectionResponse: AdministrativeUnitCollectionResponse | undefined = {} as AdministrativeUnitCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, administrativeUnitCollectionResponse) - writer.writeCollectionOfObjectValues("value", administrativeUnitCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", administrativeUnitCollectionResponse.value, serializeAdministrativeUnit); } // tslint:enable // eslint-enable diff --git a/src/models/aggregationOption.ts b/src/models/aggregationOption.ts index 7ec504edfe5..60ef015ce08 100644 --- a/src/models/aggregationOption.ts +++ b/src/models/aggregationOption.ts @@ -39,7 +39,7 @@ export function deserializeIntoAggregationOption(aggregationOption: AggregationO } } export function serializeAggregationOption(writer: SerializationWriter, aggregationOption: AggregationOption | undefined = {} as AggregationOption) : void { - writer.writeObjectValue("bucketDefinition", aggregationOption.bucketDefinition, ); + writer.writeObjectValue("bucketDefinition", aggregationOption.bucketDefinition, serializeBucketAggregationDefinition); writer.writeStringValue("field", aggregationOption.field); writer.writeStringValue("@odata.type", aggregationOption.odataType); writer.writeNumberValue("size", aggregationOption.size); diff --git a/src/models/agreement.ts b/src/models/agreement.ts index 9a56ae2eb1f..36f3bb2c32a 100644 --- a/src/models/agreement.ts +++ b/src/models/agreement.ts @@ -61,13 +61,13 @@ export function deserializeIntoAgreement(agreement: Agreement | undefined = {} a } export function serializeAgreement(writer: SerializationWriter, agreement: Agreement | undefined = {} as Agreement) : void { serializeEntity(writer, agreement) - writer.writeCollectionOfObjectValues("acceptances", agreement.acceptances, ); + writer.writeCollectionOfObjectValues("acceptances", agreement.acceptances, serializeAgreementAcceptance); writer.writeStringValue("displayName", agreement.displayName); - writer.writeObjectValue("file", agreement.file, ); - writer.writeCollectionOfObjectValues("files", agreement.files, ); + writer.writeObjectValue("file", agreement.file, serializeAgreementFile); + writer.writeCollectionOfObjectValues("files", agreement.files, serializeAgreementFileLocalization); writer.writeBooleanValue("isPerDeviceAcceptanceRequired", agreement.isPerDeviceAcceptanceRequired); writer.writeBooleanValue("isViewingBeforeAcceptanceRequired", agreement.isViewingBeforeAcceptanceRequired); - writer.writeObjectValue("termsExpiration", agreement.termsExpiration, ); + writer.writeObjectValue("termsExpiration", agreement.termsExpiration, serializeTermsExpiration); writer.writeDurationValue("userReacceptRequiredFrequency", agreement.userReacceptRequiredFrequency); } // tslint:enable diff --git a/src/models/agreementAcceptanceCollectionResponse.ts b/src/models/agreementAcceptanceCollectionResponse.ts index deec63d978a..352b1296e63 100644 --- a/src/models/agreementAcceptanceCollectionResponse.ts +++ b/src/models/agreementAcceptanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementAcceptanceCollectionResponse(agreementAc } export function serializeAgreementAcceptanceCollectionResponse(writer: SerializationWriter, agreementAcceptanceCollectionResponse: AgreementAcceptanceCollectionResponse | undefined = {} as AgreementAcceptanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementAcceptanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementAcceptanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementAcceptanceCollectionResponse.value, serializeAgreementAcceptance); } // tslint:enable // eslint-enable diff --git a/src/models/agreementCollectionResponse.ts b/src/models/agreementCollectionResponse.ts index 823e5aa24ec..e477ad26285 100644 --- a/src/models/agreementCollectionResponse.ts +++ b/src/models/agreementCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementCollectionResponse(agreementCollectionRe } export function serializeAgreementCollectionResponse(writer: SerializationWriter, agreementCollectionResponse: AgreementCollectionResponse | undefined = {} as AgreementCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementCollectionResponse.value, serializeAgreement); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFile.ts b/src/models/agreementFile.ts index 179823c90ca..06153a01ab2 100644 --- a/src/models/agreementFile.ts +++ b/src/models/agreementFile.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFile(agreementFile: AgreementFile | unde } export function serializeAgreementFile(writer: SerializationWriter, agreementFile: AgreementFile | undefined = {} as AgreementFile) : void { serializeAgreementFileProperties(writer, agreementFile) - writer.writeCollectionOfObjectValues("localizations", agreementFile.localizations, ); + writer.writeCollectionOfObjectValues("localizations", agreementFile.localizations, serializeAgreementFileLocalization); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileLocalization.ts b/src/models/agreementFileLocalization.ts index 2bc6a55b00e..220d61302e0 100644 --- a/src/models/agreementFileLocalization.ts +++ b/src/models/agreementFileLocalization.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileLocalization(agreementFileLocalizati } export function serializeAgreementFileLocalization(writer: SerializationWriter, agreementFileLocalization: AgreementFileLocalization | undefined = {} as AgreementFileLocalization) : void { serializeAgreementFileProperties(writer, agreementFileLocalization) - writer.writeCollectionOfObjectValues("versions", agreementFileLocalization.versions, ); + writer.writeCollectionOfObjectValues("versions", agreementFileLocalization.versions, serializeAgreementFileVersion); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileLocalizationCollectionResponse.ts b/src/models/agreementFileLocalizationCollectionResponse.ts index 0ef422ed5fa..762c786ac72 100644 --- a/src/models/agreementFileLocalizationCollectionResponse.ts +++ b/src/models/agreementFileLocalizationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileLocalizationCollectionResponse(agree } export function serializeAgreementFileLocalizationCollectionResponse(writer: SerializationWriter, agreementFileLocalizationCollectionResponse: AgreementFileLocalizationCollectionResponse | undefined = {} as AgreementFileLocalizationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementFileLocalizationCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementFileLocalizationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementFileLocalizationCollectionResponse.value, serializeAgreementFileLocalization); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileProperties.ts b/src/models/agreementFileProperties.ts index b6e20f26acc..2c6f0be4e7a 100644 --- a/src/models/agreementFileProperties.ts +++ b/src/models/agreementFileProperties.ts @@ -73,7 +73,7 @@ export function serializeAgreementFileProperties(writer: SerializationWriter, ag serializeEntity(writer, agreementFileProperties) writer.writeDateValue("createdDateTime", agreementFileProperties.createdDateTime); writer.writeStringValue("displayName", agreementFileProperties.displayName); - writer.writeObjectValue("fileData", agreementFileProperties.fileData, ); + writer.writeObjectValue("fileData", agreementFileProperties.fileData, serializeAgreementFileData); writer.writeStringValue("fileName", agreementFileProperties.fileName); writer.writeBooleanValue("isDefault", agreementFileProperties.isDefault); writer.writeBooleanValue("isMajorVersion", agreementFileProperties.isMajorVersion); diff --git a/src/models/agreementFileVersionCollectionResponse.ts b/src/models/agreementFileVersionCollectionResponse.ts index c410f1e5c87..a46e28efa47 100644 --- a/src/models/agreementFileVersionCollectionResponse.ts +++ b/src/models/agreementFileVersionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileVersionCollectionResponse(agreementF } export function serializeAgreementFileVersionCollectionResponse(writer: SerializationWriter, agreementFileVersionCollectionResponse: AgreementFileVersionCollectionResponse | undefined = {} as AgreementFileVersionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementFileVersionCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementFileVersionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementFileVersionCollectionResponse.value, serializeAgreementFileVersion); } // tslint:enable // eslint-enable diff --git a/src/models/alert.ts b/src/models/alert.ts index 0dd9c36a136..1d34a8ea659 100644 --- a/src/models/alert.ts +++ b/src/models/alert.ts @@ -233,13 +233,13 @@ export function deserializeIntoAlert(alert: Alert | undefined = {} as Alert) : R export function serializeAlert(writer: SerializationWriter, alert: Alert | undefined = {} as Alert) : void { serializeEntity(writer, alert) writer.writeStringValue("activityGroupName", alert.activityGroupName); - writer.writeCollectionOfObjectValues("alertDetections", alert.alertDetections, ); + writer.writeCollectionOfObjectValues("alertDetections", alert.alertDetections, serializeAlertDetection); writer.writeStringValue("assignedTo", alert.assignedTo); writer.writeStringValue("azureSubscriptionId", alert.azureSubscriptionId); writer.writeStringValue("azureTenantId", alert.azureTenantId); writer.writeStringValue("category", alert.category); writer.writeDateValue("closedDateTime", alert.closedDateTime); - writer.writeCollectionOfObjectValues("cloudAppStates", alert.cloudAppStates, ); + writer.writeCollectionOfObjectValues("cloudAppStates", alert.cloudAppStates, serializeCloudAppSecurityState); writer.writeCollectionOfPrimitiveValues("comments", alert.comments); writer.writeNumberValue("confidence", alert.confidence); writer.writeDateValue("createdDateTime", alert.createdDateTime); @@ -247,30 +247,30 @@ export function serializeAlert(writer: SerializationWriter, alert: Alert | undef writer.writeCollectionOfPrimitiveValues("detectionIds", alert.detectionIds); writer.writeDateValue("eventDateTime", alert.eventDateTime); writer.writeEnumValue("feedback", alert.feedback); - writer.writeCollectionOfObjectValues("fileStates", alert.fileStates, ); - writer.writeCollectionOfObjectValues("historyStates", alert.historyStates, ); - writer.writeCollectionOfObjectValues("hostStates", alert.hostStates, ); + writer.writeCollectionOfObjectValues("fileStates", alert.fileStates, serializeFileSecurityState); + writer.writeCollectionOfObjectValues("historyStates", alert.historyStates, serializeAlertHistoryState); + writer.writeCollectionOfObjectValues("hostStates", alert.hostStates, serializeHostSecurityState); writer.writeCollectionOfPrimitiveValues("incidentIds", alert.incidentIds); - writer.writeCollectionOfObjectValues("investigationSecurityStates", alert.investigationSecurityStates, ); + writer.writeCollectionOfObjectValues("investigationSecurityStates", alert.investigationSecurityStates, serializeInvestigationSecurityState); writer.writeDateValue("lastEventDateTime", alert.lastEventDateTime); writer.writeDateValue("lastModifiedDateTime", alert.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("malwareStates", alert.malwareStates, ); - writer.writeCollectionOfObjectValues("messageSecurityStates", alert.messageSecurityStates, ); - writer.writeCollectionOfObjectValues("networkConnections", alert.networkConnections, ); - writer.writeCollectionOfObjectValues("processes", alert.processes, ); + writer.writeCollectionOfObjectValues("malwareStates", alert.malwareStates, serializeMalwareState); + writer.writeCollectionOfObjectValues("messageSecurityStates", alert.messageSecurityStates, serializeMessageSecurityState); + writer.writeCollectionOfObjectValues("networkConnections", alert.networkConnections, serializeNetworkConnection); + writer.writeCollectionOfObjectValues("processes", alert.processes, serializeProcess); writer.writeCollectionOfPrimitiveValues("recommendedActions", alert.recommendedActions); - writer.writeCollectionOfObjectValues("registryKeyStates", alert.registryKeyStates, ); - writer.writeCollectionOfObjectValues("securityResources", alert.securityResources, ); + writer.writeCollectionOfObjectValues("registryKeyStates", alert.registryKeyStates, serializeRegistryKeyState); + writer.writeCollectionOfObjectValues("securityResources", alert.securityResources, serializeSecurityResource); writer.writeEnumValue("severity", alert.severity); writer.writeCollectionOfPrimitiveValues("sourceMaterials", alert.sourceMaterials); writer.writeEnumValue("status", alert.status); writer.writeCollectionOfPrimitiveValues("tags", alert.tags); writer.writeStringValue("title", alert.title); - writer.writeCollectionOfObjectValues("triggers", alert.triggers, ); - writer.writeCollectionOfObjectValues("uriClickSecurityStates", alert.uriClickSecurityStates, ); - writer.writeCollectionOfObjectValues("userStates", alert.userStates, ); - writer.writeObjectValue("vendorInformation", alert.vendorInformation, ); - writer.writeCollectionOfObjectValues("vulnerabilityStates", alert.vulnerabilityStates, ); + writer.writeCollectionOfObjectValues("triggers", alert.triggers, serializeAlertTrigger); + writer.writeCollectionOfObjectValues("uriClickSecurityStates", alert.uriClickSecurityStates, serializeUriClickSecurityState); + writer.writeCollectionOfObjectValues("userStates", alert.userStates, serializeUserSecurityState); + writer.writeObjectValue("vendorInformation", alert.vendorInformation, serializeSecurityVendorInformation); + writer.writeCollectionOfObjectValues("vulnerabilityStates", alert.vulnerabilityStates, serializeVulnerabilityState); } // tslint:enable // eslint-enable diff --git a/src/models/alertCollectionResponse.ts b/src/models/alertCollectionResponse.ts index 4e44caf85e7..6c3bfc24d52 100644 --- a/src/models/alertCollectionResponse.ts +++ b/src/models/alertCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAlertCollectionResponse(alertCollectionResponse: } export function serializeAlertCollectionResponse(writer: SerializationWriter, alertCollectionResponse: AlertCollectionResponse | undefined = {} as AlertCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, alertCollectionResponse) - writer.writeCollectionOfObjectValues("value", alertCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", alertCollectionResponse.value, serializeAlert); } // tslint:enable // eslint-enable diff --git a/src/models/allowedValueCollectionResponse.ts b/src/models/allowedValueCollectionResponse.ts index 2bcf4ce7823..8f6297c61d9 100644 --- a/src/models/allowedValueCollectionResponse.ts +++ b/src/models/allowedValueCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAllowedValueCollectionResponse(allowedValueCollec } export function serializeAllowedValueCollectionResponse(writer: SerializationWriter, allowedValueCollectionResponse: AllowedValueCollectionResponse | undefined = {} as AllowedValueCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, allowedValueCollectionResponse) - writer.writeCollectionOfObjectValues("value", allowedValueCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", allowedValueCollectionResponse.value, serializeAllowedValue); } // tslint:enable // eslint-enable diff --git a/src/models/alterationResponse.ts b/src/models/alterationResponse.ts index 67f0c8e7abe..9034f649629 100644 --- a/src/models/alterationResponse.ts +++ b/src/models/alterationResponse.ts @@ -42,7 +42,7 @@ export function deserializeIntoAlterationResponse(alterationResponse: Alteration export function serializeAlterationResponse(writer: SerializationWriter, alterationResponse: AlterationResponse | undefined = {} as AlterationResponse) : void { writer.writeStringValue("@odata.type", alterationResponse.odataType); writer.writeStringValue("originalQueryString", alterationResponse.originalQueryString); - writer.writeObjectValue("queryAlteration", alterationResponse.queryAlteration, ); + writer.writeObjectValue("queryAlteration", alterationResponse.queryAlteration, serializeSearchAlteration); writer.writeEnumValue("queryAlterationType", alterationResponse.queryAlterationType); writer.writeAdditionalData(alterationResponse.additionalData); } diff --git a/src/models/androidCustomConfiguration.ts b/src/models/androidCustomConfiguration.ts index de02a4b71e1..35681d3884e 100644 --- a/src/models/androidCustomConfiguration.ts +++ b/src/models/androidCustomConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidCustomConfiguration(androidCustomConfigura } export function serializeAndroidCustomConfiguration(writer: SerializationWriter, androidCustomConfiguration: AndroidCustomConfiguration | undefined = {} as AndroidCustomConfiguration) : void { serializeDeviceConfiguration(writer, androidCustomConfiguration) - writer.writeCollectionOfObjectValues("omaSettings", androidCustomConfiguration.omaSettings, ); + writer.writeCollectionOfObjectValues("omaSettings", androidCustomConfiguration.omaSettings, serializeOmaSetting); } // tslint:enable // eslint-enable diff --git a/src/models/androidGeneralDeviceConfiguration.ts b/src/models/androidGeneralDeviceConfiguration.ts index 37c6955a642..4d852cc6f25 100644 --- a/src/models/androidGeneralDeviceConfiguration.ts +++ b/src/models/androidGeneralDeviceConfiguration.ts @@ -264,9 +264,9 @@ export function serializeAndroidGeneralDeviceConfiguration(writer: Serialization writer.writeBooleanValue("appsBlockClipboardSharing", androidGeneralDeviceConfiguration.appsBlockClipboardSharing); writer.writeBooleanValue("appsBlockCopyPaste", androidGeneralDeviceConfiguration.appsBlockCopyPaste); writer.writeBooleanValue("appsBlockYouTube", androidGeneralDeviceConfiguration.appsBlockYouTube); - writer.writeCollectionOfObjectValues("appsHideList", androidGeneralDeviceConfiguration.appsHideList, ); - writer.writeCollectionOfObjectValues("appsInstallAllowList", androidGeneralDeviceConfiguration.appsInstallAllowList, ); - writer.writeCollectionOfObjectValues("appsLaunchBlockList", androidGeneralDeviceConfiguration.appsLaunchBlockList, ); + writer.writeCollectionOfObjectValues("appsHideList", androidGeneralDeviceConfiguration.appsHideList, serializeAppListItem); + writer.writeCollectionOfObjectValues("appsInstallAllowList", androidGeneralDeviceConfiguration.appsInstallAllowList, serializeAppListItem); + writer.writeCollectionOfObjectValues("appsLaunchBlockList", androidGeneralDeviceConfiguration.appsLaunchBlockList, serializeAppListItem); writer.writeBooleanValue("bluetoothBlocked", androidGeneralDeviceConfiguration.bluetoothBlocked); writer.writeBooleanValue("cameraBlocked", androidGeneralDeviceConfiguration.cameraBlocked); writer.writeBooleanValue("cellularBlockDataRoaming", androidGeneralDeviceConfiguration.cellularBlockDataRoaming); @@ -274,13 +274,13 @@ export function serializeAndroidGeneralDeviceConfiguration(writer: Serialization writer.writeBooleanValue("cellularBlockVoiceRoaming", androidGeneralDeviceConfiguration.cellularBlockVoiceRoaming); writer.writeBooleanValue("cellularBlockWiFiTethering", androidGeneralDeviceConfiguration.cellularBlockWiFiTethering); writer.writeEnumValue("compliantAppListType", androidGeneralDeviceConfiguration.compliantAppListType); - writer.writeCollectionOfObjectValues("compliantAppsList", androidGeneralDeviceConfiguration.compliantAppsList, ); + writer.writeCollectionOfObjectValues("compliantAppsList", androidGeneralDeviceConfiguration.compliantAppsList, serializeAppListItem); writer.writeBooleanValue("deviceSharingAllowed", androidGeneralDeviceConfiguration.deviceSharingAllowed); writer.writeBooleanValue("diagnosticDataBlockSubmission", androidGeneralDeviceConfiguration.diagnosticDataBlockSubmission); writer.writeBooleanValue("factoryResetBlocked", androidGeneralDeviceConfiguration.factoryResetBlocked); writer.writeBooleanValue("googleAccountBlockAutoSync", androidGeneralDeviceConfiguration.googleAccountBlockAutoSync); writer.writeBooleanValue("googlePlayStoreBlocked", androidGeneralDeviceConfiguration.googlePlayStoreBlocked); - writer.writeCollectionOfObjectValues("kioskModeApps", androidGeneralDeviceConfiguration.kioskModeApps, ); + writer.writeCollectionOfObjectValues("kioskModeApps", androidGeneralDeviceConfiguration.kioskModeApps, serializeAppListItem); writer.writeBooleanValue("kioskModeBlockSleepButton", androidGeneralDeviceConfiguration.kioskModeBlockSleepButton); writer.writeBooleanValue("kioskModeBlockVolumeButtons", androidGeneralDeviceConfiguration.kioskModeBlockVolumeButtons); writer.writeBooleanValue("locationServicesBlocked", androidGeneralDeviceConfiguration.locationServicesBlocked); diff --git a/src/models/androidLobApp.ts b/src/models/androidLobApp.ts index d3aeedbbd71..7b68ba39c5e 100644 --- a/src/models/androidLobApp.ts +++ b/src/models/androidLobApp.ts @@ -38,7 +38,7 @@ export function deserializeIntoAndroidLobApp(androidLobApp: AndroidLobApp | unde } export function serializeAndroidLobApp(writer: SerializationWriter, androidLobApp: AndroidLobApp | undefined = {} as AndroidLobApp) : void { serializeMobileLobApp(writer, androidLobApp) - writer.writeObjectValue("minimumSupportedOperatingSystem", androidLobApp.minimumSupportedOperatingSystem, ); + writer.writeObjectValue("minimumSupportedOperatingSystem", androidLobApp.minimumSupportedOperatingSystem, serializeAndroidMinimumOperatingSystem); writer.writeStringValue("packageId", androidLobApp.packageId); writer.writeStringValue("versionCode", androidLobApp.versionCode); writer.writeStringValue("versionName", androidLobApp.versionName); diff --git a/src/models/androidLobAppCollectionResponse.ts b/src/models/androidLobAppCollectionResponse.ts index 36265a157dc..c2c362b641b 100644 --- a/src/models/androidLobAppCollectionResponse.ts +++ b/src/models/androidLobAppCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidLobAppCollectionResponse(androidLobAppColl } export function serializeAndroidLobAppCollectionResponse(writer: SerializationWriter, androidLobAppCollectionResponse: AndroidLobAppCollectionResponse | undefined = {} as AndroidLobAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidLobAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidLobAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidLobAppCollectionResponse.value, serializeAndroidLobApp); } // tslint:enable // eslint-enable diff --git a/src/models/androidManagedAppProtection.ts b/src/models/androidManagedAppProtection.ts index 1830780119d..cf1a181db27 100644 --- a/src/models/androidManagedAppProtection.ts +++ b/src/models/androidManagedAppProtection.ts @@ -69,11 +69,11 @@ export function deserializeIntoAndroidManagedAppProtection(androidManagedAppProt } export function serializeAndroidManagedAppProtection(writer: SerializationWriter, androidManagedAppProtection: AndroidManagedAppProtection | undefined = {} as AndroidManagedAppProtection) : void { serializeTargetedManagedAppProtection(writer, androidManagedAppProtection) - writer.writeCollectionOfObjectValues("apps", androidManagedAppProtection.apps, ); + writer.writeCollectionOfObjectValues("apps", androidManagedAppProtection.apps, serializeManagedMobileApp); writer.writeStringValue("customBrowserDisplayName", androidManagedAppProtection.customBrowserDisplayName); writer.writeStringValue("customBrowserPackageId", androidManagedAppProtection.customBrowserPackageId); writer.writeNumberValue("deployedAppCount", androidManagedAppProtection.deployedAppCount); - writer.writeObjectValue("deploymentSummary", androidManagedAppProtection.deploymentSummary, ); + writer.writeObjectValue("deploymentSummary", androidManagedAppProtection.deploymentSummary, serializeManagedAppPolicyDeploymentSummary); writer.writeBooleanValue("disableAppEncryptionIfDeviceEncryptionIsEnabled", androidManagedAppProtection.disableAppEncryptionIfDeviceEncryptionIsEnabled); writer.writeBooleanValue("encryptAppData", androidManagedAppProtection.encryptAppData); writer.writeStringValue("minimumRequiredPatchVersion", androidManagedAppProtection.minimumRequiredPatchVersion); diff --git a/src/models/androidManagedAppProtectionCollectionResponse.ts b/src/models/androidManagedAppProtectionCollectionResponse.ts index 1cbc602bdce..1a637adef5c 100644 --- a/src/models/androidManagedAppProtectionCollectionResponse.ts +++ b/src/models/androidManagedAppProtectionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidManagedAppProtectionCollectionResponse(and } export function serializeAndroidManagedAppProtectionCollectionResponse(writer: SerializationWriter, androidManagedAppProtectionCollectionResponse: AndroidManagedAppProtectionCollectionResponse | undefined = {} as AndroidManagedAppProtectionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidManagedAppProtectionCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidManagedAppProtectionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidManagedAppProtectionCollectionResponse.value, serializeAndroidManagedAppProtection); } // tslint:enable // eslint-enable diff --git a/src/models/androidStoreApp.ts b/src/models/androidStoreApp.ts index 9e9aa2647fd..8cc0d98eb7f 100644 --- a/src/models/androidStoreApp.ts +++ b/src/models/androidStoreApp.ts @@ -34,7 +34,7 @@ export function deserializeIntoAndroidStoreApp(androidStoreApp: AndroidStoreApp export function serializeAndroidStoreApp(writer: SerializationWriter, androidStoreApp: AndroidStoreApp | undefined = {} as AndroidStoreApp) : void { serializeMobileApp(writer, androidStoreApp) writer.writeStringValue("appStoreUrl", androidStoreApp.appStoreUrl); - writer.writeObjectValue("minimumSupportedOperatingSystem", androidStoreApp.minimumSupportedOperatingSystem, ); + writer.writeObjectValue("minimumSupportedOperatingSystem", androidStoreApp.minimumSupportedOperatingSystem, serializeAndroidMinimumOperatingSystem); writer.writeStringValue("packageId", androidStoreApp.packageId); } // tslint:enable diff --git a/src/models/androidStoreAppCollectionResponse.ts b/src/models/androidStoreAppCollectionResponse.ts index 606f1c1d03a..33030f1a5e3 100644 --- a/src/models/androidStoreAppCollectionResponse.ts +++ b/src/models/androidStoreAppCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidStoreAppCollectionResponse(androidStoreApp } export function serializeAndroidStoreAppCollectionResponse(writer: SerializationWriter, androidStoreAppCollectionResponse: AndroidStoreAppCollectionResponse | undefined = {} as AndroidStoreAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidStoreAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidStoreAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidStoreAppCollectionResponse.value, serializeAndroidStoreApp); } // tslint:enable // eslint-enable diff --git a/src/models/androidWorkProfileCustomConfiguration.ts b/src/models/androidWorkProfileCustomConfiguration.ts index 9905fe1a583..5a4d506b96c 100644 --- a/src/models/androidWorkProfileCustomConfiguration.ts +++ b/src/models/androidWorkProfileCustomConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidWorkProfileCustomConfiguration(androidWork } export function serializeAndroidWorkProfileCustomConfiguration(writer: SerializationWriter, androidWorkProfileCustomConfiguration: AndroidWorkProfileCustomConfiguration | undefined = {} as AndroidWorkProfileCustomConfiguration) : void { serializeDeviceConfiguration(writer, androidWorkProfileCustomConfiguration) - writer.writeCollectionOfObjectValues("omaSettings", androidWorkProfileCustomConfiguration.omaSettings, ); + writer.writeCollectionOfObjectValues("omaSettings", androidWorkProfileCustomConfiguration.omaSettings, serializeOmaSetting); } // tslint:enable // eslint-enable diff --git a/src/models/apiApplication.ts b/src/models/apiApplication.ts index 7d880a25bdd..483998106c5 100644 --- a/src/models/apiApplication.ts +++ b/src/models/apiApplication.ts @@ -53,9 +53,9 @@ export function deserializeIntoApiApplication(apiApplication: ApiApplication | u export function serializeApiApplication(writer: SerializationWriter, apiApplication: ApiApplication | undefined = {} as ApiApplication) : void { writer.writeBooleanValue("acceptMappedClaims", apiApplication.acceptMappedClaims); writer.writeCollectionOfPrimitiveValues("knownClientApplications", apiApplication.knownClientApplications); - writer.writeCollectionOfObjectValues("oauth2PermissionScopes", apiApplication.oauth2PermissionScopes, ); + writer.writeCollectionOfObjectValues("oauth2PermissionScopes", apiApplication.oauth2PermissionScopes, serializePermissionScope); writer.writeStringValue("@odata.type", apiApplication.odataType); - writer.writeCollectionOfObjectValues("preAuthorizedApplications", apiApplication.preAuthorizedApplications, ); + writer.writeCollectionOfObjectValues("preAuthorizedApplications", apiApplication.preAuthorizedApplications, serializePreAuthorizedApplication); writer.writeNumberValue("requestedAccessTokenVersion", apiApplication.requestedAccessTokenVersion); writer.writeAdditionalData(apiApplication.additionalData); } diff --git a/src/models/appCatalogs.ts b/src/models/appCatalogs.ts index b377e16bea2..de9746ea2a0 100644 --- a/src/models/appCatalogs.ts +++ b/src/models/appCatalogs.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppCatalogs(appCatalogs: AppCatalogs | undefined } export function serializeAppCatalogs(writer: SerializationWriter, appCatalogs: AppCatalogs | undefined = {} as AppCatalogs) : void { serializeEntity(writer, appCatalogs) - writer.writeCollectionOfObjectValues("teamsApps", appCatalogs.teamsApps, ); + writer.writeCollectionOfObjectValues("teamsApps", appCatalogs.teamsApps, serializeTeamsApp); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentApprovalRoute.ts b/src/models/appConsentApprovalRoute.ts index 7354fa076a2..bbdd8f48bef 100644 --- a/src/models/appConsentApprovalRoute.ts +++ b/src/models/appConsentApprovalRoute.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppConsentApprovalRoute(appConsentApprovalRoute: } export function serializeAppConsentApprovalRoute(writer: SerializationWriter, appConsentApprovalRoute: AppConsentApprovalRoute | undefined = {} as AppConsentApprovalRoute) : void { serializeEntity(writer, appConsentApprovalRoute) - writer.writeCollectionOfObjectValues("appConsentRequests", appConsentApprovalRoute.appConsentRequests, ); + writer.writeCollectionOfObjectValues("appConsentRequests", appConsentApprovalRoute.appConsentRequests, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentRequest.ts b/src/models/appConsentRequest.ts index e83804935aa..71640b8e332 100644 --- a/src/models/appConsentRequest.ts +++ b/src/models/appConsentRequest.ts @@ -41,8 +41,8 @@ export function serializeAppConsentRequest(writer: SerializationWriter, appConse serializeEntity(writer, appConsentRequest) writer.writeStringValue("appDisplayName", appConsentRequest.appDisplayName); writer.writeStringValue("appId", appConsentRequest.appId); - writer.writeCollectionOfObjectValues("pendingScopes", appConsentRequest.pendingScopes, ); - writer.writeCollectionOfObjectValues("userConsentRequests", appConsentRequest.userConsentRequests, ); + writer.writeCollectionOfObjectValues("pendingScopes", appConsentRequest.pendingScopes, serializeAppConsentRequestScope); + writer.writeCollectionOfObjectValues("userConsentRequests", appConsentRequest.userConsentRequests, serializeUserConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentRequestCollectionResponse.ts b/src/models/appConsentRequestCollectionResponse.ts index f69e4d2dc6c..7e80e8fb012 100644 --- a/src/models/appConsentRequestCollectionResponse.ts +++ b/src/models/appConsentRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppConsentRequestCollectionResponse(appConsentReq } export function serializeAppConsentRequestCollectionResponse(writer: SerializationWriter, appConsentRequestCollectionResponse: AppConsentRequestCollectionResponse | undefined = {} as AppConsentRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appConsentRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", appConsentRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appConsentRequestCollectionResponse.value, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appLogCollectionRequestCollectionResponse.ts b/src/models/appLogCollectionRequestCollectionResponse.ts index 56f8fdb1a01..8d8bbcd9015 100644 --- a/src/models/appLogCollectionRequestCollectionResponse.ts +++ b/src/models/appLogCollectionRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppLogCollectionRequestCollectionResponse(appLogC } export function serializeAppLogCollectionRequestCollectionResponse(writer: SerializationWriter, appLogCollectionRequestCollectionResponse: AppLogCollectionRequestCollectionResponse | undefined = {} as AppLogCollectionRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appLogCollectionRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", appLogCollectionRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appLogCollectionRequestCollectionResponse.value, serializeAppLogCollectionRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appManagementConfiguration.ts b/src/models/appManagementConfiguration.ts index 72303a6330f..218c89edda6 100644 --- a/src/models/appManagementConfiguration.ts +++ b/src/models/appManagementConfiguration.ts @@ -35,9 +35,9 @@ export function deserializeIntoAppManagementConfiguration(appManagementConfigura } } export function serializeAppManagementConfiguration(writer: SerializationWriter, appManagementConfiguration: AppManagementConfiguration | undefined = {} as AppManagementConfiguration) : void { - writer.writeCollectionOfObjectValues("keyCredentials", appManagementConfiguration.keyCredentials, ); + writer.writeCollectionOfObjectValues("keyCredentials", appManagementConfiguration.keyCredentials, serializeKeyCredentialConfiguration); writer.writeStringValue("@odata.type", appManagementConfiguration.odataType); - writer.writeCollectionOfObjectValues("passwordCredentials", appManagementConfiguration.passwordCredentials, ); + writer.writeCollectionOfObjectValues("passwordCredentials", appManagementConfiguration.passwordCredentials, serializePasswordCredentialConfiguration); writer.writeAdditionalData(appManagementConfiguration.additionalData); } // tslint:enable diff --git a/src/models/appManagementPolicy.ts b/src/models/appManagementPolicy.ts index db3faab2bbc..c17bf23f1e5 100644 --- a/src/models/appManagementPolicy.ts +++ b/src/models/appManagementPolicy.ts @@ -34,9 +34,9 @@ export function deserializeIntoAppManagementPolicy(appManagementPolicy: AppManag } export function serializeAppManagementPolicy(writer: SerializationWriter, appManagementPolicy: AppManagementPolicy | undefined = {} as AppManagementPolicy) : void { serializePolicyBase(writer, appManagementPolicy) - writer.writeCollectionOfObjectValues("appliesTo", appManagementPolicy.appliesTo, ); + writer.writeCollectionOfObjectValues("appliesTo", appManagementPolicy.appliesTo, serializeDirectoryObject); writer.writeBooleanValue("isEnabled", appManagementPolicy.isEnabled); - writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, ); + writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, serializeAppManagementConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/appManagementPolicyCollectionResponse.ts b/src/models/appManagementPolicyCollectionResponse.ts index 314f2e7c70d..92740637663 100644 --- a/src/models/appManagementPolicyCollectionResponse.ts +++ b/src/models/appManagementPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppManagementPolicyCollectionResponse(appManageme } export function serializeAppManagementPolicyCollectionResponse(writer: SerializationWriter, appManagementPolicyCollectionResponse: AppManagementPolicyCollectionResponse | undefined = {} as AppManagementPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appManagementPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", appManagementPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appManagementPolicyCollectionResponse.value, serializeAppManagementPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/appRoleAssignmentCollectionResponse.ts b/src/models/appRoleAssignmentCollectionResponse.ts index 309d4330206..7ba551a5d97 100644 --- a/src/models/appRoleAssignmentCollectionResponse.ts +++ b/src/models/appRoleAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppRoleAssignmentCollectionResponse(appRoleAssign } export function serializeAppRoleAssignmentCollectionResponse(writer: SerializationWriter, appRoleAssignmentCollectionResponse: AppRoleAssignmentCollectionResponse | undefined = {} as AppRoleAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appRoleAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", appRoleAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appRoleAssignmentCollectionResponse.value, serializeAppRoleAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/application.ts b/src/models/application.ts index 978ef085377..d528dee53b9 100644 --- a/src/models/application.ts +++ b/src/models/application.ts @@ -266,51 +266,51 @@ export function deserializeIntoApplication(application: Application | undefined } export function serializeApplication(writer: SerializationWriter, application: Application | undefined = {} as Application) : void { serializeDirectoryObject(writer, application) - writer.writeCollectionOfObjectValues("addIns", application.addIns, ); - writer.writeObjectValue("api", application.api, ); + writer.writeCollectionOfObjectValues("addIns", application.addIns, serializeAddIn); + writer.writeObjectValue("api", application.api, serializeApiApplication); writer.writeStringValue("appId", application.appId); writer.writeStringValue("applicationTemplateId", application.applicationTemplateId); - writer.writeCollectionOfObjectValues("appManagementPolicies", application.appManagementPolicies, ); - writer.writeCollectionOfObjectValues("appRoles", application.appRoles, ); - writer.writeObjectValue("certification", application.certification, ); + writer.writeCollectionOfObjectValues("appManagementPolicies", application.appManagementPolicies, serializeAppManagementPolicy); + writer.writeCollectionOfObjectValues("appRoles", application.appRoles, serializeAppRole); + writer.writeObjectValue("certification", application.certification, serializeCertification); writer.writeDateValue("createdDateTime", application.createdDateTime); - writer.writeObjectValue("createdOnBehalfOf", application.createdOnBehalfOf, ); + writer.writeObjectValue("createdOnBehalfOf", application.createdOnBehalfOf, serializeDirectoryObject); writer.writeStringValue("defaultRedirectUri", application.defaultRedirectUri); writer.writeStringValue("description", application.description); writer.writeStringValue("disabledByMicrosoftStatus", application.disabledByMicrosoftStatus); writer.writeStringValue("displayName", application.displayName); - writer.writeCollectionOfObjectValues("extensionProperties", application.extensionProperties, ); - writer.writeCollectionOfObjectValues("federatedIdentityCredentials", application.federatedIdentityCredentials, ); + writer.writeCollectionOfObjectValues("extensionProperties", application.extensionProperties, serializeExtensionProperty); + writer.writeCollectionOfObjectValues("federatedIdentityCredentials", application.federatedIdentityCredentials, serializeFederatedIdentityCredential); writer.writeStringValue("groupMembershipClaims", application.groupMembershipClaims); - writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", application.homeRealmDiscoveryPolicies, ); + writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", application.homeRealmDiscoveryPolicies, serializeHomeRealmDiscoveryPolicy); writer.writeCollectionOfPrimitiveValues("identifierUris", application.identifierUris); - writer.writeObjectValue("info", application.info, ); + writer.writeObjectValue("info", application.info, serializeInformationalUrl); writer.writeBooleanValue("isDeviceOnlyAuthSupported", application.isDeviceOnlyAuthSupported); writer.writeBooleanValue("isFallbackPublicClient", application.isFallbackPublicClient); - writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, ); + writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, serializeKeyCredential); writer.writeStringValue("logo", application.logo); writer.writeStringValue("notes", application.notes); writer.writeBooleanValue("oauth2RequirePostResponse", application.oauth2RequirePostResponse); - writer.writeObjectValue("optionalClaims", application.optionalClaims, ); - writer.writeCollectionOfObjectValues("owners", application.owners, ); - writer.writeObjectValue("parentalControlSettings", application.parentalControlSettings, ); - writer.writeCollectionOfObjectValues("passwordCredentials", application.passwordCredentials, ); - writer.writeObjectValue("publicClient", application.publicClient, ); + writer.writeObjectValue("optionalClaims", application.optionalClaims, serializeOptionalClaims); + writer.writeCollectionOfObjectValues("owners", application.owners, serializeDirectoryObject); + writer.writeObjectValue("parentalControlSettings", application.parentalControlSettings, serializeParentalControlSettings); + writer.writeCollectionOfObjectValues("passwordCredentials", application.passwordCredentials, serializePasswordCredential); + writer.writeObjectValue("publicClient", application.publicClient, serializePublicClientApplication); writer.writeStringValue("publisherDomain", application.publisherDomain); - writer.writeObjectValue("requestSignatureVerification", application.requestSignatureVerification, ); - writer.writeCollectionOfObjectValues("requiredResourceAccess", application.requiredResourceAccess, ); + writer.writeObjectValue("requestSignatureVerification", application.requestSignatureVerification, serializeRequestSignatureVerification); + writer.writeCollectionOfObjectValues("requiredResourceAccess", application.requiredResourceAccess, serializeRequiredResourceAccess); writer.writeStringValue("samlMetadataUrl", application.samlMetadataUrl); writer.writeStringValue("serviceManagementReference", application.serviceManagementReference); - writer.writeObjectValue("servicePrincipalLockConfiguration", application.servicePrincipalLockConfiguration, ); + writer.writeObjectValue("servicePrincipalLockConfiguration", application.servicePrincipalLockConfiguration, serializeServicePrincipalLockConfiguration); writer.writeStringValue("signInAudience", application.signInAudience); - writer.writeObjectValue("spa", application.spa, ); - writer.writeObjectValue("synchronization", application.synchronization, ); + writer.writeObjectValue("spa", application.spa, serializeSpaApplication); + writer.writeObjectValue("synchronization", application.synchronization, serializeSynchronization); writer.writeCollectionOfPrimitiveValues("tags", application.tags); writer.writeGuidValue("tokenEncryptionKeyId", application.tokenEncryptionKeyId); - writer.writeCollectionOfObjectValues("tokenIssuancePolicies", application.tokenIssuancePolicies, ); - writer.writeCollectionOfObjectValues("tokenLifetimePolicies", application.tokenLifetimePolicies, ); - writer.writeObjectValue("verifiedPublisher", application.verifiedPublisher, ); - writer.writeObjectValue("web", application.web, ); + writer.writeCollectionOfObjectValues("tokenIssuancePolicies", application.tokenIssuancePolicies, serializeTokenIssuancePolicy); + writer.writeCollectionOfObjectValues("tokenLifetimePolicies", application.tokenLifetimePolicies, serializeTokenLifetimePolicy); + writer.writeObjectValue("verifiedPublisher", application.verifiedPublisher, serializeVerifiedPublisher); + writer.writeObjectValue("web", application.web, serializeWebApplication); } // tslint:enable // eslint-enable diff --git a/src/models/applicationCollectionResponse.ts b/src/models/applicationCollectionResponse.ts index 3b19d96149f..6b427ac3fcc 100644 --- a/src/models/applicationCollectionResponse.ts +++ b/src/models/applicationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApplicationCollectionResponse(applicationCollecti } export function serializeApplicationCollectionResponse(writer: SerializationWriter, applicationCollectionResponse: ApplicationCollectionResponse | undefined = {} as ApplicationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, applicationCollectionResponse) - writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, serializeApplication); } // tslint:enable // eslint-enable diff --git a/src/models/applicationServicePrincipal.ts b/src/models/applicationServicePrincipal.ts index 49d55f1b240..2342b9c63d7 100644 --- a/src/models/applicationServicePrincipal.ts +++ b/src/models/applicationServicePrincipal.ts @@ -35,9 +35,9 @@ export function deserializeIntoApplicationServicePrincipal(applicationServicePri } } export function serializeApplicationServicePrincipal(writer: SerializationWriter, applicationServicePrincipal: ApplicationServicePrincipal | undefined = {} as ApplicationServicePrincipal) : void { - writer.writeObjectValue("application", applicationServicePrincipal.application, ); + writer.writeObjectValue("application", applicationServicePrincipal.application, serializeApplication); writer.writeStringValue("@odata.type", applicationServicePrincipal.odataType); - writer.writeObjectValue("servicePrincipal", applicationServicePrincipal.servicePrincipal, ); + writer.writeObjectValue("servicePrincipal", applicationServicePrincipal.servicePrincipal, serializeServicePrincipal); writer.writeAdditionalData(applicationServicePrincipal.additionalData); } // tslint:enable diff --git a/src/models/applicationTemplateCollectionResponse.ts b/src/models/applicationTemplateCollectionResponse.ts index 74dbd41bf92..4ba7af52da9 100644 --- a/src/models/applicationTemplateCollectionResponse.ts +++ b/src/models/applicationTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApplicationTemplateCollectionResponse(application } export function serializeApplicationTemplateCollectionResponse(writer: SerializationWriter, applicationTemplateCollectionResponse: ApplicationTemplateCollectionResponse | undefined = {} as ApplicationTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, applicationTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", applicationTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", applicationTemplateCollectionResponse.value, serializeApplicationTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/approval.ts b/src/models/approval.ts index c67aa140879..461bd4bd72d 100644 --- a/src/models/approval.ts +++ b/src/models/approval.ts @@ -23,7 +23,7 @@ export function deserializeIntoApproval(approval: Approval | undefined = {} as A } export function serializeApproval(writer: SerializationWriter, approval: Approval | undefined = {} as Approval) : void { serializeEntity(writer, approval) - writer.writeCollectionOfObjectValues("stages", approval.stages, ); + writer.writeCollectionOfObjectValues("stages", approval.stages, serializeApprovalStage); } // tslint:enable // eslint-enable diff --git a/src/models/approvalCollectionResponse.ts b/src/models/approvalCollectionResponse.ts index 90a3ab48b8c..e7710afce3b 100644 --- a/src/models/approvalCollectionResponse.ts +++ b/src/models/approvalCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApprovalCollectionResponse(approvalCollectionResp } export function serializeApprovalCollectionResponse(writer: SerializationWriter, approvalCollectionResponse: ApprovalCollectionResponse | undefined = {} as ApprovalCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, approvalCollectionResponse) - writer.writeCollectionOfObjectValues("value", approvalCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", approvalCollectionResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/models/approvalSettings.ts b/src/models/approvalSettings.ts index 4678db7526e..c2a8da5db9e 100644 --- a/src/models/approvalSettings.ts +++ b/src/models/approvalSettings.ts @@ -50,7 +50,7 @@ export function deserializeIntoApprovalSettings(approvalSettings: ApprovalSettin } export function serializeApprovalSettings(writer: SerializationWriter, approvalSettings: ApprovalSettings | undefined = {} as ApprovalSettings) : void { writer.writeStringValue("approvalMode", approvalSettings.approvalMode); - writer.writeCollectionOfObjectValues("approvalStages", approvalSettings.approvalStages, ); + writer.writeCollectionOfObjectValues("approvalStages", approvalSettings.approvalStages, serializeUnifiedApprovalStage); writer.writeBooleanValue("isApprovalRequired", approvalSettings.isApprovalRequired); writer.writeBooleanValue("isApprovalRequiredForExtension", approvalSettings.isApprovalRequiredForExtension); writer.writeBooleanValue("isRequestorJustificationRequired", approvalSettings.isRequestorJustificationRequired); diff --git a/src/models/approvalStage.ts b/src/models/approvalStage.ts index 3937f98447d..7126e3d77e3 100644 --- a/src/models/approvalStage.ts +++ b/src/models/approvalStage.ts @@ -56,7 +56,7 @@ export function serializeApprovalStage(writer: SerializationWriter, approvalStag writer.writeBooleanValue("assignedToMe", approvalStage.assignedToMe); writer.writeStringValue("displayName", approvalStage.displayName); writer.writeStringValue("justification", approvalStage.justification); - writer.writeObjectValue("reviewedBy", approvalStage.reviewedBy, ); + writer.writeObjectValue("reviewedBy", approvalStage.reviewedBy, serializeIdentity); writer.writeDateValue("reviewedDateTime", approvalStage.reviewedDateTime); writer.writeStringValue("reviewResult", approvalStage.reviewResult); writer.writeStringValue("status", approvalStage.status); diff --git a/src/models/approvalStageCollectionResponse.ts b/src/models/approvalStageCollectionResponse.ts index 47d509724df..fb8ecd64046 100644 --- a/src/models/approvalStageCollectionResponse.ts +++ b/src/models/approvalStageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApprovalStageCollectionResponse(approvalStageColl } export function serializeApprovalStageCollectionResponse(writer: SerializationWriter, approvalStageCollectionResponse: ApprovalStageCollectionResponse | undefined = {} as ApprovalStageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, approvalStageCollectionResponse) - writer.writeCollectionOfObjectValues("value", approvalStageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", approvalStageCollectionResponse.value, serializeApprovalStage); } // tslint:enable // eslint-enable diff --git a/src/models/archivedPrintJob.ts b/src/models/archivedPrintJob.ts index 65fa6c0450d..00194f8ebcb 100644 --- a/src/models/archivedPrintJob.ts +++ b/src/models/archivedPrintJob.ts @@ -79,7 +79,7 @@ export function serializeArchivedPrintJob(writer: SerializationWriter, archivedP writer.writeDateValue("acquiredDateTime", archivedPrintJob.acquiredDateTime); writer.writeDateValue("completionDateTime", archivedPrintJob.completionDateTime); writer.writeNumberValue("copiesPrinted", archivedPrintJob.copiesPrinted); - writer.writeObjectValue("createdBy", archivedPrintJob.createdBy, ); + writer.writeObjectValue("createdBy", archivedPrintJob.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", archivedPrintJob.createdDateTime); writer.writeStringValue("id", archivedPrintJob.id); writer.writeStringValue("@odata.type", archivedPrintJob.odataType); diff --git a/src/models/associatedTeamInfoCollectionResponse.ts b/src/models/associatedTeamInfoCollectionResponse.ts index 7b42cb16967..92105368c08 100644 --- a/src/models/associatedTeamInfoCollectionResponse.ts +++ b/src/models/associatedTeamInfoCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssociatedTeamInfoCollectionResponse(associatedTe } export function serializeAssociatedTeamInfoCollectionResponse(writer: SerializationWriter, associatedTeamInfoCollectionResponse: AssociatedTeamInfoCollectionResponse | undefined = {} as AssociatedTeamInfoCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, associatedTeamInfoCollectionResponse) - writer.writeCollectionOfObjectValues("value", associatedTeamInfoCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", associatedTeamInfoCollectionResponse.value, serializeAssociatedTeamInfo); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentBaseCollectionResponse.ts b/src/models/attachmentBaseCollectionResponse.ts index 29ecd1279ef..e6946d8656c 100644 --- a/src/models/attachmentBaseCollectionResponse.ts +++ b/src/models/attachmentBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentBaseCollectionResponse(attachmentBaseCo } export function serializeAttachmentBaseCollectionResponse(writer: SerializationWriter, attachmentBaseCollectionResponse: AttachmentBaseCollectionResponse | undefined = {} as AttachmentBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentBaseCollectionResponse.value, serializeAttachmentBase); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentCollectionResponse.ts b/src/models/attachmentCollectionResponse.ts index c8f42b64dac..36046bbfb65 100644 --- a/src/models/attachmentCollectionResponse.ts +++ b/src/models/attachmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentCollectionResponse(attachmentCollection } export function serializeAttachmentCollectionResponse(writer: SerializationWriter, attachmentCollectionResponse: AttachmentCollectionResponse | undefined = {} as AttachmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentCollectionResponse.value, serializeAttachment); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentSessionCollectionResponse.ts b/src/models/attachmentSessionCollectionResponse.ts index 0c6af334664..4cb1fd3f9a0 100644 --- a/src/models/attachmentSessionCollectionResponse.ts +++ b/src/models/attachmentSessionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentSessionCollectionResponse(attachmentSes } export function serializeAttachmentSessionCollectionResponse(writer: SerializationWriter, attachmentSessionCollectionResponse: AttachmentSessionCollectionResponse | undefined = {} as AttachmentSessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentSessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentSessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentSessionCollectionResponse.value, serializeAttachmentSession); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationOperation.ts b/src/models/attackSimulationOperation.ts index 65672315e2a..5797e6d2b77 100644 --- a/src/models/attackSimulationOperation.ts +++ b/src/models/attackSimulationOperation.ts @@ -7,15 +7,15 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AttackSimulationOperation extends LongRunningOperation, Parsable { /** - * The percentageCompleted property + * Percentage of completion of the respective operation. */ percentageCompleted?: number; /** - * The tenantId property + * Tenant identifier. */ tenantId?: string; /** - * The type property + * The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue. */ type?: AttackSimulationOperationType; } diff --git a/src/models/attackSimulationOperationCollectionResponse.ts b/src/models/attackSimulationOperationCollectionResponse.ts index c65eab8ad7f..318ea51d01e 100644 --- a/src/models/attackSimulationOperationCollectionResponse.ts +++ b/src/models/attackSimulationOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttackSimulationOperationCollectionResponse(attac } export function serializeAttackSimulationOperationCollectionResponse(writer: SerializationWriter, attackSimulationOperationCollectionResponse: AttackSimulationOperationCollectionResponse | undefined = {} as AttackSimulationOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attackSimulationOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", attackSimulationOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attackSimulationOperationCollectionResponse.value, serializeAttackSimulationOperation); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationRepeatOffender.ts b/src/models/attackSimulationRepeatOffender.ts index 7d86fa1376a..6d2d1dcd612 100644 --- a/src/models/attackSimulationRepeatOffender.ts +++ b/src/models/attackSimulationRepeatOffender.ts @@ -34,7 +34,7 @@ export function deserializeIntoAttackSimulationRepeatOffender(attackSimulationRe } } export function serializeAttackSimulationRepeatOffender(writer: SerializationWriter, attackSimulationRepeatOffender: AttackSimulationRepeatOffender | undefined = {} as AttackSimulationRepeatOffender) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationRepeatOffender.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationRepeatOffender.attackSimulationUser, serializeAttackSimulationUser); writer.writeStringValue("@odata.type", attackSimulationRepeatOffender.odataType); writer.writeNumberValue("repeatOffenceCount", attackSimulationRepeatOffender.repeatOffenceCount); writer.writeAdditionalData(attackSimulationRepeatOffender.additionalData); diff --git a/src/models/attackSimulationRoot.ts b/src/models/attackSimulationRoot.ts index dd1e9ab75a4..6efd3e459f3 100644 --- a/src/models/attackSimulationRoot.ts +++ b/src/models/attackSimulationRoot.ts @@ -14,23 +14,23 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AttackSimulationRoot extends Entity, Parsable { /** - * The endUserNotifications property + * Represents an end user's notification for an attack simulation training. */ endUserNotifications?: EndUserNotification[]; /** - * The landingPages property + * Represents an attack simulation training landing page. */ landingPages?: LandingPage[]; /** - * The loginPages property + * Represents an attack simulation training login page. */ loginPages?: LoginPage[]; /** - * The operations property + * Represents an attack simulation training operation. */ operations?: AttackSimulationOperation[]; /** - * The payloads property + * Represents an attack simulation training campaign payload in a tenant. */ payloads?: Payload[]; /** @@ -42,7 +42,7 @@ export interface AttackSimulationRoot extends Entity, Parsable { */ simulations?: Simulation[]; /** - * The trainings property + * Represents details about attack simulation trainings. */ trainings?: Training[]; } @@ -65,14 +65,14 @@ export function deserializeIntoAttackSimulationRoot(attackSimulationRoot: Attack } export function serializeAttackSimulationRoot(writer: SerializationWriter, attackSimulationRoot: AttackSimulationRoot | undefined = {} as AttackSimulationRoot) : void { serializeEntity(writer, attackSimulationRoot) - writer.writeCollectionOfObjectValues("endUserNotifications", attackSimulationRoot.endUserNotifications, ); - writer.writeCollectionOfObjectValues("landingPages", attackSimulationRoot.landingPages, ); - writer.writeCollectionOfObjectValues("loginPages", attackSimulationRoot.loginPages, ); - writer.writeCollectionOfObjectValues("operations", attackSimulationRoot.operations, ); - writer.writeCollectionOfObjectValues("payloads", attackSimulationRoot.payloads, ); - writer.writeCollectionOfObjectValues("simulationAutomations", attackSimulationRoot.simulationAutomations, ); - writer.writeCollectionOfObjectValues("simulations", attackSimulationRoot.simulations, ); - writer.writeCollectionOfObjectValues("trainings", attackSimulationRoot.trainings, ); + writer.writeCollectionOfObjectValues("endUserNotifications", attackSimulationRoot.endUserNotifications, serializeEndUserNotification); + writer.writeCollectionOfObjectValues("landingPages", attackSimulationRoot.landingPages, serializeLandingPage); + writer.writeCollectionOfObjectValues("loginPages", attackSimulationRoot.loginPages, serializeLoginPage); + writer.writeCollectionOfObjectValues("operations", attackSimulationRoot.operations, serializeAttackSimulationOperation); + writer.writeCollectionOfObjectValues("payloads", attackSimulationRoot.payloads, serializePayload); + writer.writeCollectionOfObjectValues("simulationAutomations", attackSimulationRoot.simulationAutomations, serializeSimulationAutomation); + writer.writeCollectionOfObjectValues("simulations", attackSimulationRoot.simulations, serializeSimulation); + writer.writeCollectionOfObjectValues("trainings", attackSimulationRoot.trainings, serializeTraining); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationSimulationUserCoverage.ts b/src/models/attackSimulationSimulationUserCoverage.ts index ff0f82ef141..64df3c84183 100644 --- a/src/models/attackSimulationSimulationUserCoverage.ts +++ b/src/models/attackSimulationSimulationUserCoverage.ts @@ -49,7 +49,7 @@ export function deserializeIntoAttackSimulationSimulationUserCoverage(attackSimu } } export function serializeAttackSimulationSimulationUserCoverage(writer: SerializationWriter, attackSimulationSimulationUserCoverage: AttackSimulationSimulationUserCoverage | undefined = {} as AttackSimulationSimulationUserCoverage) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationSimulationUserCoverage.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationSimulationUserCoverage.attackSimulationUser, serializeAttackSimulationUser); writer.writeNumberValue("clickCount", attackSimulationSimulationUserCoverage.clickCount); writer.writeNumberValue("compromisedCount", attackSimulationSimulationUserCoverage.compromisedCount); writer.writeDateValue("latestSimulationDateTime", attackSimulationSimulationUserCoverage.latestSimulationDateTime); diff --git a/src/models/attackSimulationTrainingUserCoverage.ts b/src/models/attackSimulationTrainingUserCoverage.ts index 36d5e3236b4..772939e5982 100644 --- a/src/models/attackSimulationTrainingUserCoverage.ts +++ b/src/models/attackSimulationTrainingUserCoverage.ts @@ -35,9 +35,9 @@ export function deserializeIntoAttackSimulationTrainingUserCoverage(attackSimula } } export function serializeAttackSimulationTrainingUserCoverage(writer: SerializationWriter, attackSimulationTrainingUserCoverage: AttackSimulationTrainingUserCoverage | undefined = {} as AttackSimulationTrainingUserCoverage) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationTrainingUserCoverage.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationTrainingUserCoverage.attackSimulationUser, serializeAttackSimulationUser); writer.writeStringValue("@odata.type", attackSimulationTrainingUserCoverage.odataType); - writer.writeCollectionOfObjectValues("userTrainings", attackSimulationTrainingUserCoverage.userTrainings, ); + writer.writeCollectionOfObjectValues("userTrainings", attackSimulationTrainingUserCoverage.userTrainings, serializeUserTrainingStatusInfo); writer.writeAdditionalData(attackSimulationTrainingUserCoverage.additionalData); } // tslint:enable diff --git a/src/models/attendanceRecord.ts b/src/models/attendanceRecord.ts index 1249f4329f0..890d09a24b8 100644 --- a/src/models/attendanceRecord.ts +++ b/src/models/attendanceRecord.ts @@ -44,9 +44,9 @@ export function deserializeIntoAttendanceRecord(attendanceRecord: AttendanceReco } export function serializeAttendanceRecord(writer: SerializationWriter, attendanceRecord: AttendanceRecord | undefined = {} as AttendanceRecord) : void { serializeEntity(writer, attendanceRecord) - writer.writeCollectionOfObjectValues("attendanceIntervals", attendanceRecord.attendanceIntervals, ); + writer.writeCollectionOfObjectValues("attendanceIntervals", attendanceRecord.attendanceIntervals, serializeAttendanceInterval); writer.writeStringValue("emailAddress", attendanceRecord.emailAddress); - writer.writeObjectValue("identity", attendanceRecord.identity, ); + writer.writeObjectValue("identity", attendanceRecord.identity, serializeIdentity); writer.writeStringValue("role", attendanceRecord.role); writer.writeNumberValue("totalAttendanceInSeconds", attendanceRecord.totalAttendanceInSeconds); } diff --git a/src/models/attendanceRecordCollectionResponse.ts b/src/models/attendanceRecordCollectionResponse.ts index 2875d7b106b..4fdd19aff90 100644 --- a/src/models/attendanceRecordCollectionResponse.ts +++ b/src/models/attendanceRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttendanceRecordCollectionResponse(attendanceReco } export function serializeAttendanceRecordCollectionResponse(writer: SerializationWriter, attendanceRecordCollectionResponse: AttendanceRecordCollectionResponse | undefined = {} as AttendanceRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attendanceRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", attendanceRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attendanceRecordCollectionResponse.value, serializeAttendanceRecord); } // tslint:enable // eslint-enable diff --git a/src/models/attendee.ts b/src/models/attendee.ts index be5e38187d5..d2d9bb55568 100644 --- a/src/models/attendee.ts +++ b/src/models/attendee.ts @@ -29,8 +29,8 @@ export function deserializeIntoAttendee(attendee: Attendee | undefined = {} as A } export function serializeAttendee(writer: SerializationWriter, attendee: Attendee | undefined = {} as Attendee) : void { serializeAttendeeBase(writer, attendee) - writer.writeObjectValue("proposedNewTime", attendee.proposedNewTime, ); - writer.writeObjectValue("status", attendee.status, ); + writer.writeObjectValue("proposedNewTime", attendee.proposedNewTime, serializeTimeSlot); + writer.writeObjectValue("status", attendee.status, serializeResponseStatus); } // tslint:enable // eslint-enable diff --git a/src/models/attendeeAvailability.ts b/src/models/attendeeAvailability.ts index c1fea3dd240..7bf95e47f8e 100644 --- a/src/models/attendeeAvailability.ts +++ b/src/models/attendeeAvailability.ts @@ -35,7 +35,7 @@ export function deserializeIntoAttendeeAvailability(attendeeAvailability: Attend } } export function serializeAttendeeAvailability(writer: SerializationWriter, attendeeAvailability: AttendeeAvailability | undefined = {} as AttendeeAvailability) : void { - writer.writeObjectValue("attendee", attendeeAvailability.attendee, ); + writer.writeObjectValue("attendee", attendeeAvailability.attendee, serializeAttendeeBase); writer.writeEnumValue("availability", attendeeAvailability.availability); writer.writeStringValue("@odata.type", attendeeAvailability.odataType); writer.writeAdditionalData(attendeeAvailability.additionalData); diff --git a/src/models/attributeDefinition.ts b/src/models/attributeDefinition.ts index 46e7d0ed790..f6d618a89af 100644 --- a/src/models/attributeDefinition.ts +++ b/src/models/attributeDefinition.ts @@ -89,16 +89,16 @@ export function deserializeIntoAttributeDefinition(attributeDefinition: Attribut } export function serializeAttributeDefinition(writer: SerializationWriter, attributeDefinition: AttributeDefinition | undefined = {} as AttributeDefinition) : void { writer.writeBooleanValue("anchor", attributeDefinition.anchor); - writer.writeCollectionOfObjectValues("apiExpressions", attributeDefinition.apiExpressions, ); + writer.writeCollectionOfObjectValues("apiExpressions", attributeDefinition.apiExpressions, serializeStringKeyStringValuePair); writer.writeBooleanValue("caseExact", attributeDefinition.caseExact); writer.writeStringValue("defaultValue", attributeDefinition.defaultValue); writer.writeBooleanValue("flowNullValues", attributeDefinition.flowNullValues); - writer.writeCollectionOfObjectValues("metadata", attributeDefinition.metadata, ); + writer.writeCollectionOfObjectValues("metadata", attributeDefinition.metadata, serializeAttributeDefinitionMetadataEntry); writer.writeBooleanValue("multivalued", attributeDefinition.multivalued); writer.writeEnumValue("mutability", attributeDefinition.mutability); writer.writeStringValue("name", attributeDefinition.name); writer.writeStringValue("@odata.type", attributeDefinition.odataType); - writer.writeCollectionOfObjectValues("referencedObjects", attributeDefinition.referencedObjects, ); + writer.writeCollectionOfObjectValues("referencedObjects", attributeDefinition.referencedObjects, serializeReferencedObject); writer.writeBooleanValue("required", attributeDefinition.required); writer.writeEnumValue("type", attributeDefinition.type); writer.writeAdditionalData(attributeDefinition.additionalData); diff --git a/src/models/attributeMapping.ts b/src/models/attributeMapping.ts index 816ab5ae113..0917a34fa63 100644 --- a/src/models/attributeMapping.ts +++ b/src/models/attributeMapping.ts @@ -67,7 +67,7 @@ export function serializeAttributeMapping(writer: SerializationWriter, attribute writer.writeEnumValue("flowType", attributeMapping.flowType); writer.writeNumberValue("matchingPriority", attributeMapping.matchingPriority); writer.writeStringValue("@odata.type", attributeMapping.odataType); - writer.writeObjectValue("source", attributeMapping.source, ); + writer.writeObjectValue("source", attributeMapping.source, serializeAttributeMappingSource); writer.writeStringValue("targetAttributeName", attributeMapping.targetAttributeName); writer.writeAdditionalData(attributeMapping.additionalData); } diff --git a/src/models/attributeMappingFunctionSchema.ts b/src/models/attributeMappingFunctionSchema.ts index b8960284ffd..d508a7ce10e 100644 --- a/src/models/attributeMappingFunctionSchema.ts +++ b/src/models/attributeMappingFunctionSchema.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeMappingFunctionSchema(attributeMappingFu } export function serializeAttributeMappingFunctionSchema(writer: SerializationWriter, attributeMappingFunctionSchema: AttributeMappingFunctionSchema | undefined = {} as AttributeMappingFunctionSchema) : void { serializeEntity(writer, attributeMappingFunctionSchema) - writer.writeCollectionOfObjectValues("parameters", attributeMappingFunctionSchema.parameters, ); + writer.writeCollectionOfObjectValues("parameters", attributeMappingFunctionSchema.parameters, serializeAttributeMappingParameterSchema); } // tslint:enable // eslint-enable diff --git a/src/models/attributeMappingFunctionSchemaCollectionResponse.ts b/src/models/attributeMappingFunctionSchemaCollectionResponse.ts index b9a38480997..9509ffa6281 100644 --- a/src/models/attributeMappingFunctionSchemaCollectionResponse.ts +++ b/src/models/attributeMappingFunctionSchemaCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeMappingFunctionSchemaCollectionResponse( } export function serializeAttributeMappingFunctionSchemaCollectionResponse(writer: SerializationWriter, attributeMappingFunctionSchemaCollectionResponse: AttributeMappingFunctionSchemaCollectionResponse | undefined = {} as AttributeMappingFunctionSchemaCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attributeMappingFunctionSchemaCollectionResponse) - writer.writeCollectionOfObjectValues("value", attributeMappingFunctionSchemaCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attributeMappingFunctionSchemaCollectionResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/models/attributeMappingSource.ts b/src/models/attributeMappingSource.ts index 6e0a833f511..fab8aee314e 100644 --- a/src/models/attributeMappingSource.ts +++ b/src/models/attributeMappingSource.ts @@ -48,7 +48,7 @@ export function serializeAttributeMappingSource(writer: SerializationWriter, att writer.writeStringValue("expression", attributeMappingSource.expression); writer.writeStringValue("name", attributeMappingSource.name); writer.writeStringValue("@odata.type", attributeMappingSource.odataType); - writer.writeCollectionOfObjectValues("parameters", attributeMappingSource.parameters, ); + writer.writeCollectionOfObjectValues("parameters", attributeMappingSource.parameters, serializeStringKeyAttributeMappingSourceValuePair); writer.writeEnumValue("type", attributeMappingSource.type); writer.writeAdditionalData(attributeMappingSource.additionalData); } diff --git a/src/models/attributeSetCollectionResponse.ts b/src/models/attributeSetCollectionResponse.ts index 30015512ffe..8e1a7129d12 100644 --- a/src/models/attributeSetCollectionResponse.ts +++ b/src/models/attributeSetCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeSetCollectionResponse(attributeSetCollec } export function serializeAttributeSetCollectionResponse(writer: SerializationWriter, attributeSetCollectionResponse: AttributeSetCollectionResponse | undefined = {} as AttributeSetCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attributeSetCollectionResponse) - writer.writeCollectionOfObjectValues("value", attributeSetCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attributeSetCollectionResponse.value, serializeAttributeSet); } // tslint:enable // eslint-enable diff --git a/src/models/audioRoutingGroupCollectionResponse.ts b/src/models/audioRoutingGroupCollectionResponse.ts index 46549777df5..61b01341e11 100644 --- a/src/models/audioRoutingGroupCollectionResponse.ts +++ b/src/models/audioRoutingGroupCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAudioRoutingGroupCollectionResponse(audioRoutingG } export function serializeAudioRoutingGroupCollectionResponse(writer: SerializationWriter, audioRoutingGroupCollectionResponse: AudioRoutingGroupCollectionResponse | undefined = {} as AudioRoutingGroupCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, audioRoutingGroupCollectionResponse) - writer.writeCollectionOfObjectValues("value", audioRoutingGroupCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", audioRoutingGroupCollectionResponse.value, serializeAudioRoutingGroup); } // tslint:enable // eslint-enable diff --git a/src/models/auditActivityInitiator.ts b/src/models/auditActivityInitiator.ts index e46e265ae4f..01a37a67d5f 100644 --- a/src/models/auditActivityInitiator.ts +++ b/src/models/auditActivityInitiator.ts @@ -35,9 +35,9 @@ export function deserializeIntoAuditActivityInitiator(auditActivityInitiator: Au } } export function serializeAuditActivityInitiator(writer: SerializationWriter, auditActivityInitiator: AuditActivityInitiator | undefined = {} as AuditActivityInitiator) : void { - writer.writeObjectValue("app", auditActivityInitiator.app, ); + writer.writeObjectValue("app", auditActivityInitiator.app, serializeAppIdentity); writer.writeStringValue("@odata.type", auditActivityInitiator.odataType); - writer.writeObjectValue("user", auditActivityInitiator.user, ); + writer.writeObjectValue("user", auditActivityInitiator.user, serializeUserIdentity); writer.writeAdditionalData(auditActivityInitiator.additionalData); } // tslint:enable diff --git a/src/models/auditEvent.ts b/src/models/auditEvent.ts index 22dfe570eee..95b3404915d 100644 --- a/src/models/auditEvent.ts +++ b/src/models/auditEvent.ts @@ -80,12 +80,12 @@ export function serializeAuditEvent(writer: SerializationWriter, auditEvent: Aud writer.writeStringValue("activityOperationType", auditEvent.activityOperationType); writer.writeStringValue("activityResult", auditEvent.activityResult); writer.writeStringValue("activityType", auditEvent.activityType); - writer.writeObjectValue("actor", auditEvent.actor, ); + writer.writeObjectValue("actor", auditEvent.actor, serializeAuditActor); writer.writeStringValue("category", auditEvent.category); writer.writeStringValue("componentName", auditEvent.componentName); writer.writeGuidValue("correlationId", auditEvent.correlationId); writer.writeStringValue("displayName", auditEvent.displayName); - writer.writeCollectionOfObjectValues("resources", auditEvent.resources, ); + writer.writeCollectionOfObjectValues("resources", auditEvent.resources, serializeAuditResource); } // tslint:enable // eslint-enable diff --git a/src/models/auditEventCollectionResponse.ts b/src/models/auditEventCollectionResponse.ts index 7fc0948ff14..4d6b34dd70a 100644 --- a/src/models/auditEventCollectionResponse.ts +++ b/src/models/auditEventCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuditEventCollectionResponse(auditEventCollection } export function serializeAuditEventCollectionResponse(writer: SerializationWriter, auditEventCollectionResponse: AuditEventCollectionResponse | undefined = {} as AuditEventCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, auditEventCollectionResponse) - writer.writeCollectionOfObjectValues("value", auditEventCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", auditEventCollectionResponse.value, serializeAuditEvent); } // tslint:enable // eslint-enable diff --git a/src/models/auditLogRoot.ts b/src/models/auditLogRoot.ts index eb0943ac710..10a933152c4 100644 --- a/src/models/auditLogRoot.ts +++ b/src/models/auditLogRoot.ts @@ -35,9 +35,9 @@ export function deserializeIntoAuditLogRoot(auditLogRoot: AuditLogRoot | undefin } export function serializeAuditLogRoot(writer: SerializationWriter, auditLogRoot: AuditLogRoot | undefined = {} as AuditLogRoot) : void { serializeEntity(writer, auditLogRoot) - writer.writeCollectionOfObjectValues("directoryAudits", auditLogRoot.directoryAudits, ); - writer.writeCollectionOfObjectValues("provisioning", auditLogRoot.provisioning, ); - writer.writeCollectionOfObjectValues("signIns", auditLogRoot.signIns, ); + writer.writeCollectionOfObjectValues("directoryAudits", auditLogRoot.directoryAudits, serializeDirectoryAudit); + writer.writeCollectionOfObjectValues("provisioning", auditLogRoot.provisioning, serializeProvisioningObjectSummary); + writer.writeCollectionOfObjectValues("signIns", auditLogRoot.signIns, serializeSignIn); } // tslint:enable // eslint-enable diff --git a/src/models/auditResource.ts b/src/models/auditResource.ts index 9f68f963603..d12a97985c0 100644 --- a/src/models/auditResource.ts +++ b/src/models/auditResource.ts @@ -46,7 +46,7 @@ export function deserializeIntoAuditResource(auditResource: AuditResource | unde export function serializeAuditResource(writer: SerializationWriter, auditResource: AuditResource | undefined = {} as AuditResource) : void { writer.writeStringValue("auditResourceType", auditResource.auditResourceType); writer.writeStringValue("displayName", auditResource.displayName); - writer.writeCollectionOfObjectValues("modifiedProperties", auditResource.modifiedProperties, ); + writer.writeCollectionOfObjectValues("modifiedProperties", auditResource.modifiedProperties, serializeAuditProperty); writer.writeStringValue("@odata.type", auditResource.odataType); writer.writeStringValue("resourceId", auditResource.resourceId); writer.writeAdditionalData(auditResource.additionalData); diff --git a/src/models/authentication.ts b/src/models/authentication.ts index fb594305b0d..13cb608a946 100644 --- a/src/models/authentication.ts +++ b/src/models/authentication.ts @@ -77,16 +77,16 @@ export function deserializeIntoAuthentication(authentication: Authentication | u } export function serializeAuthentication(writer: SerializationWriter, authentication: Authentication | undefined = {} as Authentication) : void { serializeEntity(writer, authentication) - writer.writeCollectionOfObjectValues("emailMethods", authentication.emailMethods, ); - writer.writeCollectionOfObjectValues("fido2Methods", authentication.fido2Methods, ); - writer.writeCollectionOfObjectValues("methods", authentication.methods, ); - writer.writeCollectionOfObjectValues("microsoftAuthenticatorMethods", authentication.microsoftAuthenticatorMethods, ); - writer.writeCollectionOfObjectValues("operations", authentication.operations, ); - writer.writeCollectionOfObjectValues("passwordMethods", authentication.passwordMethods, ); - writer.writeCollectionOfObjectValues("phoneMethods", authentication.phoneMethods, ); - writer.writeCollectionOfObjectValues("softwareOathMethods", authentication.softwareOathMethods, ); - writer.writeCollectionOfObjectValues("temporaryAccessPassMethods", authentication.temporaryAccessPassMethods, ); - writer.writeCollectionOfObjectValues("windowsHelloForBusinessMethods", authentication.windowsHelloForBusinessMethods, ); + writer.writeCollectionOfObjectValues("emailMethods", authentication.emailMethods, serializeEmailAuthenticationMethod); + writer.writeCollectionOfObjectValues("fido2Methods", authentication.fido2Methods, serializeFido2AuthenticationMethod); + writer.writeCollectionOfObjectValues("methods", authentication.methods, serializeAuthenticationMethod); + writer.writeCollectionOfObjectValues("microsoftAuthenticatorMethods", authentication.microsoftAuthenticatorMethods, serializeMicrosoftAuthenticatorAuthenticationMethod); + writer.writeCollectionOfObjectValues("operations", authentication.operations, serializeLongRunningOperation); + writer.writeCollectionOfObjectValues("passwordMethods", authentication.passwordMethods, serializePasswordAuthenticationMethod); + writer.writeCollectionOfObjectValues("phoneMethods", authentication.phoneMethods, serializePhoneAuthenticationMethod); + writer.writeCollectionOfObjectValues("softwareOathMethods", authentication.softwareOathMethods, serializeSoftwareOathAuthenticationMethod); + writer.writeCollectionOfObjectValues("temporaryAccessPassMethods", authentication.temporaryAccessPassMethods, serializeTemporaryAccessPassAuthenticationMethod); + writer.writeCollectionOfObjectValues("windowsHelloForBusinessMethods", authentication.windowsHelloForBusinessMethods, serializeWindowsHelloForBusinessAuthenticationMethod); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationCombinationConfigurationCollectionResponse.ts b/src/models/authenticationCombinationConfigurationCollectionResponse.ts index 8ef265bfd96..a724813e589 100644 --- a/src/models/authenticationCombinationConfigurationCollectionResponse.ts +++ b/src/models/authenticationCombinationConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationCombinationConfigurationCollectionR } export function serializeAuthenticationCombinationConfigurationCollectionResponse(writer: SerializationWriter, authenticationCombinationConfigurationCollectionResponse: AuthenticationCombinationConfigurationCollectionResponse | undefined = {} as AuthenticationCombinationConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationCombinationConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationCombinationConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationCombinationConfigurationCollectionResponse.value, serializeAuthenticationCombinationConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationContextClassReferenceCollectionResponse.ts b/src/models/authenticationContextClassReferenceCollectionResponse.ts index f074478490a..a067d670a62 100644 --- a/src/models/authenticationContextClassReferenceCollectionResponse.ts +++ b/src/models/authenticationContextClassReferenceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationContextClassReferenceCollectionResp } export function serializeAuthenticationContextClassReferenceCollectionResponse(writer: SerializationWriter, authenticationContextClassReferenceCollectionResponse: AuthenticationContextClassReferenceCollectionResponse | undefined = {} as AuthenticationContextClassReferenceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationContextClassReferenceCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationContextClassReferenceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationContextClassReferenceCollectionResponse.value, serializeAuthenticationContextClassReference); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationFlowsPolicy.ts b/src/models/authenticationFlowsPolicy.ts index 64adad54191..6246941f98a 100644 --- a/src/models/authenticationFlowsPolicy.ts +++ b/src/models/authenticationFlowsPolicy.ts @@ -35,7 +35,7 @@ export function serializeAuthenticationFlowsPolicy(writer: SerializationWriter, serializeEntity(writer, authenticationFlowsPolicy) writer.writeStringValue("description", authenticationFlowsPolicy.description); writer.writeStringValue("displayName", authenticationFlowsPolicy.displayName); - writer.writeObjectValue("selfServiceSignUp", authenticationFlowsPolicy.selfServiceSignUp, ); + writer.writeObjectValue("selfServiceSignUp", authenticationFlowsPolicy.selfServiceSignUp, serializeSelfServiceSignUpAuthenticationFlowConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodCollectionResponse.ts b/src/models/authenticationMethodCollectionResponse.ts index 2feb831e071..a57c4938656 100644 --- a/src/models/authenticationMethodCollectionResponse.ts +++ b/src/models/authenticationMethodCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodCollectionResponse(authentica } export function serializeAuthenticationMethodCollectionResponse(writer: SerializationWriter, authenticationMethodCollectionResponse: AuthenticationMethodCollectionResponse | undefined = {} as AuthenticationMethodCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodCollectionResponse.value, serializeAuthenticationMethod); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodConfiguration.ts b/src/models/authenticationMethodConfiguration.ts index 5a4c272a76a..0a9d8978142 100644 --- a/src/models/authenticationMethodConfiguration.ts +++ b/src/models/authenticationMethodConfiguration.ts @@ -62,7 +62,7 @@ export function deserializeIntoAuthenticationMethodConfiguration(authenticationM } export function serializeAuthenticationMethodConfiguration(writer: SerializationWriter, authenticationMethodConfiguration: AuthenticationMethodConfiguration | undefined = {} as AuthenticationMethodConfiguration) : void { serializeEntity(writer, authenticationMethodConfiguration) - writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodConfiguration.excludeTargets, ); + writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodConfiguration.excludeTargets, serializeExcludeTarget); writer.writeEnumValue("state", authenticationMethodConfiguration.state); } // tslint:enable diff --git a/src/models/authenticationMethodConfigurationCollectionResponse.ts b/src/models/authenticationMethodConfigurationCollectionResponse.ts index a494076ad02..37eccab5588 100644 --- a/src/models/authenticationMethodConfigurationCollectionResponse.ts +++ b/src/models/authenticationMethodConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodConfigurationCollectionRespon } export function serializeAuthenticationMethodConfigurationCollectionResponse(writer: SerializationWriter, authenticationMethodConfigurationCollectionResponse: AuthenticationMethodConfigurationCollectionResponse | undefined = {} as AuthenticationMethodConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodConfigurationCollectionResponse.value, serializeAuthenticationMethodConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodFeatureConfiguration.ts b/src/models/authenticationMethodFeatureConfiguration.ts index 2e284449c33..51c734b68f4 100644 --- a/src/models/authenticationMethodFeatureConfiguration.ts +++ b/src/models/authenticationMethodFeatureConfiguration.ts @@ -40,8 +40,8 @@ export function deserializeIntoAuthenticationMethodFeatureConfiguration(authenti } } export function serializeAuthenticationMethodFeatureConfiguration(writer: SerializationWriter, authenticationMethodFeatureConfiguration: AuthenticationMethodFeatureConfiguration | undefined = {} as AuthenticationMethodFeatureConfiguration) : void { - writer.writeObjectValue("excludeTarget", authenticationMethodFeatureConfiguration.excludeTarget, ); - writer.writeObjectValue("includeTarget", authenticationMethodFeatureConfiguration.includeTarget, ); + writer.writeObjectValue("excludeTarget", authenticationMethodFeatureConfiguration.excludeTarget, serializeFeatureTarget); + writer.writeObjectValue("includeTarget", authenticationMethodFeatureConfiguration.includeTarget, serializeFeatureTarget); writer.writeStringValue("@odata.type", authenticationMethodFeatureConfiguration.odataType); writer.writeEnumValue("state", authenticationMethodFeatureConfiguration.state); writer.writeAdditionalData(authenticationMethodFeatureConfiguration.additionalData); diff --git a/src/models/authenticationMethodModeDetailCollectionResponse.ts b/src/models/authenticationMethodModeDetailCollectionResponse.ts index e0c4420463a..2c1a1d79a71 100644 --- a/src/models/authenticationMethodModeDetailCollectionResponse.ts +++ b/src/models/authenticationMethodModeDetailCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodModeDetailCollectionResponse( } export function serializeAuthenticationMethodModeDetailCollectionResponse(writer: SerializationWriter, authenticationMethodModeDetailCollectionResponse: AuthenticationMethodModeDetailCollectionResponse | undefined = {} as AuthenticationMethodModeDetailCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodModeDetailCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodModeDetailCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodModeDetailCollectionResponse.value, serializeAuthenticationMethodModeDetail); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodsPolicy.ts b/src/models/authenticationMethodsPolicy.ts index 437e867d77b..704762cee5f 100644 --- a/src/models/authenticationMethodsPolicy.ts +++ b/src/models/authenticationMethodsPolicy.ts @@ -60,14 +60,14 @@ export function deserializeIntoAuthenticationMethodsPolicy(authenticationMethods } export function serializeAuthenticationMethodsPolicy(writer: SerializationWriter, authenticationMethodsPolicy: AuthenticationMethodsPolicy | undefined = {} as AuthenticationMethodsPolicy) : void { serializeEntity(writer, authenticationMethodsPolicy) - writer.writeCollectionOfObjectValues("authenticationMethodConfigurations", authenticationMethodsPolicy.authenticationMethodConfigurations, ); + writer.writeCollectionOfObjectValues("authenticationMethodConfigurations", authenticationMethodsPolicy.authenticationMethodConfigurations, serializeAuthenticationMethodConfiguration); writer.writeStringValue("description", authenticationMethodsPolicy.description); writer.writeStringValue("displayName", authenticationMethodsPolicy.displayName); writer.writeDateValue("lastModifiedDateTime", authenticationMethodsPolicy.lastModifiedDateTime); writer.writeEnumValue("policyMigrationState", authenticationMethodsPolicy.policyMigrationState); writer.writeStringValue("policyVersion", authenticationMethodsPolicy.policyVersion); writer.writeNumberValue("reconfirmationInDays", authenticationMethodsPolicy.reconfirmationInDays); - writer.writeObjectValue("registrationEnforcement", authenticationMethodsPolicy.registrationEnforcement, ); + writer.writeObjectValue("registrationEnforcement", authenticationMethodsPolicy.registrationEnforcement, serializeRegistrationEnforcement); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodsRegistrationCampaign.ts b/src/models/authenticationMethodsRegistrationCampaign.ts index 5215e39eaee..d7489ff2612 100644 --- a/src/models/authenticationMethodsRegistrationCampaign.ts +++ b/src/models/authenticationMethodsRegistrationCampaign.ts @@ -46,8 +46,8 @@ export function deserializeIntoAuthenticationMethodsRegistrationCampaign(authent } } export function serializeAuthenticationMethodsRegistrationCampaign(writer: SerializationWriter, authenticationMethodsRegistrationCampaign: AuthenticationMethodsRegistrationCampaign | undefined = {} as AuthenticationMethodsRegistrationCampaign) : void { - writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodsRegistrationCampaign.excludeTargets, ); - writer.writeCollectionOfObjectValues("includeTargets", authenticationMethodsRegistrationCampaign.includeTargets, ); + writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodsRegistrationCampaign.excludeTargets, serializeExcludeTarget); + writer.writeCollectionOfObjectValues("includeTargets", authenticationMethodsRegistrationCampaign.includeTargets, serializeAuthenticationMethodsRegistrationCampaignIncludeTarget); writer.writeStringValue("@odata.type", authenticationMethodsRegistrationCampaign.odataType); writer.writeNumberValue("snoozeDurationInDays", authenticationMethodsRegistrationCampaign.snoozeDurationInDays); writer.writeEnumValue("state", authenticationMethodsRegistrationCampaign.state); diff --git a/src/models/authenticationMethodsRoot.ts b/src/models/authenticationMethodsRoot.ts index ccb538a67e6..edb605a7068 100644 --- a/src/models/authenticationMethodsRoot.ts +++ b/src/models/authenticationMethodsRoot.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodsRoot(authenticationMethodsRo } export function serializeAuthenticationMethodsRoot(writer: SerializationWriter, authenticationMethodsRoot: AuthenticationMethodsRoot | undefined = {} as AuthenticationMethodsRoot) : void { serializeEntity(writer, authenticationMethodsRoot) - writer.writeCollectionOfObjectValues("userRegistrationDetails", authenticationMethodsRoot.userRegistrationDetails, ); + writer.writeCollectionOfObjectValues("userRegistrationDetails", authenticationMethodsRoot.userRegistrationDetails, serializeUserRegistrationDetails); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthPolicy.ts b/src/models/authenticationStrengthPolicy.ts index c3c2617a785..12cdedb1b6b 100644 --- a/src/models/authenticationStrengthPolicy.ts +++ b/src/models/authenticationStrengthPolicy.ts @@ -63,7 +63,7 @@ export function serializeAuthenticationStrengthPolicy(writer: SerializationWrite serializeEntity(writer, authenticationStrengthPolicy) if(authenticationStrengthPolicy.allowedCombinations) writer.writeEnumValue("allowedCombinations", ...authenticationStrengthPolicy.allowedCombinations); - writer.writeCollectionOfObjectValues("combinationConfigurations", authenticationStrengthPolicy.combinationConfigurations, ); + writer.writeCollectionOfObjectValues("combinationConfigurations", authenticationStrengthPolicy.combinationConfigurations, serializeAuthenticationCombinationConfiguration); writer.writeDateValue("createdDateTime", authenticationStrengthPolicy.createdDateTime); writer.writeStringValue("description", authenticationStrengthPolicy.description); writer.writeStringValue("displayName", authenticationStrengthPolicy.displayName); diff --git a/src/models/authenticationStrengthPolicyCollectionResponse.ts b/src/models/authenticationStrengthPolicyCollectionResponse.ts index 212efcf48d2..d3396954528 100644 --- a/src/models/authenticationStrengthPolicyCollectionResponse.ts +++ b/src/models/authenticationStrengthPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationStrengthPolicyCollectionResponse(au } export function serializeAuthenticationStrengthPolicyCollectionResponse(writer: SerializationWriter, authenticationStrengthPolicyCollectionResponse: AuthenticationStrengthPolicyCollectionResponse | undefined = {} as AuthenticationStrengthPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationStrengthPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationStrengthPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationStrengthPolicyCollectionResponse.value, serializeAuthenticationStrengthPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthRoot.ts b/src/models/authenticationStrengthRoot.ts index 875657b90d1..23e38c2c57f 100644 --- a/src/models/authenticationStrengthRoot.ts +++ b/src/models/authenticationStrengthRoot.ts @@ -35,10 +35,10 @@ export function deserializeIntoAuthenticationStrengthRoot(authenticationStrength } export function serializeAuthenticationStrengthRoot(writer: SerializationWriter, authenticationStrengthRoot: AuthenticationStrengthRoot | undefined = {} as AuthenticationStrengthRoot) : void { serializeEntity(writer, authenticationStrengthRoot) - writer.writeCollectionOfObjectValues("authenticationMethodModes", authenticationStrengthRoot.authenticationMethodModes, ); + writer.writeCollectionOfObjectValues("authenticationMethodModes", authenticationStrengthRoot.authenticationMethodModes, serializeAuthenticationMethodModeDetail); if(authenticationStrengthRoot.combinations) writer.writeEnumValue("combinations", ...authenticationStrengthRoot.combinations); - writer.writeCollectionOfObjectValues("policies", authenticationStrengthRoot.policies, ); + writer.writeCollectionOfObjectValues("policies", authenticationStrengthRoot.policies, serializeAuthenticationStrengthPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthUsage.ts b/src/models/authenticationStrengthUsage.ts index f6cffb7502c..2465a131bac 100644 --- a/src/models/authenticationStrengthUsage.ts +++ b/src/models/authenticationStrengthUsage.ts @@ -34,8 +34,8 @@ export function deserializeIntoAuthenticationStrengthUsage(authenticationStrengt } } export function serializeAuthenticationStrengthUsage(writer: SerializationWriter, authenticationStrengthUsage: AuthenticationStrengthUsage | undefined = {} as AuthenticationStrengthUsage) : void { - writer.writeCollectionOfObjectValues("mfa", authenticationStrengthUsage.mfa, ); - writer.writeCollectionOfObjectValues("none", authenticationStrengthUsage.none, ); + writer.writeCollectionOfObjectValues("mfa", authenticationStrengthUsage.mfa, serializeConditionalAccessPolicy); + writer.writeCollectionOfObjectValues("none", authenticationStrengthUsage.none, serializeConditionalAccessPolicy); writer.writeStringValue("@odata.type", authenticationStrengthUsage.odataType); writer.writeAdditionalData(authenticationStrengthUsage.additionalData); } diff --git a/src/models/authoredNote.ts b/src/models/authoredNote.ts index 61cbd4a22f4..c7d422ffbef 100644 --- a/src/models/authoredNote.ts +++ b/src/models/authoredNote.ts @@ -34,8 +34,8 @@ export function deserializeIntoAuthoredNote(authoredNote: AuthoredNote | undefin } export function serializeAuthoredNote(writer: SerializationWriter, authoredNote: AuthoredNote | undefined = {} as AuthoredNote) : void { serializeEntity(writer, authoredNote) - writer.writeObjectValue("author", authoredNote.author, ); - writer.writeObjectValue("content", authoredNote.content, ); + writer.writeObjectValue("author", authoredNote.author, serializeIdentity); + writer.writeObjectValue("content", authoredNote.content, serializeItemBody); writer.writeDateValue("createdDateTime", authoredNote.createdDateTime); } // tslint:enable diff --git a/src/models/authoredNoteCollectionResponse.ts b/src/models/authoredNoteCollectionResponse.ts index 73e09fe57ea..ae7da8ca07d 100644 --- a/src/models/authoredNoteCollectionResponse.ts +++ b/src/models/authoredNoteCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthoredNoteCollectionResponse(authoredNoteCollec } export function serializeAuthoredNoteCollectionResponse(writer: SerializationWriter, authoredNoteCollectionResponse: AuthoredNoteCollectionResponse | undefined = {} as AuthoredNoteCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authoredNoteCollectionResponse) - writer.writeCollectionOfObjectValues("value", authoredNoteCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authoredNoteCollectionResponse.value, serializeAuthoredNote); } // tslint:enable // eslint-enable diff --git a/src/models/authorizationPolicy.ts b/src/models/authorizationPolicy.ts index bb657a6c7a6..7d106863eb6 100644 --- a/src/models/authorizationPolicy.ts +++ b/src/models/authorizationPolicy.ts @@ -13,7 +13,7 @@ export interface AuthorizationPolicy extends Parsable, PolicyBase { */ allowedToSignUpEmailBasedSubscriptions?: boolean; /** - * Indicates whether users can use the Self-Serve Password Reset feature on the tenant. + * Indicates whether users can use the Self-Service Password Reset feature on the tenant. */ allowedToUseSSPR?: boolean; /** @@ -66,7 +66,7 @@ export function serializeAuthorizationPolicy(writer: SerializationWriter, author writer.writeEnumValue("allowInvitesFrom", authorizationPolicy.allowInvitesFrom); writer.writeBooleanValue("allowUserConsentForRiskyApps", authorizationPolicy.allowUserConsentForRiskyApps); writer.writeBooleanValue("blockMsolPowerShell", authorizationPolicy.blockMsolPowerShell); - writer.writeObjectValue("defaultUserRolePermissions", authorizationPolicy.defaultUserRolePermissions, ); + writer.writeObjectValue("defaultUserRolePermissions", authorizationPolicy.defaultUserRolePermissions, serializeDefaultUserRolePermissions); writer.writeGuidValue("guestUserRoleId", authorizationPolicy.guestUserRoleId); } // tslint:enable diff --git a/src/models/automaticRepliesMailTips.ts b/src/models/automaticRepliesMailTips.ts index 3862981587d..e98f8d74cb7 100644 --- a/src/models/automaticRepliesMailTips.ts +++ b/src/models/automaticRepliesMailTips.ts @@ -46,10 +46,10 @@ export function deserializeIntoAutomaticRepliesMailTips(automaticRepliesMailTips } export function serializeAutomaticRepliesMailTips(writer: SerializationWriter, automaticRepliesMailTips: AutomaticRepliesMailTips | undefined = {} as AutomaticRepliesMailTips) : void { writer.writeStringValue("message", automaticRepliesMailTips.message); - writer.writeObjectValue("messageLanguage", automaticRepliesMailTips.messageLanguage, ); + writer.writeObjectValue("messageLanguage", automaticRepliesMailTips.messageLanguage, serializeLocaleInfo); writer.writeStringValue("@odata.type", automaticRepliesMailTips.odataType); - writer.writeObjectValue("scheduledEndTime", automaticRepliesMailTips.scheduledEndTime, ); - writer.writeObjectValue("scheduledStartTime", automaticRepliesMailTips.scheduledStartTime, ); + writer.writeObjectValue("scheduledEndTime", automaticRepliesMailTips.scheduledEndTime, serializeDateTimeTimeZone); + writer.writeObjectValue("scheduledStartTime", automaticRepliesMailTips.scheduledStartTime, serializeDateTimeTimeZone); writer.writeAdditionalData(automaticRepliesMailTips.additionalData); } // tslint:enable diff --git a/src/models/automaticRepliesSetting.ts b/src/models/automaticRepliesSetting.ts index 1705f0f5aad..49921f976af 100644 --- a/src/models/automaticRepliesSetting.ts +++ b/src/models/automaticRepliesSetting.ts @@ -60,8 +60,8 @@ export function serializeAutomaticRepliesSetting(writer: SerializationWriter, au writer.writeStringValue("externalReplyMessage", automaticRepliesSetting.externalReplyMessage); writer.writeStringValue("internalReplyMessage", automaticRepliesSetting.internalReplyMessage); writer.writeStringValue("@odata.type", automaticRepliesSetting.odataType); - writer.writeObjectValue("scheduledEndDateTime", automaticRepliesSetting.scheduledEndDateTime, ); - writer.writeObjectValue("scheduledStartDateTime", automaticRepliesSetting.scheduledStartDateTime, ); + writer.writeObjectValue("scheduledEndDateTime", automaticRepliesSetting.scheduledEndDateTime, serializeDateTimeTimeZone); + writer.writeObjectValue("scheduledStartDateTime", automaticRepliesSetting.scheduledStartDateTime, serializeDateTimeTimeZone); writer.writeEnumValue("status", automaticRepliesSetting.status); writer.writeAdditionalData(automaticRepliesSetting.additionalData); } diff --git a/src/models/availabilityItem.ts b/src/models/availabilityItem.ts index 4e5eb59d3d0..f5a4d476677 100644 --- a/src/models/availabilityItem.ts +++ b/src/models/availabilityItem.ts @@ -45,10 +45,10 @@ export function deserializeIntoAvailabilityItem(availabilityItem: AvailabilityIt } } export function serializeAvailabilityItem(writer: SerializationWriter, availabilityItem: AvailabilityItem | undefined = {} as AvailabilityItem) : void { - writer.writeObjectValue("endDateTime", availabilityItem.endDateTime, ); + writer.writeObjectValue("endDateTime", availabilityItem.endDateTime, serializeDateTimeTimeZone); writer.writeStringValue("@odata.type", availabilityItem.odataType); writer.writeStringValue("serviceId", availabilityItem.serviceId); - writer.writeObjectValue("startDateTime", availabilityItem.startDateTime, ); + writer.writeObjectValue("startDateTime", availabilityItem.startDateTime, serializeDateTimeTimeZone); writer.writeEnumValue("status", availabilityItem.status); writer.writeAdditionalData(availabilityItem.additionalData); } diff --git a/src/models/azureCommunicationServicesUserIdentity.ts b/src/models/azureCommunicationServicesUserIdentity.ts index 3dc384b921b..5357f4b6093 100644 --- a/src/models/azureCommunicationServicesUserIdentity.ts +++ b/src/models/azureCommunicationServicesUserIdentity.ts @@ -6,7 +6,7 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AzureCommunicationServicesUserIdentity extends Identity, Parsable { /** - * The azureCommunicationServicesResourceId property + * The Azure Communication Services resource ID associated with the user. */ azureCommunicationServicesResourceId?: string; } diff --git a/src/models/b2xIdentityUserFlow.ts b/src/models/b2xIdentityUserFlow.ts index 07fc3331bd5..9e2882d3daf 100644 --- a/src/models/b2xIdentityUserFlow.ts +++ b/src/models/b2xIdentityUserFlow.ts @@ -47,11 +47,11 @@ export function deserializeIntoB2xIdentityUserFlow(b2xIdentityUserFlow: B2xIdent } export function serializeB2xIdentityUserFlow(writer: SerializationWriter, b2xIdentityUserFlow: B2xIdentityUserFlow | undefined = {} as B2xIdentityUserFlow) : void { serializeIdentityUserFlow(writer, b2xIdentityUserFlow) - writer.writeObjectValue("apiConnectorConfiguration", b2xIdentityUserFlow.apiConnectorConfiguration, ); - writer.writeCollectionOfObjectValues("identityProviders", b2xIdentityUserFlow.identityProviders, ); - writer.writeCollectionOfObjectValues("languages", b2xIdentityUserFlow.languages, ); - writer.writeCollectionOfObjectValues("userAttributeAssignments", b2xIdentityUserFlow.userAttributeAssignments, ); - writer.writeCollectionOfObjectValues("userFlowIdentityProviders", b2xIdentityUserFlow.userFlowIdentityProviders, ); + writer.writeObjectValue("apiConnectorConfiguration", b2xIdentityUserFlow.apiConnectorConfiguration, serializeUserFlowApiConnectorConfiguration); + writer.writeCollectionOfObjectValues("identityProviders", b2xIdentityUserFlow.identityProviders, serializeIdentityProvider); + writer.writeCollectionOfObjectValues("languages", b2xIdentityUserFlow.languages, serializeUserFlowLanguageConfiguration); + writer.writeCollectionOfObjectValues("userAttributeAssignments", b2xIdentityUserFlow.userAttributeAssignments, serializeIdentityUserFlowAttributeAssignment); + writer.writeCollectionOfObjectValues("userFlowIdentityProviders", b2xIdentityUserFlow.userFlowIdentityProviders, serializeIdentityProviderBase); } // tslint:enable // eslint-enable diff --git a/src/models/b2xIdentityUserFlowCollectionResponse.ts b/src/models/b2xIdentityUserFlowCollectionResponse.ts index 2580889eee6..fd0d383940c 100644 --- a/src/models/b2xIdentityUserFlowCollectionResponse.ts +++ b/src/models/b2xIdentityUserFlowCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoB2xIdentityUserFlowCollectionResponse(b2xIdentity } export function serializeB2xIdentityUserFlowCollectionResponse(writer: SerializationWriter, b2xIdentityUserFlowCollectionResponse: B2xIdentityUserFlowCollectionResponse | undefined = {} as B2xIdentityUserFlowCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, b2xIdentityUserFlowCollectionResponse) - writer.writeCollectionOfObjectValues("value", b2xIdentityUserFlowCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", b2xIdentityUserFlowCollectionResponse.value, serializeB2xIdentityUserFlow); } // tslint:enable // eslint-enable diff --git a/src/models/baseCollectionPaginationCountResponse.ts b/src/models/baseCollectionPaginationCountResponse.ts index 5d175497fd4..1752105b653 100644 --- a/src/models/baseCollectionPaginationCountResponse.ts +++ b/src/models/baseCollectionPaginationCountResponse.ts @@ -74,6 +74,7 @@ import { deserializeIntoCalendarCollectionResponse } from './calendarCollectionR import { deserializeIntoCalendarGroupCollectionResponse } from './calendarGroupCollectionResponse'; import { deserializeIntoCalendarPermissionCollectionResponse } from './calendarPermissionCollectionResponse'; import { deserializeIntoCallCollectionResponse } from './callCollectionResponse'; +import { deserializeIntoCallRecordingCollectionResponse } from './callRecordingCollectionResponse'; import { deserializeIntoCallRecordCollectionResponse } from './callRecords/callRecordCollectionResponse'; import { deserializeIntoSegmentCollectionResponse } from './callRecords/segmentCollectionResponse'; import { deserializeIntoSessionCollectionResponse } from './callRecords/sessionCollectionResponse'; @@ -134,6 +135,7 @@ import { deserializeIntoDeviceConfigurationStateCollectionResponse } from './dev import { deserializeIntoDeviceConfigurationUserStatusCollectionResponse } from './deviceConfigurationUserStatusCollectionResponse'; import { deserializeIntoDeviceEnrollmentConfigurationCollectionResponse } from './deviceEnrollmentConfigurationCollectionResponse'; import { deserializeIntoDeviceInstallStateCollectionResponse } from './deviceInstallStateCollectionResponse'; +import { deserializeIntoDeviceLocalCredentialInfoCollectionResponse } from './deviceLocalCredentialInfoCollectionResponse'; import { deserializeIntoDeviceLogCollectionResponseCollectionResponse } from './deviceLogCollectionResponseCollectionResponse'; import { deserializeIntoDeviceManagementExchangeConnectorCollectionResponse } from './deviceManagementExchangeConnectorCollectionResponse'; import { deserializeIntoDeviceManagementExportJobCollectionResponse } from './deviceManagementExportJobCollectionResponse'; @@ -344,6 +346,7 @@ import { deserializeIntoHostCollectionResponse } from './security/hostCollection import { deserializeIntoHostComponentCollectionResponse } from './security/hostComponentCollectionResponse'; import { deserializeIntoHostCookieCollectionResponse } from './security/hostCookieCollectionResponse'; import { deserializeIntoHostPairCollectionResponse } from './security/hostPairCollectionResponse'; +import { deserializeIntoHostPortCollectionResponse } from './security/hostPortCollectionResponse'; import { deserializeIntoHostSslCertificateCollectionResponse } from './security/hostSslCertificateCollectionResponse'; import { deserializeIntoHostTrackerCollectionResponse } from './security/hostTrackerCollectionResponse'; import { deserializeIntoIncidentCollectionResponse } from './security/incidentCollectionResponse'; @@ -465,6 +468,10 @@ import { deserializeIntoUserFlowLanguagePageCollectionResponse } from './userFlo import { deserializeIntoUserInstallStateSummaryCollectionResponse } from './userInstallStateSummaryCollectionResponse'; import { deserializeIntoUserRegistrationDetailsCollectionResponse } from './userRegistrationDetailsCollectionResponse'; import { deserializeIntoUserScopeTeamsAppInstallationCollectionResponse } from './userScopeTeamsAppInstallationCollectionResponse'; +import { deserializeIntoVirtualEventCollectionResponse } from './virtualEventCollectionResponse'; +import { deserializeIntoVirtualEventRegistrationCollectionResponse } from './virtualEventRegistrationCollectionResponse'; +import { deserializeIntoVirtualEventSessionCollectionResponse } from './virtualEventSessionCollectionResponse'; +import { deserializeIntoVirtualEventWebinarCollectionResponse } from './virtualEventWebinarCollectionResponse'; import { deserializeIntoVppTokenCollectionResponse } from './vppTokenCollectionResponse'; import { deserializeIntoWin32LobAppCollectionResponse } from './win32LobAppCollectionResponse'; import { deserializeIntoWindowsAppXCollectionResponse } from './windowsAppXCollectionResponse'; diff --git a/src/models/baseEndUserNotification.ts b/src/models/baseEndUserNotification.ts index 6978f7c65d9..f55bbec37ef 100644 --- a/src/models/baseEndUserNotification.ts +++ b/src/models/baseEndUserNotification.ts @@ -14,7 +14,7 @@ export interface BaseEndUserNotification extends AdditionalDataHolder, Parsable */ additionalData?: Record; /** - * The defaultLanguage property + * The default language for the end user notification. */ defaultLanguage?: string; /** @@ -53,7 +53,7 @@ export function deserializeIntoBaseEndUserNotification(baseEndUserNotification: } export function serializeBaseEndUserNotification(writer: SerializationWriter, baseEndUserNotification: BaseEndUserNotification | undefined = {} as BaseEndUserNotification) : void { writer.writeStringValue("defaultLanguage", baseEndUserNotification.defaultLanguage); - writer.writeObjectValue("endUserNotification", baseEndUserNotification.endUserNotification, ); + writer.writeObjectValue("endUserNotification", baseEndUserNotification.endUserNotification, serializeEndUserNotification); writer.writeStringValue("@odata.type", baseEndUserNotification.odataType); writer.writeAdditionalData(baseEndUserNotification.additionalData); } diff --git a/src/models/baseItem.ts b/src/models/baseItem.ts index 68916813c63..fd13b82d825 100644 --- a/src/models/baseItem.ts +++ b/src/models/baseItem.ts @@ -102,16 +102,16 @@ export function deserializeIntoBaseItem(baseItem: BaseItem | undefined = {} as B } export function serializeBaseItem(writer: SerializationWriter, baseItem: BaseItem | undefined = {} as BaseItem) : void { serializeEntity(writer, baseItem) - writer.writeObjectValue("createdBy", baseItem.createdBy, ); - writer.writeObjectValue("createdByUser", baseItem.createdByUser, ); + writer.writeObjectValue("createdBy", baseItem.createdBy, serializeIdentitySet); + writer.writeObjectValue("createdByUser", baseItem.createdByUser, serializeUser); writer.writeDateValue("createdDateTime", baseItem.createdDateTime); writer.writeStringValue("description", baseItem.description); writer.writeStringValue("eTag", baseItem.eTag); - writer.writeObjectValue("lastModifiedBy", baseItem.lastModifiedBy, ); - writer.writeObjectValue("lastModifiedByUser", baseItem.lastModifiedByUser, ); + writer.writeObjectValue("lastModifiedBy", baseItem.lastModifiedBy, serializeIdentitySet); + writer.writeObjectValue("lastModifiedByUser", baseItem.lastModifiedByUser, serializeUser); writer.writeDateValue("lastModifiedDateTime", baseItem.lastModifiedDateTime); writer.writeStringValue("name", baseItem.name); - writer.writeObjectValue("parentReference", baseItem.parentReference, ); + writer.writeObjectValue("parentReference", baseItem.parentReference, serializeItemReference); writer.writeStringValue("webUrl", baseItem.webUrl); } // tslint:enable diff --git a/src/models/baseItemCollectionResponse.ts b/src/models/baseItemCollectionResponse.ts index cc8fd47cbb0..9c1783f53e4 100644 --- a/src/models/baseItemCollectionResponse.ts +++ b/src/models/baseItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBaseItemCollectionResponse(baseItemCollectionResp } export function serializeBaseItemCollectionResponse(writer: SerializationWriter, baseItemCollectionResponse: BaseItemCollectionResponse | undefined = {} as BaseItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, baseItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", baseItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", baseItemCollectionResponse.value, serializeBaseItem); } // tslint:enable // eslint-enable diff --git a/src/models/baseItemVersion.ts b/src/models/baseItemVersion.ts index 2cd36ebd2df..98bb579b932 100644 --- a/src/models/baseItemVersion.ts +++ b/src/models/baseItemVersion.ts @@ -52,9 +52,9 @@ export function deserializeIntoBaseItemVersion(baseItemVersion: BaseItemVersion } export function serializeBaseItemVersion(writer: SerializationWriter, baseItemVersion: BaseItemVersion | undefined = {} as BaseItemVersion) : void { serializeEntity(writer, baseItemVersion) - writer.writeObjectValue("lastModifiedBy", baseItemVersion.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", baseItemVersion.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", baseItemVersion.lastModifiedDateTime); - writer.writeObjectValue("publication", baseItemVersion.publication, ); + writer.writeObjectValue("publication", baseItemVersion.publication, serializePublicationFacet); } // tslint:enable // eslint-enable diff --git a/src/models/bitlocker.ts b/src/models/bitlocker.ts index 47f8b30a283..942cdc120d9 100644 --- a/src/models/bitlocker.ts +++ b/src/models/bitlocker.ts @@ -23,7 +23,7 @@ export function deserializeIntoBitlocker(bitlocker: Bitlocker | undefined = {} a } export function serializeBitlocker(writer: SerializationWriter, bitlocker: Bitlocker | undefined = {} as Bitlocker) : void { serializeEntity(writer, bitlocker) - writer.writeCollectionOfObjectValues("recoveryKeys", bitlocker.recoveryKeys, ); + writer.writeCollectionOfObjectValues("recoveryKeys", bitlocker.recoveryKeys, serializeBitlockerRecoveryKey); } // tslint:enable // eslint-enable diff --git a/src/models/bitlockerRecoveryKeyCollectionResponse.ts b/src/models/bitlockerRecoveryKeyCollectionResponse.ts index 405cca83502..404cd42a12f 100644 --- a/src/models/bitlockerRecoveryKeyCollectionResponse.ts +++ b/src/models/bitlockerRecoveryKeyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBitlockerRecoveryKeyCollectionResponse(bitlockerR } export function serializeBitlockerRecoveryKeyCollectionResponse(writer: SerializationWriter, bitlockerRecoveryKeyCollectionResponse: BitlockerRecoveryKeyCollectionResponse | undefined = {} as BitlockerRecoveryKeyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bitlockerRecoveryKeyCollectionResponse) - writer.writeCollectionOfObjectValues("value", bitlockerRecoveryKeyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bitlockerRecoveryKeyCollectionResponse.value, serializeBitlockerRecoveryKey); } // tslint:enable // eslint-enable diff --git a/src/models/bookingAppointment.ts b/src/models/bookingAppointment.ts index ef689191fc1..a4260dd5f7e 100644 --- a/src/models/bookingAppointment.ts +++ b/src/models/bookingAppointment.ts @@ -144,9 +144,9 @@ export function serializeBookingAppointment(writer: SerializationWriter, booking serializeEntity(writer, bookingAppointment) writer.writeStringValue("additionalInformation", bookingAppointment.additionalInformation); writer.writeStringValue("anonymousJoinWebUrl", bookingAppointment.anonymousJoinWebUrl); - writer.writeCollectionOfObjectValues("customers", bookingAppointment.customers, ); + writer.writeCollectionOfObjectValues("customers", bookingAppointment.customers, serializeBookingCustomerInformationBase); writer.writeStringValue("customerTimeZone", bookingAppointment.customerTimeZone); - writer.writeObjectValue("endDateTime", bookingAppointment.endDateTime, ); + writer.writeObjectValue("endDateTime", bookingAppointment.endDateTime, serializeDateTimeTimeZone); writer.writeBooleanValue("isLocationOnline", bookingAppointment.isLocationOnline); writer.writeStringValue("joinWebUrl", bookingAppointment.joinWebUrl); writer.writeNumberValue("maximumAttendeesCount", bookingAppointment.maximumAttendeesCount); @@ -155,15 +155,15 @@ export function serializeBookingAppointment(writer: SerializationWriter, booking writer.writeDurationValue("preBuffer", bookingAppointment.preBuffer); writer.writeNumberValue("price", bookingAppointment.price); writer.writeEnumValue("priceType", bookingAppointment.priceType); - writer.writeCollectionOfObjectValues("reminders", bookingAppointment.reminders, ); + writer.writeCollectionOfObjectValues("reminders", bookingAppointment.reminders, serializeBookingReminder); writer.writeStringValue("selfServiceAppointmentId", bookingAppointment.selfServiceAppointmentId); writer.writeStringValue("serviceId", bookingAppointment.serviceId); - writer.writeObjectValue("serviceLocation", bookingAppointment.serviceLocation, ); + writer.writeObjectValue("serviceLocation", bookingAppointment.serviceLocation, serializeLocation); writer.writeStringValue("serviceName", bookingAppointment.serviceName); writer.writeStringValue("serviceNotes", bookingAppointment.serviceNotes); writer.writeBooleanValue("smsNotificationsEnabled", bookingAppointment.smsNotificationsEnabled); writer.writeCollectionOfPrimitiveValues("staffMemberIds", bookingAppointment.staffMemberIds); - writer.writeObjectValue("startDateTime", bookingAppointment.startDateTime, ); + writer.writeObjectValue("startDateTime", bookingAppointment.startDateTime, serializeDateTimeTimeZone); } // tslint:enable // eslint-enable diff --git a/src/models/bookingAppointmentCollectionResponse.ts b/src/models/bookingAppointmentCollectionResponse.ts index ac5a683b8a9..851d54d2e71 100644 --- a/src/models/bookingAppointmentCollectionResponse.ts +++ b/src/models/bookingAppointmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingAppointmentCollectionResponse(bookingAppoi } export function serializeBookingAppointmentCollectionResponse(writer: SerializationWriter, bookingAppointmentCollectionResponse: BookingAppointmentCollectionResponse | undefined = {} as BookingAppointmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingAppointmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingAppointmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingAppointmentCollectionResponse.value, serializeBookingAppointment); } // tslint:enable // eslint-enable diff --git a/src/models/bookingBusiness.ts b/src/models/bookingBusiness.ts index 3d7f981bb46..aa41359f34d 100644 --- a/src/models/bookingBusiness.ts +++ b/src/models/bookingBusiness.ts @@ -115,21 +115,21 @@ export function deserializeIntoBookingBusiness(bookingBusiness: BookingBusiness } export function serializeBookingBusiness(writer: SerializationWriter, bookingBusiness: BookingBusiness | undefined = {} as BookingBusiness) : void { serializeEntity(writer, bookingBusiness) - writer.writeObjectValue("address", bookingBusiness.address, ); - writer.writeCollectionOfObjectValues("appointments", bookingBusiness.appointments, ); - writer.writeCollectionOfObjectValues("businessHours", bookingBusiness.businessHours, ); + writer.writeObjectValue("address", bookingBusiness.address, serializePhysicalAddress); + writer.writeCollectionOfObjectValues("appointments", bookingBusiness.appointments, serializeBookingAppointment); + writer.writeCollectionOfObjectValues("businessHours", bookingBusiness.businessHours, serializeBookingWorkHours); writer.writeStringValue("businessType", bookingBusiness.businessType); - writer.writeCollectionOfObjectValues("calendarView", bookingBusiness.calendarView, ); - writer.writeCollectionOfObjectValues("customers", bookingBusiness.customers, ); - writer.writeCollectionOfObjectValues("customQuestions", bookingBusiness.customQuestions, ); + writer.writeCollectionOfObjectValues("calendarView", bookingBusiness.calendarView, serializeBookingAppointment); + writer.writeCollectionOfObjectValues("customers", bookingBusiness.customers, serializeBookingCustomerBase); + writer.writeCollectionOfObjectValues("customQuestions", bookingBusiness.customQuestions, serializeBookingCustomQuestion); writer.writeStringValue("defaultCurrencyIso", bookingBusiness.defaultCurrencyIso); writer.writeStringValue("displayName", bookingBusiness.displayName); writer.writeStringValue("email", bookingBusiness.email); writer.writeStringValue("languageTag", bookingBusiness.languageTag); writer.writeStringValue("phone", bookingBusiness.phone); - writer.writeObjectValue("schedulingPolicy", bookingBusiness.schedulingPolicy, ); - writer.writeCollectionOfObjectValues("services", bookingBusiness.services, ); - writer.writeCollectionOfObjectValues("staffMembers", bookingBusiness.staffMembers, ); + writer.writeObjectValue("schedulingPolicy", bookingBusiness.schedulingPolicy, serializeBookingSchedulingPolicy); + writer.writeCollectionOfObjectValues("services", bookingBusiness.services, serializeBookingService); + writer.writeCollectionOfObjectValues("staffMembers", bookingBusiness.staffMembers, serializeBookingStaffMemberBase); writer.writeStringValue("webSiteUrl", bookingBusiness.webSiteUrl); } // tslint:enable diff --git a/src/models/bookingBusinessCollectionResponse.ts b/src/models/bookingBusinessCollectionResponse.ts index b7782fd4f6d..f94725a9059 100644 --- a/src/models/bookingBusinessCollectionResponse.ts +++ b/src/models/bookingBusinessCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingBusinessCollectionResponse(bookingBusiness } export function serializeBookingBusinessCollectionResponse(writer: SerializationWriter, bookingBusinessCollectionResponse: BookingBusinessCollectionResponse | undefined = {} as BookingBusinessCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingBusinessCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingBusinessCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingBusinessCollectionResponse.value, serializeBookingBusiness); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCurrencyCollectionResponse.ts b/src/models/bookingCurrencyCollectionResponse.ts index 0bad614b5e4..2f9b70b311a 100644 --- a/src/models/bookingCurrencyCollectionResponse.ts +++ b/src/models/bookingCurrencyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCurrencyCollectionResponse(bookingCurrency } export function serializeBookingCurrencyCollectionResponse(writer: SerializationWriter, bookingCurrencyCollectionResponse: BookingCurrencyCollectionResponse | undefined = {} as BookingCurrencyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCurrencyCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCurrencyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCurrencyCollectionResponse.value, serializeBookingCurrency); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomQuestionCollectionResponse.ts b/src/models/bookingCustomQuestionCollectionResponse.ts index 725a7dd3441..f580e67f76b 100644 --- a/src/models/bookingCustomQuestionCollectionResponse.ts +++ b/src/models/bookingCustomQuestionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCustomQuestionCollectionResponse(bookingCu } export function serializeBookingCustomQuestionCollectionResponse(writer: SerializationWriter, bookingCustomQuestionCollectionResponse: BookingCustomQuestionCollectionResponse | undefined = {} as BookingCustomQuestionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCustomQuestionCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCustomQuestionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCustomQuestionCollectionResponse.value, serializeBookingCustomQuestion); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomer.ts b/src/models/bookingCustomer.ts index 8f416af1e5d..52c5545d7c9 100644 --- a/src/models/bookingCustomer.ts +++ b/src/models/bookingCustomer.ts @@ -39,10 +39,10 @@ export function deserializeIntoBookingCustomer(bookingCustomer: BookingCustomer } export function serializeBookingCustomer(writer: SerializationWriter, bookingCustomer: BookingCustomer | undefined = {} as BookingCustomer) : void { serializeBookingCustomerBase(writer, bookingCustomer) - writer.writeCollectionOfObjectValues("addresses", bookingCustomer.addresses, ); + writer.writeCollectionOfObjectValues("addresses", bookingCustomer.addresses, serializePhysicalAddress); writer.writeStringValue("displayName", bookingCustomer.displayName); writer.writeStringValue("emailAddress", bookingCustomer.emailAddress); - writer.writeCollectionOfObjectValues("phones", bookingCustomer.phones, ); + writer.writeCollectionOfObjectValues("phones", bookingCustomer.phones, serializePhone); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomerBaseCollectionResponse.ts b/src/models/bookingCustomerBaseCollectionResponse.ts index 939f04c3043..e98fdcadbb5 100644 --- a/src/models/bookingCustomerBaseCollectionResponse.ts +++ b/src/models/bookingCustomerBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCustomerBaseCollectionResponse(bookingCust } export function serializeBookingCustomerBaseCollectionResponse(writer: SerializationWriter, bookingCustomerBaseCollectionResponse: BookingCustomerBaseCollectionResponse | undefined = {} as BookingCustomerBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCustomerBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCustomerBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCustomerBaseCollectionResponse.value, serializeBookingCustomerBase); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomerInformation.ts b/src/models/bookingCustomerInformation.ts index 3eb8c72cafd..b712768e82d 100644 --- a/src/models/bookingCustomerInformation.ts +++ b/src/models/bookingCustomerInformation.ts @@ -60,9 +60,9 @@ export function deserializeIntoBookingCustomerInformation(bookingCustomerInforma export function serializeBookingCustomerInformation(writer: SerializationWriter, bookingCustomerInformation: BookingCustomerInformation | undefined = {} as BookingCustomerInformation) : void { serializeBookingCustomerInformationBase(writer, bookingCustomerInformation) writer.writeStringValue("customerId", bookingCustomerInformation.customerId); - writer.writeCollectionOfObjectValues("customQuestionAnswers", bookingCustomerInformation.customQuestionAnswers, ); + writer.writeCollectionOfObjectValues("customQuestionAnswers", bookingCustomerInformation.customQuestionAnswers, serializeBookingQuestionAnswer); writer.writeStringValue("emailAddress", bookingCustomerInformation.emailAddress); - writer.writeObjectValue("location", bookingCustomerInformation.location, ); + writer.writeObjectValue("location", bookingCustomerInformation.location, serializeLocation); writer.writeStringValue("name", bookingCustomerInformation.name); writer.writeStringValue("notes", bookingCustomerInformation.notes); writer.writeStringValue("phone", bookingCustomerInformation.phone); diff --git a/src/models/bookingService.ts b/src/models/bookingService.ts index ace9f8a79f1..996e10bd222 100644 --- a/src/models/bookingService.ts +++ b/src/models/bookingService.ts @@ -128,12 +128,12 @@ export function deserializeIntoBookingService(bookingService: BookingService | u export function serializeBookingService(writer: SerializationWriter, bookingService: BookingService | undefined = {} as BookingService) : void { serializeEntity(writer, bookingService) writer.writeStringValue("additionalInformation", bookingService.additionalInformation); - writer.writeCollectionOfObjectValues("customQuestions", bookingService.customQuestions, ); + writer.writeCollectionOfObjectValues("customQuestions", bookingService.customQuestions, serializeBookingQuestionAssignment); writer.writeDurationValue("defaultDuration", bookingService.defaultDuration); - writer.writeObjectValue("defaultLocation", bookingService.defaultLocation, ); + writer.writeObjectValue("defaultLocation", bookingService.defaultLocation, serializeLocation); writer.writeNumberValue("defaultPrice", bookingService.defaultPrice); writer.writeEnumValue("defaultPriceType", bookingService.defaultPriceType); - writer.writeCollectionOfObjectValues("defaultReminders", bookingService.defaultReminders, ); + writer.writeCollectionOfObjectValues("defaultReminders", bookingService.defaultReminders, serializeBookingReminder); writer.writeStringValue("description", bookingService.description); writer.writeStringValue("displayName", bookingService.displayName); writer.writeBooleanValue("isAnonymousJoinEnabled", bookingService.isAnonymousJoinEnabled); @@ -144,7 +144,7 @@ export function serializeBookingService(writer: SerializationWriter, bookingServ writer.writeStringValue("notes", bookingService.notes); writer.writeDurationValue("postBuffer", bookingService.postBuffer); writer.writeDurationValue("preBuffer", bookingService.preBuffer); - writer.writeObjectValue("schedulingPolicy", bookingService.schedulingPolicy, ); + writer.writeObjectValue("schedulingPolicy", bookingService.schedulingPolicy, serializeBookingSchedulingPolicy); writer.writeBooleanValue("smsNotificationsEnabled", bookingService.smsNotificationsEnabled); writer.writeCollectionOfPrimitiveValues("staffMemberIds", bookingService.staffMemberIds); } diff --git a/src/models/bookingServiceCollectionResponse.ts b/src/models/bookingServiceCollectionResponse.ts index 38a33d88f40..e87bb93d46a 100644 --- a/src/models/bookingServiceCollectionResponse.ts +++ b/src/models/bookingServiceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingServiceCollectionResponse(bookingServiceCo } export function serializeBookingServiceCollectionResponse(writer: SerializationWriter, bookingServiceCollectionResponse: BookingServiceCollectionResponse | undefined = {} as BookingServiceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingServiceCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingServiceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingServiceCollectionResponse.value, serializeBookingService); } // tslint:enable // eslint-enable diff --git a/src/models/bookingStaffMember.ts b/src/models/bookingStaffMember.ts index 684e9e22d65..cb82718e0a0 100644 --- a/src/models/bookingStaffMember.ts +++ b/src/models/bookingStaffMember.ts @@ -66,7 +66,7 @@ export function serializeBookingStaffMember(writer: SerializationWriter, booking writer.writeEnumValue("role", bookingStaffMember.role); writer.writeStringValue("timeZone", bookingStaffMember.timeZone); writer.writeBooleanValue("useBusinessHours", bookingStaffMember.useBusinessHours); - writer.writeCollectionOfObjectValues("workingHours", bookingStaffMember.workingHours, ); + writer.writeCollectionOfObjectValues("workingHours", bookingStaffMember.workingHours, serializeBookingWorkHours); } // tslint:enable // eslint-enable diff --git a/src/models/bookingStaffMemberBaseCollectionResponse.ts b/src/models/bookingStaffMemberBaseCollectionResponse.ts index be45c205aa8..7fded3732d6 100644 --- a/src/models/bookingStaffMemberBaseCollectionResponse.ts +++ b/src/models/bookingStaffMemberBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingStaffMemberBaseCollectionResponse(bookingS } export function serializeBookingStaffMemberBaseCollectionResponse(writer: SerializationWriter, bookingStaffMemberBaseCollectionResponse: BookingStaffMemberBaseCollectionResponse | undefined = {} as BookingStaffMemberBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingStaffMemberBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingStaffMemberBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingStaffMemberBaseCollectionResponse.value, serializeBookingStaffMemberBase); } // tslint:enable // eslint-enable diff --git a/src/models/bookingWorkHours.ts b/src/models/bookingWorkHours.ts index 2174cdd14ec..dbab7690154 100644 --- a/src/models/bookingWorkHours.ts +++ b/src/models/bookingWorkHours.ts @@ -37,7 +37,7 @@ export function deserializeIntoBookingWorkHours(bookingWorkHours: BookingWorkHou export function serializeBookingWorkHours(writer: SerializationWriter, bookingWorkHours: BookingWorkHours | undefined = {} as BookingWorkHours) : void { writer.writeEnumValue("day", bookingWorkHours.day); writer.writeStringValue("@odata.type", bookingWorkHours.odataType); - writer.writeCollectionOfObjectValues("timeSlots", bookingWorkHours.timeSlots, ); + writer.writeCollectionOfObjectValues("timeSlots", bookingWorkHours.timeSlots, serializeBookingWorkTimeSlot); writer.writeAdditionalData(bookingWorkHours.additionalData); } // tslint:enable diff --git a/src/models/broadcastMeetingSettings.ts b/src/models/broadcastMeetingSettings.ts index 8f4fec23189..5a921fff382 100644 --- a/src/models/broadcastMeetingSettings.ts +++ b/src/models/broadcastMeetingSettings.ts @@ -56,7 +56,7 @@ export function deserializeIntoBroadcastMeetingSettings(broadcastMeetingSettings } export function serializeBroadcastMeetingSettings(writer: SerializationWriter, broadcastMeetingSettings: BroadcastMeetingSettings | undefined = {} as BroadcastMeetingSettings) : void { writer.writeEnumValue("allowedAudience", broadcastMeetingSettings.allowedAudience); - writer.writeObjectValue("captions", broadcastMeetingSettings.captions, ); + writer.writeObjectValue("captions", broadcastMeetingSettings.captions, serializeBroadcastMeetingCaptionSettings); writer.writeBooleanValue("isAttendeeReportEnabled", broadcastMeetingSettings.isAttendeeReportEnabled); writer.writeBooleanValue("isQuestionAndAnswerEnabled", broadcastMeetingSettings.isQuestionAndAnswerEnabled); writer.writeBooleanValue("isRecordingEnabled", broadcastMeetingSettings.isRecordingEnabled); diff --git a/src/models/browserSharedCookie.ts b/src/models/browserSharedCookie.ts index 11e5f892c5f..9264b8aeb24 100644 --- a/src/models/browserSharedCookie.ts +++ b/src/models/browserSharedCookie.ts @@ -85,10 +85,10 @@ export function serializeBrowserSharedCookie(writer: SerializationWriter, browse writer.writeDateValue("createdDateTime", browserSharedCookie.createdDateTime); writer.writeDateValue("deletedDateTime", browserSharedCookie.deletedDateTime); writer.writeStringValue("displayName", browserSharedCookie.displayName); - writer.writeCollectionOfObjectValues("history", browserSharedCookie.history, ); + writer.writeCollectionOfObjectValues("history", browserSharedCookie.history, serializeBrowserSharedCookieHistory); writer.writeBooleanValue("hostOnly", browserSharedCookie.hostOnly); writer.writeStringValue("hostOrDomain", browserSharedCookie.hostOrDomain); - writer.writeObjectValue("lastModifiedBy", browserSharedCookie.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSharedCookie.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSharedCookie.lastModifiedDateTime); writer.writeStringValue("path", browserSharedCookie.path); writer.writeEnumValue("sourceEnvironment", browserSharedCookie.sourceEnvironment); diff --git a/src/models/browserSharedCookieCollectionResponse.ts b/src/models/browserSharedCookieCollectionResponse.ts index c26b382151c..1c04dfcc457 100644 --- a/src/models/browserSharedCookieCollectionResponse.ts +++ b/src/models/browserSharedCookieCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSharedCookieCollectionResponse(browserShar } export function serializeBrowserSharedCookieCollectionResponse(writer: SerializationWriter, browserSharedCookieCollectionResponse: BrowserSharedCookieCollectionResponse | undefined = {} as BrowserSharedCookieCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSharedCookieCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSharedCookieCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSharedCookieCollectionResponse.value, serializeBrowserSharedCookie); } // tslint:enable // eslint-enable diff --git a/src/models/browserSharedCookieHistory.ts b/src/models/browserSharedCookieHistory.ts index 6515d1c9d67..909e8d80e9f 100644 --- a/src/models/browserSharedCookieHistory.ts +++ b/src/models/browserSharedCookieHistory.ts @@ -69,7 +69,7 @@ export function serializeBrowserSharedCookieHistory(writer: SerializationWriter, writer.writeStringValue("displayName", browserSharedCookieHistory.displayName); writer.writeBooleanValue("hostOnly", browserSharedCookieHistory.hostOnly); writer.writeStringValue("hostOrDomain", browserSharedCookieHistory.hostOrDomain); - writer.writeObjectValue("lastModifiedBy", browserSharedCookieHistory.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSharedCookieHistory.lastModifiedBy, serializeIdentitySet); writer.writeStringValue("@odata.type", browserSharedCookieHistory.odataType); writer.writeStringValue("path", browserSharedCookieHistory.path); writer.writeDateValue("publishedDateTime", browserSharedCookieHistory.publishedDateTime); diff --git a/src/models/browserSite.ts b/src/models/browserSite.ts index 7091822d087..41e04c06c93 100644 --- a/src/models/browserSite.ts +++ b/src/models/browserSite.ts @@ -88,8 +88,8 @@ export function serializeBrowserSite(writer: SerializationWriter, browserSite: B writer.writeEnumValue("compatibilityMode", browserSite.compatibilityMode); writer.writeDateValue("createdDateTime", browserSite.createdDateTime); writer.writeDateValue("deletedDateTime", browserSite.deletedDateTime); - writer.writeCollectionOfObjectValues("history", browserSite.history, ); - writer.writeObjectValue("lastModifiedBy", browserSite.lastModifiedBy, ); + writer.writeCollectionOfObjectValues("history", browserSite.history, serializeBrowserSiteHistory); + writer.writeObjectValue("lastModifiedBy", browserSite.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSite.lastModifiedDateTime); writer.writeEnumValue("mergeType", browserSite.mergeType); writer.writeEnumValue("status", browserSite.status); diff --git a/src/models/browserSiteCollectionResponse.ts b/src/models/browserSiteCollectionResponse.ts index 0ac3597c60e..466935071c5 100644 --- a/src/models/browserSiteCollectionResponse.ts +++ b/src/models/browserSiteCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSiteCollectionResponse(browserSiteCollecti } export function serializeBrowserSiteCollectionResponse(writer: SerializationWriter, browserSiteCollectionResponse: BrowserSiteCollectionResponse | undefined = {} as BrowserSiteCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSiteCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSiteCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSiteCollectionResponse.value, serializeBrowserSite); } // tslint:enable // eslint-enable diff --git a/src/models/browserSiteHistory.ts b/src/models/browserSiteHistory.ts index 5f967c36f5b..dde665a3894 100644 --- a/src/models/browserSiteHistory.ts +++ b/src/models/browserSiteHistory.ts @@ -65,7 +65,7 @@ export function serializeBrowserSiteHistory(writer: SerializationWriter, browser writer.writeBooleanValue("allowRedirect", browserSiteHistory.allowRedirect); writer.writeStringValue("comment", browserSiteHistory.comment); writer.writeEnumValue("compatibilityMode", browserSiteHistory.compatibilityMode); - writer.writeObjectValue("lastModifiedBy", browserSiteHistory.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSiteHistory.lastModifiedBy, serializeIdentitySet); writer.writeEnumValue("mergeType", browserSiteHistory.mergeType); writer.writeStringValue("@odata.type", browserSiteHistory.odataType); writer.writeDateValue("publishedDateTime", browserSiteHistory.publishedDateTime); diff --git a/src/models/browserSiteList.ts b/src/models/browserSiteList.ts index 33b56da765d..45dfe7ccca5 100644 --- a/src/models/browserSiteList.ts +++ b/src/models/browserSiteList.ts @@ -73,13 +73,13 @@ export function serializeBrowserSiteList(writer: SerializationWriter, browserSit serializeEntity(writer, browserSiteList) writer.writeStringValue("description", browserSiteList.description); writer.writeStringValue("displayName", browserSiteList.displayName); - writer.writeObjectValue("lastModifiedBy", browserSiteList.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSiteList.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSiteList.lastModifiedDateTime); - writer.writeObjectValue("publishedBy", browserSiteList.publishedBy, ); + writer.writeObjectValue("publishedBy", browserSiteList.publishedBy, serializeIdentitySet); writer.writeDateValue("publishedDateTime", browserSiteList.publishedDateTime); writer.writeStringValue("revision", browserSiteList.revision); - writer.writeCollectionOfObjectValues("sharedCookies", browserSiteList.sharedCookies, ); - writer.writeCollectionOfObjectValues("sites", browserSiteList.sites, ); + writer.writeCollectionOfObjectValues("sharedCookies", browserSiteList.sharedCookies, serializeBrowserSharedCookie); + writer.writeCollectionOfObjectValues("sites", browserSiteList.sites, serializeBrowserSite); writer.writeEnumValue("status", browserSiteList.status); } // tslint:enable diff --git a/src/models/browserSiteListCollectionResponse.ts b/src/models/browserSiteListCollectionResponse.ts index 4804409240c..bc672777af2 100644 --- a/src/models/browserSiteListCollectionResponse.ts +++ b/src/models/browserSiteListCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSiteListCollectionResponse(browserSiteList } export function serializeBrowserSiteListCollectionResponse(writer: SerializationWriter, browserSiteListCollectionResponse: BrowserSiteListCollectionResponse | undefined = {} as BrowserSiteListCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSiteListCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSiteListCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSiteListCollectionResponse.value, serializeBrowserSiteList); } // tslint:enable // eslint-enable diff --git a/src/models/bucketAggregationDefinition.ts b/src/models/bucketAggregationDefinition.ts index 2e925df48e7..c15f6d335b5 100644 --- a/src/models/bucketAggregationDefinition.ts +++ b/src/models/bucketAggregationDefinition.ts @@ -54,7 +54,7 @@ export function serializeBucketAggregationDefinition(writer: SerializationWriter writer.writeNumberValue("minimumCount", bucketAggregationDefinition.minimumCount); writer.writeStringValue("@odata.type", bucketAggregationDefinition.odataType); writer.writeStringValue("prefixFilter", bucketAggregationDefinition.prefixFilter); - writer.writeCollectionOfObjectValues("ranges", bucketAggregationDefinition.ranges, ); + writer.writeCollectionOfObjectValues("ranges", bucketAggregationDefinition.ranges, serializeBucketAggregationRange); writer.writeEnumValue("sortBy", bucketAggregationDefinition.sortBy); writer.writeAdditionalData(bucketAggregationDefinition.additionalData); } diff --git a/src/models/bundle.ts b/src/models/bundle.ts index 8333af5f84f..f564c552cef 100644 --- a/src/models/bundle.ts +++ b/src/models/bundle.ts @@ -34,7 +34,7 @@ export function deserializeIntoBundle(bundle: Bundle | undefined = {} as Bundle) } } export function serializeBundle(writer: SerializationWriter, bundle: Bundle | undefined = {} as Bundle) : void { - writer.writeObjectValue("album", bundle.album, ); + writer.writeObjectValue("album", bundle.album, serializeAlbum); writer.writeNumberValue("childCount", bundle.childCount); writer.writeStringValue("@odata.type", bundle.odataType); writer.writeAdditionalData(bundle.additionalData); diff --git a/src/models/calendar.ts b/src/models/calendar.ts index 9cbd36a5400..99c7f3fda1f 100644 --- a/src/models/calendar.ts +++ b/src/models/calendar.ts @@ -116,23 +116,23 @@ export function serializeCalendar(writer: SerializationWriter, calendar: Calenda serializeEntity(writer, calendar) if(calendar.allowedOnlineMeetingProviders) writer.writeEnumValue("allowedOnlineMeetingProviders", ...calendar.allowedOnlineMeetingProviders); - writer.writeCollectionOfObjectValues("calendarPermissions", calendar.calendarPermissions, ); - writer.writeCollectionOfObjectValues("calendarView", calendar.calendarView, ); + writer.writeCollectionOfObjectValues("calendarPermissions", calendar.calendarPermissions, serializeCalendarPermission); + writer.writeCollectionOfObjectValues("calendarView", calendar.calendarView, serializeEvent); writer.writeBooleanValue("canEdit", calendar.canEdit); writer.writeBooleanValue("canShare", calendar.canShare); writer.writeBooleanValue("canViewPrivateItems", calendar.canViewPrivateItems); writer.writeStringValue("changeKey", calendar.changeKey); writer.writeEnumValue("color", calendar.color); writer.writeEnumValue("defaultOnlineMeetingProvider", calendar.defaultOnlineMeetingProvider); - writer.writeCollectionOfObjectValues("events", calendar.events, ); + writer.writeCollectionOfObjectValues("events", calendar.events, serializeEvent); writer.writeStringValue("hexColor", calendar.hexColor); writer.writeBooleanValue("isDefaultCalendar", calendar.isDefaultCalendar); writer.writeBooleanValue("isRemovable", calendar.isRemovable); writer.writeBooleanValue("isTallyingResponses", calendar.isTallyingResponses); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", calendar.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", calendar.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("name", calendar.name); - writer.writeObjectValue("owner", calendar.owner, ); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", calendar.singleValueExtendedProperties, ); + writer.writeObjectValue("owner", calendar.owner, serializeEmailAddress); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", calendar.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); } // tslint:enable // eslint-enable diff --git a/src/models/calendarCollectionResponse.ts b/src/models/calendarCollectionResponse.ts index 24977ac6eff..33ee391cc8e 100644 --- a/src/models/calendarCollectionResponse.ts +++ b/src/models/calendarCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarCollectionResponse(calendarCollectionResp } export function serializeCalendarCollectionResponse(writer: SerializationWriter, calendarCollectionResponse: CalendarCollectionResponse | undefined = {} as CalendarCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarCollectionResponse.value, serializeCalendar); } // tslint:enable // eslint-enable diff --git a/src/models/calendarGroup.ts b/src/models/calendarGroup.ts index 1504ff51102..5c9c8cb3695 100644 --- a/src/models/calendarGroup.ts +++ b/src/models/calendarGroup.ts @@ -39,7 +39,7 @@ export function deserializeIntoCalendarGroup(calendarGroup: CalendarGroup | unde } export function serializeCalendarGroup(writer: SerializationWriter, calendarGroup: CalendarGroup | undefined = {} as CalendarGroup) : void { serializeEntity(writer, calendarGroup) - writer.writeCollectionOfObjectValues("calendars", calendarGroup.calendars, ); + writer.writeCollectionOfObjectValues("calendars", calendarGroup.calendars, serializeCalendar); writer.writeStringValue("changeKey", calendarGroup.changeKey); writer.writeGuidValue("classId", calendarGroup.classId); writer.writeStringValue("name", calendarGroup.name); diff --git a/src/models/calendarGroupCollectionResponse.ts b/src/models/calendarGroupCollectionResponse.ts index 95b3fc5a743..8986af44c79 100644 --- a/src/models/calendarGroupCollectionResponse.ts +++ b/src/models/calendarGroupCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarGroupCollectionResponse(calendarGroupColl } export function serializeCalendarGroupCollectionResponse(writer: SerializationWriter, calendarGroupCollectionResponse: CalendarGroupCollectionResponse | undefined = {} as CalendarGroupCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarGroupCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarGroupCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarGroupCollectionResponse.value, serializeCalendarGroup); } // tslint:enable // eslint-enable diff --git a/src/models/calendarPermission.ts b/src/models/calendarPermission.ts index 01d6e205d45..727a0c3e1c0 100644 --- a/src/models/calendarPermission.ts +++ b/src/models/calendarPermission.ts @@ -46,7 +46,7 @@ export function serializeCalendarPermission(writer: SerializationWriter, calenda serializeEntity(writer, calendarPermission) if(calendarPermission.allowedRoles) writer.writeEnumValue("allowedRoles", ...calendarPermission.allowedRoles); - writer.writeObjectValue("emailAddress", calendarPermission.emailAddress, ); + writer.writeObjectValue("emailAddress", calendarPermission.emailAddress, serializeEmailAddress); writer.writeBooleanValue("isInsideOrganization", calendarPermission.isInsideOrganization); writer.writeBooleanValue("isRemovable", calendarPermission.isRemovable); writer.writeEnumValue("role", calendarPermission.role); diff --git a/src/models/calendarPermissionCollectionResponse.ts b/src/models/calendarPermissionCollectionResponse.ts index 23a1ae39ffd..8c6fa15b0d2 100644 --- a/src/models/calendarPermissionCollectionResponse.ts +++ b/src/models/calendarPermissionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarPermissionCollectionResponse(calendarPerm } export function serializeCalendarPermissionCollectionResponse(writer: SerializationWriter, calendarPermissionCollectionResponse: CalendarPermissionCollectionResponse | undefined = {} as CalendarPermissionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarPermissionCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarPermissionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarPermissionCollectionResponse.value, serializeCalendarPermission); } // tslint:enable // eslint-enable diff --git a/src/models/calendarSharingMessage.ts b/src/models/calendarSharingMessage.ts index 53ce43b1e29..fe0dec0419c 100644 --- a/src/models/calendarSharingMessage.ts +++ b/src/models/calendarSharingMessage.ts @@ -39,8 +39,8 @@ export function deserializeIntoCalendarSharingMessage(calendarSharingMessage: Ca export function serializeCalendarSharingMessage(writer: SerializationWriter, calendarSharingMessage: CalendarSharingMessage | undefined = {} as CalendarSharingMessage) : void { serializeMessage(writer, calendarSharingMessage) writer.writeBooleanValue("canAccept", calendarSharingMessage.canAccept); - writer.writeObjectValue("sharingMessageAction", calendarSharingMessage.sharingMessageAction, ); - writer.writeCollectionOfObjectValues("sharingMessageActions", calendarSharingMessage.sharingMessageActions, ); + writer.writeObjectValue("sharingMessageAction", calendarSharingMessage.sharingMessageAction, serializeCalendarSharingMessageAction); + writer.writeCollectionOfObjectValues("sharingMessageActions", calendarSharingMessage.sharingMessageActions, serializeCalendarSharingMessageAction); writer.writeStringValue("suggestedCalendarName", calendarSharingMessage.suggestedCalendarName); } // tslint:enable diff --git a/src/models/call.ts b/src/models/call.ts index 0483c0bfe13..83234d51ce6 100644 --- a/src/models/call.ts +++ b/src/models/call.ts @@ -156,31 +156,31 @@ export function deserializeIntoCall(call: Call | undefined = {} as Call) : Recor } export function serializeCall(writer: SerializationWriter, call: Call | undefined = {} as Call) : void { serializeEntity(writer, call) - writer.writeCollectionOfObjectValues("audioRoutingGroups", call.audioRoutingGroups, ); + writer.writeCollectionOfObjectValues("audioRoutingGroups", call.audioRoutingGroups, serializeAudioRoutingGroup); writer.writeStringValue("callbackUri", call.callbackUri); writer.writeStringValue("callChainId", call.callChainId); - writer.writeObjectValue("callOptions", call.callOptions, ); - writer.writeCollectionOfObjectValues("callRoutes", call.callRoutes, ); - writer.writeObjectValue("chatInfo", call.chatInfo, ); - writer.writeCollectionOfObjectValues("contentSharingSessions", call.contentSharingSessions, ); + writer.writeObjectValue("callOptions", call.callOptions, serializeCallOptions); + writer.writeCollectionOfObjectValues("callRoutes", call.callRoutes, serializeCallRoute); + writer.writeObjectValue("chatInfo", call.chatInfo, serializeChatInfo); + writer.writeCollectionOfObjectValues("contentSharingSessions", call.contentSharingSessions, serializeContentSharingSession); writer.writeEnumValue("direction", call.direction); - writer.writeObjectValue("incomingContext", call.incomingContext, ); - writer.writeObjectValue("mediaConfig", call.mediaConfig, ); - writer.writeObjectValue("mediaState", call.mediaState, ); - writer.writeObjectValue("meetingInfo", call.meetingInfo, ); + writer.writeObjectValue("incomingContext", call.incomingContext, serializeIncomingContext); + writer.writeObjectValue("mediaConfig", call.mediaConfig, serializeMediaConfig); + writer.writeObjectValue("mediaState", call.mediaState, serializeCallMediaState); + writer.writeObjectValue("meetingInfo", call.meetingInfo, serializeMeetingInfo); writer.writeStringValue("myParticipantId", call.myParticipantId); - writer.writeCollectionOfObjectValues("operations", call.operations, ); - writer.writeCollectionOfObjectValues("participants", call.participants, ); + writer.writeCollectionOfObjectValues("operations", call.operations, serializeCommsOperation); + writer.writeCollectionOfObjectValues("participants", call.participants, serializeParticipant); if(call.requestedModalities) writer.writeEnumValue("requestedModalities", ...call.requestedModalities); - writer.writeObjectValue("resultInfo", call.resultInfo, ); - writer.writeObjectValue("source", call.source, ); + writer.writeObjectValue("resultInfo", call.resultInfo, serializeResultInfo); + writer.writeObjectValue("source", call.source, serializeParticipantInfo); writer.writeEnumValue("state", call.state); writer.writeStringValue("subject", call.subject); - writer.writeCollectionOfObjectValues("targets", call.targets, ); + writer.writeCollectionOfObjectValues("targets", call.targets, serializeInvitationParticipantInfo); writer.writeStringValue("tenantId", call.tenantId); - writer.writeObjectValue("toneInfo", call.toneInfo, ); - writer.writeObjectValue("transcription", call.transcription, ); + writer.writeObjectValue("toneInfo", call.toneInfo, serializeToneInfo); + writer.writeObjectValue("transcription", call.transcription, serializeCallTranscriptionInfo); } // tslint:enable // eslint-enable diff --git a/src/models/callCollectionResponse.ts b/src/models/callCollectionResponse.ts index bab01fe599b..e22cb7f1a7f 100644 --- a/src/models/callCollectionResponse.ts +++ b/src/models/callCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallCollectionResponse(callCollectionResponse: Ca } export function serializeCallCollectionResponse(writer: SerializationWriter, callCollectionResponse: CallCollectionResponse | undefined = {} as CallCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callCollectionResponse) - writer.writeCollectionOfObjectValues("value", callCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callCollectionResponse.value, serializeCall); } // tslint:enable // eslint-enable diff --git a/src/models/callEndedEventMessageDetail.ts b/src/models/callEndedEventMessageDetail.ts index 62a7febb6c5..4c34ca4d627 100644 --- a/src/models/callEndedEventMessageDetail.ts +++ b/src/models/callEndedEventMessageDetail.ts @@ -48,8 +48,8 @@ export function serializeCallEndedEventMessageDetail(writer: SerializationWriter writer.writeDurationValue("callDuration", callEndedEventMessageDetail.callDuration); writer.writeEnumValue("callEventType", callEndedEventMessageDetail.callEventType); writer.writeStringValue("callId", callEndedEventMessageDetail.callId); - writer.writeCollectionOfObjectValues("callParticipants", callEndedEventMessageDetail.callParticipants, ); - writer.writeObjectValue("initiator", callEndedEventMessageDetail.initiator, ); + writer.writeCollectionOfObjectValues("callParticipants", callEndedEventMessageDetail.callParticipants, serializeCallParticipantInfo); + writer.writeObjectValue("initiator", callEndedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callParticipantInfo.ts b/src/models/callParticipantInfo.ts index 8f2875891d2..bfb958c0a65 100644 --- a/src/models/callParticipantInfo.ts +++ b/src/models/callParticipantInfo.ts @@ -30,7 +30,7 @@ export function deserializeIntoCallParticipantInfo(callParticipantInfo: CallPart } export function serializeCallParticipantInfo(writer: SerializationWriter, callParticipantInfo: CallParticipantInfo | undefined = {} as CallParticipantInfo) : void { writer.writeStringValue("@odata.type", callParticipantInfo.odataType); - writer.writeObjectValue("participant", callParticipantInfo.participant, ); + writer.writeObjectValue("participant", callParticipantInfo.participant, serializeIdentitySet); writer.writeAdditionalData(callParticipantInfo.additionalData); } // tslint:enable diff --git a/src/models/callRecording.ts b/src/models/callRecording.ts new file mode 100644 index 00000000000..dcb7614b8f8 --- /dev/null +++ b/src/models/callRecording.ts @@ -0,0 +1,53 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { createIdentitySetFromDiscriminatorValue, serializeIdentitySet, type IdentitySet } from './identitySet'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export interface CallRecording extends Entity, Parsable { + /** + * The content of the recording. Read-only. + */ + content?: string; + /** + * Date and time at which the recording was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + */ + createdDateTime?: Date; + /** + * The unique identifier of the onlineMeeting related to this recording. Read-only. + */ + meetingId?: string; + /** + * The identity information of the organizer of the onlineMeeting related to this recording. Read-only. + */ + meetingOrganizer?: IdentitySet; + /** + * The URL that can be used to access the content of the recording. Read-only. + */ + recordingContentUrl?: string; +} +export function createCallRecordingFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoCallRecording; +} +export function deserializeIntoCallRecording(callRecording: CallRecording | undefined = {} as CallRecording) : Record void> { + return { + ...deserializeIntoEntity(callRecording), + "content": n => { callRecording.content = n.getStringValue(); }, + "createdDateTime": n => { callRecording.createdDateTime = n.getDateValue(); }, + "meetingId": n => { callRecording.meetingId = n.getStringValue(); }, + "meetingOrganizer": n => { callRecording.meetingOrganizer = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, + "recordingContentUrl": n => { callRecording.recordingContentUrl = n.getStringValue(); }, + } +} +export function serializeCallRecording(writer: SerializationWriter, callRecording: CallRecording | undefined = {} as CallRecording) : void { + serializeEntity(writer, callRecording) + writer.writeStringValue("content", callRecording.content); + writer.writeDateValue("createdDateTime", callRecording.createdDateTime); + writer.writeStringValue("meetingId", callRecording.meetingId); + writer.writeObjectValue("meetingOrganizer", callRecording.meetingOrganizer, serializeIdentitySet); + writer.writeStringValue("recordingContentUrl", callRecording.recordingContentUrl); +} +// tslint:enable +// eslint-enable diff --git a/src/models/callRecordingCollectionResponse.ts b/src/models/callRecordingCollectionResponse.ts new file mode 100644 index 00000000000..9bbc2ad7493 --- /dev/null +++ b/src/models/callRecordingCollectionResponse.ts @@ -0,0 +1,29 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, type BaseCollectionPaginationCountResponse } from './baseCollectionPaginationCountResponse'; +import { createCallRecordingFromDiscriminatorValue, serializeCallRecording, type CallRecording } from './callRecording'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export interface CallRecordingCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { + /** + * The value property + */ + value?: CallRecording[]; +} +export function createCallRecordingCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoCallRecordingCollectionResponse; +} +export function deserializeIntoCallRecordingCollectionResponse(callRecordingCollectionResponse: CallRecordingCollectionResponse | undefined = {} as CallRecordingCollectionResponse) : Record void> { + return { + ...deserializeIntoBaseCollectionPaginationCountResponse(callRecordingCollectionResponse), + "value": n => { callRecordingCollectionResponse.value = n.getCollectionOfObjectValues(createCallRecordingFromDiscriminatorValue); }, + } +} +export function serializeCallRecordingCollectionResponse(writer: SerializationWriter, callRecordingCollectionResponse: CallRecordingCollectionResponse | undefined = {} as CallRecordingCollectionResponse) : void { + serializeBaseCollectionPaginationCountResponse(writer, callRecordingCollectionResponse) + writer.writeCollectionOfObjectValues("value", callRecordingCollectionResponse.value, serializeCallRecording); +} +// tslint:enable +// eslint-enable diff --git a/src/models/callRecordingEventMessageDetail.ts b/src/models/callRecordingEventMessageDetail.ts index bdcd09704b2..1c2e822a50e 100644 --- a/src/models/callRecordingEventMessageDetail.ts +++ b/src/models/callRecordingEventMessageDetail.ts @@ -59,8 +59,8 @@ export function serializeCallRecordingEventMessageDetail(writer: SerializationWr writer.writeDurationValue("callRecordingDuration", callRecordingEventMessageDetail.callRecordingDuration); writer.writeEnumValue("callRecordingStatus", callRecordingEventMessageDetail.callRecordingStatus); writer.writeStringValue("callRecordingUrl", callRecordingEventMessageDetail.callRecordingUrl); - writer.writeObjectValue("initiator", callRecordingEventMessageDetail.initiator, ); - writer.writeObjectValue("meetingOrganizer", callRecordingEventMessageDetail.meetingOrganizer, ); + writer.writeObjectValue("initiator", callRecordingEventMessageDetail.initiator, serializeIdentitySet); + writer.writeObjectValue("meetingOrganizer", callRecordingEventMessageDetail.meetingOrganizer, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/callRecord.ts b/src/models/callRecords/callRecord.ts index 5cce3c6f368..d4cda7c641e 100644 --- a/src/models/callRecords/callRecord.ts +++ b/src/models/callRecords/callRecord.ts @@ -76,9 +76,9 @@ export function serializeCallRecord(writer: SerializationWriter, callRecord: Cal writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime); if(callRecord.modalities) writer.writeEnumValue("modalities", ...callRecord.modalities); - writer.writeObjectValue("organizer", callRecord.organizer, ); - writer.writeCollectionOfObjectValues("participants", callRecord.participants, ); - writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, ); + writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet); + writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet); + writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession); writer.writeDateValue("startDateTime", callRecord.startDateTime); writer.writeEnumValue("type", callRecord.type); writer.writeNumberValue("version", callRecord.version); diff --git a/src/models/callRecords/callRecordCollectionResponse.ts b/src/models/callRecords/callRecordCollectionResponse.ts index 0dc12256e29..9c817fb6334 100644 --- a/src/models/callRecords/callRecordCollectionResponse.ts +++ b/src/models/callRecords/callRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallRecordCollectionResponse(callRecordCollection } export function serializeCallRecordCollectionResponse(writer: SerializationWriter, callRecordCollectionResponse: CallRecordCollectionResponse | undefined = {} as CallRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/endpoint.ts b/src/models/callRecords/endpoint.ts index 763ad6429ec..7974b2b3f7d 100644 --- a/src/models/callRecords/endpoint.ts +++ b/src/models/callRecords/endpoint.ts @@ -45,7 +45,7 @@ export interface Endpoint extends AdditionalDataHolder, Parsable { } export function serializeEndpoint(writer: SerializationWriter, endpoint: Endpoint | undefined = {} as Endpoint) : void { writer.writeStringValue("@odata.type", endpoint.odataType); - writer.writeObjectValue("userAgent", endpoint.userAgent, ); + writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent); writer.writeAdditionalData(endpoint.additionalData); } // tslint:enable diff --git a/src/models/callRecords/media.ts b/src/models/callRecords/media.ts index f5973aad8f1..75f6cf13ac5 100644 --- a/src/models/callRecords/media.ts +++ b/src/models/callRecords/media.ts @@ -56,13 +56,13 @@ export interface Media extends AdditionalDataHolder, Parsable { streams?: MediaStream[]; } export function serializeMedia(writer: SerializationWriter, media: Media | undefined = {} as Media) : void { - writer.writeObjectValue("calleeDevice", media.calleeDevice, ); - writer.writeObjectValue("calleeNetwork", media.calleeNetwork, ); - writer.writeObjectValue("callerDevice", media.callerDevice, ); - writer.writeObjectValue("callerNetwork", media.callerNetwork, ); + writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo); + writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo); + writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo); + writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo); writer.writeStringValue("label", media.label); writer.writeStringValue("@odata.type", media.odataType); - writer.writeCollectionOfObjectValues("streams", media.streams, ); + writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream); writer.writeAdditionalData(media.additionalData); } // tslint:enable diff --git a/src/models/callRecords/networkInfo.ts b/src/models/callRecords/networkInfo.ts index 3fa5f0e1a14..e16f2999cde 100644 --- a/src/models/callRecords/networkInfo.ts +++ b/src/models/callRecords/networkInfo.ts @@ -175,7 +175,7 @@ export function serializeNetworkInfo(writer: SerializationWriter, networkInfo: N writer.writeNumberValue("relayPort", networkInfo.relayPort); writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio); writer.writeStringValue("subnet", networkInfo.subnet); - writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, ); + writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop); writer.writeEnumValue("wifiBand", networkInfo.wifiBand); writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge); writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel); diff --git a/src/models/callRecords/participantEndpoint.ts b/src/models/callRecords/participantEndpoint.ts index a1243bb9135..20e0949ed9c 100644 --- a/src/models/callRecords/participantEndpoint.ts +++ b/src/models/callRecords/participantEndpoint.ts @@ -52,8 +52,8 @@ export function serializeParticipantEndpoint(writer: SerializationWriter, partic writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount); writer.writeStringValue("cpuName", participantEndpoint.cpuName); writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz); - writer.writeObjectValue("feedback", participantEndpoint.feedback, ); - writer.writeObjectValue("identity", participantEndpoint.identity, ); + writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback); + writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet); writer.writeStringValue("name", participantEndpoint.name); } // tslint:enable diff --git a/src/models/callRecords/segment.ts b/src/models/callRecords/segment.ts index e86ea287cc7..5818745537f 100644 --- a/src/models/callRecords/segment.ts +++ b/src/models/callRecords/segment.ts @@ -50,11 +50,11 @@ export interface Segment extends Entity, Parsable { } export function serializeSegment(writer: SerializationWriter, segment: Segment | undefined = {} as Segment) : void { serializeEntity(writer, segment) - writer.writeObjectValue("callee", segment.callee, ); - writer.writeObjectValue("caller", segment.caller, ); + writer.writeObjectValue("callee", segment.callee, serializeEndpoint); + writer.writeObjectValue("caller", segment.caller, serializeEndpoint); writer.writeDateValue("endDateTime", segment.endDateTime); - writer.writeObjectValue("failureInfo", segment.failureInfo, ); - writer.writeCollectionOfObjectValues("media", segment.media, ); + writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo); + writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia); writer.writeDateValue("startDateTime", segment.startDateTime); } // tslint:enable diff --git a/src/models/callRecords/segmentCollectionResponse.ts b/src/models/callRecords/segmentCollectionResponse.ts index ab94833ca9a..15e44cd18ea 100644 --- a/src/models/callRecords/segmentCollectionResponse.ts +++ b/src/models/callRecords/segmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface SegmentCollectionResponse extends BaseCollectionPaginationCount } export function serializeSegmentCollectionResponse(writer: SerializationWriter, segmentCollectionResponse: SegmentCollectionResponse | undefined = {} as SegmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, segmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/session.ts b/src/models/callRecords/session.ts index 696277fe8b2..c4df7d7ea73 100644 --- a/src/models/callRecords/session.ts +++ b/src/models/callRecords/session.ts @@ -27,14 +27,14 @@ export function deserializeIntoSession(session: Session | undefined = {} as Sess } export function serializeSession(writer: SerializationWriter, session: Session | undefined = {} as Session) : void { serializeEntity(writer, session) - writer.writeObjectValue("callee", session.callee, ); - writer.writeObjectValue("caller", session.caller, ); + writer.writeObjectValue("callee", session.callee, serializeEndpoint); + writer.writeObjectValue("caller", session.caller, serializeEndpoint); writer.writeDateValue("endDateTime", session.endDateTime); - writer.writeObjectValue("failureInfo", session.failureInfo, ); + writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo); writer.writeBooleanValue("isTest", session.isTest); if(session.modalities) writer.writeEnumValue("modalities", ...session.modalities); - writer.writeCollectionOfObjectValues("segments", session.segments, ); + writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment); writer.writeDateValue("startDateTime", session.startDateTime); } export interface Session extends Entity, Parsable { diff --git a/src/models/callRecords/sessionCollectionResponse.ts b/src/models/callRecords/sessionCollectionResponse.ts index c5525563592..409bcc8a508 100644 --- a/src/models/callRecords/sessionCollectionResponse.ts +++ b/src/models/callRecords/sessionCollectionResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSessionCollectionResponse(sessionCollectionRespon } export function serializeSessionCollectionResponse(writer: SerializationWriter, sessionCollectionResponse: SessionCollectionResponse | undefined = {} as SessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, sessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession); } export interface SessionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/models/callRecords/userFeedback.ts b/src/models/callRecords/userFeedback.ts index f4774608fbf..7a2f055cecc 100644 --- a/src/models/callRecords/userFeedback.ts +++ b/src/models/callRecords/userFeedback.ts @@ -21,7 +21,7 @@ export function serializeUserFeedback(writer: SerializationWriter, userFeedback: writer.writeStringValue("@odata.type", userFeedback.odataType); writer.writeEnumValue("rating", userFeedback.rating); writer.writeStringValue("text", userFeedback.text); - writer.writeObjectValue("tokens", userFeedback.tokens, ); + writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet); writer.writeAdditionalData(userFeedback.additionalData); } export interface UserFeedback extends AdditionalDataHolder, Parsable { diff --git a/src/models/callRoute.ts b/src/models/callRoute.ts index f568a64f404..960489d9e6e 100644 --- a/src/models/callRoute.ts +++ b/src/models/callRoute.ts @@ -40,9 +40,9 @@ export function deserializeIntoCallRoute(callRoute: CallRoute | undefined = {} a } } export function serializeCallRoute(writer: SerializationWriter, callRoute: CallRoute | undefined = {} as CallRoute) : void { - writer.writeObjectValue("final", callRoute.final, ); + writer.writeObjectValue("final", callRoute.final, serializeIdentitySet); writer.writeStringValue("@odata.type", callRoute.odataType); - writer.writeObjectValue("original", callRoute.original, ); + writer.writeObjectValue("original", callRoute.original, serializeIdentitySet); writer.writeEnumValue("routingType", callRoute.routingType); writer.writeAdditionalData(callRoute.additionalData); } diff --git a/src/models/callStartedEventMessageDetail.ts b/src/models/callStartedEventMessageDetail.ts index 63c4c721751..ddc63e874de 100644 --- a/src/models/callStartedEventMessageDetail.ts +++ b/src/models/callStartedEventMessageDetail.ts @@ -36,7 +36,7 @@ export function serializeCallStartedEventMessageDetail(writer: SerializationWrit serializeEventMessageDetail(writer, callStartedEventMessageDetail) writer.writeEnumValue("callEventType", callStartedEventMessageDetail.callEventType); writer.writeStringValue("callId", callStartedEventMessageDetail.callId); - writer.writeObjectValue("initiator", callStartedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", callStartedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callTranscript.ts b/src/models/callTranscript.ts index f830e0aea54..14e8a797df4 100644 --- a/src/models/callTranscript.ts +++ b/src/models/callTranscript.ts @@ -51,7 +51,7 @@ export function serializeCallTranscript(writer: SerializationWriter, callTranscr writer.writeStringValue("content", callTranscript.content); writer.writeDateValue("createdDateTime", callTranscript.createdDateTime); writer.writeStringValue("meetingId", callTranscript.meetingId); - writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, ); + writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, serializeIdentitySet); writer.writeStringValue("metadataContent", callTranscript.metadataContent); writer.writeStringValue("transcriptContentUrl", callTranscript.transcriptContentUrl); } diff --git a/src/models/callTranscriptCollectionResponse.ts b/src/models/callTranscriptCollectionResponse.ts index 08734d86ea4..c921e2a34b3 100644 --- a/src/models/callTranscriptCollectionResponse.ts +++ b/src/models/callTranscriptCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallTranscriptCollectionResponse(callTranscriptCo } export function serializeCallTranscriptCollectionResponse(writer: SerializationWriter, callTranscriptCollectionResponse: CallTranscriptCollectionResponse | undefined = {} as CallTranscriptCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callTranscriptCollectionResponse) - writer.writeCollectionOfObjectValues("value", callTranscriptCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callTranscriptCollectionResponse.value, serializeCallTranscript); } // tslint:enable // eslint-enable diff --git a/src/models/callTranscriptEventMessageDetail.ts b/src/models/callTranscriptEventMessageDetail.ts index f229d1f3cb4..6e20e9bf7f9 100644 --- a/src/models/callTranscriptEventMessageDetail.ts +++ b/src/models/callTranscriptEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeCallTranscriptEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, callTranscriptEventMessageDetail) writer.writeStringValue("callId", callTranscriptEventMessageDetail.callId); writer.writeStringValue("callTranscriptICalUid", callTranscriptEventMessageDetail.callTranscriptICalUid); - writer.writeObjectValue("meetingOrganizer", callTranscriptEventMessageDetail.meetingOrganizer, ); + writer.writeObjectValue("meetingOrganizer", callTranscriptEventMessageDetail.meetingOrganizer, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/certificateBasedAuthConfiguration.ts b/src/models/certificateBasedAuthConfiguration.ts index 62730085f60..e41d8d5b54f 100644 --- a/src/models/certificateBasedAuthConfiguration.ts +++ b/src/models/certificateBasedAuthConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoCertificateBasedAuthConfiguration(certificateBase } export function serializeCertificateBasedAuthConfiguration(writer: SerializationWriter, certificateBasedAuthConfiguration: CertificateBasedAuthConfiguration | undefined = {} as CertificateBasedAuthConfiguration) : void { serializeEntity(writer, certificateBasedAuthConfiguration) - writer.writeCollectionOfObjectValues("certificateAuthorities", certificateBasedAuthConfiguration.certificateAuthorities, ); + writer.writeCollectionOfObjectValues("certificateAuthorities", certificateBasedAuthConfiguration.certificateAuthorities, serializeCertificateAuthority); } // tslint:enable // eslint-enable diff --git a/src/models/certificateBasedAuthConfigurationCollectionResponse.ts b/src/models/certificateBasedAuthConfigurationCollectionResponse.ts index d60f6612675..a56938abd22 100644 --- a/src/models/certificateBasedAuthConfigurationCollectionResponse.ts +++ b/src/models/certificateBasedAuthConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCertificateBasedAuthConfigurationCollectionRespon } export function serializeCertificateBasedAuthConfigurationCollectionResponse(writer: SerializationWriter, certificateBasedAuthConfigurationCollectionResponse: CertificateBasedAuthConfigurationCollectionResponse | undefined = {} as CertificateBasedAuthConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, certificateBasedAuthConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", certificateBasedAuthConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", certificateBasedAuthConfigurationCollectionResponse.value, serializeCertificateBasedAuthConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/channel.ts b/src/models/channel.ts index 7b2d4fbd2bf..4402bf2f6de 100644 --- a/src/models/channel.ts +++ b/src/models/channel.ts @@ -2,6 +2,7 @@ // eslint-disable // Generated by Microsoft Kiota import { ChannelMembershipType } from './channelMembershipType'; +import { createChannelSummaryFromDiscriminatorValue, serializeChannelSummary, type ChannelSummary } from './channelSummary'; import { createChatMessageFromDiscriminatorValue, serializeChatMessage, type ChatMessage } from './chatMessage'; import { createConversationMemberFromDiscriminatorValue, serializeConversationMember, type ConversationMember } from './conversationMember'; import { createDriveItemFromDiscriminatorValue, serializeDriveItem, type DriveItem } from './driveItem'; @@ -51,6 +52,10 @@ export interface Channel extends Entity, Parsable { * A collection of teams with which a channel is shared. */ sharedWithTeams?: SharedWithChannelTeamInfo[]; + /** + * Contains summary information about the channel, including number of owners, members, guests, and an indicator for members from other tenants. The summary property will only be returned if it is specified in the $select clause of the Get channel method. + */ + summary?: ChannelSummary; /** * A collection of all the tabs in the channel. A navigation property. */ @@ -81,6 +86,7 @@ export function deserializeIntoChannel(channel: Channel | undefined = {} as Chan "membershipType": n => { channel.membershipType = n.getEnumValue(ChannelMembershipType); }, "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(); }, @@ -92,13 +98,14 @@ export function serializeChannel(writer: SerializationWriter, channel: Channel | writer.writeStringValue("description", channel.description); writer.writeStringValue("displayName", channel.displayName); writer.writeStringValue("email", channel.email); - writer.writeObjectValue("filesFolder", channel.filesFolder, ); + writer.writeObjectValue("filesFolder", channel.filesFolder, serializeDriveItem); writer.writeBooleanValue("isFavoriteByDefault", channel.isFavoriteByDefault); - writer.writeCollectionOfObjectValues("members", channel.members, ); + writer.writeCollectionOfObjectValues("members", channel.members, serializeConversationMember); writer.writeEnumValue("membershipType", channel.membershipType); - writer.writeCollectionOfObjectValues("messages", channel.messages, ); - writer.writeCollectionOfObjectValues("sharedWithTeams", channel.sharedWithTeams, ); - writer.writeCollectionOfObjectValues("tabs", channel.tabs, ); + writer.writeCollectionOfObjectValues("messages", channel.messages, serializeChatMessage); + writer.writeCollectionOfObjectValues("sharedWithTeams", channel.sharedWithTeams, serializeSharedWithChannelTeamInfo); + writer.writeObjectValue("summary", channel.summary, serializeChannelSummary); + writer.writeCollectionOfObjectValues("tabs", channel.tabs, serializeTeamsTab); writer.writeStringValue("tenantId", channel.tenantId); writer.writeStringValue("webUrl", channel.webUrl); } diff --git a/src/models/channelAddedEventMessageDetail.ts b/src/models/channelAddedEventMessageDetail.ts index 8052a09e6b4..c39575ff591 100644 --- a/src/models/channelAddedEventMessageDetail.ts +++ b/src/models/channelAddedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelAddedEventMessageDetail(writer: SerializationWri serializeEventMessageDetail(writer, channelAddedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelAddedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelAddedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelAddedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelAddedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelCollectionResponse.ts b/src/models/channelCollectionResponse.ts index 1cc1044c1e6..8de70339253 100644 --- a/src/models/channelCollectionResponse.ts +++ b/src/models/channelCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChannelCollectionResponse(channelCollectionRespon } export function serializeChannelCollectionResponse(writer: SerializationWriter, channelCollectionResponse: ChannelCollectionResponse | undefined = {} as ChannelCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, channelCollectionResponse) - writer.writeCollectionOfObjectValues("value", channelCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", channelCollectionResponse.value, serializeChannel); } // tslint:enable // eslint-enable diff --git a/src/models/channelDeletedEventMessageDetail.ts b/src/models/channelDeletedEventMessageDetail.ts index 3bb3792bfe0..389ea853b8f 100644 --- a/src/models/channelDeletedEventMessageDetail.ts +++ b/src/models/channelDeletedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelDeletedEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, channelDeletedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelDeletedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelDeletedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelDeletedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelDeletedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelDescriptionUpdatedEventMessageDetail.ts b/src/models/channelDescriptionUpdatedEventMessageDetail.ts index 62e521696a9..1c14ccd7830 100644 --- a/src/models/channelDescriptionUpdatedEventMessageDetail.ts +++ b/src/models/channelDescriptionUpdatedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelDescriptionUpdatedEventMessageDetail(writer: Ser serializeEventMessageDetail(writer, channelDescriptionUpdatedEventMessageDetail) writer.writeStringValue("channelDescription", channelDescriptionUpdatedEventMessageDetail.channelDescription); writer.writeStringValue("channelId", channelDescriptionUpdatedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelDescriptionUpdatedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelDescriptionUpdatedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelRenamedEventMessageDetail.ts b/src/models/channelRenamedEventMessageDetail.ts index 9549880d413..7c29193a904 100644 --- a/src/models/channelRenamedEventMessageDetail.ts +++ b/src/models/channelRenamedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelRenamedEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, channelRenamedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelRenamedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelRenamedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelRenamedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelRenamedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts b/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts index 92d9700f5be..45de9c4aa30 100644 --- a/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts +++ b/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts @@ -29,7 +29,7 @@ export function deserializeIntoChannelSetAsFavoriteByDefaultEventMessageDetail(c export function serializeChannelSetAsFavoriteByDefaultEventMessageDetail(writer: SerializationWriter, channelSetAsFavoriteByDefaultEventMessageDetail: ChannelSetAsFavoriteByDefaultEventMessageDetail | undefined = {} as ChannelSetAsFavoriteByDefaultEventMessageDetail) : void { serializeEventMessageDetail(writer, channelSetAsFavoriteByDefaultEventMessageDetail) writer.writeStringValue("channelId", channelSetAsFavoriteByDefaultEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelSetAsFavoriteByDefaultEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelSetAsFavoriteByDefaultEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelSummary.ts b/src/models/channelSummary.ts new file mode 100644 index 00000000000..5d5e9319cfa --- /dev/null +++ b/src/models/channelSummary.ts @@ -0,0 +1,54 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export interface ChannelSummary extends AdditionalDataHolder, Parsable { + /** + * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + */ + additionalData?: Record; + /** + * Count of guests in a channel. + */ + guestsCount?: number; + /** + * Indicates whether external members are included on the channel. + */ + hasMembersFromOtherTenants?: boolean; + /** + * Count of members in a channel. + */ + membersCount?: number; + /** + * The OdataType property + */ + odataType?: string; + /** + * Count of owners in a channel. + */ + ownersCount?: number; +} +export function createChannelSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoChannelSummary; +} +export function deserializeIntoChannelSummary(channelSummary: ChannelSummary | undefined = {} as ChannelSummary) : Record void> { + return { + "guestsCount": n => { channelSummary.guestsCount = n.getNumberValue(); }, + "hasMembersFromOtherTenants": n => { channelSummary.hasMembersFromOtherTenants = n.getBooleanValue(); }, + "membersCount": n => { channelSummary.membersCount = n.getNumberValue(); }, + "@odata.type": n => { channelSummary.odataType = n.getStringValue(); }, + "ownersCount": n => { channelSummary.ownersCount = n.getNumberValue(); }, + } +} +export function serializeChannelSummary(writer: SerializationWriter, channelSummary: ChannelSummary | undefined = {} as ChannelSummary) : void { + writer.writeNumberValue("guestsCount", channelSummary.guestsCount); + writer.writeBooleanValue("hasMembersFromOtherTenants", channelSummary.hasMembersFromOtherTenants); + writer.writeNumberValue("membersCount", channelSummary.membersCount); + writer.writeStringValue("@odata.type", channelSummary.odataType); + writer.writeNumberValue("ownersCount", channelSummary.ownersCount); + writer.writeAdditionalData(channelSummary.additionalData); +} +// tslint:enable +// eslint-enable diff --git a/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts b/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts index 7d548715322..e12a2a7bc1a 100644 --- a/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts +++ b/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts @@ -29,7 +29,7 @@ export function deserializeIntoChannelUnsetAsFavoriteByDefaultEventMessageDetail export function serializeChannelUnsetAsFavoriteByDefaultEventMessageDetail(writer: SerializationWriter, channelUnsetAsFavoriteByDefaultEventMessageDetail: ChannelUnsetAsFavoriteByDefaultEventMessageDetail | undefined = {} as ChannelUnsetAsFavoriteByDefaultEventMessageDetail) : void { serializeEventMessageDetail(writer, channelUnsetAsFavoriteByDefaultEventMessageDetail) writer.writeStringValue("channelId", channelUnsetAsFavoriteByDefaultEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelUnsetAsFavoriteByDefaultEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelUnsetAsFavoriteByDefaultEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/chat.ts b/src/models/chat.ts index 6afb3ab9237..42696971683 100644 --- a/src/models/chat.ts +++ b/src/models/chat.ts @@ -104,18 +104,18 @@ export function serializeChat(writer: SerializationWriter, chat: Chat | undefine serializeEntity(writer, chat) writer.writeEnumValue("chatType", chat.chatType); writer.writeDateValue("createdDateTime", chat.createdDateTime); - writer.writeCollectionOfObjectValues("installedApps", chat.installedApps, ); - writer.writeObjectValue("lastMessagePreview", chat.lastMessagePreview, ); + writer.writeCollectionOfObjectValues("installedApps", chat.installedApps, serializeTeamsAppInstallation); + writer.writeObjectValue("lastMessagePreview", chat.lastMessagePreview, serializeChatMessageInfo); writer.writeDateValue("lastUpdatedDateTime", chat.lastUpdatedDateTime); - writer.writeCollectionOfObjectValues("members", chat.members, ); - writer.writeCollectionOfObjectValues("messages", chat.messages, ); - writer.writeObjectValue("onlineMeetingInfo", chat.onlineMeetingInfo, ); - writer.writeCollectionOfObjectValues("permissionGrants", chat.permissionGrants, ); - writer.writeCollectionOfObjectValues("pinnedMessages", chat.pinnedMessages, ); - writer.writeCollectionOfObjectValues("tabs", chat.tabs, ); + writer.writeCollectionOfObjectValues("members", chat.members, serializeConversationMember); + writer.writeCollectionOfObjectValues("messages", chat.messages, serializeChatMessage); + writer.writeObjectValue("onlineMeetingInfo", chat.onlineMeetingInfo, serializeTeamworkOnlineMeetingInfo); + writer.writeCollectionOfObjectValues("permissionGrants", chat.permissionGrants, serializeResourceSpecificPermissionGrant); + writer.writeCollectionOfObjectValues("pinnedMessages", chat.pinnedMessages, serializePinnedChatMessageInfo); + writer.writeCollectionOfObjectValues("tabs", chat.tabs, serializeTeamsTab); writer.writeStringValue("tenantId", chat.tenantId); writer.writeStringValue("topic", chat.topic); - writer.writeObjectValue("viewpoint", chat.viewpoint, ); + writer.writeObjectValue("viewpoint", chat.viewpoint, serializeChatViewpoint); writer.writeStringValue("webUrl", chat.webUrl); } // tslint:enable diff --git a/src/models/chatCollectionResponse.ts b/src/models/chatCollectionResponse.ts index 2abfaeaae9b..bde4a5ceded 100644 --- a/src/models/chatCollectionResponse.ts +++ b/src/models/chatCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatCollectionResponse(chatCollectionResponse: Ch } export function serializeChatCollectionResponse(writer: SerializationWriter, chatCollectionResponse: ChatCollectionResponse | undefined = {} as ChatCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatCollectionResponse.value, serializeChat); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessage.ts b/src/models/chatMessage.ts index e360411716b..1d30d662ad6 100644 --- a/src/models/chatMessage.ts +++ b/src/models/chatMessage.ts @@ -149,26 +149,26 @@ export function deserializeIntoChatMessage(chatMessage: ChatMessage | undefined } export function serializeChatMessage(writer: SerializationWriter, chatMessage: ChatMessage | undefined = {} as ChatMessage) : void { serializeEntity(writer, chatMessage) - writer.writeCollectionOfObjectValues("attachments", chatMessage.attachments, ); - writer.writeObjectValue("body", chatMessage.body, ); - writer.writeObjectValue("channelIdentity", chatMessage.channelIdentity, ); + writer.writeCollectionOfObjectValues("attachments", chatMessage.attachments, serializeChatMessageAttachment); + writer.writeObjectValue("body", chatMessage.body, serializeItemBody); + writer.writeObjectValue("channelIdentity", chatMessage.channelIdentity, serializeChannelIdentity); writer.writeStringValue("chatId", chatMessage.chatId); writer.writeDateValue("createdDateTime", chatMessage.createdDateTime); writer.writeDateValue("deletedDateTime", chatMessage.deletedDateTime); writer.writeStringValue("etag", chatMessage.etag); - writer.writeObjectValue("eventDetail", chatMessage.eventDetail, ); - writer.writeObjectValue("from", chatMessage.from, ); - writer.writeCollectionOfObjectValues("hostedContents", chatMessage.hostedContents, ); + writer.writeObjectValue("eventDetail", chatMessage.eventDetail, serializeEventMessageDetail); + writer.writeObjectValue("from", chatMessage.from, serializeChatMessageFromIdentitySet); + writer.writeCollectionOfObjectValues("hostedContents", chatMessage.hostedContents, serializeChatMessageHostedContent); writer.writeEnumValue("importance", chatMessage.importance); writer.writeDateValue("lastEditedDateTime", chatMessage.lastEditedDateTime); writer.writeDateValue("lastModifiedDateTime", chatMessage.lastModifiedDateTime); writer.writeStringValue("locale", chatMessage.locale); - writer.writeCollectionOfObjectValues("mentions", chatMessage.mentions, ); - writer.writeCollectionOfObjectValues("messageHistory", chatMessage.messageHistory, ); + writer.writeCollectionOfObjectValues("mentions", chatMessage.mentions, serializeChatMessageMention); + writer.writeCollectionOfObjectValues("messageHistory", chatMessage.messageHistory, serializeChatMessageHistoryItem); writer.writeEnumValue("messageType", chatMessage.messageType); - writer.writeObjectValue("policyViolation", chatMessage.policyViolation, ); - writer.writeCollectionOfObjectValues("reactions", chatMessage.reactions, ); - writer.writeCollectionOfObjectValues("replies", chatMessage.replies, ); + writer.writeObjectValue("policyViolation", chatMessage.policyViolation, serializeChatMessagePolicyViolation); + writer.writeCollectionOfObjectValues("reactions", chatMessage.reactions, serializeChatMessageReaction); + writer.writeCollectionOfObjectValues("replies", chatMessage.replies, serializeChatMessage); writer.writeStringValue("replyToId", chatMessage.replyToId); writer.writeStringValue("subject", chatMessage.subject); writer.writeStringValue("summary", chatMessage.summary); diff --git a/src/models/chatMessageCollectionResponse.ts b/src/models/chatMessageCollectionResponse.ts index 85c3179cc2c..ed94e018027 100644 --- a/src/models/chatMessageCollectionResponse.ts +++ b/src/models/chatMessageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageCollectionResponse(chatMessageCollecti } export function serializeChatMessageCollectionResponse(writer: SerializationWriter, chatMessageCollectionResponse: ChatMessageCollectionResponse | undefined = {} as ChatMessageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatMessageCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatMessageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatMessageCollectionResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessageHistoryItem.ts b/src/models/chatMessageHistoryItem.ts index 967325654b4..404619cac0d 100644 --- a/src/models/chatMessageHistoryItem.ts +++ b/src/models/chatMessageHistoryItem.ts @@ -43,7 +43,7 @@ export function serializeChatMessageHistoryItem(writer: SerializationWriter, cha writer.writeEnumValue("actions", chatMessageHistoryItem.actions); writer.writeDateValue("modifiedDateTime", chatMessageHistoryItem.modifiedDateTime); writer.writeStringValue("@odata.type", chatMessageHistoryItem.odataType); - writer.writeObjectValue("reaction", chatMessageHistoryItem.reaction, ); + writer.writeObjectValue("reaction", chatMessageHistoryItem.reaction, serializeChatMessageReaction); writer.writeAdditionalData(chatMessageHistoryItem.additionalData); } // tslint:enable diff --git a/src/models/chatMessageHostedContentCollectionResponse.ts b/src/models/chatMessageHostedContentCollectionResponse.ts index 0b90bba76b1..3c207452304 100644 --- a/src/models/chatMessageHostedContentCollectionResponse.ts +++ b/src/models/chatMessageHostedContentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageHostedContentCollectionResponse(chatMe } export function serializeChatMessageHostedContentCollectionResponse(writer: SerializationWriter, chatMessageHostedContentCollectionResponse: ChatMessageHostedContentCollectionResponse | undefined = {} as ChatMessageHostedContentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatMessageHostedContentCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatMessageHostedContentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatMessageHostedContentCollectionResponse.value, serializeChatMessageHostedContent); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessageInfo.ts b/src/models/chatMessageInfo.ts index 0f611c2e1b9..fce4d1e81ef 100644 --- a/src/models/chatMessageInfo.ts +++ b/src/models/chatMessageInfo.ts @@ -51,10 +51,10 @@ export function deserializeIntoChatMessageInfo(chatMessageInfo: ChatMessageInfo } export function serializeChatMessageInfo(writer: SerializationWriter, chatMessageInfo: ChatMessageInfo | undefined = {} as ChatMessageInfo) : void { serializeEntity(writer, chatMessageInfo) - writer.writeObjectValue("body", chatMessageInfo.body, ); + writer.writeObjectValue("body", chatMessageInfo.body, serializeItemBody); writer.writeDateValue("createdDateTime", chatMessageInfo.createdDateTime); - writer.writeObjectValue("eventDetail", chatMessageInfo.eventDetail, ); - writer.writeObjectValue("from", chatMessageInfo.from, ); + writer.writeObjectValue("eventDetail", chatMessageInfo.eventDetail, serializeEventMessageDetail); + writer.writeObjectValue("from", chatMessageInfo.from, serializeChatMessageFromIdentitySet); writer.writeBooleanValue("isDeleted", chatMessageInfo.isDeleted); writer.writeEnumValue("messageType", chatMessageInfo.messageType); } diff --git a/src/models/chatMessageMention.ts b/src/models/chatMessageMention.ts index 73eb2db67bd..cd45dbf9a0b 100644 --- a/src/models/chatMessageMention.ts +++ b/src/models/chatMessageMention.ts @@ -40,7 +40,7 @@ export function deserializeIntoChatMessageMention(chatMessageMention: ChatMessag } export function serializeChatMessageMention(writer: SerializationWriter, chatMessageMention: ChatMessageMention | undefined = {} as ChatMessageMention) : void { writer.writeNumberValue("id", chatMessageMention.id); - writer.writeObjectValue("mentioned", chatMessageMention.mentioned, ); + writer.writeObjectValue("mentioned", chatMessageMention.mentioned, serializeChatMessageMentionedIdentitySet); writer.writeStringValue("mentionText", chatMessageMention.mentionText); writer.writeStringValue("@odata.type", chatMessageMention.odataType); writer.writeAdditionalData(chatMessageMention.additionalData); diff --git a/src/models/chatMessageMentionedIdentitySet.ts b/src/models/chatMessageMentionedIdentitySet.ts index be91a5d9043..342e7467a41 100644 --- a/src/models/chatMessageMentionedIdentitySet.ts +++ b/src/models/chatMessageMentionedIdentitySet.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageMentionedIdentitySet(chatMessageMentio } export function serializeChatMessageMentionedIdentitySet(writer: SerializationWriter, chatMessageMentionedIdentitySet: ChatMessageMentionedIdentitySet | undefined = {} as ChatMessageMentionedIdentitySet) : void { serializeIdentitySet(writer, chatMessageMentionedIdentitySet) - writer.writeObjectValue("conversation", chatMessageMentionedIdentitySet.conversation, ); + writer.writeObjectValue("conversation", chatMessageMentionedIdentitySet.conversation, serializeTeamworkConversationIdentity); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessagePolicyViolation.ts b/src/models/chatMessagePolicyViolation.ts index 805b5dbc46a..b8ce4ab2609 100644 --- a/src/models/chatMessagePolicyViolation.ts +++ b/src/models/chatMessagePolicyViolation.ts @@ -55,7 +55,7 @@ export function serializeChatMessagePolicyViolation(writer: SerializationWriter, writer.writeEnumValue("dlpAction", chatMessagePolicyViolation.dlpAction); writer.writeStringValue("justificationText", chatMessagePolicyViolation.justificationText); writer.writeStringValue("@odata.type", chatMessagePolicyViolation.odataType); - writer.writeObjectValue("policyTip", chatMessagePolicyViolation.policyTip, ); + writer.writeObjectValue("policyTip", chatMessagePolicyViolation.policyTip, serializeChatMessagePolicyViolationPolicyTip); writer.writeEnumValue("userAction", chatMessagePolicyViolation.userAction); writer.writeEnumValue("verdictDetails", chatMessagePolicyViolation.verdictDetails); writer.writeAdditionalData(chatMessagePolicyViolation.additionalData); diff --git a/src/models/chatMessageReaction.ts b/src/models/chatMessageReaction.ts index b72ca6bbb9b..1770b28880d 100644 --- a/src/models/chatMessageReaction.ts +++ b/src/models/chatMessageReaction.ts @@ -42,7 +42,7 @@ export function serializeChatMessageReaction(writer: SerializationWriter, chatMe writer.writeDateValue("createdDateTime", chatMessageReaction.createdDateTime); writer.writeStringValue("@odata.type", chatMessageReaction.odataType); writer.writeStringValue("reactionType", chatMessageReaction.reactionType); - writer.writeObjectValue("user", chatMessageReaction.user, ); + writer.writeObjectValue("user", chatMessageReaction.user, serializeChatMessageReactionIdentitySet); writer.writeAdditionalData(chatMessageReaction.additionalData); } // tslint:enable diff --git a/src/models/chatRenamedEventMessageDetail.ts b/src/models/chatRenamedEventMessageDetail.ts index 68f60263320..1888a0d318f 100644 --- a/src/models/chatRenamedEventMessageDetail.ts +++ b/src/models/chatRenamedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChatRenamedEventMessageDetail(writer: SerializationWrit serializeEventMessageDetail(writer, chatRenamedEventMessageDetail) writer.writeStringValue("chatDisplayName", chatRenamedEventMessageDetail.chatDisplayName); writer.writeStringValue("chatId", chatRenamedEventMessageDetail.chatId); - writer.writeObjectValue("initiator", chatRenamedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", chatRenamedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/checklistItemCollectionResponse.ts b/src/models/checklistItemCollectionResponse.ts index d4114ec5431..369be95d954 100644 --- a/src/models/checklistItemCollectionResponse.ts +++ b/src/models/checklistItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChecklistItemCollectionResponse(checklistItemColl } export function serializeChecklistItemCollectionResponse(writer: SerializationWriter, checklistItemCollectionResponse: ChecklistItemCollectionResponse | undefined = {} as ChecklistItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, checklistItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", checklistItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", checklistItemCollectionResponse.value, serializeChecklistItem); } // tslint:enable // eslint-enable diff --git a/src/models/claimsMappingPolicyCollectionResponse.ts b/src/models/claimsMappingPolicyCollectionResponse.ts index 721e9689258..4546c6c55df 100644 --- a/src/models/claimsMappingPolicyCollectionResponse.ts +++ b/src/models/claimsMappingPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoClaimsMappingPolicyCollectionResponse(claimsMappi } export function serializeClaimsMappingPolicyCollectionResponse(writer: SerializationWriter, claimsMappingPolicyCollectionResponse: ClaimsMappingPolicyCollectionResponse | undefined = {} as ClaimsMappingPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, claimsMappingPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", claimsMappingPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", claimsMappingPolicyCollectionResponse.value, serializeClaimsMappingPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/clientCertificateAuthentication.ts b/src/models/clientCertificateAuthentication.ts index f872d5fad52..5a9148bf704 100644 --- a/src/models/clientCertificateAuthentication.ts +++ b/src/models/clientCertificateAuthentication.ts @@ -23,7 +23,7 @@ export function deserializeIntoClientCertificateAuthentication(clientCertificate } export function serializeClientCertificateAuthentication(writer: SerializationWriter, clientCertificateAuthentication: ClientCertificateAuthentication | undefined = {} as ClientCertificateAuthentication) : void { serializeApiAuthenticationConfigurationBase(writer, clientCertificateAuthentication) - writer.writeCollectionOfObjectValues("certificateList", clientCertificateAuthentication.certificateList, ); + writer.writeCollectionOfObjectValues("certificateList", clientCertificateAuthentication.certificateList, serializePkcs12CertificateInformation); } // tslint:enable // eslint-enable diff --git a/src/models/cloudCommunications.ts b/src/models/cloudCommunications.ts index 213383f790a..a7cb752fb5a 100644 --- a/src/models/cloudCommunications.ts +++ b/src/models/cloudCommunications.ts @@ -47,11 +47,11 @@ export function deserializeIntoCloudCommunications(cloudCommunications: CloudCom } } export function serializeCloudCommunications(writer: SerializationWriter, cloudCommunications: CloudCommunications | undefined = {} as CloudCommunications) : void { - writer.writeCollectionOfObjectValues("callRecords", cloudCommunications.callRecords, ); - writer.writeCollectionOfObjectValues("calls", cloudCommunications.calls, ); + writer.writeCollectionOfObjectValues("callRecords", cloudCommunications.callRecords, serializeCallRecord); + writer.writeCollectionOfObjectValues("calls", cloudCommunications.calls, serializeCall); writer.writeStringValue("@odata.type", cloudCommunications.odataType); - writer.writeCollectionOfObjectValues("onlineMeetings", cloudCommunications.onlineMeetings, ); - writer.writeCollectionOfObjectValues("presences", cloudCommunications.presences, ); + writer.writeCollectionOfObjectValues("onlineMeetings", cloudCommunications.onlineMeetings, serializeOnlineMeeting); + writer.writeCollectionOfObjectValues("presences", cloudCommunications.presences, serializePresence); writer.writeAdditionalData(cloudCommunications.additionalData); } // tslint:enable diff --git a/src/models/coachmarkLocation.ts b/src/models/coachmarkLocation.ts index 8afe223f242..5e9f516ccd7 100644 --- a/src/models/coachmarkLocation.ts +++ b/src/models/coachmarkLocation.ts @@ -10,7 +10,7 @@ export interface CoachmarkLocation extends AdditionalDataHolder, Parsable { */ additionalData?: Record; /** - * The length property + * Length of coachmark. */ length?: number; /** @@ -18,11 +18,11 @@ export interface CoachmarkLocation extends AdditionalDataHolder, Parsable { */ odataType?: string; /** - * The offset property + * Offset of coachmark. */ offset?: number; /** - * The type property + * Type of coachmark location. The possible values are: unknown, fromEmail, subject, externalTag, displayName, messageBody, unknownFutureValue. */ type?: CoachmarkLocationType; } diff --git a/src/models/columnDefinition.ts b/src/models/columnDefinition.ts index d047eb686e9..bafe7f143ed 100644 --- a/src/models/columnDefinition.ts +++ b/src/models/columnDefinition.ts @@ -195,38 +195,38 @@ export function deserializeIntoColumnDefinition(columnDefinition: ColumnDefiniti } export function serializeColumnDefinition(writer: SerializationWriter, columnDefinition: ColumnDefinition | undefined = {} as ColumnDefinition) : void { serializeEntity(writer, columnDefinition) - writer.writeObjectValue("boolean", columnDefinition.boolean, ); - writer.writeObjectValue("calculated", columnDefinition.calculated, ); - writer.writeObjectValue("choice", columnDefinition.choice, ); + writer.writeObjectValue("boolean", columnDefinition.boolean, serializeBooleanColumn); + writer.writeObjectValue("calculated", columnDefinition.calculated, serializeCalculatedColumn); + writer.writeObjectValue("choice", columnDefinition.choice, serializeChoiceColumn); writer.writeStringValue("columnGroup", columnDefinition.columnGroup); - writer.writeObjectValue("contentApprovalStatus", columnDefinition.contentApprovalStatus, ); - writer.writeObjectValue("currency", columnDefinition.currency, ); - writer.writeObjectValue("dateTime", columnDefinition.dateTime, ); - writer.writeObjectValue("defaultValue", columnDefinition.defaultValue, ); + writer.writeObjectValue("contentApprovalStatus", columnDefinition.contentApprovalStatus, serializeContentApprovalStatusColumn); + writer.writeObjectValue("currency", columnDefinition.currency, serializeCurrencyColumn); + writer.writeObjectValue("dateTime", columnDefinition.dateTime, serializeDateTimeColumn); + writer.writeObjectValue("defaultValue", columnDefinition.defaultValue, serializeDefaultColumnValue); writer.writeStringValue("description", columnDefinition.description); writer.writeStringValue("displayName", columnDefinition.displayName); writer.writeBooleanValue("enforceUniqueValues", columnDefinition.enforceUniqueValues); - writer.writeObjectValue("geolocation", columnDefinition.geolocation, ); + writer.writeObjectValue("geolocation", columnDefinition.geolocation, serializeGeolocationColumn); writer.writeBooleanValue("hidden", columnDefinition.hidden); - writer.writeObjectValue("hyperlinkOrPicture", columnDefinition.hyperlinkOrPicture, ); + writer.writeObjectValue("hyperlinkOrPicture", columnDefinition.hyperlinkOrPicture, serializeHyperlinkOrPictureColumn); writer.writeBooleanValue("indexed", columnDefinition.indexed); writer.writeBooleanValue("isDeletable", columnDefinition.isDeletable); writer.writeBooleanValue("isReorderable", columnDefinition.isReorderable); writer.writeBooleanValue("isSealed", columnDefinition.isSealed); - writer.writeObjectValue("lookup", columnDefinition.lookup, ); + writer.writeObjectValue("lookup", columnDefinition.lookup, serializeLookupColumn); writer.writeStringValue("name", columnDefinition.name); - writer.writeObjectValue("number", columnDefinition.number, ); - writer.writeObjectValue("personOrGroup", columnDefinition.personOrGroup, ); + writer.writeObjectValue("number", columnDefinition.number, serializeNumberColumn); + writer.writeObjectValue("personOrGroup", columnDefinition.personOrGroup, serializePersonOrGroupColumn); writer.writeBooleanValue("propagateChanges", columnDefinition.propagateChanges); writer.writeBooleanValue("readOnly", columnDefinition.readOnly); writer.writeBooleanValue("required", columnDefinition.required); - writer.writeObjectValue("sourceColumn", columnDefinition.sourceColumn, ); - writer.writeObjectValue("sourceContentType", columnDefinition.sourceContentType, ); - writer.writeObjectValue("term", columnDefinition.term, ); - writer.writeObjectValue("text", columnDefinition.text, ); - writer.writeObjectValue("thumbnail", columnDefinition.thumbnail, ); + writer.writeObjectValue("sourceColumn", columnDefinition.sourceColumn, serializeColumnDefinition); + writer.writeObjectValue("sourceContentType", columnDefinition.sourceContentType, serializeContentTypeInfo); + writer.writeObjectValue("term", columnDefinition.term, serializeTermColumn); + writer.writeObjectValue("text", columnDefinition.text, serializeTextColumn); + writer.writeObjectValue("thumbnail", columnDefinition.thumbnail, serializeThumbnailColumn); writer.writeEnumValue("type", columnDefinition.type); - writer.writeObjectValue("validation", columnDefinition.validation, ); + writer.writeObjectValue("validation", columnDefinition.validation, serializeColumnValidation); } // tslint:enable // eslint-enable diff --git a/src/models/columnDefinitionCollectionResponse.ts b/src/models/columnDefinitionCollectionResponse.ts index 45705c5ff01..f54e6080f78 100644 --- a/src/models/columnDefinitionCollectionResponse.ts +++ b/src/models/columnDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoColumnDefinitionCollectionResponse(columnDefiniti } export function serializeColumnDefinitionCollectionResponse(writer: SerializationWriter, columnDefinitionCollectionResponse: ColumnDefinitionCollectionResponse | undefined = {} as ColumnDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, columnDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", columnDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", columnDefinitionCollectionResponse.value, serializeColumnDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/columnLinkCollectionResponse.ts b/src/models/columnLinkCollectionResponse.ts index 20c84106b8f..51c9a50e0fb 100644 --- a/src/models/columnLinkCollectionResponse.ts +++ b/src/models/columnLinkCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoColumnLinkCollectionResponse(columnLinkCollection } export function serializeColumnLinkCollectionResponse(writer: SerializationWriter, columnLinkCollectionResponse: ColumnLinkCollectionResponse | undefined = {} as ColumnLinkCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, columnLinkCollectionResponse) - writer.writeCollectionOfObjectValues("value", columnLinkCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", columnLinkCollectionResponse.value, serializeColumnLink); } // tslint:enable // eslint-enable diff --git a/src/models/columnValidation.ts b/src/models/columnValidation.ts index 368215b36a5..1bbd2a784e8 100644 --- a/src/models/columnValidation.ts +++ b/src/models/columnValidation.ts @@ -40,7 +40,7 @@ export function deserializeIntoColumnValidation(columnValidation: ColumnValidati } export function serializeColumnValidation(writer: SerializationWriter, columnValidation: ColumnValidation | undefined = {} as ColumnValidation) : void { writer.writeStringValue("defaultLanguage", columnValidation.defaultLanguage); - writer.writeCollectionOfObjectValues("descriptions", columnValidation.descriptions, ); + writer.writeCollectionOfObjectValues("descriptions", columnValidation.descriptions, serializeDisplayNameLocalization); writer.writeStringValue("formula", columnValidation.formula); writer.writeStringValue("@odata.type", columnValidation.odataType); writer.writeAdditionalData(columnValidation.additionalData); diff --git a/src/models/commsOperation.ts b/src/models/commsOperation.ts index 000de335c6d..6d5b7f5ea95 100644 --- a/src/models/commsOperation.ts +++ b/src/models/commsOperation.ts @@ -77,7 +77,7 @@ export function deserializeIntoCommsOperation(commsOperation: CommsOperation | u export function serializeCommsOperation(writer: SerializationWriter, commsOperation: CommsOperation | undefined = {} as CommsOperation) : void { serializeEntity(writer, commsOperation) writer.writeStringValue("clientContext", commsOperation.clientContext); - writer.writeObjectValue("resultInfo", commsOperation.resultInfo, ); + writer.writeObjectValue("resultInfo", commsOperation.resultInfo, serializeResultInfo); writer.writeEnumValue("status", commsOperation.status); } // tslint:enable diff --git a/src/models/commsOperationCollectionResponse.ts b/src/models/commsOperationCollectionResponse.ts index adbf5528948..b1a0de6e1b9 100644 --- a/src/models/commsOperationCollectionResponse.ts +++ b/src/models/commsOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCommsOperationCollectionResponse(commsOperationCo } export function serializeCommsOperationCollectionResponse(writer: SerializationWriter, commsOperationCollectionResponse: CommsOperationCollectionResponse | undefined = {} as CommsOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, commsOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", commsOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", commsOperationCollectionResponse.value, serializeCommsOperation); } // tslint:enable // eslint-enable diff --git a/src/models/communicationsApplicationIdentity.ts b/src/models/communicationsApplicationIdentity.ts index b839110cb05..e49986f9ceb 100644 --- a/src/models/communicationsApplicationIdentity.ts +++ b/src/models/communicationsApplicationIdentity.ts @@ -6,11 +6,11 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface CommunicationsApplicationIdentity extends Identity, Parsable { /** - * The applicationType property + * First-party Microsoft application that presents this identity. */ applicationType?: string; /** - * The hidden property + * True if the participant shouldn't be shown in other participants' rosters. */ hidden?: boolean; } diff --git a/src/models/communicationsApplicationInstanceIdentity.ts b/src/models/communicationsApplicationInstanceIdentity.ts index 18001ef2d10..01005258b1b 100644 --- a/src/models/communicationsApplicationInstanceIdentity.ts +++ b/src/models/communicationsApplicationInstanceIdentity.ts @@ -6,11 +6,11 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface CommunicationsApplicationInstanceIdentity extends Identity, Parsable { /** - * The hidden property + * True if the participant shouldn't be shown in other participants' rosters. */ hidden?: boolean; /** - * The tenantId property + * The tenant ID of the application. */ tenantId?: string; } diff --git a/src/models/communicationsIdentitySet.ts b/src/models/communicationsIdentitySet.ts index 19f70368ff0..c2400214afc 100644 --- a/src/models/communicationsIdentitySet.ts +++ b/src/models/communicationsIdentitySet.ts @@ -8,35 +8,35 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface CommunicationsIdentitySet extends IdentitySet, Parsable { /** - * The applicationInstance property + * The application instance associated with this action. */ applicationInstance?: Identity; /** - * The assertedIdentity property + * An identity the participant would like to present itself as to the other participants in the call. */ assertedIdentity?: Identity; /** - * The azureCommunicationServicesUser property + * The Azure Communication Services user associated with this action. */ azureCommunicationServicesUser?: Identity; /** - * The encrypted property + * The encrypted user associated with this action. */ encrypted?: Identity; /** - * The endpointType property + * Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. */ endpointType?: EndpointType; /** - * The guest property + * The guest user associated with this action. */ guest?: Identity; /** - * The onPremises property + * The Skype for Business on-premises user associated with this action. */ onPremises?: Identity; /** - * The phone property + * The phone user associated with this action. */ phone?: Identity; } @@ -59,14 +59,14 @@ export function deserializeIntoCommunicationsIdentitySet(communicationsIdentityS } export function serializeCommunicationsIdentitySet(writer: SerializationWriter, communicationsIdentitySet: CommunicationsIdentitySet | undefined = {} as CommunicationsIdentitySet) : void { serializeIdentitySet(writer, communicationsIdentitySet) - writer.writeObjectValue("applicationInstance", communicationsIdentitySet.applicationInstance, ); - writer.writeObjectValue("assertedIdentity", communicationsIdentitySet.assertedIdentity, ); - writer.writeObjectValue("azureCommunicationServicesUser", communicationsIdentitySet.azureCommunicationServicesUser, ); - writer.writeObjectValue("encrypted", communicationsIdentitySet.encrypted, ); + writer.writeObjectValue("applicationInstance", communicationsIdentitySet.applicationInstance, serializeIdentity); + writer.writeObjectValue("assertedIdentity", communicationsIdentitySet.assertedIdentity, serializeIdentity); + writer.writeObjectValue("azureCommunicationServicesUser", communicationsIdentitySet.azureCommunicationServicesUser, serializeIdentity); + writer.writeObjectValue("encrypted", communicationsIdentitySet.encrypted, serializeIdentity); writer.writeEnumValue("endpointType", communicationsIdentitySet.endpointType); - writer.writeObjectValue("guest", communicationsIdentitySet.guest, ); - writer.writeObjectValue("onPremises", communicationsIdentitySet.onPremises, ); - writer.writeObjectValue("phone", communicationsIdentitySet.phone, ); + writer.writeObjectValue("guest", communicationsIdentitySet.guest, serializeIdentity); + writer.writeObjectValue("onPremises", communicationsIdentitySet.onPremises, serializeIdentity); + writer.writeObjectValue("phone", communicationsIdentitySet.phone, serializeIdentity); } // tslint:enable // eslint-enable diff --git a/src/models/communicationsUserIdentity.ts b/src/models/communicationsUserIdentity.ts index adebced2298..995e9f1f3ee 100644 --- a/src/models/communicationsUserIdentity.ts +++ b/src/models/communicationsUserIdentity.ts @@ -6,7 +6,7 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface CommunicationsUserIdentity extends Identity, Parsable { /** - * The tenantId property + * The user's tenant ID. */ tenantId?: string; } diff --git a/src/models/complianceInformation.ts b/src/models/complianceInformation.ts index 390c6a17415..63d0cb712b3 100644 --- a/src/models/complianceInformation.ts +++ b/src/models/complianceInformation.ts @@ -34,7 +34,7 @@ export function deserializeIntoComplianceInformation(complianceInformation: Comp } } export function serializeComplianceInformation(writer: SerializationWriter, complianceInformation: ComplianceInformation | undefined = {} as ComplianceInformation) : void { - writer.writeCollectionOfObjectValues("certificationControls", complianceInformation.certificationControls, ); + writer.writeCollectionOfObjectValues("certificationControls", complianceInformation.certificationControls, serializeCertificationControl); writer.writeStringValue("certificationName", complianceInformation.certificationName); writer.writeStringValue("@odata.type", complianceInformation.odataType); writer.writeAdditionalData(complianceInformation.additionalData); diff --git a/src/models/complianceManagementPartner.ts b/src/models/complianceManagementPartner.ts index 9ed51f59852..8175b000a4a 100644 --- a/src/models/complianceManagementPartner.ts +++ b/src/models/complianceManagementPartner.ts @@ -64,13 +64,13 @@ export function deserializeIntoComplianceManagementPartner(complianceManagementP } export function serializeComplianceManagementPartner(writer: SerializationWriter, complianceManagementPartner: ComplianceManagementPartner | undefined = {} as ComplianceManagementPartner) : void { serializeEntity(writer, complianceManagementPartner) - writer.writeCollectionOfObjectValues("androidEnrollmentAssignments", complianceManagementPartner.androidEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("androidEnrollmentAssignments", complianceManagementPartner.androidEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("androidOnboarded", complianceManagementPartner.androidOnboarded); writer.writeStringValue("displayName", complianceManagementPartner.displayName); - writer.writeCollectionOfObjectValues("iosEnrollmentAssignments", complianceManagementPartner.iosEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("iosEnrollmentAssignments", complianceManagementPartner.iosEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("iosOnboarded", complianceManagementPartner.iosOnboarded); writer.writeDateValue("lastHeartbeatDateTime", complianceManagementPartner.lastHeartbeatDateTime); - writer.writeCollectionOfObjectValues("macOsEnrollmentAssignments", complianceManagementPartner.macOsEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("macOsEnrollmentAssignments", complianceManagementPartner.macOsEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("macOsOnboarded", complianceManagementPartner.macOsOnboarded); writer.writeEnumValue("partnerState", complianceManagementPartner.partnerState); } diff --git a/src/models/complianceManagementPartnerAssignment.ts b/src/models/complianceManagementPartnerAssignment.ts index 31f817a5c4e..8b3bead9778 100644 --- a/src/models/complianceManagementPartnerAssignment.ts +++ b/src/models/complianceManagementPartnerAssignment.ts @@ -30,7 +30,7 @@ export function deserializeIntoComplianceManagementPartnerAssignment(complianceM } export function serializeComplianceManagementPartnerAssignment(writer: SerializationWriter, complianceManagementPartnerAssignment: ComplianceManagementPartnerAssignment | undefined = {} as ComplianceManagementPartnerAssignment) : void { writer.writeStringValue("@odata.type", complianceManagementPartnerAssignment.odataType); - writer.writeObjectValue("target", complianceManagementPartnerAssignment.target, ); + writer.writeObjectValue("target", complianceManagementPartnerAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); writer.writeAdditionalData(complianceManagementPartnerAssignment.additionalData); } // tslint:enable diff --git a/src/models/complianceManagementPartnerCollectionResponse.ts b/src/models/complianceManagementPartnerCollectionResponse.ts index 6c815cb5e0c..c23e85aa219 100644 --- a/src/models/complianceManagementPartnerCollectionResponse.ts +++ b/src/models/complianceManagementPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoComplianceManagementPartnerCollectionResponse(com } export function serializeComplianceManagementPartnerCollectionResponse(writer: SerializationWriter, complianceManagementPartnerCollectionResponse: ComplianceManagementPartnerCollectionResponse | undefined = {} as ComplianceManagementPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, complianceManagementPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", complianceManagementPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", complianceManagementPartnerCollectionResponse.value, serializeComplianceManagementPartner); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessApplications.ts b/src/models/conditionalAccessApplications.ts index 87df5908cad..e76af361603 100644 --- a/src/models/conditionalAccessApplications.ts +++ b/src/models/conditionalAccessApplications.ts @@ -49,7 +49,7 @@ export function deserializeIntoConditionalAccessApplications(conditionalAccessAp } } export function serializeConditionalAccessApplications(writer: SerializationWriter, conditionalAccessApplications: ConditionalAccessApplications | undefined = {} as ConditionalAccessApplications) : void { - writer.writeObjectValue("applicationFilter", conditionalAccessApplications.applicationFilter, ); + writer.writeObjectValue("applicationFilter", conditionalAccessApplications.applicationFilter, serializeConditionalAccessFilter); writer.writeCollectionOfPrimitiveValues("excludeApplications", conditionalAccessApplications.excludeApplications); writer.writeCollectionOfPrimitiveValues("includeApplications", conditionalAccessApplications.includeApplications); writer.writeCollectionOfPrimitiveValues("includeAuthenticationContextClassReferences", conditionalAccessApplications.includeAuthenticationContextClassReferences); diff --git a/src/models/conditionalAccessClientApplications.ts b/src/models/conditionalAccessClientApplications.ts index 108d30dedef..f8dbb9afc27 100644 --- a/src/models/conditionalAccessClientApplications.ts +++ b/src/models/conditionalAccessClientApplications.ts @@ -42,7 +42,7 @@ export function serializeConditionalAccessClientApplications(writer: Serializati writer.writeCollectionOfPrimitiveValues("excludeServicePrincipals", conditionalAccessClientApplications.excludeServicePrincipals); writer.writeCollectionOfPrimitiveValues("includeServicePrincipals", conditionalAccessClientApplications.includeServicePrincipals); writer.writeStringValue("@odata.type", conditionalAccessClientApplications.odataType); - writer.writeObjectValue("servicePrincipalFilter", conditionalAccessClientApplications.servicePrincipalFilter, ); + writer.writeObjectValue("servicePrincipalFilter", conditionalAccessClientApplications.servicePrincipalFilter, serializeConditionalAccessFilter); writer.writeAdditionalData(conditionalAccessClientApplications.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessConditionSet.ts b/src/models/conditionalAccessConditionSet.ts index c908cc240d9..edcc72cbcec 100644 --- a/src/models/conditionalAccessConditionSet.ts +++ b/src/models/conditionalAccessConditionSet.ts @@ -81,21 +81,21 @@ export function deserializeIntoConditionalAccessConditionSet(conditionalAccessCo } } export function serializeConditionalAccessConditionSet(writer: SerializationWriter, conditionalAccessConditionSet: ConditionalAccessConditionSet | undefined = {} as ConditionalAccessConditionSet) : void { - writer.writeObjectValue("applications", conditionalAccessConditionSet.applications, ); - writer.writeObjectValue("clientApplications", conditionalAccessConditionSet.clientApplications, ); + writer.writeObjectValue("applications", conditionalAccessConditionSet.applications, serializeConditionalAccessApplications); + writer.writeObjectValue("clientApplications", conditionalAccessConditionSet.clientApplications, serializeConditionalAccessClientApplications); if(conditionalAccessConditionSet.clientAppTypes) writer.writeEnumValue("clientAppTypes", ...conditionalAccessConditionSet.clientAppTypes); - writer.writeObjectValue("devices", conditionalAccessConditionSet.devices, ); - writer.writeObjectValue("locations", conditionalAccessConditionSet.locations, ); + writer.writeObjectValue("devices", conditionalAccessConditionSet.devices, serializeConditionalAccessDevices); + writer.writeObjectValue("locations", conditionalAccessConditionSet.locations, serializeConditionalAccessLocations); writer.writeStringValue("@odata.type", conditionalAccessConditionSet.odataType); - writer.writeObjectValue("platforms", conditionalAccessConditionSet.platforms, ); + writer.writeObjectValue("platforms", conditionalAccessConditionSet.platforms, serializeConditionalAccessPlatforms); if(conditionalAccessConditionSet.servicePrincipalRiskLevels) writer.writeEnumValue("servicePrincipalRiskLevels", ...conditionalAccessConditionSet.servicePrincipalRiskLevels); if(conditionalAccessConditionSet.signInRiskLevels) writer.writeEnumValue("signInRiskLevels", ...conditionalAccessConditionSet.signInRiskLevels); if(conditionalAccessConditionSet.userRiskLevels) writer.writeEnumValue("userRiskLevels", ...conditionalAccessConditionSet.userRiskLevels); - writer.writeObjectValue("users", conditionalAccessConditionSet.users, ); + writer.writeObjectValue("users", conditionalAccessConditionSet.users, serializeConditionalAccessUsers); writer.writeAdditionalData(conditionalAccessConditionSet.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessDevices.ts b/src/models/conditionalAccessDevices.ts index 90ed5b01ea7..661549e67d1 100644 --- a/src/models/conditionalAccessDevices.ts +++ b/src/models/conditionalAccessDevices.ts @@ -29,7 +29,7 @@ export function deserializeIntoConditionalAccessDevices(conditionalAccessDevices } } export function serializeConditionalAccessDevices(writer: SerializationWriter, conditionalAccessDevices: ConditionalAccessDevices | undefined = {} as ConditionalAccessDevices) : void { - writer.writeObjectValue("deviceFilter", conditionalAccessDevices.deviceFilter, ); + writer.writeObjectValue("deviceFilter", conditionalAccessDevices.deviceFilter, serializeConditionalAccessFilter); writer.writeStringValue("@odata.type", conditionalAccessDevices.odataType); writer.writeAdditionalData(conditionalAccessDevices.additionalData); } diff --git a/src/models/conditionalAccessGrantControls.ts b/src/models/conditionalAccessGrantControls.ts index 77c08fb7cf7..a3d431fce08 100644 --- a/src/models/conditionalAccessGrantControls.ts +++ b/src/models/conditionalAccessGrantControls.ts @@ -50,7 +50,7 @@ export function deserializeIntoConditionalAccessGrantControls(conditionalAccessG } } export function serializeConditionalAccessGrantControls(writer: SerializationWriter, conditionalAccessGrantControls: ConditionalAccessGrantControls | undefined = {} as ConditionalAccessGrantControls) : void { - writer.writeObjectValue("authenticationStrength", conditionalAccessGrantControls.authenticationStrength, ); + writer.writeObjectValue("authenticationStrength", conditionalAccessGrantControls.authenticationStrength, serializeAuthenticationStrengthPolicy); if(conditionalAccessGrantControls.builtInControls) writer.writeEnumValue("builtInControls", ...conditionalAccessGrantControls.builtInControls); writer.writeCollectionOfPrimitiveValues("customAuthenticationFactors", conditionalAccessGrantControls.customAuthenticationFactors); diff --git a/src/models/conditionalAccessGuestsOrExternalUsers.ts b/src/models/conditionalAccessGuestsOrExternalUsers.ts index a085ed702df..d6580d0707f 100644 --- a/src/models/conditionalAccessGuestsOrExternalUsers.ts +++ b/src/models/conditionalAccessGuestsOrExternalUsers.ts @@ -35,7 +35,7 @@ export function deserializeIntoConditionalAccessGuestsOrExternalUsers(conditiona } } export function serializeConditionalAccessGuestsOrExternalUsers(writer: SerializationWriter, conditionalAccessGuestsOrExternalUsers: ConditionalAccessGuestsOrExternalUsers | undefined = {} as ConditionalAccessGuestsOrExternalUsers) : void { - writer.writeObjectValue("externalTenants", conditionalAccessGuestsOrExternalUsers.externalTenants, ); + writer.writeObjectValue("externalTenants", conditionalAccessGuestsOrExternalUsers.externalTenants, serializeConditionalAccessExternalTenants); writer.writeEnumValue("guestOrExternalUserTypes", conditionalAccessGuestsOrExternalUsers.guestOrExternalUserTypes); writer.writeStringValue("@odata.type", conditionalAccessGuestsOrExternalUsers.odataType); writer.writeAdditionalData(conditionalAccessGuestsOrExternalUsers.additionalData); diff --git a/src/models/conditionalAccessPolicy.ts b/src/models/conditionalAccessPolicy.ts index e3f36caad4e..0eeb564c96b 100644 --- a/src/models/conditionalAccessPolicy.ts +++ b/src/models/conditionalAccessPolicy.ts @@ -66,13 +66,13 @@ export function deserializeIntoConditionalAccessPolicy(conditionalAccessPolicy: } export function serializeConditionalAccessPolicy(writer: SerializationWriter, conditionalAccessPolicy: ConditionalAccessPolicy | undefined = {} as ConditionalAccessPolicy) : void { serializeEntity(writer, conditionalAccessPolicy) - writer.writeObjectValue("conditions", conditionalAccessPolicy.conditions, ); + writer.writeObjectValue("conditions", conditionalAccessPolicy.conditions, serializeConditionalAccessConditionSet); writer.writeDateValue("createdDateTime", conditionalAccessPolicy.createdDateTime); writer.writeStringValue("description", conditionalAccessPolicy.description); writer.writeStringValue("displayName", conditionalAccessPolicy.displayName); - writer.writeObjectValue("grantControls", conditionalAccessPolicy.grantControls, ); + writer.writeObjectValue("grantControls", conditionalAccessPolicy.grantControls, serializeConditionalAccessGrantControls); writer.writeDateValue("modifiedDateTime", conditionalAccessPolicy.modifiedDateTime); - writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, ); + writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, serializeConditionalAccessSessionControls); writer.writeEnumValue("state", conditionalAccessPolicy.state); writer.writeStringValue("templateId", conditionalAccessPolicy.templateId); } diff --git a/src/models/conditionalAccessPolicyCollectionResponse.ts b/src/models/conditionalAccessPolicyCollectionResponse.ts index 89dcb76edb1..fc5baa44d7b 100644 --- a/src/models/conditionalAccessPolicyCollectionResponse.ts +++ b/src/models/conditionalAccessPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConditionalAccessPolicyCollectionResponse(conditi } export function serializeConditionalAccessPolicyCollectionResponse(writer: SerializationWriter, conditionalAccessPolicyCollectionResponse: ConditionalAccessPolicyCollectionResponse | undefined = {} as ConditionalAccessPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conditionalAccessPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", conditionalAccessPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conditionalAccessPolicyCollectionResponse.value, serializeConditionalAccessPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessPolicyDetail.ts b/src/models/conditionalAccessPolicyDetail.ts index 41b36ab2154..eab91eea48c 100644 --- a/src/models/conditionalAccessPolicyDetail.ts +++ b/src/models/conditionalAccessPolicyDetail.ts @@ -41,10 +41,10 @@ export function deserializeIntoConditionalAccessPolicyDetail(conditionalAccessPo } } export function serializeConditionalAccessPolicyDetail(writer: SerializationWriter, conditionalAccessPolicyDetail: ConditionalAccessPolicyDetail | undefined = {} as ConditionalAccessPolicyDetail) : void { - writer.writeObjectValue("conditions", conditionalAccessPolicyDetail.conditions, ); - writer.writeObjectValue("grantControls", conditionalAccessPolicyDetail.grantControls, ); + writer.writeObjectValue("conditions", conditionalAccessPolicyDetail.conditions, serializeConditionalAccessConditionSet); + writer.writeObjectValue("grantControls", conditionalAccessPolicyDetail.grantControls, serializeConditionalAccessGrantControls); writer.writeStringValue("@odata.type", conditionalAccessPolicyDetail.odataType); - writer.writeObjectValue("sessionControls", conditionalAccessPolicyDetail.sessionControls, ); + writer.writeObjectValue("sessionControls", conditionalAccessPolicyDetail.sessionControls, serializeConditionalAccessSessionControls); writer.writeAdditionalData(conditionalAccessPolicyDetail.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessRoot.ts b/src/models/conditionalAccessRoot.ts index 582657c0ac3..9c549c222d0 100644 --- a/src/models/conditionalAccessRoot.ts +++ b/src/models/conditionalAccessRoot.ts @@ -47,11 +47,11 @@ export function deserializeIntoConditionalAccessRoot(conditionalAccessRoot: Cond } export function serializeConditionalAccessRoot(writer: SerializationWriter, conditionalAccessRoot: ConditionalAccessRoot | undefined = {} as ConditionalAccessRoot) : void { serializeEntity(writer, conditionalAccessRoot) - writer.writeCollectionOfObjectValues("authenticationContextClassReferences", conditionalAccessRoot.authenticationContextClassReferences, ); - writer.writeObjectValue("authenticationStrength", conditionalAccessRoot.authenticationStrength, ); - writer.writeCollectionOfObjectValues("namedLocations", conditionalAccessRoot.namedLocations, ); - writer.writeCollectionOfObjectValues("policies", conditionalAccessRoot.policies, ); - writer.writeCollectionOfObjectValues("templates", conditionalAccessRoot.templates, ); + writer.writeCollectionOfObjectValues("authenticationContextClassReferences", conditionalAccessRoot.authenticationContextClassReferences, serializeAuthenticationContextClassReference); + writer.writeObjectValue("authenticationStrength", conditionalAccessRoot.authenticationStrength, serializeAuthenticationStrengthRoot); + writer.writeCollectionOfObjectValues("namedLocations", conditionalAccessRoot.namedLocations, serializeNamedLocation); + writer.writeCollectionOfObjectValues("policies", conditionalAccessRoot.policies, serializeConditionalAccessPolicy); + writer.writeCollectionOfObjectValues("templates", conditionalAccessRoot.templates, serializeConditionalAccessTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessSessionControls.ts b/src/models/conditionalAccessSessionControls.ts index 4a7d985281c..3eb9f22179b 100644 --- a/src/models/conditionalAccessSessionControls.ts +++ b/src/models/conditionalAccessSessionControls.ts @@ -52,12 +52,12 @@ export function deserializeIntoConditionalAccessSessionControls(conditionalAcces } } export function serializeConditionalAccessSessionControls(writer: SerializationWriter, conditionalAccessSessionControls: ConditionalAccessSessionControls | undefined = {} as ConditionalAccessSessionControls) : void { - writer.writeObjectValue("applicationEnforcedRestrictions", conditionalAccessSessionControls.applicationEnforcedRestrictions, ); - writer.writeObjectValue("cloudAppSecurity", conditionalAccessSessionControls.cloudAppSecurity, ); + writer.writeObjectValue("applicationEnforcedRestrictions", conditionalAccessSessionControls.applicationEnforcedRestrictions, serializeApplicationEnforcedRestrictionsSessionControl); + writer.writeObjectValue("cloudAppSecurity", conditionalAccessSessionControls.cloudAppSecurity, serializeCloudAppSecuritySessionControl); writer.writeBooleanValue("disableResilienceDefaults", conditionalAccessSessionControls.disableResilienceDefaults); writer.writeStringValue("@odata.type", conditionalAccessSessionControls.odataType); - writer.writeObjectValue("persistentBrowser", conditionalAccessSessionControls.persistentBrowser, ); - writer.writeObjectValue("signInFrequency", conditionalAccessSessionControls.signInFrequency, ); + writer.writeObjectValue("persistentBrowser", conditionalAccessSessionControls.persistentBrowser, serializePersistentBrowserSessionControl); + writer.writeObjectValue("signInFrequency", conditionalAccessSessionControls.signInFrequency, serializeSignInFrequencySessionControl); writer.writeAdditionalData(conditionalAccessSessionControls.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessTemplate.ts b/src/models/conditionalAccessTemplate.ts index 74bfe5b0e9a..dd68e078273 100644 --- a/src/models/conditionalAccessTemplate.ts +++ b/src/models/conditionalAccessTemplate.ts @@ -40,7 +40,7 @@ export function deserializeIntoConditionalAccessTemplate(conditionalAccessTempla export function serializeConditionalAccessTemplate(writer: SerializationWriter, conditionalAccessTemplate: ConditionalAccessTemplate | undefined = {} as ConditionalAccessTemplate) : void { serializeEntity(writer, conditionalAccessTemplate) writer.writeStringValue("description", conditionalAccessTemplate.description); - writer.writeObjectValue("details", conditionalAccessTemplate.details, ); + writer.writeObjectValue("details", conditionalAccessTemplate.details, serializeConditionalAccessPolicyDetail); writer.writeStringValue("name", conditionalAccessTemplate.name); writer.writeEnumValue("scenarios", conditionalAccessTemplate.scenarios); } diff --git a/src/models/conditionalAccessTemplateCollectionResponse.ts b/src/models/conditionalAccessTemplateCollectionResponse.ts index 53aef294112..75cfd06188b 100644 --- a/src/models/conditionalAccessTemplateCollectionResponse.ts +++ b/src/models/conditionalAccessTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConditionalAccessTemplateCollectionResponse(condi } export function serializeConditionalAccessTemplateCollectionResponse(writer: SerializationWriter, conditionalAccessTemplateCollectionResponse: ConditionalAccessTemplateCollectionResponse | undefined = {} as ConditionalAccessTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conditionalAccessTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", conditionalAccessTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conditionalAccessTemplateCollectionResponse.value, serializeConditionalAccessTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessUsers.ts b/src/models/conditionalAccessUsers.ts index d5933a96782..5cec3796674 100644 --- a/src/models/conditionalAccessUsers.ts +++ b/src/models/conditionalAccessUsers.ts @@ -65,11 +65,11 @@ export function deserializeIntoConditionalAccessUsers(conditionalAccessUsers: Co } export function serializeConditionalAccessUsers(writer: SerializationWriter, conditionalAccessUsers: ConditionalAccessUsers | undefined = {} as ConditionalAccessUsers) : void { writer.writeCollectionOfPrimitiveValues("excludeGroups", conditionalAccessUsers.excludeGroups); - writer.writeObjectValue("excludeGuestsOrExternalUsers", conditionalAccessUsers.excludeGuestsOrExternalUsers, ); + writer.writeObjectValue("excludeGuestsOrExternalUsers", conditionalAccessUsers.excludeGuestsOrExternalUsers, serializeConditionalAccessGuestsOrExternalUsers); writer.writeCollectionOfPrimitiveValues("excludeRoles", conditionalAccessUsers.excludeRoles); writer.writeCollectionOfPrimitiveValues("excludeUsers", conditionalAccessUsers.excludeUsers); writer.writeCollectionOfPrimitiveValues("includeGroups", conditionalAccessUsers.includeGroups); - writer.writeObjectValue("includeGuestsOrExternalUsers", conditionalAccessUsers.includeGuestsOrExternalUsers, ); + writer.writeObjectValue("includeGuestsOrExternalUsers", conditionalAccessUsers.includeGuestsOrExternalUsers, serializeConditionalAccessGuestsOrExternalUsers); writer.writeCollectionOfPrimitiveValues("includeRoles", conditionalAccessUsers.includeRoles); writer.writeCollectionOfPrimitiveValues("includeUsers", conditionalAccessUsers.includeUsers); writer.writeStringValue("@odata.type", conditionalAccessUsers.odataType); diff --git a/src/models/connectedOrganization.ts b/src/models/connectedOrganization.ts index a32a989188c..37ac73641f4 100644 --- a/src/models/connectedOrganization.ts +++ b/src/models/connectedOrganization.ts @@ -63,9 +63,9 @@ export function serializeConnectedOrganization(writer: SerializationWriter, conn writer.writeDateValue("createdDateTime", connectedOrganization.createdDateTime); writer.writeStringValue("description", connectedOrganization.description); writer.writeStringValue("displayName", connectedOrganization.displayName); - writer.writeCollectionOfObjectValues("externalSponsors", connectedOrganization.externalSponsors, ); - writer.writeCollectionOfObjectValues("identitySources", connectedOrganization.identitySources, ); - writer.writeCollectionOfObjectValues("internalSponsors", connectedOrganization.internalSponsors, ); + writer.writeCollectionOfObjectValues("externalSponsors", connectedOrganization.externalSponsors, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("identitySources", connectedOrganization.identitySources, serializeIdentitySource); + writer.writeCollectionOfObjectValues("internalSponsors", connectedOrganization.internalSponsors, serializeDirectoryObject); writer.writeDateValue("modifiedDateTime", connectedOrganization.modifiedDateTime); writer.writeEnumValue("state", connectedOrganization.state); } diff --git a/src/models/connectedOrganizationCollectionResponse.ts b/src/models/connectedOrganizationCollectionResponse.ts index 93c59f31f76..ab0e3e9bc3c 100644 --- a/src/models/connectedOrganizationCollectionResponse.ts +++ b/src/models/connectedOrganizationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConnectedOrganizationCollectionResponse(connected } export function serializeConnectedOrganizationCollectionResponse(writer: SerializationWriter, connectedOrganizationCollectionResponse: ConnectedOrganizationCollectionResponse | undefined = {} as ConnectedOrganizationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, connectedOrganizationCollectionResponse) - writer.writeCollectionOfObjectValues("value", connectedOrganizationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", connectedOrganizationCollectionResponse.value, serializeConnectedOrganization); } // tslint:enable // eslint-enable diff --git a/src/models/contact.ts b/src/models/contact.ts index 991aae263ac..9d6b5689431 100644 --- a/src/models/contact.ts +++ b/src/models/contact.ts @@ -210,19 +210,19 @@ export function serializeContact(writer: SerializationWriter, contact: Contact | serializeOutlookItem(writer, contact) writer.writeStringValue("assistantName", contact.assistantName); writer.writeDateValue("birthday", contact.birthday); - writer.writeObjectValue("businessAddress", contact.businessAddress, ); + writer.writeObjectValue("businessAddress", contact.businessAddress, serializePhysicalAddress); writer.writeStringValue("businessHomePage", contact.businessHomePage); writer.writeCollectionOfPrimitiveValues("businessPhones", contact.businessPhones); writer.writeCollectionOfPrimitiveValues("children", contact.children); writer.writeStringValue("companyName", contact.companyName); writer.writeStringValue("department", contact.department); writer.writeStringValue("displayName", contact.displayName); - writer.writeCollectionOfObjectValues("emailAddresses", contact.emailAddresses, ); - writer.writeCollectionOfObjectValues("extensions", contact.extensions, ); + writer.writeCollectionOfObjectValues("emailAddresses", contact.emailAddresses, serializeEmailAddress); + writer.writeCollectionOfObjectValues("extensions", contact.extensions, serializeExtension); writer.writeStringValue("fileAs", contact.fileAs); writer.writeStringValue("generation", contact.generation); writer.writeStringValue("givenName", contact.givenName); - writer.writeObjectValue("homeAddress", contact.homeAddress, ); + writer.writeObjectValue("homeAddress", contact.homeAddress, serializePhysicalAddress); writer.writeCollectionOfPrimitiveValues("homePhones", contact.homePhones); writer.writeCollectionOfPrimitiveValues("imAddresses", contact.imAddresses); writer.writeStringValue("initials", contact.initials); @@ -230,15 +230,15 @@ export function serializeContact(writer: SerializationWriter, contact: Contact | writer.writeStringValue("manager", contact.manager); writer.writeStringValue("middleName", contact.middleName); writer.writeStringValue("mobilePhone", contact.mobilePhone); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contact.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contact.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("nickName", contact.nickName); writer.writeStringValue("officeLocation", contact.officeLocation); - writer.writeObjectValue("otherAddress", contact.otherAddress, ); + writer.writeObjectValue("otherAddress", contact.otherAddress, serializePhysicalAddress); writer.writeStringValue("parentFolderId", contact.parentFolderId); writer.writeStringValue("personalNotes", contact.personalNotes); - writer.writeObjectValue("photo", contact.photo, ); + writer.writeObjectValue("photo", contact.photo, serializeProfilePhoto); writer.writeStringValue("profession", contact.profession); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contact.singleValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contact.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); writer.writeStringValue("spouseName", contact.spouseName); writer.writeStringValue("surname", contact.surname); writer.writeStringValue("title", contact.title); diff --git a/src/models/contactCollectionResponse.ts b/src/models/contactCollectionResponse.ts index 92da21fd31d..7bce3282033 100644 --- a/src/models/contactCollectionResponse.ts +++ b/src/models/contactCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContactCollectionResponse(contactCollectionRespon } export function serializeContactCollectionResponse(writer: SerializationWriter, contactCollectionResponse: ContactCollectionResponse | undefined = {} as ContactCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contactCollectionResponse) - writer.writeCollectionOfObjectValues("value", contactCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contactCollectionResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/models/contactFolder.ts b/src/models/contactFolder.ts index a3f1c87cf81..bbb9274806e 100644 --- a/src/models/contactFolder.ts +++ b/src/models/contactFolder.ts @@ -50,12 +50,12 @@ export function deserializeIntoContactFolder(contactFolder: ContactFolder | unde } export function serializeContactFolder(writer: SerializationWriter, contactFolder: ContactFolder | undefined = {} as ContactFolder) : void { serializeEntity(writer, contactFolder) - writer.writeCollectionOfObjectValues("childFolders", contactFolder.childFolders, ); - writer.writeCollectionOfObjectValues("contacts", contactFolder.contacts, ); + writer.writeCollectionOfObjectValues("childFolders", contactFolder.childFolders, serializeContactFolder); + writer.writeCollectionOfObjectValues("contacts", contactFolder.contacts, serializeContact); writer.writeStringValue("displayName", contactFolder.displayName); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contactFolder.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contactFolder.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("parentFolderId", contactFolder.parentFolderId); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contactFolder.singleValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contactFolder.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); } // tslint:enable // eslint-enable diff --git a/src/models/contactFolderCollectionResponse.ts b/src/models/contactFolderCollectionResponse.ts index c5d38cf6aeb..051a4b217ec 100644 --- a/src/models/contactFolderCollectionResponse.ts +++ b/src/models/contactFolderCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContactFolderCollectionResponse(contactFolderColl } export function serializeContactFolderCollectionResponse(writer: SerializationWriter, contactFolderCollectionResponse: ContactFolderCollectionResponse | undefined = {} as ContactFolderCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contactFolderCollectionResponse) - writer.writeCollectionOfObjectValues("value", contactFolderCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contactFolderCollectionResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/models/contentSharingSessionCollectionResponse.ts b/src/models/contentSharingSessionCollectionResponse.ts index ad8d7aced9a..41c998adb33 100644 --- a/src/models/contentSharingSessionCollectionResponse.ts +++ b/src/models/contentSharingSessionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContentSharingSessionCollectionResponse(contentSh } export function serializeContentSharingSessionCollectionResponse(writer: SerializationWriter, contentSharingSessionCollectionResponse: ContentSharingSessionCollectionResponse | undefined = {} as ContentSharingSessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contentSharingSessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", contentSharingSessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contentSharingSessionCollectionResponse.value, serializeContentSharingSession); } // tslint:enable // eslint-enable diff --git a/src/models/contentType.ts b/src/models/contentType.ts index 6ded2031bfe..48780a7789c 100644 --- a/src/models/contentType.ts +++ b/src/models/contentType.ts @@ -119,20 +119,20 @@ export function deserializeIntoContentType(contentType: ContentType | undefined export function serializeContentType(writer: SerializationWriter, contentType: ContentType | undefined = {} as ContentType) : void { serializeEntity(writer, contentType) writer.writeCollectionOfPrimitiveValues("associatedHubsUrls", contentType.associatedHubsUrls); - writer.writeObjectValue("base", contentType.base, ); - writer.writeCollectionOfObjectValues("baseTypes", contentType.baseTypes, ); - writer.writeCollectionOfObjectValues("columnLinks", contentType.columnLinks, ); - writer.writeCollectionOfObjectValues("columnPositions", contentType.columnPositions, ); - writer.writeCollectionOfObjectValues("columns", contentType.columns, ); + writer.writeObjectValue("base", contentType.base, serializeContentType); + writer.writeCollectionOfObjectValues("baseTypes", contentType.baseTypes, serializeContentType); + writer.writeCollectionOfObjectValues("columnLinks", contentType.columnLinks, serializeColumnLink); + writer.writeCollectionOfObjectValues("columnPositions", contentType.columnPositions, serializeColumnDefinition); + writer.writeCollectionOfObjectValues("columns", contentType.columns, serializeColumnDefinition); writer.writeStringValue("description", contentType.description); - writer.writeObjectValue("documentSet", contentType.documentSet, ); - writer.writeObjectValue("documentTemplate", contentType.documentTemplate, ); + writer.writeObjectValue("documentSet", contentType.documentSet, serializeDocumentSet); + writer.writeObjectValue("documentTemplate", contentType.documentTemplate, serializeDocumentSetContent); writer.writeStringValue("group", contentType.group); writer.writeBooleanValue("hidden", contentType.hidden); - writer.writeObjectValue("inheritedFrom", contentType.inheritedFrom, ); + writer.writeObjectValue("inheritedFrom", contentType.inheritedFrom, serializeItemReference); writer.writeBooleanValue("isBuiltIn", contentType.isBuiltIn); writer.writeStringValue("name", contentType.name); - writer.writeObjectValue("order", contentType.order, ); + writer.writeObjectValue("order", contentType.order, serializeContentTypeOrder); writer.writeStringValue("parentId", contentType.parentId); writer.writeBooleanValue("propagateChanges", contentType.propagateChanges); writer.writeBooleanValue("readOnly", contentType.readOnly); diff --git a/src/models/contentTypeCollectionResponse.ts b/src/models/contentTypeCollectionResponse.ts index 25064e844e2..ec36528de99 100644 --- a/src/models/contentTypeCollectionResponse.ts +++ b/src/models/contentTypeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContentTypeCollectionResponse(contentTypeCollecti } export function serializeContentTypeCollectionResponse(writer: SerializationWriter, contentTypeCollectionResponse: ContentTypeCollectionResponse | undefined = {} as ContentTypeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contentTypeCollectionResponse) - writer.writeCollectionOfObjectValues("value", contentTypeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contentTypeCollectionResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/models/contractCollectionResponse.ts b/src/models/contractCollectionResponse.ts index c72bd11f57e..b25a7a796fa 100644 --- a/src/models/contractCollectionResponse.ts +++ b/src/models/contractCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContractCollectionResponse(contractCollectionResp } export function serializeContractCollectionResponse(writer: SerializationWriter, contractCollectionResponse: ContractCollectionResponse | undefined = {} as ContractCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contractCollectionResponse) - writer.writeCollectionOfObjectValues("value", contractCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contractCollectionResponse.value, serializeContract); } // tslint:enable // eslint-enable diff --git a/src/models/conversation.ts b/src/models/conversation.ts index 580833aecf2..13023a4d60a 100644 --- a/src/models/conversation.ts +++ b/src/models/conversation.ts @@ -51,7 +51,7 @@ export function serializeConversation(writer: SerializationWriter, conversation: writer.writeBooleanValue("hasAttachments", conversation.hasAttachments); writer.writeDateValue("lastDeliveredDateTime", conversation.lastDeliveredDateTime); writer.writeStringValue("preview", conversation.preview); - writer.writeCollectionOfObjectValues("threads", conversation.threads, ); + writer.writeCollectionOfObjectValues("threads", conversation.threads, serializeConversationThread); writer.writeStringValue("topic", conversation.topic); writer.writeCollectionOfPrimitiveValues("uniqueSenders", conversation.uniqueSenders); } diff --git a/src/models/conversationCollectionResponse.ts b/src/models/conversationCollectionResponse.ts index 02a0617a3c7..c5bd8a045d9 100644 --- a/src/models/conversationCollectionResponse.ts +++ b/src/models/conversationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationCollectionResponse(conversationCollec } export function serializeConversationCollectionResponse(writer: SerializationWriter, conversationCollectionResponse: ConversationCollectionResponse | undefined = {} as ConversationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationCollectionResponse.value, serializeConversation); } // tslint:enable // eslint-enable diff --git a/src/models/conversationMemberCollectionResponse.ts b/src/models/conversationMemberCollectionResponse.ts index 5cafb1c1af5..01d71d0b5b0 100644 --- a/src/models/conversationMemberCollectionResponse.ts +++ b/src/models/conversationMemberCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationMemberCollectionResponse(conversation } export function serializeConversationMemberCollectionResponse(writer: SerializationWriter, conversationMemberCollectionResponse: ConversationMemberCollectionResponse | undefined = {} as ConversationMemberCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationMemberCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationMemberCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationMemberCollectionResponse.value, serializeConversationMember); } // tslint:enable // eslint-enable diff --git a/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts b/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts index fa98bdb53cc..256e0de1553 100644 --- a/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts +++ b/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts @@ -35,8 +35,8 @@ export function deserializeIntoConversationMemberRoleUpdatedEventMessageDetail(c export function serializeConversationMemberRoleUpdatedEventMessageDetail(writer: SerializationWriter, conversationMemberRoleUpdatedEventMessageDetail: ConversationMemberRoleUpdatedEventMessageDetail | undefined = {} as ConversationMemberRoleUpdatedEventMessageDetail) : void { serializeEventMessageDetail(writer, conversationMemberRoleUpdatedEventMessageDetail) writer.writeCollectionOfPrimitiveValues("conversationMemberRoles", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberRoles); - writer.writeObjectValue("conversationMemberUser", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberUser, ); - writer.writeObjectValue("initiator", conversationMemberRoleUpdatedEventMessageDetail.initiator, ); + writer.writeObjectValue("conversationMemberUser", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberUser, serializeTeamworkUserIdentity); + writer.writeObjectValue("initiator", conversationMemberRoleUpdatedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/conversationThread.ts b/src/models/conversationThread.ts index e3ddf677e53..f8d61d8bc98 100644 --- a/src/models/conversationThread.ts +++ b/src/models/conversationThread.ts @@ -64,14 +64,14 @@ export function deserializeIntoConversationThread(conversationThread: Conversati } export function serializeConversationThread(writer: SerializationWriter, conversationThread: ConversationThread | undefined = {} as ConversationThread) : void { serializeEntity(writer, conversationThread) - writer.writeCollectionOfObjectValues("ccRecipients", conversationThread.ccRecipients, ); + writer.writeCollectionOfObjectValues("ccRecipients", conversationThread.ccRecipients, serializeRecipient); writer.writeBooleanValue("hasAttachments", conversationThread.hasAttachments); writer.writeBooleanValue("isLocked", conversationThread.isLocked); writer.writeDateValue("lastDeliveredDateTime", conversationThread.lastDeliveredDateTime); - writer.writeCollectionOfObjectValues("posts", conversationThread.posts, ); + writer.writeCollectionOfObjectValues("posts", conversationThread.posts, serializePost); writer.writeStringValue("preview", conversationThread.preview); writer.writeStringValue("topic", conversationThread.topic); - writer.writeCollectionOfObjectValues("toRecipients", conversationThread.toRecipients, ); + writer.writeCollectionOfObjectValues("toRecipients", conversationThread.toRecipients, serializeRecipient); writer.writeCollectionOfPrimitiveValues("uniqueSenders", conversationThread.uniqueSenders); } // tslint:enable diff --git a/src/models/conversationThreadCollectionResponse.ts b/src/models/conversationThreadCollectionResponse.ts index b1fedb695f4..45999657003 100644 --- a/src/models/conversationThreadCollectionResponse.ts +++ b/src/models/conversationThreadCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationThreadCollectionResponse(conversation } export function serializeConversationThreadCollectionResponse(writer: SerializationWriter, conversationThreadCollectionResponse: ConversationThreadCollectionResponse | undefined = {} as ConversationThreadCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationThreadCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationThreadCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationThreadCollectionResponse.value, serializeConversationThread); } // tslint:enable // eslint-enable diff --git a/src/models/convertIdResult.ts b/src/models/convertIdResult.ts index 3b208667b2f..0aa7665d918 100644 --- a/src/models/convertIdResult.ts +++ b/src/models/convertIdResult.ts @@ -39,7 +39,7 @@ export function deserializeIntoConvertIdResult(convertIdResult: ConvertIdResult } } export function serializeConvertIdResult(writer: SerializationWriter, convertIdResult: ConvertIdResult | undefined = {} as ConvertIdResult) : void { - writer.writeObjectValue("errorDetails", convertIdResult.errorDetails, ); + writer.writeObjectValue("errorDetails", convertIdResult.errorDetails, serializeGenericError); writer.writeStringValue("@odata.type", convertIdResult.odataType); writer.writeStringValue("sourceId", convertIdResult.sourceId); writer.writeStringValue("targetId", convertIdResult.targetId); diff --git a/src/models/copyNotebookModel.ts b/src/models/copyNotebookModel.ts index 92acf2fecf2..727d8398e4d 100644 --- a/src/models/copyNotebookModel.ts +++ b/src/models/copyNotebookModel.ts @@ -102,15 +102,15 @@ export function deserializeIntoCopyNotebookModel(copyNotebookModel: CopyNotebook } export function serializeCopyNotebookModel(writer: SerializationWriter, copyNotebookModel: CopyNotebookModel | undefined = {} as CopyNotebookModel) : void { writer.writeStringValue("createdBy", copyNotebookModel.createdBy); - writer.writeObjectValue("createdByIdentity", copyNotebookModel.createdByIdentity, ); + writer.writeObjectValue("createdByIdentity", copyNotebookModel.createdByIdentity, serializeIdentitySet); writer.writeDateValue("createdTime", copyNotebookModel.createdTime); writer.writeStringValue("id", copyNotebookModel.id); writer.writeBooleanValue("isDefault", copyNotebookModel.isDefault); writer.writeBooleanValue("isShared", copyNotebookModel.isShared); writer.writeStringValue("lastModifiedBy", copyNotebookModel.lastModifiedBy); - writer.writeObjectValue("lastModifiedByIdentity", copyNotebookModel.lastModifiedByIdentity, ); + writer.writeObjectValue("lastModifiedByIdentity", copyNotebookModel.lastModifiedByIdentity, serializeIdentitySet); writer.writeDateValue("lastModifiedTime", copyNotebookModel.lastModifiedTime); - writer.writeObjectValue("links", copyNotebookModel.links, ); + writer.writeObjectValue("links", copyNotebookModel.links, serializeNotebookLinks); writer.writeStringValue("name", copyNotebookModel.name); writer.writeStringValue("@odata.type", copyNotebookModel.odataType); writer.writeStringValue("sectionGroupsUrl", copyNotebookModel.sectionGroupsUrl); diff --git a/src/models/crossTenantAccessPolicy.ts b/src/models/crossTenantAccessPolicy.ts index 0e9e3ba3e69..2cc7b3c66d4 100644 --- a/src/models/crossTenantAccessPolicy.ts +++ b/src/models/crossTenantAccessPolicy.ts @@ -35,8 +35,8 @@ export function deserializeIntoCrossTenantAccessPolicy(crossTenantAccessPolicy: export function serializeCrossTenantAccessPolicy(writer: SerializationWriter, crossTenantAccessPolicy: CrossTenantAccessPolicy | undefined = {} as CrossTenantAccessPolicy) : void { serializePolicyBase(writer, crossTenantAccessPolicy) writer.writeCollectionOfPrimitiveValues("allowedCloudEndpoints", crossTenantAccessPolicy.allowedCloudEndpoints); - writer.writeObjectValue("default", crossTenantAccessPolicy.defaultEscaped, ); - writer.writeCollectionOfObjectValues("partners", crossTenantAccessPolicy.partners, ); + writer.writeObjectValue("default", crossTenantAccessPolicy.defaultEscaped, serializeCrossTenantAccessPolicyConfigurationDefault); + writer.writeCollectionOfObjectValues("partners", crossTenantAccessPolicy.partners, serializeCrossTenantAccessPolicyConfigurationPartner); } // tslint:enable // eslint-enable diff --git a/src/models/crossTenantAccessPolicyB2BSetting.ts b/src/models/crossTenantAccessPolicyB2BSetting.ts index 633b323be6f..f241fd01458 100644 --- a/src/models/crossTenantAccessPolicyB2BSetting.ts +++ b/src/models/crossTenantAccessPolicyB2BSetting.ts @@ -34,9 +34,9 @@ export function deserializeIntoCrossTenantAccessPolicyB2BSetting(crossTenantAcce } } export function serializeCrossTenantAccessPolicyB2BSetting(writer: SerializationWriter, crossTenantAccessPolicyB2BSetting: CrossTenantAccessPolicyB2BSetting | undefined = {} as CrossTenantAccessPolicyB2BSetting) : void { - writer.writeObjectValue("applications", crossTenantAccessPolicyB2BSetting.applications, ); + writer.writeObjectValue("applications", crossTenantAccessPolicyB2BSetting.applications, serializeCrossTenantAccessPolicyTargetConfiguration); writer.writeStringValue("@odata.type", crossTenantAccessPolicyB2BSetting.odataType); - writer.writeObjectValue("usersAndGroups", crossTenantAccessPolicyB2BSetting.usersAndGroups, ); + writer.writeObjectValue("usersAndGroups", crossTenantAccessPolicyB2BSetting.usersAndGroups, serializeCrossTenantAccessPolicyTargetConfiguration); writer.writeAdditionalData(crossTenantAccessPolicyB2BSetting.additionalData); } // tslint:enable diff --git a/src/models/crossTenantAccessPolicyConfigurationDefault.ts b/src/models/crossTenantAccessPolicyConfigurationDefault.ts index 79e77f2d092..3e8c17cfd68 100644 --- a/src/models/crossTenantAccessPolicyConfigurationDefault.ts +++ b/src/models/crossTenantAccessPolicyConfigurationDefault.ts @@ -55,12 +55,12 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationDefault(cross } export function serializeCrossTenantAccessPolicyConfigurationDefault(writer: SerializationWriter, crossTenantAccessPolicyConfigurationDefault: CrossTenantAccessPolicyConfigurationDefault | undefined = {} as CrossTenantAccessPolicyConfigurationDefault) : void { serializeEntity(writer, crossTenantAccessPolicyConfigurationDefault) - writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings, ); - writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound, ); - writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound, ); - writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound, ); - writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound, ); - writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationDefault.inboundTrust, ); + writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings, serializeInboundOutboundPolicyConfiguration); + writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationDefault.inboundTrust, serializeCrossTenantAccessPolicyInboundTrust); writer.writeBooleanValue("isServiceDefault", crossTenantAccessPolicyConfigurationDefault.isServiceDefault); } // tslint:enable diff --git a/src/models/crossTenantAccessPolicyConfigurationPartner.ts b/src/models/crossTenantAccessPolicyConfigurationPartner.ts index 7e663f89e38..fb79180fd82 100644 --- a/src/models/crossTenantAccessPolicyConfigurationPartner.ts +++ b/src/models/crossTenantAccessPolicyConfigurationPartner.ts @@ -72,13 +72,13 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationPartner(cross } } export function serializeCrossTenantAccessPolicyConfigurationPartner(writer: SerializationWriter, crossTenantAccessPolicyConfigurationPartner: CrossTenantAccessPolicyConfigurationPartner | undefined = {} as CrossTenantAccessPolicyConfigurationPartner) : void { - writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationPartner.automaticUserConsentSettings, ); - writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationInbound, ); - writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationOutbound, ); - writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectInbound, ); - writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectOutbound, ); - writer.writeObjectValue("identitySynchronization", crossTenantAccessPolicyConfigurationPartner.identitySynchronization, ); - writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationPartner.inboundTrust, ); + writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationPartner.automaticUserConsentSettings, serializeInboundOutboundPolicyConfiguration); + writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("identitySynchronization", crossTenantAccessPolicyConfigurationPartner.identitySynchronization, serializeCrossTenantIdentitySyncPolicyPartner); + writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationPartner.inboundTrust, serializeCrossTenantAccessPolicyInboundTrust); writer.writeBooleanValue("isServiceProvider", crossTenantAccessPolicyConfigurationPartner.isServiceProvider); writer.writeStringValue("@odata.type", crossTenantAccessPolicyConfigurationPartner.odataType); writer.writeStringValue("tenantId", crossTenantAccessPolicyConfigurationPartner.tenantId); diff --git a/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts b/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts index 717a77f9673..3eaa4d94528 100644 --- a/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts +++ b/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationPartnerCollec } export function serializeCrossTenantAccessPolicyConfigurationPartnerCollectionResponse(writer: SerializationWriter, crossTenantAccessPolicyConfigurationPartnerCollectionResponse: CrossTenantAccessPolicyConfigurationPartnerCollectionResponse | undefined = {} as CrossTenantAccessPolicyConfigurationPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, crossTenantAccessPolicyConfigurationPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", crossTenantAccessPolicyConfigurationPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", crossTenantAccessPolicyConfigurationPartnerCollectionResponse.value, serializeCrossTenantAccessPolicyConfigurationPartner); } // tslint:enable // eslint-enable diff --git a/src/models/crossTenantAccessPolicyTargetConfiguration.ts b/src/models/crossTenantAccessPolicyTargetConfiguration.ts index c5913cfd9e5..cdefda2c20b 100644 --- a/src/models/crossTenantAccessPolicyTargetConfiguration.ts +++ b/src/models/crossTenantAccessPolicyTargetConfiguration.ts @@ -37,7 +37,7 @@ export function deserializeIntoCrossTenantAccessPolicyTargetConfiguration(crossT export function serializeCrossTenantAccessPolicyTargetConfiguration(writer: SerializationWriter, crossTenantAccessPolicyTargetConfiguration: CrossTenantAccessPolicyTargetConfiguration | undefined = {} as CrossTenantAccessPolicyTargetConfiguration) : void { writer.writeEnumValue("accessType", crossTenantAccessPolicyTargetConfiguration.accessType); writer.writeStringValue("@odata.type", crossTenantAccessPolicyTargetConfiguration.odataType); - writer.writeCollectionOfObjectValues("targets", crossTenantAccessPolicyTargetConfiguration.targets, ); + writer.writeCollectionOfObjectValues("targets", crossTenantAccessPolicyTargetConfiguration.targets, serializeCrossTenantAccessPolicyTarget); writer.writeAdditionalData(crossTenantAccessPolicyTargetConfiguration.additionalData); } // tslint:enable diff --git a/src/models/crossTenantIdentitySyncPolicyPartner.ts b/src/models/crossTenantIdentitySyncPolicyPartner.ts index f0b0ecf24cf..ccfadd7927e 100644 --- a/src/models/crossTenantIdentitySyncPolicyPartner.ts +++ b/src/models/crossTenantIdentitySyncPolicyPartner.ts @@ -42,7 +42,7 @@ export function serializeCrossTenantIdentitySyncPolicyPartner(writer: Serializat writer.writeStringValue("displayName", crossTenantIdentitySyncPolicyPartner.displayName); writer.writeStringValue("@odata.type", crossTenantIdentitySyncPolicyPartner.odataType); writer.writeStringValue("tenantId", crossTenantIdentitySyncPolicyPartner.tenantId); - writer.writeObjectValue("userSyncInbound", crossTenantIdentitySyncPolicyPartner.userSyncInbound, ); + writer.writeObjectValue("userSyncInbound", crossTenantIdentitySyncPolicyPartner.userSyncInbound, serializeCrossTenantUserSyncInbound); writer.writeAdditionalData(crossTenantIdentitySyncPolicyPartner.additionalData); } // tslint:enable diff --git a/src/models/customCalloutExtension.ts b/src/models/customCalloutExtension.ts index 16533b48b22..64f4779a169 100644 --- a/src/models/customCalloutExtension.ts +++ b/src/models/customCalloutExtension.ts @@ -64,11 +64,11 @@ export function deserializeIntoCustomCalloutExtension(customCalloutExtension: Cu } export function serializeCustomCalloutExtension(writer: SerializationWriter, customCalloutExtension: CustomCalloutExtension | undefined = {} as CustomCalloutExtension) : void { serializeEntity(writer, customCalloutExtension) - writer.writeObjectValue("authenticationConfiguration", customCalloutExtension.authenticationConfiguration, ); - writer.writeObjectValue("clientConfiguration", customCalloutExtension.clientConfiguration, ); + writer.writeObjectValue("authenticationConfiguration", customCalloutExtension.authenticationConfiguration, serializeCustomExtensionAuthenticationConfiguration); + writer.writeObjectValue("clientConfiguration", customCalloutExtension.clientConfiguration, serializeCustomExtensionClientConfiguration); writer.writeStringValue("description", customCalloutExtension.description); writer.writeStringValue("displayName", customCalloutExtension.displayName); - writer.writeObjectValue("endpointConfiguration", customCalloutExtension.endpointConfiguration, ); + writer.writeObjectValue("endpointConfiguration", customCalloutExtension.endpointConfiguration, serializeCustomExtensionEndpointConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/customCalloutExtensionCollectionResponse.ts b/src/models/customCalloutExtensionCollectionResponse.ts index e94e43954c4..b28cc125019 100644 --- a/src/models/customCalloutExtensionCollectionResponse.ts +++ b/src/models/customCalloutExtensionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomCalloutExtensionCollectionResponse(customCa } export function serializeCustomCalloutExtensionCollectionResponse(writer: SerializationWriter, customCalloutExtensionCollectionResponse: CustomCalloutExtensionCollectionResponse | undefined = {} as CustomCalloutExtensionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customCalloutExtensionCollectionResponse) - writer.writeCollectionOfObjectValues("value", customCalloutExtensionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customCalloutExtensionCollectionResponse.value, serializeCustomCalloutExtension); } // tslint:enable // eslint-enable diff --git a/src/models/customExtensionStageSetting.ts b/src/models/customExtensionStageSetting.ts index 2c7daf800a2..c3293a8b66c 100644 --- a/src/models/customExtensionStageSetting.ts +++ b/src/models/customExtensionStageSetting.ts @@ -29,7 +29,7 @@ export function deserializeIntoCustomExtensionStageSetting(customExtensionStageS } export function serializeCustomExtensionStageSetting(writer: SerializationWriter, customExtensionStageSetting: CustomExtensionStageSetting | undefined = {} as CustomExtensionStageSetting) : void { serializeEntity(writer, customExtensionStageSetting) - writer.writeObjectValue("customExtension", customExtensionStageSetting.customExtension, ); + writer.writeObjectValue("customExtension", customExtensionStageSetting.customExtension, serializeCustomCalloutExtension); writer.writeEnumValue("stage", customExtensionStageSetting.stage); } // tslint:enable diff --git a/src/models/customExtensionStageSettingCollectionResponse.ts b/src/models/customExtensionStageSettingCollectionResponse.ts index 851033a06c3..2bfe0db0437 100644 --- a/src/models/customExtensionStageSettingCollectionResponse.ts +++ b/src/models/customExtensionStageSettingCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomExtensionStageSettingCollectionResponse(cus } export function serializeCustomExtensionStageSettingCollectionResponse(writer: SerializationWriter, customExtensionStageSettingCollectionResponse: CustomExtensionStageSettingCollectionResponse | undefined = {} as CustomExtensionStageSettingCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customExtensionStageSettingCollectionResponse) - writer.writeCollectionOfObjectValues("value", customExtensionStageSettingCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customExtensionStageSettingCollectionResponse.value, serializeCustomExtensionStageSetting); } // tslint:enable // eslint-enable diff --git a/src/models/customSecurityAttributeDefinition.ts b/src/models/customSecurityAttributeDefinition.ts index bdcbe20f1df..c54706abdf6 100644 --- a/src/models/customSecurityAttributeDefinition.ts +++ b/src/models/customSecurityAttributeDefinition.ts @@ -63,7 +63,7 @@ export function deserializeIntoCustomSecurityAttributeDefinition(customSecurityA } export function serializeCustomSecurityAttributeDefinition(writer: SerializationWriter, customSecurityAttributeDefinition: CustomSecurityAttributeDefinition | undefined = {} as CustomSecurityAttributeDefinition) : void { serializeEntity(writer, customSecurityAttributeDefinition) - writer.writeCollectionOfObjectValues("allowedValues", customSecurityAttributeDefinition.allowedValues, ); + writer.writeCollectionOfObjectValues("allowedValues", customSecurityAttributeDefinition.allowedValues, serializeAllowedValue); writer.writeStringValue("attributeSet", customSecurityAttributeDefinition.attributeSet); writer.writeStringValue("description", customSecurityAttributeDefinition.description); writer.writeBooleanValue("isCollection", customSecurityAttributeDefinition.isCollection); diff --git a/src/models/customSecurityAttributeDefinitionCollectionResponse.ts b/src/models/customSecurityAttributeDefinitionCollectionResponse.ts index c3259056172..d92b8ee8258 100644 --- a/src/models/customSecurityAttributeDefinitionCollectionResponse.ts +++ b/src/models/customSecurityAttributeDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomSecurityAttributeDefinitionCollectionRespon } export function serializeCustomSecurityAttributeDefinitionCollectionResponse(writer: SerializationWriter, customSecurityAttributeDefinitionCollectionResponse: CustomSecurityAttributeDefinitionCollectionResponse | undefined = {} as CustomSecurityAttributeDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customSecurityAttributeDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", customSecurityAttributeDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customSecurityAttributeDefinitionCollectionResponse.value, serializeCustomSecurityAttributeDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/customTimeZone.ts b/src/models/customTimeZone.ts index 9cb7f759ce4..c953d46ade9 100644 --- a/src/models/customTimeZone.ts +++ b/src/models/customTimeZone.ts @@ -35,8 +35,8 @@ export function deserializeIntoCustomTimeZone(customTimeZone: CustomTimeZone | u export function serializeCustomTimeZone(writer: SerializationWriter, customTimeZone: CustomTimeZone | undefined = {} as CustomTimeZone) : void { serializeTimeZoneBase(writer, customTimeZone) writer.writeNumberValue("bias", customTimeZone.bias); - writer.writeObjectValue("daylightOffset", customTimeZone.daylightOffset, ); - writer.writeObjectValue("standardOffset", customTimeZone.standardOffset, ); + writer.writeObjectValue("daylightOffset", customTimeZone.daylightOffset, serializeDaylightTimeZoneOffset); + writer.writeObjectValue("standardOffset", customTimeZone.standardOffset, serializeStandardTimeZoneOffset); } // tslint:enable // eslint-enable diff --git a/src/models/customTrainingSetting.ts b/src/models/customTrainingSetting.ts index d0bb4c3ce7e..bf01462fe67 100644 --- a/src/models/customTrainingSetting.ts +++ b/src/models/customTrainingSetting.ts @@ -11,23 +11,23 @@ export function createCustomTrainingSettingFromDiscriminatorValue(parseNode: Par } export interface CustomTrainingSetting extends Parsable, TrainingSetting { /** - * The assignedTo property + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. */ assignedTo?: TrainingAssignedTo[]; /** - * The description property + * The description of the custom training setting. */ description?: string; /** - * The displayName property + * The display name of the custom training setting. */ displayName?: string; /** - * The durationInMinutes property + * Training duration. */ durationInMinutes?: number; /** - * The url property + * The training URL. */ url?: string; } diff --git a/src/models/dataPolicyOperationCollectionResponse.ts b/src/models/dataPolicyOperationCollectionResponse.ts index f3ccde0d4da..15fa5620797 100644 --- a/src/models/dataPolicyOperationCollectionResponse.ts +++ b/src/models/dataPolicyOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDataPolicyOperationCollectionResponse(dataPolicyO } export function serializeDataPolicyOperationCollectionResponse(writer: SerializationWriter, dataPolicyOperationCollectionResponse: DataPolicyOperationCollectionResponse | undefined = {} as DataPolicyOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, dataPolicyOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", dataPolicyOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", dataPolicyOperationCollectionResponse.value, serializeDataPolicyOperation); } // tslint:enable // eslint-enable diff --git a/src/models/defaultManagedAppProtection.ts b/src/models/defaultManagedAppProtection.ts index 4c31d5de9ab..ceac41838cf 100644 --- a/src/models/defaultManagedAppProtection.ts +++ b/src/models/defaultManagedAppProtection.ts @@ -82,10 +82,10 @@ export function deserializeIntoDefaultManagedAppProtection(defaultManagedAppProt export function serializeDefaultManagedAppProtection(writer: SerializationWriter, defaultManagedAppProtection: DefaultManagedAppProtection | undefined = {} as DefaultManagedAppProtection) : void { serializeManagedAppProtection(writer, defaultManagedAppProtection) writer.writeEnumValue("appDataEncryptionType", defaultManagedAppProtection.appDataEncryptionType); - writer.writeCollectionOfObjectValues("apps", defaultManagedAppProtection.apps, ); - writer.writeCollectionOfObjectValues("customSettings", defaultManagedAppProtection.customSettings, ); + writer.writeCollectionOfObjectValues("apps", defaultManagedAppProtection.apps, serializeManagedMobileApp); + writer.writeCollectionOfObjectValues("customSettings", defaultManagedAppProtection.customSettings, serializeKeyValuePair); writer.writeNumberValue("deployedAppCount", defaultManagedAppProtection.deployedAppCount); - writer.writeObjectValue("deploymentSummary", defaultManagedAppProtection.deploymentSummary, ); + writer.writeObjectValue("deploymentSummary", defaultManagedAppProtection.deploymentSummary, serializeManagedAppPolicyDeploymentSummary); writer.writeBooleanValue("disableAppEncryptionIfDeviceEncryptionIsEnabled", defaultManagedAppProtection.disableAppEncryptionIfDeviceEncryptionIsEnabled); writer.writeBooleanValue("encryptAppData", defaultManagedAppProtection.encryptAppData); writer.writeBooleanValue("faceIdBlocked", defaultManagedAppProtection.faceIdBlocked); diff --git a/src/models/defaultManagedAppProtectionCollectionResponse.ts b/src/models/defaultManagedAppProtectionCollectionResponse.ts index 04cdf145ff0..bb9c5754025 100644 --- a/src/models/defaultManagedAppProtectionCollectionResponse.ts +++ b/src/models/defaultManagedAppProtectionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDefaultManagedAppProtectionCollectionResponse(def } export function serializeDefaultManagedAppProtectionCollectionResponse(writer: SerializationWriter, defaultManagedAppProtectionCollectionResponse: DefaultManagedAppProtectionCollectionResponse | undefined = {} as DefaultManagedAppProtectionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, defaultManagedAppProtectionCollectionResponse) - writer.writeCollectionOfObjectValues("value", defaultManagedAppProtectionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", defaultManagedAppProtectionCollectionResponse.value, serializeDefaultManagedAppProtection); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminAccessAssignment.ts b/src/models/delegatedAdminAccessAssignment.ts index a778e1218ba..7fc42cbb97d 100644 --- a/src/models/delegatedAdminAccessAssignment.ts +++ b/src/models/delegatedAdminAccessAssignment.ts @@ -45,8 +45,8 @@ export function deserializeIntoDelegatedAdminAccessAssignment(delegatedAdminAcce } export function serializeDelegatedAdminAccessAssignment(writer: SerializationWriter, delegatedAdminAccessAssignment: DelegatedAdminAccessAssignment | undefined = {} as DelegatedAdminAccessAssignment) : void { serializeEntity(writer, delegatedAdminAccessAssignment) - writer.writeObjectValue("accessContainer", delegatedAdminAccessAssignment.accessContainer, ); - writer.writeObjectValue("accessDetails", delegatedAdminAccessAssignment.accessDetails, ); + writer.writeObjectValue("accessContainer", delegatedAdminAccessAssignment.accessContainer, serializeDelegatedAdminAccessContainer); + writer.writeObjectValue("accessDetails", delegatedAdminAccessAssignment.accessDetails, serializeDelegatedAdminAccessDetails); writer.writeDateValue("createdDateTime", delegatedAdminAccessAssignment.createdDateTime); writer.writeDateValue("lastModifiedDateTime", delegatedAdminAccessAssignment.lastModifiedDateTime); writer.writeEnumValue("status", delegatedAdminAccessAssignment.status); diff --git a/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts b/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts index 873e4fd3589..ca459bebedb 100644 --- a/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts +++ b/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminAccessAssignmentCollectionResponse( } export function serializeDelegatedAdminAccessAssignmentCollectionResponse(writer: SerializationWriter, delegatedAdminAccessAssignmentCollectionResponse: DelegatedAdminAccessAssignmentCollectionResponse | undefined = {} as DelegatedAdminAccessAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminAccessAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminAccessAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminAccessAssignmentCollectionResponse.value, serializeDelegatedAdminAccessAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminAccessDetails.ts b/src/models/delegatedAdminAccessDetails.ts index 86b6df8eea2..80f10ee3d68 100644 --- a/src/models/delegatedAdminAccessDetails.ts +++ b/src/models/delegatedAdminAccessDetails.ts @@ -30,7 +30,7 @@ export function deserializeIntoDelegatedAdminAccessDetails(delegatedAdminAccessD } export function serializeDelegatedAdminAccessDetails(writer: SerializationWriter, delegatedAdminAccessDetails: DelegatedAdminAccessDetails | undefined = {} as DelegatedAdminAccessDetails) : void { writer.writeStringValue("@odata.type", delegatedAdminAccessDetails.odataType); - writer.writeCollectionOfObjectValues("unifiedRoles", delegatedAdminAccessDetails.unifiedRoles, ); + writer.writeCollectionOfObjectValues("unifiedRoles", delegatedAdminAccessDetails.unifiedRoles, serializeUnifiedRole); writer.writeAdditionalData(delegatedAdminAccessDetails.additionalData); } // tslint:enable diff --git a/src/models/delegatedAdminCustomer.ts b/src/models/delegatedAdminCustomer.ts index 0c8350e082b..71c9deed498 100644 --- a/src/models/delegatedAdminCustomer.ts +++ b/src/models/delegatedAdminCustomer.ts @@ -34,7 +34,7 @@ export function deserializeIntoDelegatedAdminCustomer(delegatedAdminCustomer: De export function serializeDelegatedAdminCustomer(writer: SerializationWriter, delegatedAdminCustomer: DelegatedAdminCustomer | undefined = {} as DelegatedAdminCustomer) : void { serializeEntity(writer, delegatedAdminCustomer) writer.writeStringValue("displayName", delegatedAdminCustomer.displayName); - writer.writeCollectionOfObjectValues("serviceManagementDetails", delegatedAdminCustomer.serviceManagementDetails, ); + writer.writeCollectionOfObjectValues("serviceManagementDetails", delegatedAdminCustomer.serviceManagementDetails, serializeDelegatedAdminServiceManagementDetail); writer.writeStringValue("tenantId", delegatedAdminCustomer.tenantId); } // tslint:enable diff --git a/src/models/delegatedAdminCustomerCollectionResponse.ts b/src/models/delegatedAdminCustomerCollectionResponse.ts index 75164b0ebe9..61e5b365596 100644 --- a/src/models/delegatedAdminCustomerCollectionResponse.ts +++ b/src/models/delegatedAdminCustomerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminCustomerCollectionResponse(delegate } export function serializeDelegatedAdminCustomerCollectionResponse(writer: SerializationWriter, delegatedAdminCustomerCollectionResponse: DelegatedAdminCustomerCollectionResponse | undefined = {} as DelegatedAdminCustomerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminCustomerCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminCustomerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminCustomerCollectionResponse.value, serializeDelegatedAdminCustomer); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationship.ts b/src/models/delegatedAdminRelationship.ts index d91b0caf8f1..a355804267b 100644 --- a/src/models/delegatedAdminRelationship.ts +++ b/src/models/delegatedAdminRelationship.ts @@ -40,7 +40,7 @@ export interface DelegatedAdminRelationship extends Entity, Parsable { */ activatedDateTime?: Date; /** - * The autoExtendDuration property + * The duration by which the validity of the relationship is automatically extended, denoted in ISO 8601 format. Supported values are: P0D, PT0S, P180D. The default value is PT0S. PT0S indicates that the relationship expires when the endDateTime is reached and it isn't automatically extended. */ autoExtendDuration?: Duration; /** @@ -100,18 +100,18 @@ export function deserializeIntoDelegatedAdminRelationship(delegatedAdminRelation } export function serializeDelegatedAdminRelationship(writer: SerializationWriter, delegatedAdminRelationship: DelegatedAdminRelationship | undefined = {} as DelegatedAdminRelationship) : void { serializeEntity(writer, delegatedAdminRelationship) - writer.writeCollectionOfObjectValues("accessAssignments", delegatedAdminRelationship.accessAssignments, ); - writer.writeObjectValue("accessDetails", delegatedAdminRelationship.accessDetails, ); + writer.writeCollectionOfObjectValues("accessAssignments", delegatedAdminRelationship.accessAssignments, serializeDelegatedAdminAccessAssignment); + writer.writeObjectValue("accessDetails", delegatedAdminRelationship.accessDetails, serializeDelegatedAdminAccessDetails); writer.writeDateValue("activatedDateTime", delegatedAdminRelationship.activatedDateTime); writer.writeDurationValue("autoExtendDuration", delegatedAdminRelationship.autoExtendDuration); writer.writeDateValue("createdDateTime", delegatedAdminRelationship.createdDateTime); - writer.writeObjectValue("customer", delegatedAdminRelationship.customer, ); + writer.writeObjectValue("customer", delegatedAdminRelationship.customer, serializeDelegatedAdminRelationshipCustomerParticipant); writer.writeStringValue("displayName", delegatedAdminRelationship.displayName); writer.writeDurationValue("duration", delegatedAdminRelationship.duration); writer.writeDateValue("endDateTime", delegatedAdminRelationship.endDateTime); writer.writeDateValue("lastModifiedDateTime", delegatedAdminRelationship.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("operations", delegatedAdminRelationship.operations, ); - writer.writeCollectionOfObjectValues("requests", delegatedAdminRelationship.requests, ); + writer.writeCollectionOfObjectValues("operations", delegatedAdminRelationship.operations, serializeDelegatedAdminRelationshipOperation); + writer.writeCollectionOfObjectValues("requests", delegatedAdminRelationship.requests, serializeDelegatedAdminRelationshipRequest); writer.writeEnumValue("status", delegatedAdminRelationship.status); } // tslint:enable diff --git a/src/models/delegatedAdminRelationshipCollectionResponse.ts b/src/models/delegatedAdminRelationshipCollectionResponse.ts index 40eb63aea6f..9ea5f2defd6 100644 --- a/src/models/delegatedAdminRelationshipCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipCollectionResponse(dele } export function serializeDelegatedAdminRelationshipCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipCollectionResponse: DelegatedAdminRelationshipCollectionResponse | undefined = {} as DelegatedAdminRelationshipCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipCollectionResponse.value, serializeDelegatedAdminRelationship); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts b/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts index b170dcfb28b..9605c5b5686 100644 --- a/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipOperationCollectionResp } export function serializeDelegatedAdminRelationshipOperationCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipOperationCollectionResponse: DelegatedAdminRelationshipOperationCollectionResponse | undefined = {} as DelegatedAdminRelationshipOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipOperationCollectionResponse.value, serializeDelegatedAdminRelationshipOperation); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts b/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts index f33720123c9..27a9a6ebe38 100644 --- a/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipRequestCollectionRespon } export function serializeDelegatedAdminRelationshipRequestCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipRequestCollectionResponse: DelegatedAdminRelationshipRequestCollectionResponse | undefined = {} as DelegatedAdminRelationshipRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipRequestCollectionResponse.value, serializeDelegatedAdminRelationshipRequest); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts b/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts index c095cb27475..91b0369752e 100644 --- a/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts +++ b/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminServiceManagementDetailCollectionRe } export function serializeDelegatedAdminServiceManagementDetailCollectionResponse(writer: SerializationWriter, delegatedAdminServiceManagementDetailCollectionResponse: DelegatedAdminServiceManagementDetailCollectionResponse | undefined = {} as DelegatedAdminServiceManagementDetailCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminServiceManagementDetailCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminServiceManagementDetailCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminServiceManagementDetailCollectionResponse.value, serializeDelegatedAdminServiceManagementDetail); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedPermissionClassificationCollectionResponse.ts b/src/models/delegatedPermissionClassificationCollectionResponse.ts index 777eaf7dd82..a275c331506 100644 --- a/src/models/delegatedPermissionClassificationCollectionResponse.ts +++ b/src/models/delegatedPermissionClassificationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedPermissionClassificationCollectionRespon } export function serializeDelegatedPermissionClassificationCollectionResponse(writer: SerializationWriter, delegatedPermissionClassificationCollectionResponse: DelegatedPermissionClassificationCollectionResponse | undefined = {} as DelegatedPermissionClassificationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedPermissionClassificationCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedPermissionClassificationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedPermissionClassificationCollectionResponse.value, serializeDelegatedPermissionClassification); } // tslint:enable // eslint-enable diff --git a/src/models/deletedItemContainer.ts b/src/models/deletedItemContainer.ts index 8ad73cb9191..ff77a405e14 100644 --- a/src/models/deletedItemContainer.ts +++ b/src/models/deletedItemContainer.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedItemContainer(deletedItemContainer: Delete } export function serializeDeletedItemContainer(writer: SerializationWriter, deletedItemContainer: DeletedItemContainer | undefined = {} as DeletedItemContainer) : void { serializeEntity(writer, deletedItemContainer) - writer.writeCollectionOfObjectValues("workflows", deletedItemContainer.workflows, ); + writer.writeCollectionOfObjectValues("workflows", deletedItemContainer.workflows, serializeWorkflow); } // tslint:enable // eslint-enable diff --git a/src/models/deletedTeam.ts b/src/models/deletedTeam.ts index db3e310ded3..89706b936ee 100644 --- a/src/models/deletedTeam.ts +++ b/src/models/deletedTeam.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedTeam(deletedTeam: DeletedTeam | undefined } export function serializeDeletedTeam(writer: SerializationWriter, deletedTeam: DeletedTeam | undefined = {} as DeletedTeam) : void { serializeEntity(writer, deletedTeam) - writer.writeCollectionOfObjectValues("channels", deletedTeam.channels, ); + writer.writeCollectionOfObjectValues("channels", deletedTeam.channels, serializeChannel); } // tslint:enable // eslint-enable diff --git a/src/models/deletedTeamCollectionResponse.ts b/src/models/deletedTeamCollectionResponse.ts index 96ac1ed62cb..132d0134dfd 100644 --- a/src/models/deletedTeamCollectionResponse.ts +++ b/src/models/deletedTeamCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedTeamCollectionResponse(deletedTeamCollecti } export function serializeDeletedTeamCollectionResponse(writer: SerializationWriter, deletedTeamCollectionResponse: DeletedTeamCollectionResponse | undefined = {} as DeletedTeamCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deletedTeamCollectionResponse) - writer.writeCollectionOfObjectValues("value", deletedTeamCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deletedTeamCollectionResponse.value, serializeDeletedTeam); } // tslint:enable // eslint-enable diff --git a/src/models/detectedApp.ts b/src/models/detectedApp.ts index c2df5a4a880..5a579ea9567 100644 --- a/src/models/detectedApp.ts +++ b/src/models/detectedApp.ts @@ -56,7 +56,7 @@ export function serializeDetectedApp(writer: SerializationWriter, detectedApp: D serializeEntity(writer, detectedApp) writer.writeNumberValue("deviceCount", detectedApp.deviceCount); writer.writeStringValue("displayName", detectedApp.displayName); - writer.writeCollectionOfObjectValues("managedDevices", detectedApp.managedDevices, ); + writer.writeCollectionOfObjectValues("managedDevices", detectedApp.managedDevices, serializeManagedDevice); writer.writeEnumValue("platform", detectedApp.platform); writer.writeStringValue("publisher", detectedApp.publisher); writer.writeNumberValue("sizeInByte", detectedApp.sizeInByte); diff --git a/src/models/detectedAppCollectionResponse.ts b/src/models/detectedAppCollectionResponse.ts index 4968cf060ca..a84df5ccb50 100644 --- a/src/models/detectedAppCollectionResponse.ts +++ b/src/models/detectedAppCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DetectedAppCollectionResponse extends BaseCollectionPaginationC } export function serializeDetectedAppCollectionResponse(writer: SerializationWriter, detectedAppCollectionResponse: DetectedAppCollectionResponse | undefined = {} as DetectedAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, detectedAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", detectedAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", detectedAppCollectionResponse.value, serializeDetectedApp); } // tslint:enable // eslint-enable diff --git a/src/models/device.ts b/src/models/device.ts index 0342bdbb48d..677d2486e57 100644 --- a/src/models/device.ts +++ b/src/models/device.ts @@ -160,7 +160,7 @@ export interface Device extends DirectoryObject, Parsable { export function serializeDevice(writer: SerializationWriter, device: Device | undefined = {} as Device) : void { serializeDirectoryObject(writer, device) writer.writeBooleanValue("accountEnabled", device.accountEnabled); - writer.writeCollectionOfObjectValues("alternativeSecurityIds", device.alternativeSecurityIds, ); + writer.writeCollectionOfObjectValues("alternativeSecurityIds", device.alternativeSecurityIds, serializeAlternativeSecurityId); writer.writeDateValue("approximateLastSignInDateTime", device.approximateLastSignInDateTime); writer.writeDateValue("complianceExpirationDateTime", device.complianceExpirationDateTime); writer.writeStringValue("deviceCategory", device.deviceCategory); @@ -170,22 +170,22 @@ export function serializeDevice(writer: SerializationWriter, device: Device | un writer.writeNumberValue("deviceVersion", device.deviceVersion); writer.writeStringValue("displayName", device.displayName); writer.writeStringValue("enrollmentProfileName", device.enrollmentProfileName); - writer.writeCollectionOfObjectValues("extensions", device.extensions, ); + writer.writeCollectionOfObjectValues("extensions", device.extensions, serializeExtension); writer.writeBooleanValue("isCompliant", device.isCompliant); writer.writeBooleanValue("isManaged", device.isManaged); writer.writeStringValue("mdmAppId", device.mdmAppId); - writer.writeCollectionOfObjectValues("memberOf", device.memberOf, ); + writer.writeCollectionOfObjectValues("memberOf", device.memberOf, serializeDirectoryObject); writer.writeDateValue("onPremisesLastSyncDateTime", device.onPremisesLastSyncDateTime); writer.writeBooleanValue("onPremisesSyncEnabled", device.onPremisesSyncEnabled); writer.writeStringValue("operatingSystem", device.operatingSystem); writer.writeStringValue("operatingSystemVersion", device.operatingSystemVersion); writer.writeCollectionOfPrimitiveValues("physicalIds", device.physicalIds); writer.writeStringValue("profileType", device.profileType); - writer.writeCollectionOfObjectValues("registeredOwners", device.registeredOwners, ); - writer.writeCollectionOfObjectValues("registeredUsers", device.registeredUsers, ); + writer.writeCollectionOfObjectValues("registeredOwners", device.registeredOwners, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("registeredUsers", device.registeredUsers, serializeDirectoryObject); writer.writeDateValue("registrationDateTime", device.registrationDateTime); writer.writeCollectionOfPrimitiveValues("systemLabels", device.systemLabels); - writer.writeCollectionOfObjectValues("transitiveMemberOf", device.transitiveMemberOf, ); + writer.writeCollectionOfObjectValues("transitiveMemberOf", device.transitiveMemberOf, serializeDirectoryObject); writer.writeStringValue("trustType", device.trustType); } // tslint:enable diff --git a/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts b/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts index 247d6d94aa4..22c49697ec1 100644 --- a/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts +++ b/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceAndAppManagementRoleAssignmentCollectionResponse extends } export function serializeDeviceAndAppManagementRoleAssignmentCollectionResponse(writer: SerializationWriter, deviceAndAppManagementRoleAssignmentCollectionResponse: DeviceAndAppManagementRoleAssignmentCollectionResponse | undefined = {} as DeviceAndAppManagementRoleAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceAndAppManagementRoleAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceAndAppManagementRoleAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceAndAppManagementRoleAssignmentCollectionResponse.value, serializeDeviceAndAppManagementRoleAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceAppManagement.ts b/src/models/deviceAppManagement.ts index b4735cb3a0c..40c6bfb333a 100644 --- a/src/models/deviceAppManagement.ts +++ b/src/models/deviceAppManagement.ts @@ -121,24 +121,24 @@ export interface DeviceAppManagement extends Entity, Parsable { } export function serializeDeviceAppManagement(writer: SerializationWriter, deviceAppManagement: DeviceAppManagement | undefined = {} as DeviceAppManagement) : void { serializeEntity(writer, deviceAppManagement) - writer.writeCollectionOfObjectValues("androidManagedAppProtections", deviceAppManagement.androidManagedAppProtections, ); - writer.writeCollectionOfObjectValues("defaultManagedAppProtections", deviceAppManagement.defaultManagedAppProtections, ); - writer.writeCollectionOfObjectValues("iosManagedAppProtections", deviceAppManagement.iosManagedAppProtections, ); + writer.writeCollectionOfObjectValues("androidManagedAppProtections", deviceAppManagement.androidManagedAppProtections, serializeAndroidManagedAppProtection); + writer.writeCollectionOfObjectValues("defaultManagedAppProtections", deviceAppManagement.defaultManagedAppProtections, serializeDefaultManagedAppProtection); + writer.writeCollectionOfObjectValues("iosManagedAppProtections", deviceAppManagement.iosManagedAppProtections, serializeIosManagedAppProtection); writer.writeBooleanValue("isEnabledForMicrosoftStoreForBusiness", deviceAppManagement.isEnabledForMicrosoftStoreForBusiness); - writer.writeCollectionOfObjectValues("managedAppPolicies", deviceAppManagement.managedAppPolicies, ); - writer.writeCollectionOfObjectValues("managedAppRegistrations", deviceAppManagement.managedAppRegistrations, ); - writer.writeCollectionOfObjectValues("managedAppStatuses", deviceAppManagement.managedAppStatuses, ); - writer.writeCollectionOfObjectValues("managedEBooks", deviceAppManagement.managedEBooks, ); - writer.writeCollectionOfObjectValues("mdmWindowsInformationProtectionPolicies", deviceAppManagement.mdmWindowsInformationProtectionPolicies, ); + writer.writeCollectionOfObjectValues("managedAppPolicies", deviceAppManagement.managedAppPolicies, serializeManagedAppPolicy); + writer.writeCollectionOfObjectValues("managedAppRegistrations", deviceAppManagement.managedAppRegistrations, serializeManagedAppRegistration); + writer.writeCollectionOfObjectValues("managedAppStatuses", deviceAppManagement.managedAppStatuses, serializeManagedAppStatus); + writer.writeCollectionOfObjectValues("managedEBooks", deviceAppManagement.managedEBooks, serializeManagedEBook); + writer.writeCollectionOfObjectValues("mdmWindowsInformationProtectionPolicies", deviceAppManagement.mdmWindowsInformationProtectionPolicies, serializeMdmWindowsInformationProtectionPolicy); writer.writeStringValue("microsoftStoreForBusinessLanguage", deviceAppManagement.microsoftStoreForBusinessLanguage); writer.writeDateValue("microsoftStoreForBusinessLastCompletedApplicationSyncTime", deviceAppManagement.microsoftStoreForBusinessLastCompletedApplicationSyncTime); writer.writeDateValue("microsoftStoreForBusinessLastSuccessfulSyncDateTime", deviceAppManagement.microsoftStoreForBusinessLastSuccessfulSyncDateTime); - writer.writeCollectionOfObjectValues("mobileAppCategories", deviceAppManagement.mobileAppCategories, ); - writer.writeCollectionOfObjectValues("mobileAppConfigurations", deviceAppManagement.mobileAppConfigurations, ); - writer.writeCollectionOfObjectValues("mobileApps", deviceAppManagement.mobileApps, ); - writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", deviceAppManagement.targetedManagedAppConfigurations, ); - writer.writeCollectionOfObjectValues("vppTokens", deviceAppManagement.vppTokens, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionPolicies", deviceAppManagement.windowsInformationProtectionPolicies, ); + writer.writeCollectionOfObjectValues("mobileAppCategories", deviceAppManagement.mobileAppCategories, serializeMobileAppCategory); + writer.writeCollectionOfObjectValues("mobileAppConfigurations", deviceAppManagement.mobileAppConfigurations, serializeManagedDeviceMobileAppConfiguration); + writer.writeCollectionOfObjectValues("mobileApps", deviceAppManagement.mobileApps, serializeMobileApp); + writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", deviceAppManagement.targetedManagedAppConfigurations, serializeTargetedManagedAppConfiguration); + writer.writeCollectionOfObjectValues("vppTokens", deviceAppManagement.vppTokens, serializeVppToken); + writer.writeCollectionOfObjectValues("windowsInformationProtectionPolicies", deviceAppManagement.windowsInformationProtectionPolicies, serializeWindowsInformationProtectionPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCategoryCollectionResponse.ts b/src/models/deviceCategoryCollectionResponse.ts index b2b76c0d717..0153cccb5dc 100644 --- a/src/models/deviceCategoryCollectionResponse.ts +++ b/src/models/deviceCategoryCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCategoryCollectionResponse extends BaseCollectionPaginati } export function serializeDeviceCategoryCollectionResponse(writer: SerializationWriter, deviceCategoryCollectionResponse: DeviceCategoryCollectionResponse | undefined = {} as DeviceCategoryCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCategoryCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCategoryCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCategoryCollectionResponse.value, serializeDeviceCategory); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCollectionResponse.ts b/src/models/deviceCollectionResponse.ts index 27313f15ddc..c0ff35f92b7 100644 --- a/src/models/deviceCollectionResponse.ts +++ b/src/models/deviceCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCollectionResponse extends BaseCollectionPaginationCountR } export function serializeDeviceCollectionResponse(writer: SerializationWriter, deviceCollectionResponse: DeviceCollectionResponse | undefined = {} as DeviceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCollectionResponse.value, serializeDevice); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceActionItemCollectionResponse.ts b/src/models/deviceComplianceActionItemCollectionResponse.ts index cf7dd5d07af..513fae545ca 100644 --- a/src/models/deviceComplianceActionItemCollectionResponse.ts +++ b/src/models/deviceComplianceActionItemCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceActionItemCollectionResponse extends BaseCollec } export function serializeDeviceComplianceActionItemCollectionResponse(writer: SerializationWriter, deviceComplianceActionItemCollectionResponse: DeviceComplianceActionItemCollectionResponse | undefined = {} as DeviceComplianceActionItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceActionItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceActionItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceActionItemCollectionResponse.value, serializeDeviceComplianceActionItem); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceDeviceStatusCollectionResponse.ts b/src/models/deviceComplianceDeviceStatusCollectionResponse.ts index 27a75b052b8..f4ff696b0be 100644 --- a/src/models/deviceComplianceDeviceStatusCollectionResponse.ts +++ b/src/models/deviceComplianceDeviceStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceDeviceStatusCollectionResponse extends BaseColl } export function serializeDeviceComplianceDeviceStatusCollectionResponse(writer: SerializationWriter, deviceComplianceDeviceStatusCollectionResponse: DeviceComplianceDeviceStatusCollectionResponse | undefined = {} as DeviceComplianceDeviceStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceDeviceStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceDeviceStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceDeviceStatusCollectionResponse.value, serializeDeviceComplianceDeviceStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicy.ts b/src/models/deviceCompliancePolicy.ts index 3ce35ae1f1b..189deee3ff9 100644 --- a/src/models/deviceCompliancePolicy.ts +++ b/src/models/deviceCompliancePolicy.ts @@ -117,17 +117,17 @@ export interface DeviceCompliancePolicy extends Entity, Parsable { } export function serializeDeviceCompliancePolicy(writer: SerializationWriter, deviceCompliancePolicy: DeviceCompliancePolicy | undefined = {} as DeviceCompliancePolicy) : void { serializeEntity(writer, deviceCompliancePolicy) - writer.writeCollectionOfObjectValues("assignments", deviceCompliancePolicy.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceCompliancePolicy.assignments, serializeDeviceCompliancePolicyAssignment); writer.writeDateValue("createdDateTime", deviceCompliancePolicy.createdDateTime); writer.writeStringValue("description", deviceCompliancePolicy.description); - writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceCompliancePolicy.deviceSettingStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceStatuses", deviceCompliancePolicy.deviceStatuses, ); - writer.writeObjectValue("deviceStatusOverview", deviceCompliancePolicy.deviceStatusOverview, ); + writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceCompliancePolicy.deviceSettingStateSummaries, serializeSettingStateDeviceSummary); + writer.writeCollectionOfObjectValues("deviceStatuses", deviceCompliancePolicy.deviceStatuses, serializeDeviceComplianceDeviceStatus); + writer.writeObjectValue("deviceStatusOverview", deviceCompliancePolicy.deviceStatusOverview, serializeDeviceComplianceDeviceOverview); writer.writeStringValue("displayName", deviceCompliancePolicy.displayName); writer.writeDateValue("lastModifiedDateTime", deviceCompliancePolicy.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("scheduledActionsForRule", deviceCompliancePolicy.scheduledActionsForRule, ); - writer.writeCollectionOfObjectValues("userStatuses", deviceCompliancePolicy.userStatuses, ); - writer.writeObjectValue("userStatusOverview", deviceCompliancePolicy.userStatusOverview, ); + writer.writeCollectionOfObjectValues("scheduledActionsForRule", deviceCompliancePolicy.scheduledActionsForRule, serializeDeviceComplianceScheduledActionForRule); + writer.writeCollectionOfObjectValues("userStatuses", deviceCompliancePolicy.userStatuses, serializeDeviceComplianceUserStatus); + writer.writeObjectValue("userStatusOverview", deviceCompliancePolicy.userStatusOverview, serializeDeviceComplianceUserOverview); writer.writeNumberValue("version", deviceCompliancePolicy.version); } // tslint:enable diff --git a/src/models/deviceCompliancePolicyAssignment.ts b/src/models/deviceCompliancePolicyAssignment.ts index bf55ed5bedd..6e59825f227 100644 --- a/src/models/deviceCompliancePolicyAssignment.ts +++ b/src/models/deviceCompliancePolicyAssignment.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyAssignment extends Entity, Parsable { } export function serializeDeviceCompliancePolicyAssignment(writer: SerializationWriter, deviceCompliancePolicyAssignment: DeviceCompliancePolicyAssignment | undefined = {} as DeviceCompliancePolicyAssignment) : void { serializeEntity(writer, deviceCompliancePolicyAssignment) - writer.writeObjectValue("target", deviceCompliancePolicyAssignment.target, ); + writer.writeObjectValue("target", deviceCompliancePolicyAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts b/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts index a619a238349..e64b06aa22d 100644 --- a/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyAssignmentCollectionResponse extends Base } export function serializeDeviceCompliancePolicyAssignmentCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyAssignmentCollectionResponse: DeviceCompliancePolicyAssignmentCollectionResponse | undefined = {} as DeviceCompliancePolicyAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyAssignmentCollectionResponse.value, serializeDeviceCompliancePolicyAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyCollectionResponse.ts b/src/models/deviceCompliancePolicyCollectionResponse.ts index 809ab2efada..9cacd03f8e4 100644 --- a/src/models/deviceCompliancePolicyCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyCollectionResponse extends BaseCollection } export function serializeDeviceCompliancePolicyCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyCollectionResponse: DeviceCompliancePolicyCollectionResponse | undefined = {} as DeviceCompliancePolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyCollectionResponse.value, serializeDeviceCompliancePolicy); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicySettingState.ts b/src/models/deviceCompliancePolicySettingState.ts index 652162b75cc..628ce449f59 100644 --- a/src/models/deviceCompliancePolicySettingState.ts +++ b/src/models/deviceCompliancePolicySettingState.ts @@ -92,7 +92,7 @@ export function serializeDeviceCompliancePolicySettingState(writer: Serializatio writer.writeStringValue("@odata.type", deviceCompliancePolicySettingState.odataType); writer.writeStringValue("setting", deviceCompliancePolicySettingState.setting); writer.writeStringValue("settingName", deviceCompliancePolicySettingState.settingName); - writer.writeCollectionOfObjectValues("sources", deviceCompliancePolicySettingState.sources, ); + writer.writeCollectionOfObjectValues("sources", deviceCompliancePolicySettingState.sources, serializeSettingSource); writer.writeEnumValue("state", deviceCompliancePolicySettingState.state); writer.writeStringValue("userEmail", deviceCompliancePolicySettingState.userEmail); writer.writeStringValue("userId", deviceCompliancePolicySettingState.userId); diff --git a/src/models/deviceCompliancePolicySettingStateSummary.ts b/src/models/deviceCompliancePolicySettingStateSummary.ts index 879475b654e..8be95979182 100644 --- a/src/models/deviceCompliancePolicySettingStateSummary.ts +++ b/src/models/deviceCompliancePolicySettingStateSummary.ts @@ -76,7 +76,7 @@ export function serializeDeviceCompliancePolicySettingStateSummary(writer: Seria serializeEntity(writer, deviceCompliancePolicySettingStateSummary) writer.writeNumberValue("compliantDeviceCount", deviceCompliancePolicySettingStateSummary.compliantDeviceCount); writer.writeNumberValue("conflictDeviceCount", deviceCompliancePolicySettingStateSummary.conflictDeviceCount); - writer.writeCollectionOfObjectValues("deviceComplianceSettingStates", deviceCompliancePolicySettingStateSummary.deviceComplianceSettingStates, ); + writer.writeCollectionOfObjectValues("deviceComplianceSettingStates", deviceCompliancePolicySettingStateSummary.deviceComplianceSettingStates, serializeDeviceComplianceSettingState); writer.writeNumberValue("errorDeviceCount", deviceCompliancePolicySettingStateSummary.errorDeviceCount); writer.writeNumberValue("nonCompliantDeviceCount", deviceCompliancePolicySettingStateSummary.nonCompliantDeviceCount); writer.writeNumberValue("notApplicableDeviceCount", deviceCompliancePolicySettingStateSummary.notApplicableDeviceCount); diff --git a/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts b/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts index ea25b90cb32..c177e49e65b 100644 --- a/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts +++ b/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicySettingStateSummaryCollectionResponse ext } export function serializeDeviceCompliancePolicySettingStateSummaryCollectionResponse(writer: SerializationWriter, deviceCompliancePolicySettingStateSummaryCollectionResponse: DeviceCompliancePolicySettingStateSummaryCollectionResponse | undefined = {} as DeviceCompliancePolicySettingStateSummaryCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicySettingStateSummaryCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicySettingStateSummaryCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicySettingStateSummaryCollectionResponse.value, serializeDeviceCompliancePolicySettingStateSummary); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyState.ts b/src/models/deviceCompliancePolicyState.ts index badc71d2f8b..7d97e925837 100644 --- a/src/models/deviceCompliancePolicyState.ts +++ b/src/models/deviceCompliancePolicyState.ts @@ -53,7 +53,7 @@ export function serializeDeviceCompliancePolicyState(writer: SerializationWriter writer.writeStringValue("displayName", deviceCompliancePolicyState.displayName); writer.writeEnumValue("platformType", deviceCompliancePolicyState.platformType); writer.writeNumberValue("settingCount", deviceCompliancePolicyState.settingCount); - writer.writeCollectionOfObjectValues("settingStates", deviceCompliancePolicyState.settingStates, ); + writer.writeCollectionOfObjectValues("settingStates", deviceCompliancePolicyState.settingStates, serializeDeviceCompliancePolicySettingState); writer.writeEnumValue("state", deviceCompliancePolicyState.state); writer.writeNumberValue("version", deviceCompliancePolicyState.version); } diff --git a/src/models/deviceCompliancePolicyStateCollectionResponse.ts b/src/models/deviceCompliancePolicyStateCollectionResponse.ts index 027fbf77edf..dded8a4a1fe 100644 --- a/src/models/deviceCompliancePolicyStateCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyStateCollectionResponse extends BaseColle } export function serializeDeviceCompliancePolicyStateCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyStateCollectionResponse: DeviceCompliancePolicyStateCollectionResponse | undefined = {} as DeviceCompliancePolicyStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyStateCollectionResponse.value, serializeDeviceCompliancePolicyState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceScheduledActionForRule.ts b/src/models/deviceComplianceScheduledActionForRule.ts index d392310e6ef..b0ed10ae27c 100644 --- a/src/models/deviceComplianceScheduledActionForRule.ts +++ b/src/models/deviceComplianceScheduledActionForRule.ts @@ -29,7 +29,7 @@ export interface DeviceComplianceScheduledActionForRule extends Entity, Parsable export function serializeDeviceComplianceScheduledActionForRule(writer: SerializationWriter, deviceComplianceScheduledActionForRule: DeviceComplianceScheduledActionForRule | undefined = {} as DeviceComplianceScheduledActionForRule) : void { serializeEntity(writer, deviceComplianceScheduledActionForRule) writer.writeStringValue("ruleName", deviceComplianceScheduledActionForRule.ruleName); - writer.writeCollectionOfObjectValues("scheduledActionConfigurations", deviceComplianceScheduledActionForRule.scheduledActionConfigurations, ); + writer.writeCollectionOfObjectValues("scheduledActionConfigurations", deviceComplianceScheduledActionForRule.scheduledActionConfigurations, serializeDeviceComplianceActionItem); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts b/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts index 299a9b77b49..c095b0338ac 100644 --- a/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts +++ b/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceScheduledActionForRuleCollectionResponse extend } export function serializeDeviceComplianceScheduledActionForRuleCollectionResponse(writer: SerializationWriter, deviceComplianceScheduledActionForRuleCollectionResponse: DeviceComplianceScheduledActionForRuleCollectionResponse | undefined = {} as DeviceComplianceScheduledActionForRuleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceScheduledActionForRuleCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceScheduledActionForRuleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceScheduledActionForRuleCollectionResponse.value, serializeDeviceComplianceScheduledActionForRule); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceSettingStateCollectionResponse.ts b/src/models/deviceComplianceSettingStateCollectionResponse.ts index 5cb983758cd..b91c87622a3 100644 --- a/src/models/deviceComplianceSettingStateCollectionResponse.ts +++ b/src/models/deviceComplianceSettingStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceSettingStateCollectionResponse extends BaseColl } export function serializeDeviceComplianceSettingStateCollectionResponse(writer: SerializationWriter, deviceComplianceSettingStateCollectionResponse: DeviceComplianceSettingStateCollectionResponse | undefined = {} as DeviceComplianceSettingStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceSettingStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceSettingStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceSettingStateCollectionResponse.value, serializeDeviceComplianceSettingState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceUserStatusCollectionResponse.ts b/src/models/deviceComplianceUserStatusCollectionResponse.ts index d1355de82fe..02e2fde6a9d 100644 --- a/src/models/deviceComplianceUserStatusCollectionResponse.ts +++ b/src/models/deviceComplianceUserStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceUserStatusCollectionResponse extends BaseCollec } export function serializeDeviceComplianceUserStatusCollectionResponse(writer: SerializationWriter, deviceComplianceUserStatusCollectionResponse: DeviceComplianceUserStatusCollectionResponse | undefined = {} as DeviceComplianceUserStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceUserStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceUserStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceUserStatusCollectionResponse.value, serializeDeviceComplianceUserStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfiguration.ts b/src/models/deviceConfiguration.ts index 521309f81f9..7dd6e7b6c49 100644 --- a/src/models/deviceConfiguration.ts +++ b/src/models/deviceConfiguration.ts @@ -165,16 +165,16 @@ export interface DeviceConfiguration extends Entity, Parsable { } export function serializeDeviceConfiguration(writer: SerializationWriter, deviceConfiguration: DeviceConfiguration | undefined = {} as DeviceConfiguration) : void { serializeEntity(writer, deviceConfiguration) - writer.writeCollectionOfObjectValues("assignments", deviceConfiguration.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceConfiguration.assignments, serializeDeviceConfigurationAssignment); writer.writeDateValue("createdDateTime", deviceConfiguration.createdDateTime); writer.writeStringValue("description", deviceConfiguration.description); - writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceConfiguration.deviceSettingStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceStatuses", deviceConfiguration.deviceStatuses, ); - writer.writeObjectValue("deviceStatusOverview", deviceConfiguration.deviceStatusOverview, ); + writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceConfiguration.deviceSettingStateSummaries, serializeSettingStateDeviceSummary); + writer.writeCollectionOfObjectValues("deviceStatuses", deviceConfiguration.deviceStatuses, serializeDeviceConfigurationDeviceStatus); + writer.writeObjectValue("deviceStatusOverview", deviceConfiguration.deviceStatusOverview, serializeDeviceConfigurationDeviceOverview); writer.writeStringValue("displayName", deviceConfiguration.displayName); writer.writeDateValue("lastModifiedDateTime", deviceConfiguration.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("userStatuses", deviceConfiguration.userStatuses, ); - writer.writeObjectValue("userStatusOverview", deviceConfiguration.userStatusOverview, ); + writer.writeCollectionOfObjectValues("userStatuses", deviceConfiguration.userStatuses, serializeDeviceConfigurationUserStatus); + writer.writeObjectValue("userStatusOverview", deviceConfiguration.userStatusOverview, serializeDeviceConfigurationUserOverview); writer.writeNumberValue("version", deviceConfiguration.version); } // tslint:enable diff --git a/src/models/deviceConfigurationAssignment.ts b/src/models/deviceConfigurationAssignment.ts index 43d08aa4795..b20022865ee 100644 --- a/src/models/deviceConfigurationAssignment.ts +++ b/src/models/deviceConfigurationAssignment.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationAssignment extends Entity, Parsable { } export function serializeDeviceConfigurationAssignment(writer: SerializationWriter, deviceConfigurationAssignment: DeviceConfigurationAssignment | undefined = {} as DeviceConfigurationAssignment) : void { serializeEntity(writer, deviceConfigurationAssignment) - writer.writeObjectValue("target", deviceConfigurationAssignment.target, ); + writer.writeObjectValue("target", deviceConfigurationAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationAssignmentCollectionResponse.ts b/src/models/deviceConfigurationAssignmentCollectionResponse.ts index d00bb31f3f8..6dcd3641f93 100644 --- a/src/models/deviceConfigurationAssignmentCollectionResponse.ts +++ b/src/models/deviceConfigurationAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationAssignmentCollectionResponse extends BaseCol } export function serializeDeviceConfigurationAssignmentCollectionResponse(writer: SerializationWriter, deviceConfigurationAssignmentCollectionResponse: DeviceConfigurationAssignmentCollectionResponse | undefined = {} as DeviceConfigurationAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationAssignmentCollectionResponse.value, serializeDeviceConfigurationAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationCollectionResponse.ts b/src/models/deviceConfigurationCollectionResponse.ts index d0c63955932..1bc20ae30a5 100644 --- a/src/models/deviceConfigurationCollectionResponse.ts +++ b/src/models/deviceConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationCollectionResponse extends BaseCollectionPag } export function serializeDeviceConfigurationCollectionResponse(writer: SerializationWriter, deviceConfigurationCollectionResponse: DeviceConfigurationCollectionResponse | undefined = {} as DeviceConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationCollectionResponse.value, serializeDeviceConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts b/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts index 19b41f33063..96b4f5121ee 100644 --- a/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts +++ b/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationDeviceStatusCollectionResponse extends BaseC } export function serializeDeviceConfigurationDeviceStatusCollectionResponse(writer: SerializationWriter, deviceConfigurationDeviceStatusCollectionResponse: DeviceConfigurationDeviceStatusCollectionResponse | undefined = {} as DeviceConfigurationDeviceStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationDeviceStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationDeviceStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationDeviceStatusCollectionResponse.value, serializeDeviceConfigurationDeviceStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationSettingState.ts b/src/models/deviceConfigurationSettingState.ts index 7f8d06a78b5..7d8610d1fdb 100644 --- a/src/models/deviceConfigurationSettingState.ts +++ b/src/models/deviceConfigurationSettingState.ts @@ -92,7 +92,7 @@ export function serializeDeviceConfigurationSettingState(writer: SerializationWr writer.writeStringValue("@odata.type", deviceConfigurationSettingState.odataType); writer.writeStringValue("setting", deviceConfigurationSettingState.setting); writer.writeStringValue("settingName", deviceConfigurationSettingState.settingName); - writer.writeCollectionOfObjectValues("sources", deviceConfigurationSettingState.sources, ); + writer.writeCollectionOfObjectValues("sources", deviceConfigurationSettingState.sources, serializeSettingSource); writer.writeEnumValue("state", deviceConfigurationSettingState.state); writer.writeStringValue("userEmail", deviceConfigurationSettingState.userEmail); writer.writeStringValue("userId", deviceConfigurationSettingState.userId); diff --git a/src/models/deviceConfigurationState.ts b/src/models/deviceConfigurationState.ts index 8de6f0cd2ad..dbf2052f669 100644 --- a/src/models/deviceConfigurationState.ts +++ b/src/models/deviceConfigurationState.ts @@ -53,7 +53,7 @@ export function serializeDeviceConfigurationState(writer: SerializationWriter, d writer.writeStringValue("displayName", deviceConfigurationState.displayName); writer.writeEnumValue("platformType", deviceConfigurationState.platformType); writer.writeNumberValue("settingCount", deviceConfigurationState.settingCount); - writer.writeCollectionOfObjectValues("settingStates", deviceConfigurationState.settingStates, ); + writer.writeCollectionOfObjectValues("settingStates", deviceConfigurationState.settingStates, serializeDeviceConfigurationSettingState); writer.writeEnumValue("state", deviceConfigurationState.state); writer.writeNumberValue("version", deviceConfigurationState.version); } diff --git a/src/models/deviceConfigurationStateCollectionResponse.ts b/src/models/deviceConfigurationStateCollectionResponse.ts index 2fb9a031722..19c04853cf2 100644 --- a/src/models/deviceConfigurationStateCollectionResponse.ts +++ b/src/models/deviceConfigurationStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationStateCollectionResponse extends BaseCollecti } export function serializeDeviceConfigurationStateCollectionResponse(writer: SerializationWriter, deviceConfigurationStateCollectionResponse: DeviceConfigurationStateCollectionResponse | undefined = {} as DeviceConfigurationStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationStateCollectionResponse.value, serializeDeviceConfigurationState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationUserStatusCollectionResponse.ts b/src/models/deviceConfigurationUserStatusCollectionResponse.ts index ed6c071799e..9ff83c35456 100644 --- a/src/models/deviceConfigurationUserStatusCollectionResponse.ts +++ b/src/models/deviceConfigurationUserStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationUserStatusCollectionResponse extends BaseCol } export function serializeDeviceConfigurationUserStatusCollectionResponse(writer: SerializationWriter, deviceConfigurationUserStatusCollectionResponse: DeviceConfigurationUserStatusCollectionResponse | undefined = {} as DeviceConfigurationUserStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationUserStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationUserStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationUserStatusCollectionResponse.value, serializeDeviceConfigurationUserStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceEnrollmentConfiguration.ts b/src/models/deviceEnrollmentConfiguration.ts index 925a83ac445..51b6ba56015 100644 --- a/src/models/deviceEnrollmentConfiguration.ts +++ b/src/models/deviceEnrollmentConfiguration.ts @@ -71,7 +71,7 @@ export interface DeviceEnrollmentConfiguration extends Entity, Parsable { } export function serializeDeviceEnrollmentConfiguration(writer: SerializationWriter, deviceEnrollmentConfiguration: DeviceEnrollmentConfiguration | undefined = {} as DeviceEnrollmentConfiguration) : void { serializeEntity(writer, deviceEnrollmentConfiguration) - writer.writeCollectionOfObjectValues("assignments", deviceEnrollmentConfiguration.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceEnrollmentConfiguration.assignments, serializeEnrollmentConfigurationAssignment); writer.writeDateValue("createdDateTime", deviceEnrollmentConfiguration.createdDateTime); writer.writeStringValue("description", deviceEnrollmentConfiguration.description); writer.writeStringValue("displayName", deviceEnrollmentConfiguration.displayName); diff --git a/src/models/deviceEnrollmentConfigurationCollectionResponse.ts b/src/models/deviceEnrollmentConfigurationCollectionResponse.ts index 45e5c40960d..1aea67b8d28 100644 --- a/src/models/deviceEnrollmentConfigurationCollectionResponse.ts +++ b/src/models/deviceEnrollmentConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceEnrollmentConfigurationCollectionResponse extends BaseCol } export function serializeDeviceEnrollmentConfigurationCollectionResponse(writer: SerializationWriter, deviceEnrollmentConfigurationCollectionResponse: DeviceEnrollmentConfigurationCollectionResponse | undefined = {} as DeviceEnrollmentConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceEnrollmentConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceEnrollmentConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceEnrollmentConfigurationCollectionResponse.value, serializeDeviceEnrollmentConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts b/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts index e0593ce661a..534e7ae0b7b 100644 --- a/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts +++ b/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts @@ -43,11 +43,11 @@ export interface DeviceEnrollmentPlatformRestrictionsConfiguration extends Devic } export function serializeDeviceEnrollmentPlatformRestrictionsConfiguration(writer: SerializationWriter, deviceEnrollmentPlatformRestrictionsConfiguration: DeviceEnrollmentPlatformRestrictionsConfiguration | undefined = {} as DeviceEnrollmentPlatformRestrictionsConfiguration) : void { serializeDeviceEnrollmentConfiguration(writer, deviceEnrollmentPlatformRestrictionsConfiguration) - writer.writeObjectValue("androidRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.androidRestriction, ); - writer.writeObjectValue("iosRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.iosRestriction, ); - writer.writeObjectValue("macOSRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.macOSRestriction, ); - writer.writeObjectValue("windowsMobileRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsMobileRestriction, ); - writer.writeObjectValue("windowsRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsRestriction, ); + writer.writeObjectValue("androidRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.androidRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("iosRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.iosRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("macOSRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.macOSRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("windowsMobileRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsMobileRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("windowsRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsRestriction, serializeDeviceEnrollmentPlatformRestriction); } // tslint:enable // eslint-enable diff --git a/src/models/deviceInstallStateCollectionResponse.ts b/src/models/deviceInstallStateCollectionResponse.ts index 716a5d1d9f6..3731cb84391 100644 --- a/src/models/deviceInstallStateCollectionResponse.ts +++ b/src/models/deviceInstallStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceInstallStateCollectionResponse extends BaseCollectionPagi } export function serializeDeviceInstallStateCollectionResponse(writer: SerializationWriter, deviceInstallStateCollectionResponse: DeviceInstallStateCollectionResponse | undefined = {} as DeviceInstallStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceInstallStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceInstallStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceInstallStateCollectionResponse.value, serializeDeviceInstallState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceLocalCredential.ts b/src/models/deviceLocalCredential.ts new file mode 100644 index 00000000000..1baae415bc7 --- /dev/null +++ b/src/models/deviceLocalCredential.ts @@ -0,0 +1,46 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredential; +} +export function deserializeIntoDeviceLocalCredential(deviceLocalCredential: DeviceLocalCredential | undefined = {} as DeviceLocalCredential) : Record void> { + return { + ...deserializeIntoEntity(deviceLocalCredential), + "accountName": n => { deviceLocalCredential.accountName = n.getStringValue(); }, + "accountSid": n => { deviceLocalCredential.accountSid = n.getStringValue(); }, + "backupDateTime": n => { deviceLocalCredential.backupDateTime = n.getDateValue(); }, + "passwordBase64": n => { deviceLocalCredential.passwordBase64 = n.getStringValue(); }, + } +} +export interface DeviceLocalCredential extends Entity, Parsable { + /** + * The name of the local admin account for which LAPS is enabled. + */ + accountName?: string; + /** + * The SID of the local admin account for which LAPS is enabled. + */ + accountSid?: string; + /** + * When the local administrator account credential for the device object was backed up to Azure Active Directory. + */ + backupDateTime?: Date; + /** + * The password for the local administrator account that is backed up to Azure Active Directory and returned as a Base64 encoded value. + */ + passwordBase64?: string; +} +export function serializeDeviceLocalCredential(writer: SerializationWriter, deviceLocalCredential: DeviceLocalCredential | undefined = {} as DeviceLocalCredential) : void { + serializeEntity(writer, deviceLocalCredential) + writer.writeStringValue("accountName", deviceLocalCredential.accountName); + writer.writeStringValue("accountSid", deviceLocalCredential.accountSid); + writer.writeDateValue("backupDateTime", deviceLocalCredential.backupDateTime); + writer.writeStringValue("passwordBase64", deviceLocalCredential.passwordBase64); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLocalCredentialInfo.ts b/src/models/deviceLocalCredentialInfo.ts new file mode 100644 index 00000000000..fb9df5e0e30 --- /dev/null +++ b/src/models/deviceLocalCredentialInfo.ts @@ -0,0 +1,47 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createDeviceLocalCredentialFromDiscriminatorValue, serializeDeviceLocalCredential, type DeviceLocalCredential } from './deviceLocalCredential'; +import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialInfoFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredentialInfo; +} +export function deserializeIntoDeviceLocalCredentialInfo(deviceLocalCredentialInfo: DeviceLocalCredentialInfo | undefined = {} as DeviceLocalCredentialInfo) : Record void> { + return { + ...deserializeIntoEntity(deviceLocalCredentialInfo), + "credentials": n => { deviceLocalCredentialInfo.credentials = n.getCollectionOfObjectValues(createDeviceLocalCredentialFromDiscriminatorValue); }, + "deviceName": n => { deviceLocalCredentialInfo.deviceName = n.getStringValue(); }, + "lastBackupDateTime": n => { deviceLocalCredentialInfo.lastBackupDateTime = n.getDateValue(); }, + "refreshDateTime": n => { deviceLocalCredentialInfo.refreshDateTime = n.getDateValue(); }, + } +} +export interface DeviceLocalCredentialInfo extends Entity, Parsable { + /** + * The credentials of the device's local administrator account backed up to Azure Active Directory. + */ + credentials?: DeviceLocalCredential[]; + /** + * Display name of the device that the local credentials are associated with. + */ + deviceName?: string; + /** + * When the local administrator account credential was backed up to Azure Active Directory. + */ + lastBackupDateTime?: Date; + /** + * When the local administrator account credential will be refreshed and backed up to Azure Active Directory. + */ + refreshDateTime?: Date; +} +export function serializeDeviceLocalCredentialInfo(writer: SerializationWriter, deviceLocalCredentialInfo: DeviceLocalCredentialInfo | undefined = {} as DeviceLocalCredentialInfo) : void { + serializeEntity(writer, deviceLocalCredentialInfo) + writer.writeCollectionOfObjectValues("credentials", deviceLocalCredentialInfo.credentials, serializeDeviceLocalCredential); + writer.writeStringValue("deviceName", deviceLocalCredentialInfo.deviceName); + writer.writeDateValue("lastBackupDateTime", deviceLocalCredentialInfo.lastBackupDateTime); + writer.writeDateValue("refreshDateTime", deviceLocalCredentialInfo.refreshDateTime); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLocalCredentialInfoCollectionResponse.ts b/src/models/deviceLocalCredentialInfoCollectionResponse.ts new file mode 100644 index 00000000000..577fdd42d26 --- /dev/null +++ b/src/models/deviceLocalCredentialInfoCollectionResponse.ts @@ -0,0 +1,29 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, type BaseCollectionPaginationCountResponse } from './baseCollectionPaginationCountResponse'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from './deviceLocalCredentialInfo'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredentialInfoCollectionResponse; +} +export function deserializeIntoDeviceLocalCredentialInfoCollectionResponse(deviceLocalCredentialInfoCollectionResponse: DeviceLocalCredentialInfoCollectionResponse | undefined = {} as DeviceLocalCredentialInfoCollectionResponse) : Record void> { + return { + ...deserializeIntoBaseCollectionPaginationCountResponse(deviceLocalCredentialInfoCollectionResponse), + "value": n => { deviceLocalCredentialInfoCollectionResponse.value = n.getCollectionOfObjectValues(createDeviceLocalCredentialInfoFromDiscriminatorValue); }, + } +} +export interface DeviceLocalCredentialInfoCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { + /** + * The value property + */ + value?: DeviceLocalCredentialInfo[]; +} +export function serializeDeviceLocalCredentialInfoCollectionResponse(writer: SerializationWriter, deviceLocalCredentialInfoCollectionResponse: DeviceLocalCredentialInfoCollectionResponse | undefined = {} as DeviceLocalCredentialInfoCollectionResponse) : void { + serializeBaseCollectionPaginationCountResponse(writer, deviceLocalCredentialInfoCollectionResponse) + writer.writeCollectionOfObjectValues("value", deviceLocalCredentialInfoCollectionResponse.value, serializeDeviceLocalCredentialInfo); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLogCollectionResponseCollectionResponse.ts b/src/models/deviceLogCollectionResponseCollectionResponse.ts index 35571b79ad6..961d525f640 100644 --- a/src/models/deviceLogCollectionResponseCollectionResponse.ts +++ b/src/models/deviceLogCollectionResponseCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceLogCollectionResponseCollectionResponse extends BaseColle } export function serializeDeviceLogCollectionResponseCollectionResponse(writer: SerializationWriter, deviceLogCollectionResponseCollectionResponse: DeviceLogCollectionResponseCollectionResponse | undefined = {} as DeviceLogCollectionResponseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceLogCollectionResponseCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceLogCollectionResponseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceLogCollectionResponseCollectionResponse.value, serializeDeviceLogCollectionResponse); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagement.ts b/src/models/deviceManagement.ts index a456312cf37..a42b381b76d 100644 --- a/src/models/deviceManagement.ts +++ b/src/models/deviceManagement.ts @@ -400,70 +400,70 @@ export interface DeviceManagement extends Entity, Parsable { } export function serializeDeviceManagement(writer: SerializationWriter, deviceManagement: DeviceManagement | undefined = {} as DeviceManagement) : void { serializeEntity(writer, deviceManagement) - writer.writeObjectValue("applePushNotificationCertificate", deviceManagement.applePushNotificationCertificate, ); - writer.writeCollectionOfObjectValues("auditEvents", deviceManagement.auditEvents, ); - writer.writeCollectionOfObjectValues("complianceManagementPartners", deviceManagement.complianceManagementPartners, ); - writer.writeObjectValue("conditionalAccessSettings", deviceManagement.conditionalAccessSettings, ); - writer.writeCollectionOfObjectValues("detectedApps", deviceManagement.detectedApps, ); - writer.writeCollectionOfObjectValues("deviceCategories", deviceManagement.deviceCategories, ); - writer.writeCollectionOfObjectValues("deviceCompliancePolicies", deviceManagement.deviceCompliancePolicies, ); - writer.writeObjectValue("deviceCompliancePolicyDeviceStateSummary", deviceManagement.deviceCompliancePolicyDeviceStateSummary, ); - writer.writeCollectionOfObjectValues("deviceCompliancePolicySettingStateSummaries", deviceManagement.deviceCompliancePolicySettingStateSummaries, ); - writer.writeObjectValue("deviceConfigurationDeviceStateSummaries", deviceManagement.deviceConfigurationDeviceStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceConfigurations", deviceManagement.deviceConfigurations, ); - writer.writeCollectionOfObjectValues("deviceEnrollmentConfigurations", deviceManagement.deviceEnrollmentConfigurations, ); - writer.writeCollectionOfObjectValues("deviceManagementPartners", deviceManagement.deviceManagementPartners, ); - writer.writeObjectValue("deviceProtectionOverview", deviceManagement.deviceProtectionOverview, ); - writer.writeCollectionOfObjectValues("exchangeConnectors", deviceManagement.exchangeConnectors, ); - writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", deviceManagement.importedWindowsAutopilotDeviceIdentities, ); + writer.writeObjectValue("applePushNotificationCertificate", deviceManagement.applePushNotificationCertificate, serializeApplePushNotificationCertificate); + writer.writeCollectionOfObjectValues("auditEvents", deviceManagement.auditEvents, serializeAuditEvent); + writer.writeCollectionOfObjectValues("complianceManagementPartners", deviceManagement.complianceManagementPartners, serializeComplianceManagementPartner); + writer.writeObjectValue("conditionalAccessSettings", deviceManagement.conditionalAccessSettings, serializeOnPremisesConditionalAccessSettings); + writer.writeCollectionOfObjectValues("detectedApps", deviceManagement.detectedApps, serializeDetectedApp); + writer.writeCollectionOfObjectValues("deviceCategories", deviceManagement.deviceCategories, serializeDeviceCategory); + writer.writeCollectionOfObjectValues("deviceCompliancePolicies", deviceManagement.deviceCompliancePolicies, serializeDeviceCompliancePolicy); + writer.writeObjectValue("deviceCompliancePolicyDeviceStateSummary", deviceManagement.deviceCompliancePolicyDeviceStateSummary, serializeDeviceCompliancePolicyDeviceStateSummary); + writer.writeCollectionOfObjectValues("deviceCompliancePolicySettingStateSummaries", deviceManagement.deviceCompliancePolicySettingStateSummaries, serializeDeviceCompliancePolicySettingStateSummary); + writer.writeObjectValue("deviceConfigurationDeviceStateSummaries", deviceManagement.deviceConfigurationDeviceStateSummaries, serializeDeviceConfigurationDeviceStateSummary); + writer.writeCollectionOfObjectValues("deviceConfigurations", deviceManagement.deviceConfigurations, serializeDeviceConfiguration); + writer.writeCollectionOfObjectValues("deviceEnrollmentConfigurations", deviceManagement.deviceEnrollmentConfigurations, serializeDeviceEnrollmentConfiguration); + writer.writeCollectionOfObjectValues("deviceManagementPartners", deviceManagement.deviceManagementPartners, serializeDeviceManagementPartner); + writer.writeObjectValue("deviceProtectionOverview", deviceManagement.deviceProtectionOverview, serializeDeviceProtectionOverview); + writer.writeCollectionOfObjectValues("exchangeConnectors", deviceManagement.exchangeConnectors, serializeDeviceManagementExchangeConnector); + writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", deviceManagement.importedWindowsAutopilotDeviceIdentities, serializeImportedWindowsAutopilotDeviceIdentity); writer.writeGuidValue("intuneAccountId", deviceManagement.intuneAccountId); - writer.writeObjectValue("intuneBrand", deviceManagement.intuneBrand, ); - writer.writeCollectionOfObjectValues("iosUpdateStatuses", deviceManagement.iosUpdateStatuses, ); - writer.writeObjectValue("managedDeviceOverview", deviceManagement.managedDeviceOverview, ); - writer.writeCollectionOfObjectValues("managedDevices", deviceManagement.managedDevices, ); - writer.writeCollectionOfObjectValues("mobileAppTroubleshootingEvents", deviceManagement.mobileAppTroubleshootingEvents, ); - writer.writeCollectionOfObjectValues("mobileThreatDefenseConnectors", deviceManagement.mobileThreatDefenseConnectors, ); - writer.writeCollectionOfObjectValues("notificationMessageTemplates", deviceManagement.notificationMessageTemplates, ); - writer.writeCollectionOfObjectValues("remoteAssistancePartners", deviceManagement.remoteAssistancePartners, ); - writer.writeObjectValue("reports", deviceManagement.reports, ); - writer.writeCollectionOfObjectValues("resourceOperations", deviceManagement.resourceOperations, ); - writer.writeCollectionOfObjectValues("roleAssignments", deviceManagement.roleAssignments, ); - writer.writeCollectionOfObjectValues("roleDefinitions", deviceManagement.roleDefinitions, ); - writer.writeObjectValue("settings", deviceManagement.settings, ); - writer.writeObjectValue("softwareUpdateStatusSummary", deviceManagement.softwareUpdateStatusSummary, ); + writer.writeObjectValue("intuneBrand", deviceManagement.intuneBrand, serializeIntuneBrand); + writer.writeCollectionOfObjectValues("iosUpdateStatuses", deviceManagement.iosUpdateStatuses, serializeIosUpdateDeviceStatus); + writer.writeObjectValue("managedDeviceOverview", deviceManagement.managedDeviceOverview, serializeManagedDeviceOverview); + writer.writeCollectionOfObjectValues("managedDevices", deviceManagement.managedDevices, serializeManagedDevice); + writer.writeCollectionOfObjectValues("mobileAppTroubleshootingEvents", deviceManagement.mobileAppTroubleshootingEvents, serializeMobileAppTroubleshootingEvent); + writer.writeCollectionOfObjectValues("mobileThreatDefenseConnectors", deviceManagement.mobileThreatDefenseConnectors, serializeMobileThreatDefenseConnector); + writer.writeCollectionOfObjectValues("notificationMessageTemplates", deviceManagement.notificationMessageTemplates, serializeNotificationMessageTemplate); + writer.writeCollectionOfObjectValues("remoteAssistancePartners", deviceManagement.remoteAssistancePartners, serializeRemoteAssistancePartner); + writer.writeObjectValue("reports", deviceManagement.reports, serializeDeviceManagementReports); + writer.writeCollectionOfObjectValues("resourceOperations", deviceManagement.resourceOperations, serializeResourceOperation); + writer.writeCollectionOfObjectValues("roleAssignments", deviceManagement.roleAssignments, serializeDeviceAndAppManagementRoleAssignment); + writer.writeCollectionOfObjectValues("roleDefinitions", deviceManagement.roleDefinitions, serializeRoleDefinition); + writer.writeObjectValue("settings", deviceManagement.settings, serializeDeviceManagementSettings); + writer.writeObjectValue("softwareUpdateStatusSummary", deviceManagement.softwareUpdateStatusSummary, serializeSoftwareUpdateStatusSummary); writer.writeEnumValue("subscriptionState", deviceManagement.subscriptionState); - writer.writeCollectionOfObjectValues("telecomExpenseManagementPartners", deviceManagement.telecomExpenseManagementPartners, ); - writer.writeCollectionOfObjectValues("termsAndConditions", deviceManagement.termsAndConditions, ); - writer.writeCollectionOfObjectValues("troubleshootingEvents", deviceManagement.troubleshootingEvents, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformance", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDeviceModelPerformance", deviceManagement.userExperienceAnalyticsAppHealthDeviceModelPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformance", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformanceDetails", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformanceDetails, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthOSVersionPerformance", deviceManagement.userExperienceAnalyticsAppHealthOSVersionPerformance, ); - writer.writeObjectValue("userExperienceAnalyticsAppHealthOverview", deviceManagement.userExperienceAnalyticsAppHealthOverview, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsBaselines", deviceManagement.userExperienceAnalyticsBaselines, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsCategories", deviceManagement.userExperienceAnalyticsCategories, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDevicePerformance", deviceManagement.userExperienceAnalyticsDevicePerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceScores", deviceManagement.userExperienceAnalyticsDeviceScores, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupHistory", deviceManagement.userExperienceAnalyticsDeviceStartupHistory, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcesses", deviceManagement.userExperienceAnalyticsDeviceStartupProcesses, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcessPerformance", deviceManagement.userExperienceAnalyticsDeviceStartupProcessPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsMetricHistory", deviceManagement.userExperienceAnalyticsMetricHistory, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsModelScores", deviceManagement.userExperienceAnalyticsModelScores, ); - writer.writeObjectValue("userExperienceAnalyticsOverview", deviceManagement.userExperienceAnalyticsOverview, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsScoreHistory", deviceManagement.userExperienceAnalyticsScoreHistory, ); - writer.writeObjectValue("userExperienceAnalyticsSettings", deviceManagement.userExperienceAnalyticsSettings, ); - writer.writeObjectValue("userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", deviceManagement.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereMetrics", deviceManagement.userExperienceAnalyticsWorkFromAnywhereMetrics, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereModelPerformance", deviceManagement.userExperienceAnalyticsWorkFromAnywhereModelPerformance, ); - writer.writeCollectionOfObjectValues("windowsAutopilotDeviceIdentities", deviceManagement.windowsAutopilotDeviceIdentities, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionAppLearningSummaries", deviceManagement.windowsInformationProtectionAppLearningSummaries, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionNetworkLearningSummaries", deviceManagement.windowsInformationProtectionNetworkLearningSummaries, ); - writer.writeCollectionOfObjectValues("windowsMalwareInformation", deviceManagement.windowsMalwareInformation, ); - writer.writeObjectValue("windowsMalwareOverview", deviceManagement.windowsMalwareOverview, ); + writer.writeCollectionOfObjectValues("telecomExpenseManagementPartners", deviceManagement.telecomExpenseManagementPartners, serializeTelecomExpenseManagementPartner); + writer.writeCollectionOfObjectValues("termsAndConditions", deviceManagement.termsAndConditions, serializeTermsAndConditions); + writer.writeCollectionOfObjectValues("troubleshootingEvents", deviceManagement.troubleshootingEvents, serializeDeviceManagementTroubleshootingEvent); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformance", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformance, serializeUserExperienceAnalyticsAppHealthApplicationPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, serializeUserExperienceAnalyticsAppHealthAppPerformanceByOSVersion); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDeviceModelPerformance", deviceManagement.userExperienceAnalyticsAppHealthDeviceModelPerformance, serializeUserExperienceAnalyticsAppHealthDeviceModelPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformance", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformance, serializeUserExperienceAnalyticsAppHealthDevicePerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformanceDetails", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformanceDetails, serializeUserExperienceAnalyticsAppHealthDevicePerformanceDetails); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthOSVersionPerformance", deviceManagement.userExperienceAnalyticsAppHealthOSVersionPerformance, serializeUserExperienceAnalyticsAppHealthOSVersionPerformance); + writer.writeObjectValue("userExperienceAnalyticsAppHealthOverview", deviceManagement.userExperienceAnalyticsAppHealthOverview, serializeUserExperienceAnalyticsCategory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsBaselines", deviceManagement.userExperienceAnalyticsBaselines, serializeUserExperienceAnalyticsBaseline); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsCategories", deviceManagement.userExperienceAnalyticsCategories, serializeUserExperienceAnalyticsCategory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDevicePerformance", deviceManagement.userExperienceAnalyticsDevicePerformance, serializeUserExperienceAnalyticsDevicePerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceScores", deviceManagement.userExperienceAnalyticsDeviceScores, serializeUserExperienceAnalyticsDeviceScores); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupHistory", deviceManagement.userExperienceAnalyticsDeviceStartupHistory, serializeUserExperienceAnalyticsDeviceStartupHistory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcesses", deviceManagement.userExperienceAnalyticsDeviceStartupProcesses, serializeUserExperienceAnalyticsDeviceStartupProcess); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcessPerformance", deviceManagement.userExperienceAnalyticsDeviceStartupProcessPerformance, serializeUserExperienceAnalyticsDeviceStartupProcessPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsMetricHistory", deviceManagement.userExperienceAnalyticsMetricHistory, serializeUserExperienceAnalyticsMetricHistory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsModelScores", deviceManagement.userExperienceAnalyticsModelScores, serializeUserExperienceAnalyticsModelScores); + writer.writeObjectValue("userExperienceAnalyticsOverview", deviceManagement.userExperienceAnalyticsOverview, serializeUserExperienceAnalyticsOverview); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsScoreHistory", deviceManagement.userExperienceAnalyticsScoreHistory, serializeUserExperienceAnalyticsScoreHistory); + writer.writeObjectValue("userExperienceAnalyticsSettings", deviceManagement.userExperienceAnalyticsSettings, serializeUserExperienceAnalyticsSettings); + writer.writeObjectValue("userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", deviceManagement.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, serializeUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereMetrics", deviceManagement.userExperienceAnalyticsWorkFromAnywhereMetrics, serializeUserExperienceAnalyticsWorkFromAnywhereMetric); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereModelPerformance", deviceManagement.userExperienceAnalyticsWorkFromAnywhereModelPerformance, serializeUserExperienceAnalyticsWorkFromAnywhereModelPerformance); + writer.writeCollectionOfObjectValues("windowsAutopilotDeviceIdentities", deviceManagement.windowsAutopilotDeviceIdentities, serializeWindowsAutopilotDeviceIdentity); + writer.writeCollectionOfObjectValues("windowsInformationProtectionAppLearningSummaries", deviceManagement.windowsInformationProtectionAppLearningSummaries, serializeWindowsInformationProtectionAppLearningSummary); + writer.writeCollectionOfObjectValues("windowsInformationProtectionNetworkLearningSummaries", deviceManagement.windowsInformationProtectionNetworkLearningSummaries, serializeWindowsInformationProtectionNetworkLearningSummary); + writer.writeCollectionOfObjectValues("windowsMalwareInformation", deviceManagement.windowsMalwareInformation, serializeWindowsMalwareInformation); + writer.writeObjectValue("windowsMalwareOverview", deviceManagement.windowsMalwareOverview, serializeWindowsMalwareOverview); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementExchangeConnectorCollectionResponse.ts b/src/models/deviceManagementExchangeConnectorCollectionResponse.ts index f93f3cf48cb..d26db1d04c4 100644 --- a/src/models/deviceManagementExchangeConnectorCollectionResponse.ts +++ b/src/models/deviceManagementExchangeConnectorCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementExchangeConnectorCollectionResponse extends Bas } export function serializeDeviceManagementExchangeConnectorCollectionResponse(writer: SerializationWriter, deviceManagementExchangeConnectorCollectionResponse: DeviceManagementExchangeConnectorCollectionResponse | undefined = {} as DeviceManagementExchangeConnectorCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementExchangeConnectorCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementExchangeConnectorCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementExchangeConnectorCollectionResponse.value, serializeDeviceManagementExchangeConnector); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementExportJobCollectionResponse.ts b/src/models/deviceManagementExportJobCollectionResponse.ts index 73227e18ed8..bab4b56da4b 100644 --- a/src/models/deviceManagementExportJobCollectionResponse.ts +++ b/src/models/deviceManagementExportJobCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementExportJobCollectionResponse extends BaseCollect } export function serializeDeviceManagementExportJobCollectionResponse(writer: SerializationWriter, deviceManagementExportJobCollectionResponse: DeviceManagementExportJobCollectionResponse | undefined = {} as DeviceManagementExportJobCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementExportJobCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementExportJobCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementExportJobCollectionResponse.value, serializeDeviceManagementExportJob); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementPartner.ts b/src/models/deviceManagementPartner.ts index 5ab3ca876af..87b72e08bc7 100644 --- a/src/models/deviceManagementPartner.ts +++ b/src/models/deviceManagementPartner.ts @@ -66,7 +66,7 @@ export interface DeviceManagementPartner extends Entity, Parsable { export function serializeDeviceManagementPartner(writer: SerializationWriter, deviceManagementPartner: DeviceManagementPartner | undefined = {} as DeviceManagementPartner) : void { serializeEntity(writer, deviceManagementPartner) writer.writeStringValue("displayName", deviceManagementPartner.displayName); - writer.writeCollectionOfObjectValues("groupsRequiringPartnerEnrollment", deviceManagementPartner.groupsRequiringPartnerEnrollment, ); + writer.writeCollectionOfObjectValues("groupsRequiringPartnerEnrollment", deviceManagementPartner.groupsRequiringPartnerEnrollment, serializeDeviceManagementPartnerAssignment); writer.writeBooleanValue("isConfigured", deviceManagementPartner.isConfigured); writer.writeDateValue("lastHeartbeatDateTime", deviceManagementPartner.lastHeartbeatDateTime); writer.writeEnumValue("partnerAppType", deviceManagementPartner.partnerAppType); diff --git a/src/models/deviceManagementPartnerAssignment.ts b/src/models/deviceManagementPartnerAssignment.ts index da2cb7f6e91..363894fb83a 100644 --- a/src/models/deviceManagementPartnerAssignment.ts +++ b/src/models/deviceManagementPartnerAssignment.ts @@ -30,7 +30,7 @@ export interface DeviceManagementPartnerAssignment extends AdditionalDataHolder, } export function serializeDeviceManagementPartnerAssignment(writer: SerializationWriter, deviceManagementPartnerAssignment: DeviceManagementPartnerAssignment | undefined = {} as DeviceManagementPartnerAssignment) : void { writer.writeStringValue("@odata.type", deviceManagementPartnerAssignment.odataType); - writer.writeObjectValue("target", deviceManagementPartnerAssignment.target, ); + writer.writeObjectValue("target", deviceManagementPartnerAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); writer.writeAdditionalData(deviceManagementPartnerAssignment.additionalData); } // tslint:enable diff --git a/src/models/deviceManagementPartnerCollectionResponse.ts b/src/models/deviceManagementPartnerCollectionResponse.ts index a728b16ff53..f48ae858bfe 100644 --- a/src/models/deviceManagementPartnerCollectionResponse.ts +++ b/src/models/deviceManagementPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementPartnerCollectionResponse extends BaseCollectio } export function serializeDeviceManagementPartnerCollectionResponse(writer: SerializationWriter, deviceManagementPartnerCollectionResponse: DeviceManagementPartnerCollectionResponse | undefined = {} as DeviceManagementPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementPartnerCollectionResponse.value, serializeDeviceManagementPartner); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementReports.ts b/src/models/deviceManagementReports.ts index 1263e99f97a..acc996a58c2 100644 --- a/src/models/deviceManagementReports.ts +++ b/src/models/deviceManagementReports.ts @@ -23,7 +23,7 @@ export interface DeviceManagementReports extends Entity, Parsable { } export function serializeDeviceManagementReports(writer: SerializationWriter, deviceManagementReports: DeviceManagementReports | undefined = {} as DeviceManagementReports) : void { serializeEntity(writer, deviceManagementReports) - writer.writeCollectionOfObjectValues("exportJobs", deviceManagementReports.exportJobs, ); + writer.writeCollectionOfObjectValues("exportJobs", deviceManagementReports.exportJobs, serializeDeviceManagementExportJob); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts b/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts index 4117894fd6b..193cbe3d676 100644 --- a/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts +++ b/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementTroubleshootingEventCollectionResponse extends } export function serializeDeviceManagementTroubleshootingEventCollectionResponse(writer: SerializationWriter, deviceManagementTroubleshootingEventCollectionResponse: DeviceManagementTroubleshootingEventCollectionResponse | undefined = {} as DeviceManagementTroubleshootingEventCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementTroubleshootingEventCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementTroubleshootingEventCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementTroubleshootingEventCollectionResponse.value, serializeDeviceManagementTroubleshootingEvent); } // tslint:enable // eslint-enable diff --git a/src/models/directory.ts b/src/models/directory.ts index 9681f0a7edb..a761d3ef209 100644 --- a/src/models/directory.ts +++ b/src/models/directory.ts @@ -4,6 +4,7 @@ import { createAdministrativeUnitFromDiscriminatorValue, serializeAdministrativeUnit, type AdministrativeUnit } from './administrativeUnit'; import { createAttributeSetFromDiscriminatorValue, serializeAttributeSet, type AttributeSet } from './attributeSet'; import { createCustomSecurityAttributeDefinitionFromDiscriminatorValue, serializeCustomSecurityAttributeDefinition, type CustomSecurityAttributeDefinition } from './customSecurityAttributeDefinition'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from './deviceLocalCredentialInfo'; import { createDirectoryObjectFromDiscriminatorValue, serializeDirectoryObject, type DirectoryObject } from './directoryObject'; import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; import { createIdentityProviderBaseFromDiscriminatorValue, serializeIdentityProviderBase, type IdentityProviderBase } from './identityProviderBase'; @@ -21,6 +22,7 @@ export function deserializeIntoDirectory(directory: Directory | undefined = {} a "attributeSets": n => { directory.attributeSets = n.getCollectionOfObjectValues(createAttributeSetFromDiscriminatorValue); }, "customSecurityAttributeDefinitions": n => { directory.customSecurityAttributeDefinitions = n.getCollectionOfObjectValues(createCustomSecurityAttributeDefinitionFromDiscriminatorValue); }, "deletedItems": n => { directory.deletedItems = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, + "deviceLocalCredentials": n => { directory.deviceLocalCredentials = n.getCollectionOfObjectValues(createDeviceLocalCredentialInfoFromDiscriminatorValue); }, "federationConfigurations": n => { directory.federationConfigurations = n.getCollectionOfObjectValues(createIdentityProviderBaseFromDiscriminatorValue); }, "onPremisesSynchronization": n => { directory.onPremisesSynchronization = n.getCollectionOfObjectValues(createOnPremisesDirectorySynchronizationFromDiscriminatorValue); }, } @@ -42,6 +44,10 @@ export interface Directory extends Entity, Parsable { * Recently deleted items. Read-only. Nullable. */ deletedItems?: DirectoryObject[]; + /** + * The credentials of the device's local administrator account backed up to Microsoft Entra ID. + */ + deviceLocalCredentials?: DeviceLocalCredentialInfo[]; /** * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. */ @@ -53,12 +59,13 @@ export interface Directory extends Entity, Parsable { } export function serializeDirectory(writer: SerializationWriter, directory: Directory | undefined = {} as Directory) : void { serializeEntity(writer, directory) - writer.writeCollectionOfObjectValues("administrativeUnits", directory.administrativeUnits, ); - writer.writeCollectionOfObjectValues("attributeSets", directory.attributeSets, ); - writer.writeCollectionOfObjectValues("customSecurityAttributeDefinitions", directory.customSecurityAttributeDefinitions, ); - writer.writeCollectionOfObjectValues("deletedItems", directory.deletedItems, ); - writer.writeCollectionOfObjectValues("federationConfigurations", directory.federationConfigurations, ); - writer.writeCollectionOfObjectValues("onPremisesSynchronization", directory.onPremisesSynchronization, ); + writer.writeCollectionOfObjectValues("administrativeUnits", directory.administrativeUnits, serializeAdministrativeUnit); + writer.writeCollectionOfObjectValues("attributeSets", directory.attributeSets, serializeAttributeSet); + writer.writeCollectionOfObjectValues("customSecurityAttributeDefinitions", directory.customSecurityAttributeDefinitions, serializeCustomSecurityAttributeDefinition); + writer.writeCollectionOfObjectValues("deletedItems", directory.deletedItems, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("deviceLocalCredentials", directory.deviceLocalCredentials, serializeDeviceLocalCredentialInfo); + writer.writeCollectionOfObjectValues("federationConfigurations", directory.federationConfigurations, serializeIdentityProviderBase); + writer.writeCollectionOfObjectValues("onPremisesSynchronization", directory.onPremisesSynchronization, serializeOnPremisesDirectorySynchronization); } // tslint:enable // eslint-enable diff --git a/src/models/directoryAudit.ts b/src/models/directoryAudit.ts index 1ddf9c734d6..53921175fa8 100644 --- a/src/models/directoryAudit.ts +++ b/src/models/directoryAudit.ts @@ -78,15 +78,15 @@ export function serializeDirectoryAudit(writer: SerializationWriter, directoryAu serializeEntity(writer, directoryAudit) writer.writeDateValue("activityDateTime", directoryAudit.activityDateTime); writer.writeStringValue("activityDisplayName", directoryAudit.activityDisplayName); - writer.writeCollectionOfObjectValues("additionalDetails", directoryAudit.additionalDetails, ); + writer.writeCollectionOfObjectValues("additionalDetails", directoryAudit.additionalDetails, serializeKeyValue); writer.writeStringValue("category", directoryAudit.category); writer.writeStringValue("correlationId", directoryAudit.correlationId); - writer.writeObjectValue("initiatedBy", directoryAudit.initiatedBy, ); + writer.writeObjectValue("initiatedBy", directoryAudit.initiatedBy, serializeAuditActivityInitiator); writer.writeStringValue("loggedByService", directoryAudit.loggedByService); writer.writeStringValue("operationType", directoryAudit.operationType); writer.writeEnumValue("result", directoryAudit.result); writer.writeStringValue("resultReason", directoryAudit.resultReason); - writer.writeCollectionOfObjectValues("targetResources", directoryAudit.targetResources, ); + writer.writeCollectionOfObjectValues("targetResources", directoryAudit.targetResources, serializeTargetResource); } // tslint:enable // eslint-enable diff --git a/src/models/directoryAuditCollectionResponse.ts b/src/models/directoryAuditCollectionResponse.ts index 4e609a6967d..0aa35e25edb 100644 --- a/src/models/directoryAuditCollectionResponse.ts +++ b/src/models/directoryAuditCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryAuditCollectionResponse extends BaseCollectionPaginati } export function serializeDirectoryAuditCollectionResponse(writer: SerializationWriter, directoryAuditCollectionResponse: DirectoryAuditCollectionResponse | undefined = {} as DirectoryAuditCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryAuditCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryAuditCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryAuditCollectionResponse.value, serializeDirectoryAudit); } // tslint:enable // eslint-enable diff --git a/src/models/directoryDefinition.ts b/src/models/directoryDefinition.ts index 688fe959835..7dbae2a7920 100644 --- a/src/models/directoryDefinition.ts +++ b/src/models/directoryDefinition.ts @@ -52,7 +52,7 @@ export function serializeDirectoryDefinition(writer: SerializationWriter, direct writer.writeEnumValue("discoverabilities", directoryDefinition.discoverabilities); writer.writeDateValue("discoveryDateTime", directoryDefinition.discoveryDateTime); writer.writeStringValue("name", directoryDefinition.name); - writer.writeCollectionOfObjectValues("objects", directoryDefinition.objects, ); + writer.writeCollectionOfObjectValues("objects", directoryDefinition.objects, serializeObjectDefinition); writer.writeBooleanValue("readOnly", directoryDefinition.readOnly); writer.writeStringValue("version", directoryDefinition.version); } diff --git a/src/models/directoryDefinitionCollectionResponse.ts b/src/models/directoryDefinitionCollectionResponse.ts index 3aeba412bbf..ea945dc7235 100644 --- a/src/models/directoryDefinitionCollectionResponse.ts +++ b/src/models/directoryDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryDefinitionCollectionResponse extends BaseCollectionPag } export function serializeDirectoryDefinitionCollectionResponse(writer: SerializationWriter, directoryDefinitionCollectionResponse: DirectoryDefinitionCollectionResponse | undefined = {} as DirectoryDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryDefinitionCollectionResponse.value, serializeDirectoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/directoryObjectCollectionResponse.ts b/src/models/directoryObjectCollectionResponse.ts index 7f034044a76..159c26074fd 100644 --- a/src/models/directoryObjectCollectionResponse.ts +++ b/src/models/directoryObjectCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryObjectCollectionResponse extends BaseCollectionPaginat } export function serializeDirectoryObjectCollectionResponse(writer: SerializationWriter, directoryObjectCollectionResponse: DirectoryObjectCollectionResponse | undefined = {} as DirectoryObjectCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryObjectCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryObjectCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryObjectCollectionResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRole.ts b/src/models/directoryRole.ts index 25b59110831..a1d9488c111 100644 --- a/src/models/directoryRole.ts +++ b/src/models/directoryRole.ts @@ -45,9 +45,9 @@ export function serializeDirectoryRole(writer: SerializationWriter, directoryRol serializeDirectoryObject(writer, directoryRole) writer.writeStringValue("description", directoryRole.description); writer.writeStringValue("displayName", directoryRole.displayName); - writer.writeCollectionOfObjectValues("members", directoryRole.members, ); + writer.writeCollectionOfObjectValues("members", directoryRole.members, serializeDirectoryObject); writer.writeStringValue("roleTemplateId", directoryRole.roleTemplateId); - writer.writeCollectionOfObjectValues("scopedMembers", directoryRole.scopedMembers, ); + writer.writeCollectionOfObjectValues("scopedMembers", directoryRole.scopedMembers, serializeScopedRoleMembership); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRoleCollectionResponse.ts b/src/models/directoryRoleCollectionResponse.ts index da886efd144..c48cc2d21ea 100644 --- a/src/models/directoryRoleCollectionResponse.ts +++ b/src/models/directoryRoleCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryRoleCollectionResponse extends BaseCollectionPaginatio } export function serializeDirectoryRoleCollectionResponse(writer: SerializationWriter, directoryRoleCollectionResponse: DirectoryRoleCollectionResponse | undefined = {} as DirectoryRoleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryRoleCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryRoleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryRoleCollectionResponse.value, serializeDirectoryRole); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRoleTemplateCollectionResponse.ts b/src/models/directoryRoleTemplateCollectionResponse.ts index ee9e4bea582..b6df631f67f 100644 --- a/src/models/directoryRoleTemplateCollectionResponse.ts +++ b/src/models/directoryRoleTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryRoleTemplateCollectionResponse extends BaseCollectionP } export function serializeDirectoryRoleTemplateCollectionResponse(writer: SerializationWriter, directoryRoleTemplateCollectionResponse: DirectoryRoleTemplateCollectionResponse | undefined = {} as DirectoryRoleTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryRoleTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryRoleTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryRoleTemplateCollectionResponse.value, serializeDirectoryRoleTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/documentSet.ts b/src/models/documentSet.ts index 8890fb9dee8..fd7d2bc1954 100644 --- a/src/models/documentSet.ts +++ b/src/models/documentSet.ts @@ -61,13 +61,13 @@ export interface DocumentSet extends AdditionalDataHolder, Parsable { welcomePageUrl?: string; } export function serializeDocumentSet(writer: SerializationWriter, documentSet: DocumentSet | undefined = {} as DocumentSet) : void { - writer.writeCollectionOfObjectValues("allowedContentTypes", documentSet.allowedContentTypes, ); - writer.writeCollectionOfObjectValues("defaultContents", documentSet.defaultContents, ); + writer.writeCollectionOfObjectValues("allowedContentTypes", documentSet.allowedContentTypes, serializeContentTypeInfo); + writer.writeCollectionOfObjectValues("defaultContents", documentSet.defaultContents, serializeDocumentSetContent); writer.writeStringValue("@odata.type", documentSet.odataType); writer.writeBooleanValue("propagateWelcomePageChanges", documentSet.propagateWelcomePageChanges); - writer.writeCollectionOfObjectValues("sharedColumns", documentSet.sharedColumns, ); + writer.writeCollectionOfObjectValues("sharedColumns", documentSet.sharedColumns, serializeColumnDefinition); writer.writeBooleanValue("shouldPrefixNameToFile", documentSet.shouldPrefixNameToFile); - writer.writeCollectionOfObjectValues("welcomePageColumns", documentSet.welcomePageColumns, ); + writer.writeCollectionOfObjectValues("welcomePageColumns", documentSet.welcomePageColumns, serializeColumnDefinition); writer.writeStringValue("welcomePageUrl", documentSet.welcomePageUrl); writer.writeAdditionalData(documentSet.additionalData); } diff --git a/src/models/documentSetContent.ts b/src/models/documentSetContent.ts index e69e10a247e..e0340fe14b1 100644 --- a/src/models/documentSetContent.ts +++ b/src/models/documentSetContent.ts @@ -39,7 +39,7 @@ export interface DocumentSetContent extends AdditionalDataHolder, Parsable { odataType?: string; } export function serializeDocumentSetContent(writer: SerializationWriter, documentSetContent: DocumentSetContent | undefined = {} as DocumentSetContent) : void { - writer.writeObjectValue("contentType", documentSetContent.contentType, ); + writer.writeObjectValue("contentType", documentSetContent.contentType, serializeContentTypeInfo); writer.writeStringValue("fileName", documentSetContent.fileName); writer.writeStringValue("folderName", documentSetContent.folderName); writer.writeStringValue("@odata.type", documentSetContent.odataType); diff --git a/src/models/documentSetVersion.ts b/src/models/documentSetVersion.ts index 1fda57ba045..aca9326751c 100644 --- a/src/models/documentSetVersion.ts +++ b/src/models/documentSetVersion.ts @@ -45,9 +45,9 @@ export interface DocumentSetVersion extends ListItemVersion, Parsable { export function serializeDocumentSetVersion(writer: SerializationWriter, documentSetVersion: DocumentSetVersion | undefined = {} as DocumentSetVersion) : void { serializeListItemVersion(writer, documentSetVersion) writer.writeStringValue("comment", documentSetVersion.comment); - writer.writeObjectValue("createdBy", documentSetVersion.createdBy, ); + writer.writeObjectValue("createdBy", documentSetVersion.createdBy, serializeIdentitySet); writer.writeDateValue("createdDateTime", documentSetVersion.createdDateTime); - writer.writeCollectionOfObjectValues("items", documentSetVersion.items, ); + writer.writeCollectionOfObjectValues("items", documentSetVersion.items, serializeDocumentSetVersionItem); writer.writeBooleanValue("shouldCaptureMinorVersion", documentSetVersion.shouldCaptureMinorVersion); } // tslint:enable diff --git a/src/models/documentSetVersionCollectionResponse.ts b/src/models/documentSetVersionCollectionResponse.ts index 5c9c471206e..7cf14af6c8f 100644 --- a/src/models/documentSetVersionCollectionResponse.ts +++ b/src/models/documentSetVersionCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DocumentSetVersionCollectionResponse extends BaseCollectionPagi } export function serializeDocumentSetVersionCollectionResponse(writer: SerializationWriter, documentSetVersionCollectionResponse: DocumentSetVersionCollectionResponse | undefined = {} as DocumentSetVersionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, documentSetVersionCollectionResponse) - writer.writeCollectionOfObjectValues("value", documentSetVersionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", documentSetVersionCollectionResponse.value, serializeDocumentSetVersion); } // tslint:enable // eslint-enable diff --git a/src/models/domain.ts b/src/models/domain.ts index 81cdfdb5ca3..02cc4128a74 100644 --- a/src/models/domain.ts +++ b/src/models/domain.ts @@ -108,8 +108,8 @@ export function serializeDomain(writer: SerializationWriter, domain: Domain | un serializeEntity(writer, domain) writer.writeStringValue("authenticationType", domain.authenticationType); writer.writeStringValue("availabilityStatus", domain.availabilityStatus); - writer.writeCollectionOfObjectValues("domainNameReferences", domain.domainNameReferences, ); - writer.writeCollectionOfObjectValues("federationConfiguration", domain.federationConfiguration, ); + writer.writeCollectionOfObjectValues("domainNameReferences", domain.domainNameReferences, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("federationConfiguration", domain.federationConfiguration, serializeInternalDomainFederation); writer.writeBooleanValue("isAdminManaged", domain.isAdminManaged); writer.writeBooleanValue("isDefault", domain.isDefault); writer.writeBooleanValue("isInitial", domain.isInitial); @@ -119,10 +119,10 @@ export function serializeDomain(writer: SerializationWriter, domain: Domain | un writer.writeStringValue("model", domain.model); writer.writeNumberValue("passwordNotificationWindowInDays", domain.passwordNotificationWindowInDays); writer.writeNumberValue("passwordValidityPeriodInDays", domain.passwordValidityPeriodInDays); - writer.writeCollectionOfObjectValues("serviceConfigurationRecords", domain.serviceConfigurationRecords, ); - writer.writeObjectValue("state", domain.state, ); + writer.writeCollectionOfObjectValues("serviceConfigurationRecords", domain.serviceConfigurationRecords, serializeDomainDnsRecord); + writer.writeObjectValue("state", domain.state, serializeDomainState); writer.writeCollectionOfPrimitiveValues("supportedServices", domain.supportedServices); - writer.writeCollectionOfObjectValues("verificationDnsRecords", domain.verificationDnsRecords, ); + writer.writeCollectionOfObjectValues("verificationDnsRecords", domain.verificationDnsRecords, serializeDomainDnsRecord); } // tslint:enable // eslint-enable diff --git a/src/models/domainCollectionResponse.ts b/src/models/domainCollectionResponse.ts index cfad3e2e187..be52411626a 100644 --- a/src/models/domainCollectionResponse.ts +++ b/src/models/domainCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DomainCollectionResponse extends BaseCollectionPaginationCountR } export function serializeDomainCollectionResponse(writer: SerializationWriter, domainCollectionResponse: DomainCollectionResponse | undefined = {} as DomainCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, domainCollectionResponse) - writer.writeCollectionOfObjectValues("value", domainCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", domainCollectionResponse.value, serializeDomain); } // tslint:enable // eslint-enable diff --git a/src/models/domainDnsRecordCollectionResponse.ts b/src/models/domainDnsRecordCollectionResponse.ts index b6ced4ae4f3..4288f95d517 100644 --- a/src/models/domainDnsRecordCollectionResponse.ts +++ b/src/models/domainDnsRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DomainDnsRecordCollectionResponse extends BaseCollectionPaginat } export function serializeDomainDnsRecordCollectionResponse(writer: SerializationWriter, domainDnsRecordCollectionResponse: DomainDnsRecordCollectionResponse | undefined = {} as DomainDnsRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, domainDnsRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", domainDnsRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", domainDnsRecordCollectionResponse.value, serializeDomainDnsRecord); } // tslint:enable // eslint-enable diff --git a/src/models/drive.ts b/src/models/drive.ts index 779fb16461e..4b733f6bbe4 100644 --- a/src/models/drive.ts +++ b/src/models/drive.ts @@ -78,17 +78,17 @@ export interface Drive extends BaseItem, Parsable { } export function serializeDrive(writer: SerializationWriter, drive: Drive | undefined = {} as Drive) : void { serializeBaseItem(writer, drive) - writer.writeCollectionOfObjectValues("bundles", drive.bundles, ); + writer.writeCollectionOfObjectValues("bundles", drive.bundles, serializeDriveItem); writer.writeStringValue("driveType", drive.driveType); - writer.writeCollectionOfObjectValues("following", drive.following, ); - writer.writeCollectionOfObjectValues("items", drive.items, ); - writer.writeObjectValue("list", drive.list, ); - writer.writeObjectValue("owner", drive.owner, ); - writer.writeObjectValue("quota", drive.quota, ); - writer.writeObjectValue("root", drive.root, ); - writer.writeObjectValue("sharePointIds", drive.sharePointIds, ); - writer.writeCollectionOfObjectValues("special", drive.special, ); - writer.writeObjectValue("system", drive.system, ); + writer.writeCollectionOfObjectValues("following", drive.following, serializeDriveItem); + writer.writeCollectionOfObjectValues("items", drive.items, serializeDriveItem); + writer.writeObjectValue("list", drive.list, serializeList); + writer.writeObjectValue("owner", drive.owner, serializeIdentitySet); + writer.writeObjectValue("quota", drive.quota, serializeQuota); + writer.writeObjectValue("root", drive.root, serializeDriveItem); + writer.writeObjectValue("sharePointIds", drive.sharePointIds, serializeSharepointIds); + writer.writeCollectionOfObjectValues("special", drive.special, serializeDriveItem); + writer.writeObjectValue("system", drive.system, serializeSystemFacet); } // tslint:enable // eslint-enable diff --git a/src/models/driveCollectionResponse.ts b/src/models/driveCollectionResponse.ts index 919af7d2827..d338d8201ab 100644 --- a/src/models/driveCollectionResponse.ts +++ b/src/models/driveCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DriveCollectionResponse extends BaseCollectionPaginationCountRe } export function serializeDriveCollectionResponse(writer: SerializationWriter, driveCollectionResponse: DriveCollectionResponse | undefined = {} as DriveCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, driveCollectionResponse) - writer.writeCollectionOfObjectValues("value", driveCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", driveCollectionResponse.value, serializeDrive); } // tslint:enable // eslint-enable diff --git a/src/models/driveItem.ts b/src/models/driveItem.ts index e5ff7859903..611c55f3f30 100644 --- a/src/models/driveItem.ts +++ b/src/models/driveItem.ts @@ -12,6 +12,7 @@ import { createFolderFromDiscriminatorValue, serializeFolder, type Folder } from import { createGeoCoordinatesFromDiscriminatorValue, serializeGeoCoordinates, type GeoCoordinates } from './geoCoordinates'; import { createImageFromDiscriminatorValue, serializeImage, type Image } from './image'; import { createItemAnalyticsFromDiscriminatorValue, serializeItemAnalytics, type ItemAnalytics } from './itemAnalytics'; +import { createItemRetentionLabelFromDiscriminatorValue, serializeItemRetentionLabel, type ItemRetentionLabel } from './itemRetentionLabel'; import { createListItemFromDiscriminatorValue, serializeListItem, type ListItem } from './listItem'; import { createMalwareFromDiscriminatorValue, serializeMalware, type Malware } from './malware'; import { createPackageEscapedFromDiscriminatorValue, serializePackageEscaped, type PackageEscaped } from './packageEscaped'; @@ -58,6 +59,7 @@ export function deserializeIntoDriveItem(driveItem: DriveItem | undefined = {} a "photo": n => { driveItem.photo = n.getObjectValue(createPhotoFromDiscriminatorValue); }, "publication": n => { driveItem.publication = n.getObjectValue(createPublicationFacetFromDiscriminatorValue); }, "remoteItem": n => { driveItem.remoteItem = n.getObjectValue(createRemoteItemFromDiscriminatorValue); }, + "retentionLabel": n => { driveItem.retentionLabel = n.getObjectValue(createItemRetentionLabelFromDiscriminatorValue); }, "root": n => { driveItem.root = n.getObjectValue(createRootFromDiscriminatorValue); }, "searchResult": n => { driveItem.searchResult = n.getObjectValue(createSearchResultFromDiscriminatorValue); }, "shared": n => { driveItem.shared = n.getObjectValue(createSharedFromDiscriminatorValue); }, @@ -94,7 +96,7 @@ export interface DriveItem extends BaseItem, Parsable { */ content?: string; /** - * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. */ cTag?: string; /** @@ -146,13 +148,17 @@ export interface DriveItem extends BaseItem, Parsable { */ photo?: Photo; /** - * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property isn't returned by default. Read-only. */ publication?: PublicationFacet; /** * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. */ remoteItem?: RemoteItem; + /** + * Information about retention label and settings enforced on the driveItem. Read-write. + */ + retentionLabel?: ItemRetentionLabel; /** * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. */ @@ -162,7 +168,7 @@ export interface DriveItem extends BaseItem, Parsable { */ searchResult?: SearchResult; /** - * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * Indicates that the item was shared with others and provides information about the shared state of the item. Read-only. */ shared?: Shared; /** @@ -182,7 +188,7 @@ export interface DriveItem extends BaseItem, Parsable { */ subscriptions?: Subscription[]; /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. */ thumbnails?: ThumbnailSet[]; /** @@ -198,44 +204,45 @@ export interface DriveItem extends BaseItem, Parsable { */ webDavUrl?: string; /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. */ workbook?: Workbook; } export function serializeDriveItem(writer: SerializationWriter, driveItem: DriveItem | undefined = {} as DriveItem) : void { serializeBaseItem(writer, driveItem) - writer.writeObjectValue("analytics", driveItem.analytics, ); - writer.writeObjectValue