UNPKG

@microsoft/msgraph-beta-sdk-groups

Version:
113 lines 5.87 kB
import { type PlannerPlan } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ArchiveRequestBuilder } from './archive/index.js'; import { type BucketsRequestBuilder } from './buckets/index.js'; import { type DetailsRequestBuilder } from './details/index.js'; import { type GetUsageRightsRequestBuilder } from './getUsageRights/index.js'; import { type HistoryItemsRequestBuilder } from './historyItems/index.js'; import { type MoveToContainerRequestBuilder } from './moveToContainer/index.js'; import { type TasksRequestBuilder } from './tasks/index.js'; import { type UnarchiveRequestBuilder } from './unarchive/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.teamsChannelPlanner entity. */ export interface PlannerPlanItemRequestBuilder extends BaseRequestBuilder<PlannerPlanItemRequestBuilder> { /** * Provides operations to call the archive method. */ get archive(): ArchiveRequestBuilder; /** * 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 call the getUsageRights method. */ get getUsageRights(): GetUsageRightsRequestBuilder; /** * Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity. */ get historyItems(): HistoryItemsRequestBuilder; /** * Provides operations to call the moveToContainer method. */ get moveToContainer(): MoveToContainerRequestBuilder; /** * Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. */ get tasks(): TasksRequestBuilder; /** * Provides operations to call the unarchive method. */ get unarchive(): UnarchiveRequestBuilder; /** * Delete navigation property plans for groups * @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>; /** * A collection of plannerPlan objects owned by the Teams channel. Currently, only shared channels are supported. Read-only. Nullable. * @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 */ get(requestConfiguration?: RequestConfiguration<PlannerPlanItemRequestBuilderGetQueryParameters> | undefined): Promise<PlannerPlan | undefined>; /** * Update the navigation property plans in groups * @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 */ patch(body: PlannerPlan, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerPlan | undefined>; /** * Delete navigation property plans for groups * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A collection of plannerPlan objects owned by the Teams channel. Currently, only shared channels are supported. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerPlanItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property plans in groups * @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; } /** * A collection of plannerPlan objects owned by the Teams channel. Currently, only shared channels are supported. Read-only. Nullable. */ 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}/groups/{group%2Did}/team/primaryChannel/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