Files
orion/app/api/v1/vendor/__init__.py
2025-10-19 15:59:12 +02:00

50 lines
1.5 KiB
Python

# app/api/v1/vendor/__init__.py
"""
Vendor API endpoints.
This module aggregates all vendor-related endpoints with proper prefixes.
"""
from fastapi import APIRouter
# Import all sub-routers
from . import (
auth,
dashboard,
profile,
settings,
products,
orders,
customers,
teams,
inventory,
marketplace,
payments,
media,
notifications,
analytics,
)
# Create vendor router
router = APIRouter()
# Include all vendor sub-routers with their prefixes and tags
# Note: prefixes are already defined in each router file
router.include_router(auth.router, tags=["vendor-auth"])
router.include_router(dashboard.router, tags=["vendor-dashboard"])
router.include_router(profile.router, tags=["vendor-profile"])
router.include_router(settings.router, tags=["vendor-settings"])
router.include_router(products.router, tags=["vendor-products"])
router.include_router(orders.router, tags=["vendor-orders"])
router.include_router(customers.router, tags=["vendor-customers"])
router.include_router(teams.router, tags=["vendor-teams"])
router.include_router(inventory.router, tags=["vendor-inventory"])
router.include_router(marketplace.router, tags=["vendor-marketplace"])
router.include_router(payments.router, tags=["vendor-payments"])
router.include_router(media.router, tags=["vendor-media"])
router.include_router(notifications.router, tags=["vendor-notifications"])
router.include_router(analytics.router, tags=["vendor-analytics"])
__all__ = ["router"]