from fastapi import APIRouter

from app.api.v1 import (
    audit,
    campaigns,
    ledger,
    members,
    point_accounts,
    programs,
    redemptions,
    referral_codes,
    referral_programs,
    referrals,
    rewards,
    tiers,
    wallets,
)

api_router = APIRouter()
api_router.include_router(programs.router, prefix="/programs", tags=["programs"])
api_router.include_router(tiers.router, prefix="/tiers", tags=["tiers"])
api_router.include_router(members.router, prefix="/members", tags=["members"])
api_router.include_router(
    point_accounts.router, prefix="/point-accounts", tags=["point-accounts"]
)
api_router.include_router(ledger.router, prefix="/point-accounts", tags=["ledger"])
api_router.include_router(rewards.router, prefix="/rewards", tags=["rewards"])
api_router.include_router(
    redemptions.router, prefix="/redemptions", tags=["redemptions"]
)
api_router.include_router(campaigns.router, prefix="/campaigns", tags=["campaigns"])
api_router.include_router(
    referral_programs.router, prefix="/referral-programs", tags=["referral-programs"]
)
api_router.include_router(
    referral_codes.router, prefix="/referral-codes", tags=["referral-codes"]
)
api_router.include_router(referrals.router, prefix="/referrals", tags=["referrals"])
api_router.include_router(wallets.router, prefix="/wallets", tags=["wallets"])
api_router.include_router(audit.router, prefix="/audit", tags=["audit"])
