UNPKG

@itwin/property-validation-client

Version:
66 lines 2.17 kB
import type { Dictionary } from "../base/interfaces/UtilityTypes"; import type { ParamsToGetTemplateListUrl } from "./template/TemplateOperationParams"; import type { ParamsToGetTestListUrl } from "./test/TestOperationParams"; import type { ParamsToGetRuleListUrl } from "./rule/RuleOperationParams"; import type { ParamsToGetRunListUrl } from "./run/RunOperationParams"; import type { ParamsToGetPropertiesInfoUrl } from "./schema/SchemaOperationParams"; declare type UrlParameterValue = string | number; export declare class PropertyValidationApiUrlFormatter { protected readonly baseUrl: string; constructor(baseUrl: string); getSingleRuleUrl(params: { ruleId: string; }): string; getRuleListUrl(params: { urlParams?: ParamsToGetRuleListUrl; }): string; createRuleUrl(): string; updateRuleUrl(params: { ruleId: string; }): string; deleteRuleUrl(params: { ruleId: string; }): string; getTemplateListUrl(params: { urlParams?: ParamsToGetTemplateListUrl; }): string; getSingleTestUrl(params: { testId: string; }): string; getTestListUrl(params: { urlParams?: ParamsToGetTestListUrl; }): string; createTestUrl(): string; updateTestUrl(params: { testId: string; }): string; deleteTestUrl(params: { testId: string; }): string; getSingleRunUrl(params: { runId: string; }): string; getRunListUrl(params: { urlParams?: ParamsToGetRunListUrl; }): string; runTestUrl(): string; deleteRunUrl(params: { runId: string; }): string; getResultUrl(params: { resultId: string; }): string; getPropertiesInfoUrl(params: { iModelId: string; urlParams?: ParamsToGetPropertiesInfoUrl; }): string; extractSchemaInfoUrl(params: { iModelId: string; }): string; protected formQueryString(urlParameters: Dictionary<UrlParameterValue> | undefined): string; private shouldAppendToUrl; private appendToQueryString; private stringify; } export {}; //# sourceMappingURL=PropertyValidationApiUrlFormatter.d.ts.map