onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
32 lines (31 loc) • 912 B
TypeScript
export type FaceMotionModuleConfiguration = {
recordAudio?: boolean;
showIntro?: boolean;
randomizeChallenge?: boolean;
livenessType?: 'two_head_turns' | 'four_random_head_turns' | 'passive';
detectMultipleFaces?: boolean;
};
type FaceMotionVariantType = 'motion';
export type EncryptedBiometricTokenType = {
type: 'encrypted_biometric_token';
value: string;
};
export type FaceMotionModuleInput = {
encryptedBiometricToken?: EncryptedBiometricTokenType[];
};
export type FaceMotionModuleOutput = {
id: string;
variant: FaceMotionVariantType;
};
export type FaceMotionFeatureFlags = {
supported: boolean;
sign_upload?: boolean;
snapshot_photo?: boolean;
min_eye_openness?: number;
passive_signals_on_upload?: boolean;
video_settings: {
webm_mime_type_preference: string[];
};
enable_devicemotion_permission?: boolean;
};
export {};