@yidun/livedetect-sdk-h5
Version:
活体检测 H5
35 lines (34 loc) • 1.27 kB
TypeScript
import type { FailCode } from './types';
export declare const CLASS_PREFIX = "ne-live-detection";
export declare const EVENT: {
readonly STATUS: "status";
readonly TIP: "tip";
readonly ACTION: "action";
readonly COLOR: "color";
readonly LOADING: "loading";
readonly UPDATE_CONFIG: "update-config";
readonly VIDEO_CHANGE: "video-change";
readonly UPDATE_RECORD_STEP: "update-record-step";
readonly READY: "ready";
readonly VERIFY: "verify";
readonly ERROR: "error";
readonly TIMEOUT: "timeout";
readonly CHECKING: "checking";
readonly CHECK_DONE: "check-done";
readonly BACK: "back";
};
export declare const ERR_CODE: Record<string, [number, string]>;
export declare const PARAMS_COMMON: {
PIC_TYPE: number;
SDK_TYPE: number;
};
export declare const TIP_CODE_MAP: Record<string, [string, string]>;
export declare const FAIL_CODE_MAP: Record<string, [FailCode, string]>;
export declare const CHECK_STATUS_MAP: Record<string, number>;
export declare const VIDEO_ACTION_MAP: Record<string, [string, string]>;
export declare const SOLUTION_TYPE_MAP: Record<string, [number, string]>;
export declare const COLLECT_LOG_TYPE: {
DEBUG_LOG: string[];
API_ERRPR: string[];
RESOURCE_ERRPR: string[];
};