UNPKG

@seontechnologies/seon-id-verification

Version:

An advanced SDK featuring web components for natural person identification through document scanning, facial recognition, hand gesture, and face turning detection, designed for secure and efficient user verification.

27 lines (26 loc) 755 B
import { ReactNode } from "react"; export type TLivenessLayout = { children?: ReactNode; dimension: 'face-only' | 'interactive-face'; outline: 'idle' | 'contentLock' | 'countdown' | 'indicator' | 'success'; startAnimation?: boolean; animateTo?: { startAnimationTo?: boolean; strokeDasharray?: string; strokeWidth?: string; delay?: number; }; isSuccessful?: boolean; faceRotationSetting?: { direction: 'LEFT' | 'RIGHT' | 'UP' | 'DOWN'; percentage: number; }; }; export type TLivenessSteps = TLivenessLayout & { instruction?: { icon?: ReactNode; text?: string; }; direction?: string; }; export type Direction = 'LEFT' | 'RIGHT' | 'UP' | 'DOWN';