UNPKG

lavva.exalushome.extalife

Version:

Library implementing communication and abstraction layers for ExtaLife API in ExalusHome system

27 lines (26 loc) 1.99 kB
import { ResponseResult, FieldChangeResultType } from "lavva.exalushome/build/js/Services/FieldChangeResult"; import { IDeviceChannel } from "../../../../../exalushome-library/build/js/Services/Devices/IDeviceChannel"; import { GetParamsErrorCode } from "../../../ExtaLife"; import { ISbrConfigService, SbrAutoCloseTime, SbrServiceInfo } from "./ISbrConfigService"; export declare class SbrConfigService implements ISbrConfigService { static readonly ServiceName: string; private _connection; private _logger; private _controllerConfigurationService; constructor(); GetServiceName(): string; SetAutoCloseTimeAsync(deviceChannel: IDeviceChannel, timeInMiliseconds: number, resetOnCrossToOn: boolean): Promise<ResponseResult<FieldChangeResultType>>; GetAutoCloseTimeAsync(deviceChannel: IDeviceChannel): Promise<ResponseResult<GetParamsErrorCode> | SbrAutoCloseTime>; SetAlarmLightDelayAsync(deviceChannel: IDeviceChannel, lightDelayInMiliseconds: number): Promise<ResponseResult<FieldChangeResultType>>; GetAlarmLightDelayAsync(deviceChannel: IDeviceChannel): Promise<number | ResponseResult<GetParamsErrorCode>>; SetAlarmLightDurationAsync(deviceChannel: IDeviceChannel, lightDurationInMiliseconds: number): Promise<ResponseResult<FieldChangeResultType>>; GetAlarmLightDurationAsync(deviceChannel: IDeviceChannel): Promise<number | ResponseResult<GetParamsErrorCode>>; GetServiceInfoAsync(deviceChannel: IDeviceChannel): Promise<ResponseResult<GetParamsErrorCode> | SbrServiceInfo>; IsPinSecureSupportedAsync(deviceChannel: IDeviceChannel): Promise<boolean>; SetPinSecureAsync(deviceChannel: IDeviceChannel, pinSecureEnabled: boolean, pinCode?: string): Promise<ResponseResult<FieldChangeResultType>>; GetPinSecureStatusAsync(deviceChannel: IDeviceChannel): Promise<boolean | ResponseResult<GetParamsErrorCode>>; private CreatePinHashAsync; private getRandomBytes; private sha256; private bytesToBase64; }