UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
72 lines 4.11 kB
import { type PhotoUpdateSettings } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity. */ export interface PhotoUpdateSettingsRequestBuilder extends BaseRequestBuilder<PhotoUpdateSettingsRequestBuilder> { /** * Delete a photoUpdateSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-delete-photoupdatesettings?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a photoUpdateSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PhotoUpdateSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined): Promise<PhotoUpdateSettings | undefined>; /** * Update the properties of a photoUpdateSettings object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PhotoUpdateSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-update?view=graph-rest-beta|Find more info here} */ patch(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhotoUpdateSettings | undefined>; /** * Delete a photoUpdateSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of a photoUpdateSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a photoUpdateSettings object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a photoUpdateSettings object. */ export interface PhotoUpdateSettingsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PhotoUpdateSettingsRequestBuilderUriTemplate = "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const PhotoUpdateSettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map