import { api } from "../utils/axiosClient"; const AuthRepository = { login: (data) => api.post("/api/auth/login", data), refreshToken: ( data ) => api.post( "/api/auth/refresh-token", data ), logout: ( data ) => api.post( "/api/auth/logout", data ), profile: () => api.get( `/api/user/profile` ), register: ( data ) => api.post( 'api/auth/register', data ), resetPassword: ( data ) => api.post( '/api/auth/reset-password', data ), forgotPassword: (data) => api.post( '/api/auth/forgot-password', data), sendMail:(data)=>api.post("/api/auth/sendmail",data) }; export default AuthRepository;