@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.
35 lines (34 loc) • 900 B
TypeScript
import { ReactNode } from 'react';
import { TSupportedIdTypes } from '../repository/seon-sdk-repository';
export type TScreensProps = {
onNext: () => void;
onBack: () => void;
onError: (callback: () => void) => void;
setData: (data: any) => void;
hardRefresh: () => void;
data: TDataContext['current'];
isTransferred?: boolean;
};
export type TDataContext = {
current: {
country?: TCountry;
idType?: TIDType;
documentCaptureCounter?: number;
livenessCaptureCounter?: number;
poaFile?: File | null;
removeTransferCoordinatorWC?: () => void;
[key: string]: any;
};
};
export type TCountry = {
value: string;
text: string;
iconSrc: string;
documentTypes: TSupportedIdTypes[];
};
export type TIDType = {
text: string;
value: string;
iconComponent: ReactNode;
iconSrc?: string;
};