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

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

router.get('/stats', ctrl.getStats);
router.get('/:tenantId/usuarios', ctrl.listUsuarios);

export default router;
