UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
93 lines 5.1 kB
import { type SectionGroup } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ParentNotebookRequestBuilder } from './parentNotebook/index.js'; import { type ParentSectionGroupRequestBuilder } from './parentSectionGroup/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 sectionGroups property of the microsoft.graph.onenote entity. */ export interface SectionGroupItemRequestBuilder extends BaseRequestBuilder<SectionGroupItemRequestBuilder> { /** * Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. */ get parentNotebook(): ParentNotebookRequestBuilder; /** * Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. */ get parentSectionGroup(): ParentSectionGroupRequestBuilder; /** * Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. */ get sectionGroups(): SectionGroupsRequestBuilder; /** * Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. */ get sections(): SectionsRequestBuilder; /** * Delete navigation property sectionGroups 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>; /** * The section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SectionGroup>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SectionGroupItemRequestBuilderGetQueryParameters> | undefined): Promise<SectionGroup | undefined>; /** * Update the navigation property sectionGroups in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SectionGroup>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: SectionGroup, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SectionGroup | undefined>; /** * Delete navigation property sectionGroups for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SectionGroupItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property sectionGroups 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: SectionGroup, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. */ export interface SectionGroupItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SectionGroupItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote/sectionGroups/{sectionGroup%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SectionGroupItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SectionGroupItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SectionGroupItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map