UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
71 lines 3.94 kB
import { type ProfileSource } 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 profileSources property of the microsoft.graph.peopleAdminSettings entity. */ export interface ProfileSourceItemRequestBuilder extends BaseRequestBuilder<ProfileSourceItemRequestBuilder> { /** * Delete a profileSource 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/profilesource-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * A collection of profile source settings configured by an administrator in an organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ProfileSource>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ProfileSourceItemRequestBuilderGetQueryParameters> | undefined): Promise<ProfileSource | undefined>; /** * Update the properties of a profileSource object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ProfileSource>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilesource-update?view=graph-rest-beta|Find more info here} */ patch(body: ProfileSource, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileSource | undefined>; /** * Delete a profileSource object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A collection of profile source settings configured by an administrator in an organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileSourceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a profileSource object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ProfileSource, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A collection of profile source settings configured by an administrator in an organization. */ export interface ProfileSourceItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ProfileSourceItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const ProfileSourceItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map