UNPKG

@dodi-smart/nuki-graphql-api

Version:
94 lines 3.15 kB
export type Smartlock_AdvancedConfig = { /** * Timeout in seconds for lock ‘n’ go */ lngTimeout?: Smartlock_AdvancedConfig.lngTimeout; /** * The desired action, if the button is pressed once: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status */ singleButtonPressAction?: number; /** * The desired action, if the button is pressed twice: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status */ doubleButtonPressAction?: number; /** * Flag that indicates if the automatic detection of the battery type is enabled */ automaticBatteryTypeDetection?: boolean; /** * Duration in seconds for holding the latch in unlatched position */ unlatchDuration?: Smartlock_AdvancedConfig.unlatchDuration; /** * The operation id - if set it's locked for another operation */ readonly operationId?: string; /** * The absolute total position in degrees that has been reached during calibration */ readonly totalDegrees: number; /** * Offset that alters the single locked position */ singleLockedPositionOffsetDegrees: number; /** * Offset that alters the position where transition from unlocked to locked happens */ unlockedToLockedTransitionOffsetDegrees?: number; /** * Offset that alters the unlocked position */ unlockedPositionOffsetDegrees: number; /** * Offset that alters the locked position */ lockedPositionOffsetDegrees: number; /** * Flag that indicates that the inner side of the used cylinder is detached from the outer side */ detachedCylinder?: boolean; /** * The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium */ batteryType: number; /** * New separate flag with FW >= 2.7.8/1.9.1: The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time */ autoLock?: boolean; /** * Seconds until the smart lock relocks itself after it has been unlocked. FW < 2.7.8/1.9.1: No auto relock if value is 0, FW >= 2.7.8/1.9.1: has to be >=2 (defaults to 2 for values <2 if autoLock is set to true) */ autoLockTimeout?: number; /** * Flag that indicates if available firmware updates for the deviceshould be installed automatically */ autoUpdateEnabled?: boolean; }; export declare namespace Smartlock_AdvancedConfig { /** * Timeout in seconds for lock ‘n’ go */ enum lngTimeout { '_5' = 5, '_10' = 10, '_15' = 15, '_20' = 20, '_30' = 30, '_45' = 45, '_60' = 60 } /** * Duration in seconds for holding the latch in unlatched position */ enum unlatchDuration { '_1' = 1, '_3' = 3, '_5' = 5, '_7' = 7, '_10' = 10, '_15' = 15, '_20' = 20, '_30' = 30 } } //# sourceMappingURL=Smartlock_AdvancedConfig.d.ts.map