import { api } from '@/lib/api-client' interface LoginResponse { token: string user: { id: string email: string firstName: string lastName: string role: string } } export async function login(email: string, password: string): Promise { return api.post('/v1/auth/login', { email, password }) } export async function forgotPassword(email: string): Promise<{ message: string }> { return api.post<{ message: string }>('/v1/auth/forgot-password', { email }) } export async function resetPassword(token: string, newPassword: string): Promise<{ message: string }> { return api.post<{ message: string }>('/v1/auth/reset-password', { token, newPassword }) }