"""Router agregador del módulo Operaciones (Diagramas 2-4).

Se monta bajo el prefijo ``/ops`` en ``api/v1/router.py``.
"""

from fastapi import APIRouter, Depends

from api.v1.modules.core.permissions.dependencies import PermissionChecker

from . import permissions  # noqa: F401  (side-effect: registra permisos de ops)
from .shipments.routes import router as shipments_router

# Enforcement por área/carril (R-T-07): se exige ops.access para el módulo.
router = APIRouter(dependencies=[Depends(PermissionChecker(["ops.access"]))])

router.include_router(shipments_router)
