import { Router } from "express";
import { authenticateToken } from "../middleware/authMiddleware";
import * as quoteController from "../controllers/quoteController";

const router = Router();
router.use(authenticateToken);

router.get("/list", quoteController.getList);
router.get("/generate-number", quoteController.generateNumber);
router.get("/:id", quoteController.getById);
router.post("/", quoteController.create);
router.put("/:id", quoteController.update);
router.delete("/:id", quoteController.remove);

export default router;
