import { ResetPasswordUser } from "../../types";
import axiosInstance from "../axios";

export const getUsersInformation = ({ }: any) => axiosInstance.get("/gps/user/me")
export const changeUserPassword = (payload: ResetPasswordUser) => axiosInstance.post<any>("/gps/user/reset-pass", payload)
export const updateUSerInformations = (payload: any) => axiosInstance.put<any>(`/gps/user/me/${payload?.id}`, payload?.formData)