import { Router, type IRouter } from 'express';
import { authenticate } from '../middlewares/auth.middleware.js';
import { tenantMiddleware } from '../middlewares/tenant.middleware.js';
import * as ctrl from '../controllers/despacho-audit.controller.js';

const router: IRouter = Router();
router.use(authenticate);
router.use(tenantMiddleware);

router.get('/', ctrl.getDespachoAuditLog);

export default router;
