fix: appointmentStatus→status, missed call visibility, webhook callbackstatus, KB logging

- Renamed appointmentStatus to status in search + call-assist queries
- Missed calls worklist: removed agentName filter (shared FIFO queue)
- Webhook sets callbackstatus: PENDING_CALLBACK on missed calls
- AI chat: added KB content logging for debugging

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-23 14:42:38 +05:30
parent 0b98d490f0
commit 4b5edc4e55
5 changed files with 16 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ export class SearchController {
this.platform.queryWithAuth<any>(
`{ appointments(first: 50, orderBy: [{ scheduledAt: DescNullsLast }]) { edges { node {
id scheduledAt doctorName department appointmentStatus patientId
id scheduledAt doctorName department status patientId
} } } }`,
undefined, authHeader,
).catch(() => ({ appointments: { edges: [] } })),