UNPKG

lavva.webbluetooth

Version:

Library implementing WebBluetooth custom functionality if underlying platform does support it

76 lines (75 loc) 1.65 kB
export declare class DeviceStore { GetSupportedDevicesAsync(integration: IntegrationType, lang: Language): Promise<SupportedDevice[]>; } export declare enum IntegrationType { Lavva = "lavva", Exalus = "exalus" } export declare enum Language { En = "en", De = "de", Pl = "pl", It = "it", Es = "es", Fr = "fr", Ro = "ro", Hu = "hu", Lt = "lt", No = "no", Fi = "fi", Sv = "sv", Nl = "nl", Pt = "pt", Cz = "cz", Unknown = "en" } export declare enum ProductType { Unknown = 0, Remote = 1, BlindController = 2, LightController = 3, HeatingController = 4, FacadeBlindController = 5, GateController = 6, DoorController = 7, GatewayController = 8, Sensor = 9, SwitchController = 10, Meters = 11, Cameras = 12, Intercoms = 13 } export declare class SupportedDevice { ModelGuid: string; RequiresController: boolean; ModelName: string; ManufacturerGuid: string; ManufacturerName: string; DeviceProtocolGuid: string; DeviceProtocolName: string; ProductGroups: string[]; ProductTypes: ProductType[]; Name: string; Description: string; PromoVideo: string | null; Pictures: string[]; ShowAsDeviceDemo: boolean; WhereToBuy: ExternalSite[]; ManualsAndDocuments: ExternalDocument[]; Videos: Video[]; } export declare class ExternalSite { Id: string; Name: string; Link: string; } export declare class Video { Id: string; Title: string; Link: string; } export declare class ExternalDocument { Id: string; Title: string; Link: string; }