const express = require('express');
const router = express.Router();
const bluetoothPrinterController = require('../controllers/bluetoothPrinterController');

// Print receipt via Bluetooth
router.post('/print', bluetoothPrinterController.printReceipt);

// Disconnect from Bluetooth printer
router.post('/disconnect', bluetoothPrinterController.disconnect);

// Health check
router.get('/health', bluetoothPrinterController.health);

module.exports = router;

