''' this route is for agent (bot) ''' from fastapi import APIRouter from services.agentServices import AgentServices router = APIRouter() @router.get("/clinic/docs/{clinic_id}") async def get_clinic_doctors_with_appointments(clinic_id: int): return await AgentServices().get_clinic_doctors_with_appointments(clinic_id) @router.get("/clinic/{phone}") async def get_clinic_by_phone(phone: str): return await AgentServices().get_clinic_by_phone(phone)