import type { PlatformConfig } from 'homebridge'; /** * This is the name of the platform that users will use to register the plugin in the Homebridge config.json */ export declare const PLATFORM_NAME = "August"; /** * This must match the name of your plugin as defined the package.json */ export declare const PLUGIN_NAME = "homebridge-august"; export interface AugustPlatformConfig extends PlatformConfig { credentials?: credentials; options?: options | Record; } export type credentials = { apiKey?: string; pnSubKey?: string; installId: string; augustId: string; password: string; countryCode: string; validateCode?: string; isValidated?: boolean; }; export type options = { devices?: devicesConfig[]; refreshRate?: number; updateRate?: number; pushRate?: number; logging?: string; }; export type device = { LockName: string; Type: number; Created: string; Updated: string; LockId: string; HouseID: string; HouseName: string; Calibrated: boolean; timeZone: string; battery: number; batteryInfo: BatteryInfo; doorStateOpenTimeout: number; hostLockInfo: HostLockInfo; supportsEntryCodes: boolean; remoteOperateSecret: string; skuNumber: string; macAddress: string; SerialNumber: string; LockStatus: LockStatus; currentFirmwareVersion: string; homeKitEnabled: boolean; zWaveEnabled: boolean; isGalileo: boolean; Bridge: Bridge; parametersToSet: Record; users: Record; pubsubChannel: string; ruleHash: any; cameras: any[]; lockId: string; }; export type BatteryInfo = { level: number; warningState: string; infoUpdatedDate: string; lastChangeDate: string; lastChangeVoltage: number; }; export type HostLockInfo = { serialNumber: string; manufacturer: string; productID: number; productTypeID: number; }; export type LockStatus = { status: string; dateTime: string; isLockStatusChanged: boolean; valid: boolean; doorState: string; }; export type Bridge = { _id: string; mfgBridgeID: string; deviceModel: string; firmwareVersion: string; operative: boolean; status: Status; locks: Lock[]; hyperBridge: boolean; }; export type Status = { current: string; lastOffline: string; updated: string; lastOnline: string; }; export type Lock = { _id: string; LockID: string; macAddress: string; }; export interface devicesConfig extends device { configLockName?: string; lockId: string; lock?: lock; overrideHomeKitEnabled: boolean; hide_device?: boolean; external?: boolean; logging?: string; refreshRate?: number; updateRate?: number; pushRate?: number; firmware?: string; } export type lock = { hide_lock?: boolean; hide_contactsensor?: boolean; }; export type lockDetails = { lockName: string; battery: number; LockStatus: lockStatus; currentFirmwareVersion: string; }; export type lockStatus = { lockId: string; status: string; doorState: string; state: state; }; export type state = { unlocked: boolean; locked: boolean; open: boolean; closed: boolean; }; export type lockEvent = { remoteEvent?: boolean; status: string; info?: info; callingUserID?: string; doorState: string; state: stateEvent; lockID: string; lockId: string; }; export type stateEvent = { locked: boolean; unlocked: boolean; open?: boolean; closed?: boolean; }; export type info = { action: string; startTime: Date; context: { transactionID: string; startDate: Date; retryCount: number; }; lockType: string; serialNumber: string; rssi: number; wlanRSSI: number; wlanSNR: number; duration: number; lockID: string; bridgeID: string; }; //# sourceMappingURL=settings.d.ts.map