UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
72 lines 4.71 kB
import { type ProfileCardProperty } 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 profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. */ export interface ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder<ProfileCardPropertyItemRequestBuilder> { /** * 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. * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * 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 {Promise<ProfileCardProperty>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): Promise<ProfileCardProperty | undefined>; /** * 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 {Promise<ProfileCardProperty>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-beta|Find more info here} */ patch(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileCardProperty | undefined>; /** * 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 {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * 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 {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * 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 {RequestInformation} */ toPatchRequestInformation(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. */ export interface ProfileCardPropertyItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const ProfileCardPropertyItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map