UNPKG

@microsoft/msgraph-beta-sdk-termstore

Version:
73 lines 3.69 kB
import { type Store } from '@microsoft/msgraph-beta-sdk/models/termStore/index.js'; import { type GroupsRequestBuilder } from './groups/index.js'; import { type SetsRequestBuilder } from './sets/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the store singleton. */ export interface TermStoreRequestBuilder extends BaseRequestBuilder<TermStoreRequestBuilder> { /** * Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. */ get groups(): GroupsRequestBuilder; /** * Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. */ get sets(): SetsRequestBuilder; /** * Read the properties and relationships of a store object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Store>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<TermStoreRequestBuilderGetQueryParameters> | undefined): Promise<Store | undefined>; /** * Update the properties of a store object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Store>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-beta|Find more info here} */ patch(body: Store, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Store | undefined>; /** * Read the properties and relationships of a store object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TermStoreRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a store object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Store, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a store object. */ export interface TermStoreRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const TermStoreRequestBuilderUriTemplate = "{+baseurl}/termStore{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const TermStoreRequestBuilderNavigationMetadata: Record<Exclude<keyof TermStoreRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const TermStoreRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map