from fastapi import APIRouter

from app.api.v1 import (
                           admin,
                           admin_roles,
                           ai_summary,
                           analytics,
                           api_management,
                           approvals,
                           auth,
                           captcha,
                           domains,
                           features,
                           highlights,
                           journal_club,
                           journals,
                           literature,
                           mdt,
                           notes,
                           public,
                           reviews,
                           sso,
                           subscriptions,
                           teams,
                           user_settings,
                           verification,
                           # wechat_auth,  # 微信登录（第一版已注释，待后续启用）
                           webhooks,
                           ws,
)
from app.api.v1 import notifications as notif_router

api_router = APIRouter()

api_router.include_router(captcha.router, prefix="/captcha", tags=["Captcha"])
api_router.include_router(webhooks.router, prefix="/webhooks", tags=["Webhooks"])
api_router.include_router(auth.router, prefix="/auth", tags=["Auth"])
# api_router.include_router(wechat_auth.router, prefix="/auth", tags=["WeChatAuth"])  # 微信登录（第一版已注释）
api_router.include_router(verification.router, prefix="/auth", tags=["Verification"])
api_router.include_router(ai_summary.router, prefix="/ai", tags=["AI Summary"])
api_router.include_router(sso.router, prefix="/auth/sso", tags=["SSO"])
api_router.include_router(notif_router.router, prefix="/notifications", tags=["Notifications"])
api_router.include_router(ws.router, prefix="/ws", tags=["WebSocket"])
api_router.include_router(public.router, prefix="/public", tags=["Public"])
api_router.include_router(literature.router, prefix="/literature", tags=["Literature"])
api_router.include_router(notes.router, prefix="/notes", tags=["Notes"])
api_router.include_router(subscriptions.router, prefix="/subscriptions", tags=["Subscriptions"])
api_router.include_router(admin.router, prefix="/admin", tags=["Admin"])
api_router.include_router(admin_roles.router, prefix="/admin", tags=["AdminRoles"])
api_router.include_router(approvals.router, prefix="/approvals", tags=["Approvals"])
api_router.include_router(analytics.router, prefix="/analytics", tags=["Analytics"])
api_router.include_router(teams.router, prefix="/teams", tags=["Teams"])
api_router.include_router(features.router, prefix="/features", tags=["Features"])
api_router.include_router(user_settings.router, prefix="/settings", tags=["UserSettings"])
api_router.include_router(journal_club.router, prefix="/journal-club", tags=["JournalClub"])
api_router.include_router(mdt.router, prefix="/mdt", tags=["MDT"])
api_router.include_router(api_management.router, prefix="/api-management", tags=["APIMgmt"])
api_router.include_router(highlights.router, prefix="/highlights", tags=["PDFHighlights"])
api_router.include_router(domains.router, prefix="/domains", tags=["Domains"])
api_router.include_router(reviews.router, prefix="/reviews", tags=["Reviews"])
api_router.include_router(journals.router, prefix="/journals", tags=["Journals"])
