UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
71 lines 3.67 kB
import { type AdminTodo } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the todo property of the microsoft.graph.admin entity. */ export interface TodoRequestBuilder extends BaseRequestBuilder<TodoRequestBuilder> { /** * Delete navigation property todo for admin * @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>; /** * Read the properties and relationships of a adminTodo object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminTodo>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/admintodo-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<TodoRequestBuilderGetQueryParameters> | undefined): Promise<AdminTodo | undefined>; /** * Update the properties of a adminTodo object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminTodo>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/admintodo-update?view=graph-rest-beta|Find more info here} */ patch(body: AdminTodo, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdminTodo | undefined>; /** * Delete navigation property todo for admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of a adminTodo object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TodoRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a adminTodo object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: AdminTodo, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a adminTodo object. */ export interface TodoRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const TodoRequestBuilderUriTemplate = "{+baseurl}/admin/todo{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const TodoRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map