# app/modules/marketplace/routes/api/admin.py
"""
Marketplace module admin routes.

This module aggregates all marketplace admin routers into a single router
for auto-discovery. Routes are defined in dedicated files with module-based
access control.

Includes:
- /products/* - Marketplace product catalog browsing
- /marketplace-import-jobs/* - Marketplace import job monitoring
- /letzshop/* - Letzshop integration
"""

from fastapi import APIRouter

from .admin_letzshop import admin_letzshop_router
from .admin_marketplace import admin_marketplace_router
from .admin_products import admin_products_router

# Create aggregate router for auto-discovery
# The router is named 'router' for auto-discovery compatibility
router = APIRouter()

# Include marketplace product catalog routes
router.include_router(admin_products_router)

# Include marketplace import jobs routes
router.include_router(admin_marketplace_router)

# Include letzshop routes
router.include_router(admin_letzshop_router)

__all__ = ["router"]
