from fastapi import APIRouter

from app.api.v1 import (
    accounts,
    compliance,
    fiscal,
    fixed_assets,
    health,
    ledger,
    operational,
    payroll,
    posting,
    purchase_inventory,
    receivable_payable,
    reporting,
    sales_accounting,
    setup,
    treasury,
)

api_router = APIRouter()
api_router.include_router(accounts.router, prefix="/accounts", tags=["accounts"])
api_router.include_router(fiscal.router, prefix="/fiscal", tags=["fiscal"])
api_router.include_router(posting.router, prefix="/posting", tags=["posting"])
api_router.include_router(ledger.router, prefix="/ledger", tags=["ledger"])
api_router.include_router(treasury.router, prefix="/treasury", tags=["treasury"])
api_router.include_router(receivable_payable.router, prefix="/ar-ap", tags=["ar-ap"])
api_router.include_router(sales_accounting.router, prefix="/sales-accounting", tags=["sales-accounting"])
api_router.include_router(purchase_inventory.router, prefix="/purchase-inventory", tags=["purchase-inventory"])
api_router.include_router(fixed_assets.router, prefix="/assets", tags=["assets"])
api_router.include_router(payroll.router, prefix="/payroll", tags=["payroll"])
api_router.include_router(reporting.router, prefix="/reporting", tags=["reporting"])
api_router.include_router(compliance.router, prefix="/compliance", tags=["compliance"])
api_router.include_router(setup.router, prefix="/setup", tags=["setup"])
api_router.include_router(operational.router, prefix="/ops", tags=["ops"])
