import { METHOD_TYPE } from '../phone-verifier.interface'; export interface BasePhoneVerifierMethod { type: METHOD_TYPE; verifiedAt: Date | null; failures: number; } export interface BasePhoneVerifierPriorityMethod { type: METHOD_TYPE; } export interface BasePhoneVerifierSendDto { id: string; type: METHOD_TYPE; target: string; } export interface BasePhoneVerifierVerifyDto { target: string; otp: string; } export interface VerifyOtpResponse { ok: boolean; /** method id */ id: string; error?: Error; }