UNPKG

@microsoft/msgraph-sdk-teamwork

Version:
79 lines 4.25 kB
import { type DeletedChat } from '@microsoft/msgraph-sdk/models/index.js'; import { type UndoDeleteRequestBuilder } from './undoDelete/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity. */ export interface DeletedChatItemRequestBuilder extends BaseRequestBuilder<DeletedChatItemRequestBuilder> { /** * Provides operations to call the undoDelete method. */ get undoDelete(): UndoDeleteRequestBuilder; /** * Delete navigation property deletedChats for teamwork * @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 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a deletedChat object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeletedChat>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<DeletedChatItemRequestBuilderGetQueryParameters> | undefined): Promise<DeletedChat | undefined>; /** * Update the navigation property deletedChats in teamwork * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeletedChat>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeletedChat, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeletedChat | undefined>; /** * Delete navigation property deletedChats for teamwork * @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 deletedChat object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeletedChatItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property deletedChats in teamwork * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DeletedChat, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a deletedChat object. */ export interface DeletedChatItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeletedChatItemRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedChats/{deletedChat%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DeletedChatItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeletedChatItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DeletedChatItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map