@microsoft/msgraph-beta-sdk-termstore
Version:
TermStore fluent API for Microsoft Graph
80 lines • 4.29 kB
TypeScript
import { type Group } from '@microsoft/msgraph-beta-sdk/models/termStore/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 groups property of the microsoft.graph.termStore.store entity.
*/
export interface GroupItemRequestBuilder extends BaseRequestBuilder<GroupItemRequestBuilder> {
/**
* Provides operations to manage the sets property of the microsoft.graph.termStore.group entity.
*/
get sets(): SetsRequestBuilder;
/**
* Delete a group object in a term [store].
* @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
* @see {@link https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a term store group object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Group>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<GroupItemRequestBuilderGetQueryParameters> | undefined): Promise<Group | undefined>;
/**
* Update the navigation property groups in termStore
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Group>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Group, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Group | undefined>;
/**
* Delete a group object in a term [store].
* @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 term store group object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GroupItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property groups in termStore
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Group, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a term store group object.
*/
export interface GroupItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const GroupItemRequestBuilderUriTemplate = "{+baseurl}/termStore/groups/{group%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const GroupItemRequestBuilderNavigationMetadata: Record<Exclude<keyof GroupItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const GroupItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map