"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const purchase_1 = require("../controllers/purchase");
const express_1 = require("express");
const router = (0, express_1.Router)();
router.post("/", purchase_1.createPurchase);
router.get("/", purchase_1.getAllPurchases);
router.put("/:id", purchase_1.updatePurchase);
router.delete("/:id", purchase_1.deletePurchase);
exports.default = router;
