| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- const base = "http://localhost:5116/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",
- register: base + "/authentications/register",
- },
- users: {
- allUsers: base + "/users",
- user: base + "/users/{id}",
- toggleEnabled: base + "/users/toggleEnable/{id}",
- invite: base + "/users/invite",
- },
- candidates: {
- filteredCandidates: base + "/applicants",
- allFilteredAdsCandidates: base + "/applicants/adsApplicants",
- options: base + "/applicants/options",
- initProcess: base + "/applicants/selection-init",
- },
- ads: {
- allAds: base + "/ads",
- createAd: base + "/ads",
- allFilteredAds: base + "/ads/filtered",
- allArchiveAds: base + "/ads/archive",
- adDetails: base + "/ads/details",
- archiveActiveAd: base + "/ads/archive-active-ad/:id",
- },
- technologies: {
- allTechnologies: base + "/technologies",
- },
- comments: {
- addComment: base + "/comments",
- },
- processes: {
- allLevels: base + "/selectionlevels",
- filteredLevels: base + "/selectionlevels/filtered",
- doneProcess: base + "/selectionprocesses",
- getApplicantProcesses: base + "/applicants/processes",
- changeStatus: base + "/selectionprocesses/status-update",
- changeInterviewer: base + "/selectionprocesses/interviewer-update",
- // allProcesses: base + "/selectionprocesses",
- },
- patterns: {
- allPatterns: base + "/patterns",
- patternById: base + "/patterns/:id",
- patternApplicantsById:
- base + "/patterns/corresponding-pattern-applicants/:id",
- filteredPatterns: base + "/patterns/filter",
- createPattern: base + "/patterns",
- updatePattern: base + "/patterns/:id",
- scheduleAppointment: base + "/patterns/schedule-interview",
- },
- stats: {
- stats: base + "/stats",
- },
- schedule: {
- specificSchedule: base + "/schedule",
- },
- applicant: {
- applyForAd: base + "/applicants/apply-for-ad",
- getCV: base + "/applicants/get-CV",
- },
- screeningTest: {
- allTests: base + "/screeningtest",
- createTest: base + "/screeningtest",
- },
- categories: {
- allCategories: base + "/categories/names",
- },
- tags: {
- allTags: base + "/tags/names",
- },
- fileTags: {
- filters: base + "/tags",
- },
- files:{
- uploadFile: base + "/files",
- all: base + "/files/filtered"
- }
- };
|