Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/routes.3/
Upload File :
Current File : /home/infinitibizsol/.trash/routes.3/userRoute.js

const router = require("express").Router();
const {
  updateUserProfile,
  updateUserPassword,
  userAddedAuctioneerListById,
  removeUser,
  getAllAuctioneerList,
  addUserAuctioneerToOpportunity,
  getUserProfile,
  getAllAssignedVehicles,
  getAllVehiclesWithStatus,
  removeUserAuctioneer,
  getAllSubscribedAuctioneerList,
  removeUserAuctioneerTesting,
  removeUserTest,
  exportByAuctioneer,
} = require("../controllers/userController");

router.patch("/update-user-profile", updateUserProfile);

router.patch("/update-password", updateUserPassword);

router.get("/get-user-profile/:id", getUserProfile);

router.post("/remove-user", removeUser);

router.post("/remove-user-test", removeUserTest);

router.post("/user-added-auctioneers", userAddedAuctioneerListById);

router.post("/get-all-auctioneers", getAllAuctioneerList);

router.post("/get-subscribed-auctioneers", getAllSubscribedAuctioneerList);

router.post("/add-auctioneer-to-opportunity", addUserAuctioneerToOpportunity);

router.post("/get-assigned-vehicles", getAllAssignedVehicles);

router.post("/get-all-vehicles-with-status", getAllVehiclesWithStatus);

router.post("/remove-auctioneer-from-opportunity", removeUserAuctioneerTesting);

router.post("/export-by-auctioneer", exportByAuctioneer);

module.exports = router;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists