UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
103 lines 5.06 kB
import { type Onenote } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type NotebooksRequestBuilder } from './notebooks/index.js'; import { type OperationsRequestBuilder } from './operations/index.js'; import { type PagesRequestBuilder } from './pages/index.js'; import { type ResourcesRequestBuilder } from './resources/index.js'; import { type SectionGroupsRequestBuilder } from './sectionGroups/index.js'; import { type SectionsRequestBuilder } from './sections/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the onenote property of the microsoft.graph.user entity. */ export interface OnenoteRequestBuilder extends BaseRequestBuilder<OnenoteRequestBuilder> { /** * Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. */ get notebooks(): NotebooksRequestBuilder; /** * Provides operations to manage the operations property of the microsoft.graph.onenote entity. */ get operations(): OperationsRequestBuilder; /** * Provides operations to manage the pages property of the microsoft.graph.onenote entity. */ get pages(): PagesRequestBuilder; /** * Provides operations to manage the resources property of the microsoft.graph.onenote entity. */ get resources(): ResourcesRequestBuilder; /** * Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. */ get sectionGroups(): SectionGroupsRequestBuilder; /** * Provides operations to manage the sections property of the microsoft.graph.onenote entity. */ get sections(): SectionsRequestBuilder; /** * Delete navigation property onenote 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>; /** * Get onenote from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Onenote>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<OnenoteRequestBuilderGetQueryParameters> | undefined): Promise<Onenote | undefined>; /** * Update the navigation property onenote in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Onenote>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Onenote, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Onenote | undefined>; /** * Delete navigation property onenote for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get onenote from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OnenoteRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property onenote 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: Onenote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get onenote from users */ export interface OnenoteRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const OnenoteRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const OnenoteRequestBuilderNavigationMetadata: Record<Exclude<keyof OnenoteRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const OnenoteRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map