UNPKG

@microsoft/msgraph-sdk-planner

Version:
76 lines 3.45 kB
import { type Planner } from '@microsoft/msgraph-sdk/models/index.js'; import { type BucketsRequestBuilder } from './buckets/index.js'; import { type PlansRequestBuilder } from './plans/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 planner singleton. */ export interface PlannerRequestBuilder extends BaseRequestBuilder<PlannerRequestBuilder> { /** * Provides operations to manage the buckets property of the microsoft.graph.planner entity. */ get buckets(): BucketsRequestBuilder; /** * Provides operations to manage the plans property of the microsoft.graph.planner entity. */ get plans(): PlansRequestBuilder; /** * Provides operations to manage the tasks property of the microsoft.graph.planner entity. */ get tasks(): TasksRequestBuilder; /** * Get planner * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Planner>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): Promise<Planner | undefined>; /** * Update planner * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Planner>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Planner, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Planner | undefined>; /** * Get planner * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update planner * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Planner, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get planner */ export interface PlannerRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PlannerRequestBuilderUriTemplate = "{+baseurl}/planner{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const PlannerRequestBuilderNavigationMetadata: Record<Exclude<keyof PlannerRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const PlannerRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map