import { Client } from '../Client'; import * as fromModels from './model'; import * as fromRoot from '../+shared'; import { SensorMappingApi } from './SensorMapping'; import { ActuatorMappingApi } from './ActuatorMapping'; import { AlarmMappingApi } from './AlarmMapping'; import { AttributeMappingApi } from './AttributeMapping'; export declare class MappingsApi { private readonly client; actuator: ActuatorMappingApi; alarm: AlarmMappingApi; attribute: AttributeMappingApi; sensor: SensorMappingApi; private requestMappingUrl; constructor(client: Client); /** * Use to create new Mapping * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ create(newMapping: fromModels.Mapping): Promise>; /** * Use to get paged list of Mapping * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ listPaged(params?: fromModels.MappingsQueryParams): Promise>; /** * Use to get list of Mapping * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ list(params?: fromModels.MappingsQueryParams): Promise>; /** * Use to get Mapping by ID * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ getById(id: number): Promise>; /** * Use to get Mapping by ID * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ remove(id: number): Promise>; /** * Use to get Job by ID * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ update(id: number, updatedMapping: fromModels.Mapping): Promise>; /** * Use to delete Mapping(s) * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ removeBulk(mappingIds: number[]): Promise>; /** * Use to create a new Mapping, by copying an existing mapping * @requires SEMANTIC_TEMPLATE_READ & DEVICE_TEMPLATE_READ access permission */ duplicate(existingId: number, newName: string): Promise>; exportJobs(data: any): Promise>; getMappingExportJob(id: number): Promise>; readArtifacts(id: number): Promise>; } //# sourceMappingURL=MappingsApi.d.ts.map