from fastapi import APIRouter

from app.api.v1 import (
    activities,
    collaboration,
    contacts,
    entities,
    leads,
    opportunities,
    organizations,
    pipelines,
    quotes,
    sales_engine,
)

api_router = APIRouter()
api_router.include_router(leads.router, prefix="/leads", tags=["leads"])
api_router.include_router(contacts.router, prefix="/contacts", tags=["contacts"])
api_router.include_router(
    organizations.router, prefix="/organizations", tags=["organizations"]
)
api_router.include_router(pipelines.router, prefix="/pipelines", tags=["pipelines"])
api_router.include_router(
    opportunities.router, prefix="/opportunities", tags=["opportunities"]
)
api_router.include_router(activities.router, prefix="/activities", tags=["activities"])
api_router.include_router(quotes.router, prefix="/quotes", tags=["quotes"])
api_router.include_router(entities.router, prefix="", tags=["crm-entities"])
api_router.include_router(sales_engine.router, prefix="", tags=["sales-engine"])
api_router.include_router(collaboration.router, prefix="", tags=["collaboration"])
