zklib-ts
Version:
Unofficial zkteco library allows Node.js developers to easily interface with ZK BioMetric Fingerprint Attendance Devices
50 lines (49 loc) • 1.45 kB
TypeScript
import { ZTCP } from "../ztcp";
export declare class OptionsService {
_zkTcp: ZTCP;
constructor(zkTcp: ZTCP);
/** Ask if the device doesn't support alphanumeric symbols for user id values. */
isAbcPinEnable(): Promise<string>;
/** Ask if the device doesn't support alphanumeric symbols for user id values. */
isT9FunOn(): Promise<string>;
getDeviceId(): Promise<any>;
/**
* Change Device ID
* @param id a number between 1 and 254
*/
setDeviceId(id: number): Promise<boolean>;
getVendor(): Promise<any>;
getProductTime(): Promise<Date>;
getMacAddress(): Promise<string>;
getNetworkParams(): Promise<{
IPAddress: string;
NetMask: string;
GATEIPAddress: string;
TCPPort: string;
}>;
getSerialNumber(): Promise<string>;
/**
* get Zkteko Template version
* @returns number
*/
getDeviceVersion(): Promise<string>;
/**
* get Device/Model Name
* @returns
*/
getDeviceName(): Promise<any>;
getPlatform(): Promise<any>;
getOS(): Promise<string>;
getWorkCode(): Promise<string>;
/**
* get User ID max length
* @returns
*/
getPIN(): Promise<string>;
getFaceOn(): Promise<"No" | "Yes">;
getSSR(): Promise<string>;
getFirmware(): Promise<string>;
getTime(): Promise<Date>;
setTime(tm: Date | string): Promise<boolean>;
voiceTest(): Promise<void>;
}