UNPKG

@microsoft/msgraph-sdk-planner

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