UNPKG

eufy-security-ws

Version:

Node WebSocket server implementation to integrate Eufy Security devices

76 lines 2.02 kB
import { CommandName } from "eufy-security-client"; import { StationCommand } from "./command.js"; export interface StationResultTypes { [StationCommand.reboot]: { async?: boolean; }; [StationCommand.setGuardMode]: { async?: boolean; }; [StationCommand.isConnected]: { serialNumber?: string; connected: boolean; }; [StationCommand.connect]: Record<string, never>; [StationCommand.disconnect]: Record<string, never>; [StationCommand.getPropertiesMetadata]: { serialNumber?: string; properties: Record<string, unknown>; }; [StationCommand.getProperties]: { serialNumber?: string; properties: Record<string, unknown>; }; [StationCommand.getCameraInfo]: { async?: boolean; }; [StationCommand.getStorageInfo]: { async?: boolean; }; [StationCommand.setProperty]: { async?: boolean; }; [StationCommand.triggerAlarm]: { async?: boolean; }; [StationCommand.resetAlarm]: { async?: boolean; }; [StationCommand.hasProperty]: { serialNumber?: string; exists: boolean; }; [StationCommand.hasCommand]: { serialNumber?: string; exists: boolean; }; [StationCommand.getCommands]: { serialNumber?: string; commands: Array<CommandName>; }; [StationCommand.chime]: { async?: boolean; }; [StationCommand.downloadImage]: { async?: boolean; }; [StationCommand.databaseQueryLatestInfo]: { async?: boolean; }; [StationCommand.databaseQueryLocal]: { async?: boolean; }; [StationCommand.databaseQueryByDate]: { async?: boolean; }; [StationCommand.databaseCountByDate]: { async?: boolean; }; [StationCommand.databaseDelete]: { async?: boolean; }; [StationCommand.isConnectedLegacy]: { connected: boolean; }; } //# sourceMappingURL=outgoing_message.d.ts.map