UNPKG

lavva.exalushome.extalife

Version:

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

36 lines (35 loc) 2.43 kB
import { IDIService } from 'lavva.exalushome/build/js/IDIService'; import { IDeviceConfigService } from 'lavva.exalushome/build/js/Services/Devices/IDeviceConfigService'; import { IDevice } from 'lavva.exalushome/build/js/Services/Devices/IDevice'; /** * @type Class */ export declare class ExtaLifeService implements IDIService { static readonly ServiceName: string; static readonly ExtaLifeExtensionGuid: string; static readonly ExtaLifeProtocolGuid: string; static readonly ExtaLifeRadioModuleDeviceGuid: string; private _services; private _servicesToDeviceMap; static Init(): void; GetServiceName(): string; GetDeviceServiceByServiceTypeAsync<T extends IDeviceConfigService>(classType: string): Promise<T>; GetDeviceServiceAsync<T extends IDeviceConfigService>(device: IDevice, classType: string): Promise<T>; GetAllDeviceServicesAsync(device: IDevice): Promise<IDeviceConfigService[]>; IsDeviceServiceSupportedAsync<T extends IDeviceConfigService>(device: IDevice, classType: string): Promise<boolean>; protected static RegisterUpdateProvidersAsync(): Promise<void>; private getServiceAsync; } /** * Represents synchronization time in minuites */ export type SynchronizationTime = 60 | 70 | 80 | 90 | 100 | 110 | 120 | 130 | 140 | 150 | 160 | 170 | 180 | 190 | 200 | 210 | 220 | 230 | 240 | 250 | 260 | 270 | 280 | 290 | 300 | 310 | 320 | 330 | 340 | 350 | 360 | 370 | 380 | 390 | 400 | 410 | 420 | 430 | 440 | 450 | 460 | 470 | 480 | 490 | 500 | 510 | 520 | 530 | 540 | 550 | 560 | 570 | 580 | 590 | 600 | 610 | 620 | 630 | 640 | 650 | 660 | 670 | 680 | 690 | 700 | 710 | 720 | 730 | 740 | 750 | 760 | 770 | 780 | 790 | 800 | 810 | 820 | 830 | 840 | 850 | 860 | 870 | 880 | 890 | 900 | 910 | 920 | 930 | 940 | 950 | 960 | 970 | 980 | 990 | 1000 | 1010 | 1020 | 1030 | 1040 | 1050 | 1060 | 1070 | 1080 | 1090 | 1100 | 1110 | 1120 | 1130 | 1140 | 1150 | 1160 | 1170 | 1180 | 1190 | 1200 | 1210 | 1220 | 1230 | 1240 | 1250 | 1260 | 1270 | 1280 | 1290 | 1300 | 1310 | 1320 | 1330 | 1340 | 1350 | 1360 | 1370 | 1380 | 1390 | 1400 | 1410 | 1420 | 1430 | 1440; export declare enum GetParamsErrorCode { Success = "Success", ResourceIsNotAvailable = "ResourceIsNotAvailable", UnknownError = "UnknownError", OtherError = "OtherError", InvalidChannelNumber = "InvalidChannelNumber", DeviceNotResponding = "DeviceNotResponding", NoData = "NoData" }