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

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

Includes:
- /marketplace/* - Marketplace import management
- /letzshop/* - Letzshop integration
"""

from fastapi import APIRouter

from .vendor_marketplace import vendor_marketplace_router
from .vendor_letzshop import vendor_letzshop_router
from .vendor_onboarding import vendor_onboarding_router

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

# Include marketplace import routes
vendor_router.include_router(vendor_marketplace_router)

# Include letzshop routes
vendor_router.include_router(vendor_letzshop_router)

# Include onboarding routes
vendor_router.include_router(vendor_onboarding_router)

__all__ = ["vendor_router"]
