import * as fromRoot from '../+shared'; import * as fromModel from './model'; import { Client } from '../Client'; export declare class SensorMappingApi { private readonly client; private requestMappingUrl; constructor(client: Client); /** * Used to create SensorMapping * @requires hasAnyAuthority('DEVICE_TEMPLATE_WRITE', 'DEVICE_TEMPLATE_READ') * and hasAnyAuthority('SEMANTIC_TEMPLATE_WRITE', 'SEMANTIC_TEMPLATE_READ') */ create(mappingId: number, data: fromModel.SensorMappingDto): Promise>; /** * Used to delete Sensor * @requires hasAnyAuthority('DEVICE_TEMPLATE_WRITE', 'DEVICE_TEMPLATE_READ') * and hasAnyAuthority('SEMANTIC_TEMPLATE_WRITE', 'SEMANTIC_TEMPLATE_READ') */ remove(mappingId: number, sensorId: number): Promise; /** * Used to update Sensor * @requires hasAnyAuthority('DEVICE_TEMPLATE_WRITE', 'DEVICE_TEMPLATE_READ') * and hasAnyAuthority('SEMANTIC_TEMPLATE_WRITE', 'SEMANTIC_TEMPLATE_READ') */ update(mappingId: number, sensorId: number, data: fromModel.SensorMappingDto): Promise; /** * Used to get list of Sensors * @requires hasAnyAuthority('DEVICE_TEMPLATE_WRITE', 'DEVICE_TEMPLATE_READ') * and hasAnyAuthority('SEMANTIC_TEMPLATE_WRITE', 'SEMANTIC_TEMPLATE_READ') */ getList(mappingId: number, params: any): Promise>; } //# sourceMappingURL=SensorMapping.d.ts.map