const baseURL = import.meta.env.VITE_API_BASE_URL;
const baseIdentityURL = import.meta.env.VITE_IDENTITY_API_BASE_URL;
const user = {
  autoComplete: `${baseURL}/User/AutoComplete`,
  autoCompleteByAgency: `${baseURL}/User/AutoCompleteByAgency`,
  login: `${baseURL}/Account/Login`,
  register: `${baseURL}/Account/Register`,
  changePassword: `${baseURL}/Account/ChangePassword`,
  refresh: `${baseURL}/Account/RefreshToken?refreshToken=`,
  listStaff: `${baseIdentityURL}/User/SearchStaff`,
  createStaff: `${baseIdentityURL}/User/RegisterStaff`,
  getStaffById: `${baseURL}/User/GetStaffById?id=`,
  updateStaff: `${baseURL}/User/UpdateStaff`,
  lock: `${baseIdentityURL}/User/Lock`,
  unlock: `${baseIdentityURL}/User/UnLock`,
  setPassword: `${baseIdentityURL}/User/SetPassword`,
  setRole: `${baseIdentityURL}/User/SetRole`,
  sugStaff: `${baseURL}/User/SugStaff`,
  sugDriver: `${baseURL}/User/SugDriver`,
};

export default user;
