Sindbad~EG File Manager

Current Path : /proc/1896507/cwd/routes/
Upload File :
Current File : //proc/1896507/cwd/routes/userRoute.js

const router = require("express").Router();
const { upload } = require("../controllers/imageUploadController");

const {
  updateUserProfile,
  updateUserBusinessLogo,
  updateUserPassword,
  userAddedAuctioneerListById,
  removeUser,
  getAllAuctioneerList,
  addUserAuctioneerToOpportunity,
  getUserProfile,
  getAllAssignedVehicles,
  getAllVehiclesWithStatus,
  removeUserAuctioneer,
  getAllSubscribedAuctioneerList,
  removeUserAuctioneerTesting,
  exportByAuctioneer,
  exportByAuctions,
  exportByConditionLight,
  exportBySaleStatus,
  
} = require("../controllers/userController");

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

router.patch(
  "/update-business-logo",
  upload.single("business_logo"),
  updateUserBusinessLogo
);

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

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

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

// router.post("/user-auctioneer-list", userAuctioneerListById);

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

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

// router.post("/subscribedauctioneerlist", getAllSubscribedAuctioneerList);

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

// router.post("/updateuserauctioneerlist", updateUserAuctioneerList);

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

// router.post("/allcarsbyauctioneerid", getAllCarsByAuctioneerId);

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

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

// router.post("/deleteuserauctioneer", deleteUserAuctioneer);

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

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

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

router.post("/export-by-auctions", exportByAuctions);

router.post("/export-by-condition-light", exportByConditionLight);

router.post("/export-by-sale-status", exportBySaleStatus);


module.exports = router;

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