import { httpJson } from "./http" interface SendVerificationCodeResp { requestId: string expireInSec: number message: string } export async function sendForgotPasswordCode(email: string): Promise { const res = await httpJson("/api/v1/auth/forgot-password/send", { method: "POST", json: { email }, }) return res.requestId }