/** * Encrata REST API response types. */ export interface LookupResult { name?: string; email?: string; company?: string; role?: string; industry?: string; location?: string; birthplace?: string; current_location?: string; bio?: string; age?: string; gender?: string; education?: string; phone?: string; photo?: string; validity?: string; socials?: { linkedin?: string; twitter?: string; instagram?: string; facebook?: string; github?: string; }; breaches?: { count: number; services?: string[]; exposed_data?: string[]; }; registered_services?: { count: number; services?: string[]; }; news?: Array<{ title: string; url: string; date?: string; source?: string; }>; publications?: Array<{ title: string; url: string; year?: number; citations?: number; }>; } export interface ValidateResult { email: string; validity?: string; status?: string; reason?: string; message?: string; confidence?: number; role?: boolean; disposable?: boolean; provider?: string; mx?: string[]; smtp?: unknown; domain_trust?: unknown; person_signal?: unknown; canonical?: string; free_provider?: boolean; domain_info?: unknown; mail_servers?: unknown; footprint?: unknown; credits?: number; [key: string]: unknown; } export interface BreachResult { email: string; count: number; services?: string[]; exposed_data?: string[]; message: string; } export interface Monitor { id: string; name: string; status: string; frequency: string; change_detection: string; data_source_type: string; data_source_ref: string; email_count: number; tracked_fields?: string[]; last_run_at?: string; next_run_at?: string; created_at: string; } export interface MonitorRun { id: string; monitor_id: string; monitor_name?: string; status: string; total_records: number; changes_detected: number; credits_used: number; started_at?: string; completed_at?: string; } export interface MonitorSnapshot { id: string; email: string; has_changes: boolean; changes?: unknown; data?: unknown; } export interface ContactList { id: string; name: string; email_count: number; created_at: string; } export interface BulkJob { id: string; status: "pending" | "processing" | "completed" | "failed" | "cancelled"; total_emails: number; processed_count: number; success_count: number; error_count: number; credits_used: number; error_message?: string; created_at: string; started_at?: string | null; completed_at?: string | null; } export interface ValidityJob { id: string; status: "queued" | "processing" | "completed" | "failed" | "cancelled"; file_name: string; batch_id?: string; total_emails: number; processed_count: number; valid_count: number; invalid_count: number; catch_all_count: number; risky_count: number; credits_used: number; error_message?: string; created_at: string; started_at?: string | null; completed_at?: string | null; } export interface IdentityJob { id: string; status: "queued" | "processing" | "completed" | "failed" | "cancelled"; file_name: string; total_emails: number; processed_count: number; found_count: number; credits_used: number; error_message?: string; created_at: string; started_at?: string | null; completed_at?: string | null; } export interface PasswordJob { id: string; status: "queued" | "processing" | "completed" | "failed" | "cancelled"; file_name: string; total: number; processed_count: number; breached_count: number; credits_used: number; error_message?: string; created_at: string; started_at?: string | null; completed_at?: string | null; } export interface ValidityJobItem { email: string; status: string; reason?: string; provider?: string; created_at?: string; } export interface IdentityJobItem { email: string; found: boolean; name?: string; company?: string; job_role?: string; location?: string; owner_name?: string; owner_addresses?: string; owner_relatives?: string; owner_emails?: string; accounts?: string; created_at?: string; } export interface PasswordJobItem { line_no: number; prefix: string; found: boolean; count: number; created_at?: string; } export interface ValidityJobResults { items: ValidityJobItem[]; total: number; page: number; pages: number; } export interface IdentityJobResults { items: IdentityJobItem[]; total: number; page: number; pages: number; } export interface PasswordJobResults { items: PasswordJobItem[]; total: number; page: number; pages: number; } //# sourceMappingURL=types.d.ts.map