UNPKG

@itwin/imodels-client-management

Version:

iModels API client wrapper for applications that manage iModels.

29 lines 2.09 kB
import { OperationsBase } from "../../base/internal"; import { AuthorizationCallback, EntityListIterator, HeaderFactories } from "../../base/types"; import { ChangesetGroup } from "../../base/types/apiEntities/ChangesetGroupInterfaces"; import { IModelsClient } from "../../IModelsClient"; import { OperationOptions } from "../OperationOptions"; import { GetChangesetGroupListParams, GetSingleChangesetGroupParams } from "./ChangesetGroupOperationParams"; export declare class ChangesetGroupOperations<TOptions extends OperationOptions> extends OperationsBase<TOptions> { private _iModelsClient; constructor(options: TOptions, _iModelsClient: IModelsClient); /** * Gets Changeset Groups for a specific iModel. Wraps the * {@link https://developer.bentley.com/apis/imodels-v2/operations/get-imodel-changeset-groups/ Get iModel Changeset Groups} * operation from iModels API. * @param {GetChangesetGroupListParams} params parameters for this operation. See {@link GetChangesetGroupListParams}. * @returns {EntityListIterator<ChangesetGroup>} iterator for Changeset Group list, which internally queries entities in pages. * See {@link EntityListIterator}, {@link ChangesetGroup}. */ getList(params: GetChangesetGroupListParams): EntityListIterator<ChangesetGroup>; /** * Gets a single Changeset Group identified by id. Wraps the * {@link https://developer.bentley.com/apis/imodels-v2/operations/get-imodel-changeset-group-details/ Get iModel Changeset Group} * operation from iModels API. * @param {GetSingleChangesetGroupParams} params parameters for this operation. See {@link GetSingleChangesetGroupParams}. * @returns {Promise<ChangesetGroup>} a Changeset Group with the specified id. See {@link ChangesetGroup}. */ getSingle(params: GetSingleChangesetGroupParams): Promise<ChangesetGroup>; protected appendRelatedEntityCallbacks(authorization: AuthorizationCallback, changesetGroup: ChangesetGroup, headers?: HeaderFactories): ChangesetGroup; } //# sourceMappingURL=ChangesetGroupOperations.d.ts.map