"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const express_1 = __importDefault(require("express"));
const posController_1 = require("../controllers/posController");
const router = express_1.default.Router();
// Floor Routes
router.get('/floors', posController_1.getFloors);
router.post('/floors', posController_1.createFloor);
router.put('/floors/:id', posController_1.updateFloor);
router.delete('/floors/:id', posController_1.deleteFloor);
// Table Routes
router.get('/tables', posController_1.getTables);
router.post('/tables', posController_1.createTable);
router.put('/tables/:id', posController_1.updateTable);
router.delete('/tables/:id', posController_1.deleteTable);
// Order Routes
const posController_2 = require("../controllers/posController");
router.post('/orders', posController_2.createOrder);
router.get('/orders', posController_2.getOrders);
router.put('/orders/:id/status', posController_2.updateOrderStatus);
router.get('/orders/kitchen', posController_2.getKitchenOrders);
router.post('/tables/:tableId/settle', posController_2.settleTable);
exports.default = router;
