import { Router, type IRouter } from 'express';
import * as ctrl from '../controllers/plan-catalogo.controller.js';

const router: IRouter = Router();

// Public endpoints — no auth needed (pricing page)
router.get('/', ctrl.getPlans);
router.get('/addons', ctrl.getAddons);
router.get('/:codename', ctrl.getPlan);

export default router;
