@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
108 lines • 5.46 kB
TypeScript
import { type PlannerUser } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AllRequestBuilder } from './all/index.js';
import { type FavoritePlansRequestBuilder } from './favoritePlans/index.js';
import { type MyDayTasksRequestBuilder } from './myDayTasks/index.js';
import { type PlansRequestBuilder } from './plans/index.js';
import { type RecentPlansRequestBuilder } from './recentPlans/index.js';
import { type RosterPlansRequestBuilder } from './rosterPlans/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 property of the microsoft.graph.user entity.
*/
export interface PlannerRequestBuilder extends BaseRequestBuilder<PlannerRequestBuilder> {
/**
* Provides operations to manage the all property of the microsoft.graph.plannerUser entity.
*/
get all(): AllRequestBuilder;
/**
* Provides operations to manage the favoritePlans property of the microsoft.graph.plannerUser entity.
*/
get favoritePlans(): FavoritePlansRequestBuilder;
/**
* Provides operations to manage the myDayTasks property of the microsoft.graph.plannerUser entity.
*/
get myDayTasks(): MyDayTasksRequestBuilder;
/**
* Provides operations to manage the plans property of the microsoft.graph.plannerUser entity.
*/
get plans(): PlansRequestBuilder;
/**
* Provides operations to manage the recentPlans property of the microsoft.graph.plannerUser entity.
*/
get recentPlans(): RecentPlansRequestBuilder;
/**
* Provides operations to manage the rosterPlans property of the microsoft.graph.plannerUser entity.
*/
get rosterPlans(): RosterPlansRequestBuilder;
/**
* Provides operations to manage the tasks property of the microsoft.graph.plannerUser entity.
*/
get tasks(): TasksRequestBuilder;
/**
* Delete navigation property planner for users
* @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>;
/**
* Selective Planner services available to the user. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerUser>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): Promise<PlannerUser | undefined>;
/**
* Update the navigation property planner in users
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerUser>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: PlannerUser, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerUser | undefined>;
/**
* Delete navigation property planner for users
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Selective Planner services available to the user. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property planner in users
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PlannerUser, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Selective Planner services available to the user. Read-only. Nullable.
*/
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}/users/{user%2Did}/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