UNPKG

@microsoft/msgraph-sdk-planner

Version:
96 lines 5.35 kB
import { type PlannerTask } from '@microsoft/msgraph-sdk/models/index.js'; import { type AssignedToTaskBoardFormatRequestBuilder } from './assignedToTaskBoardFormat/index.js'; import { type BucketTaskBoardFormatRequestBuilder } from './bucketTaskBoardFormat/index.js'; import { type DetailsRequestBuilder } from './details/index.js'; import { type ProgressTaskBoardFormatRequestBuilder } from './progressTaskBoardFormat/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the tasks property of the microsoft.graph.planner entity. */ export interface PlannerTaskItemRequestBuilder extends BaseRequestBuilder<PlannerTaskItemRequestBuilder> { /** * Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. */ get assignedToTaskBoardFormat(): AssignedToTaskBoardFormatRequestBuilder; /** * Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. */ get bucketTaskBoardFormat(): BucketTaskBoardFormatRequestBuilder; /** * Provides operations to manage the details property of the microsoft.graph.plannerTask entity. */ get details(): DetailsRequestBuilder; /** * Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. */ get progressTaskBoardFormat(): ProgressTaskBoardFormatRequestBuilder; /** * Delete a plannerTask 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/plannertask-delete?view=graph-rest-1.0|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve the properties and relationships of plannerTask object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PlannerTask>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/plannertask-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<PlannerTaskItemRequestBuilderGetQueryParameters> | undefined): Promise<PlannerTask | undefined>; /** * Update the properties of plannerTask object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PlannerTask>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/plannertask-update?view=graph-rest-1.0|Find more info here} */ patch(body: PlannerTask, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerTask | undefined>; /** * Delete a plannerTask object. * @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 and relationships of plannerTask object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerTaskItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of plannerTask object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: PlannerTask, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of plannerTask object. */ export interface PlannerTaskItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PlannerTaskItemRequestBuilderUriTemplate = "{+baseurl}/planner/tasks/{plannerTask%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const PlannerTaskItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PlannerTaskItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const PlannerTaskItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map