# app/modules/inventory/routes/api/__init__.py
"""
Inventory module API routes.

Provides REST API endpoints for inventory management:
- Admin API: Platform-wide inventory management
- Store API: Store-specific inventory operations
"""

__all__ = ["admin_router", "store_router"]


def __getattr__(name: str):
    """Lazy import routers to avoid circular dependencies."""
    if name == "router":
        from app.modules.inventory.routes.api.admin import router as admin_router
        return router
    if name == "router":
        from app.modules.inventory.routes.api.store import router as store_router
        return router
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
