UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
72 lines 4.63 kB
import { type PendingExternalUserProfile } 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 pendingExternalUserProfiles property of the microsoft.graph.directory entity. */ export interface PendingExternalUserProfileItemRequestBuilder extends BaseRequestBuilder<PendingExternalUserProfileItemRequestBuilder> { /** * Delete a pendingExternalUserProfile object. Note: To permanently delete the pendingExternalUserProfile, follow permanently delete an item. To restore a pendingExternalUserProfile, follow restore a deleted item. * @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/directory-delete-pendingexternaluserprofiles?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve the properties of a specific pendingExternalUserProfile. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PendingExternalUserProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/pendingexternaluserprofile-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<PendingExternalUserProfileItemRequestBuilderGetQueryParameters> | undefined): Promise<PendingExternalUserProfile | undefined>; /** * Update the properties of a pendingExternalUserProfile object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PendingExternalUserProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/pendingexternaluserprofile-update?view=graph-rest-beta|Find more info here} */ patch(body: PendingExternalUserProfile, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PendingExternalUserProfile | undefined>; /** * Delete a pendingExternalUserProfile object. Note: To permanently delete the pendingExternalUserProfile, follow permanently delete an item. To restore a pendingExternalUserProfile, follow restore a deleted item. * @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 specific pendingExternalUserProfile. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PendingExternalUserProfileItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a pendingExternalUserProfile object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: PendingExternalUserProfile, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties of a specific pendingExternalUserProfile. */ export interface PendingExternalUserProfileItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PendingExternalUserProfileItemRequestBuilderUriTemplate = "{+baseurl}/directory/pendingExternalUserProfiles/{pendingExternalUserProfile%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const PendingExternalUserProfileItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map