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-stats.controller.js';

const router: IRouter = Router();

router.get('/contribuyentes-stats', authenticate, tenantMiddleware, ctrl.getContribuyentesStats);
router.get('/mis-asignados', authenticate, tenantMiddleware, ctrl.getMisAsignados);
router.get('/equipo-stats', authenticate, tenantMiddleware, ctrl.getEquipoStats);

export { router as despachoStatsRoutes };
