lavva.webbluetooth
Version:
Library implementing WebBluetooth custom functionality if underlying platform does support it
88 lines (87 loc) • 1.99 kB
TypeScript
export declare class DeviceStore {
GetSupportedDevicesAsync(integration: IntegrationType, lang: Language): Promise<SupportedDevice[]>;
}
export declare enum IntegrationType {
Lavva = "lavva",
Exalus = "exalus",
Wisniowski = "wisniowski"
}
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",
Uk = "uk",
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,
GarageDoorController = 14,
FencesWicketGatesAndGatesController = 15
}
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;
DeviceParameters: {
[key: string]: string;
};
PromoVideo: string | null;
Pictures: string[];
ShowAsDeviceDemo: boolean;
WhereToBuy: ExternalSite[];
ManualsAndDocuments: ExternalDocument[];
Videos: Video[];
DeviceAddingInstructions: DeviceAddingInstruction;
}
export declare class DeviceAddingInstruction {
ImageOnList: string;
Instruction: string;
}
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;
}