UNPKG

ttlock-sdk-js

Version:

JavaScript port of the TTLock Android SDK

22 lines (21 loc) 670 B
/// <reference types="node" /> import { CommandType } from "../../constant/CommandType"; import { KeyboardPwdType } from "../../constant/KeyboardPwdType"; import { Command } from "../Command"; export interface KeyboardPassCode { type: KeyboardPwdType; newPassCode: string; passCode: string; startDate?: string; endDate?: string; } export declare class GetKeyboardPasswordsCommand extends Command { static COMMAND_TYPE: CommandType; private sequence?; private passCodes?; protected processData(): void; build(): Buffer; setSequence(sequence?: number): void; getSequence(): number; getPasscodes(): KeyboardPassCode[]; }