onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
28 lines (27 loc) • 721 B
TypeScript
export type FaceMotionModuleConfiguration = {
recordAudio?: boolean;
showIntro?: 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[];
};
};
export {};