import { OperationsBase } from "../../base/OperationsBase"; import type { MinimalRule, Rule, RuleDetails } from "../../base/interfaces/apiEntities/RuleInterfaces"; import type { EntityListIterator } from "../../base/iterators/EntityListIterator"; import type { OperationOptions } from "../OperationOptions"; import type { ParamsToCreateRule, ParamsToDeleteRule, ParamsToGetRule, ParamsToGetRuleList, ParamsToUpdateRule } from "./RuleOperationParams"; export declare class RuleOperations extends OperationsBase { constructor(options: TOptions); /** * Gets Rules for a specific project. This method returns Rules in their minimal representation. The * returned iterator internally queries entities in pages. Wraps the * {@link https://developer.bentley.com/apis/validation/operations/get-validation-propertyvalue-rules/ Get Rules} * operation from Property Validation API. * @param {ParamsToGetRuleList} params parameters for this operation. See {@link ParamsToGetRuleList}. * @returns {EntityListIterator} iterator for Rule list. See {@link EntityListIterator}, * {@link MinimalRule}. */ getMinimalList(params: ParamsToGetRuleList): EntityListIterator; /** * Gets Rules for a specific project. This method returns Rules in their full representation. The returned * iterator internally queries entities in pages. Wraps the * {@link https://developer.bentley.com/apis/validation/operations/get-validation-propertyvalue-rules/ Get Rules} * operation from Property Validation API. * @param {ParamsToGetRuleList} params parameters for this operation. See {@link ParamsToGetRuleList}. * @returns {EntityListIterator} iterator for Rule list. See {@link EntityListIterator}, * {@link RuleDetails}. */ getRepresentationList(params: ParamsToGetRuleList): EntityListIterator; /** * Gets a single Rule identified by id. This method returns a Rule in its full representation. * Wraps the {@link https://developer.bentley.com/apis/validation/operations/get-validation-propertyvalue-rule/ * Get Rule} operation from Property Validation API. * @param {ParamsToGetRule} params parameters for this operation. See {@link ParamsToGetRule}. * @returns {Promise} a Rule with specified id. See {@link RuleDetails}. */ getSingle(params: ParamsToGetRule): Promise; /** * Deletes a single Rule identified by id. * Wraps the {@link https://developer.bentley.com/apis/validation/operations/delete-validation-propertyvalue-rule/ * Delete Rule} operation from Property Validation API. * @param {ParamsToDeleteRule} params parameters for this operation. See {@link ParamsToDeleteRule}. * @returns {Promise}. */ delete(params: ParamsToDeleteRule): Promise; /** * Creates a Rule. Wraps the {@link https://developer.bentley.com/apis/validation/operations/create-validation-propertyvalue-rule/ * Create Rule} operation from Property Validation API. * @param {ParamsToCreateRule} params parameters for this operation. See {@link ParamsToCreateRule}. * @returns {Promise} newly created Rule. See {@link Rule}. */ create(params: ParamsToCreateRule): Promise; /** * Updates a Rule. Wraps the {@link https://developer.bentley.com/apis/validation/operations/update-validation-propertyvalue-rule/ * Update Rule} operation from Property Validation API. * @param {ParamsToUpdateRule} params parameters for this operation. See {@link ParamsToUpdateRule}. * @returns {Promise} newly updated Rule. See {@link Rule}. */ update(params: ParamsToUpdateRule): Promise; } //# sourceMappingURL=RuleOperations.d.ts.map