const base = "http://localhost:26081/v1";

export default {
  authentications: {
    login: base + "/authentications/authenticate",
    googleLogin: base + "/authentications/authenticateGoogle",
    refreshToken: base + "/authentications/refresh",
    logout: base + "/authentications/logout?userId={userId}",
    forgetPassword: base + "/authentications/ForgotPassword",
    resetPassword: base + "/authentications/RessetPassword",
  },
  users:{
    allUsers:'http://localhost:26081/v1/users',
    user:'http://localhost:26081/v1/users/{id}',
    toggleEnabled:'http://localhost:26081/v1/users/toggleEnable/{id}',
    invite:'http://localhost:26081/v1/users/invite',
  },
  candidates: {
    filteredCandidates:base + "/applicants",
    allAdsCandidates: base + "/applicants/adsApplicants"
  },
  ads: {
    allAds: base + "/ads",
    createAd: base + "/ads",
    allFilteredAds: base + "/ads/filtered",
    allArchiveAds: base + "/ads/archive",
    adDetails: base + "/ads/details",
  },
  technologies: {
    allTechnologies: base + "/technologies",
  },
  comments:{
    addComment:base + '/comments'
  },
  processes: {
    allLevels: base + "/selectionlevels",
    filteredLevels: base + "/selectionlevels/filtered",
    doneProcess: base + "/selectionprocesses",
    getApplicantProcesses: base + "/applicants/processes",
    // allProcesses: base + "/selectionprocesses",
  },
};
