export interface SensitiveActionVerification {
  current_password?: string
  totp_code?: string
}

export interface SendEmailBindCodeRequest {
  email: string
}

export interface BindEmailRequest extends SensitiveActionVerification {
  email: string
  code: string
}

export interface SendPhoneBindCodeRequest {
  phone: string
}

export interface SendPhoneBindCodeResponse {
  expires_in: number
  cooldown: number
}

export interface BindPhoneRequest extends SensitiveActionVerification {
  phone: string
  code: string
}
