import { type WorkHoursAndLocationsSetting } from '@microsoft/msgraph-sdk/models/index.js'; import { type OccurrencesRequestBuilder } from './occurrences/index.js'; import { type OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder } from './occurrencesViewWithStartDateTimeWithEndDateTime/index.js'; import { type RecurrencesRequestBuilder } from './recurrences/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. */ export interface WorkHoursAndLocationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. */ get occurrences(): OccurrencesRequestBuilder; /** * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. */ get recurrences(): RecurrencesRequestBuilder; /** * The user's settings for work hours and location preferences for scheduling and availability management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Provides operations to call the occurrencesView method. * @param endDateTime Usage: endDateTime='{endDateTime}' * @param startDateTime Usage: startDateTime='{startDateTime}' * @returns {OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder} */ occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime: string | undefined, startDateTime: string | undefined): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder; /** * Update the navigation property workHoursAndLocations in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: WorkHoursAndLocationsSetting, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * The user's settings for work hours and location preferences for scheduling and availability management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the navigation property workHoursAndLocations in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: WorkHoursAndLocationsSetting, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * The user's settings for work hours and location preferences for scheduling and availability management. */ export interface WorkHoursAndLocationsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WorkHoursAndLocationsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WorkHoursAndLocationsRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WorkHoursAndLocationsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map