Skip to Content

Types

Capture results

interface FaceCaptureResult { imageBase64: string; antispoofScore: number; livenessCompleted: boolean; challengeResults: ChallengeResult[]; deviceInfo: DeviceInfo; }

Network responses

interface FaceEnrollResponse { id: string; enrollee: string; createdAt: string; raw: unknown; } interface FaceMatchResponse { matched: boolean; distance?: number; threshold?: number; logId?: string; raw: unknown; } interface FaceSearchResponse { matched: boolean; candidates: { enrollee: string; distance: number }[]; threshold?: number; logId?: string; raw: unknown; }