Files
DentalManagementMH06/packages/db/shared/schemas/variants/input/index.ts
Gitead 112529155c feat: persist AI conversation state in DB and fix LangGraph flow bugs
- Replace in-memory Maps in aiHandoffStore with DB-backed async functions
  using new patient_conversation table (stage + aiHandoff per patient)
- Add afterHoursEnabled to ai_settings table (persists across restarts)
- Fix runtime crash in reschedule-graph: mon/tue/wed variables were out
  of scope in the next-week fallback branch (ReferenceError)
- Wire rescheduleGreeting and generalFallback chat templates through to
  LangGraph nodes so user-configured messages take effect
- Add otherNode to reminder-graph to handle unclassified patient replies
  (e.g. "I want another appointment") and route to booking flow
- Fetch chatTemplates once per webhook request instead of per stage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 15:23:55 -04:00

37 lines
2.0 KiB
TypeScript

/**
* Input Variant Schemas
* Auto-generated - do not edit manually
*/
export { UserInputSchema } from './User.input';
export { PatientInputSchema } from './Patient.input';
export { AppointmentInputSchema } from './Appointment.input';
export { AppointmentFileInputSchema } from './AppointmentFile.input';
export { StaffInputSchema } from './Staff.input';
export { NpiProviderInputSchema } from './NpiProvider.input';
export { AppointmentProcedureInputSchema } from './AppointmentProcedure.input';
export { ClaimInputSchema } from './Claim.input';
export { ServiceLineInputSchema } from './ServiceLine.input';
export { ClaimFileInputSchema } from './ClaimFile.input';
export { InsuranceCredentialInputSchema } from './InsuranceCredential.input';
export { PdfGroupInputSchema } from './PdfGroup.input';
export { PdfFileInputSchema } from './PdfFile.input';
export { PaymentInputSchema } from './Payment.input';
export { ServiceLineTransactionInputSchema } from './ServiceLineTransaction.input';
export { DatabaseBackupInputSchema } from './DatabaseBackup.input';
export { BackupDestinationInputSchema } from './BackupDestination.input';
export { NotificationInputSchema } from './Notification.input';
export { CronJobLogInputSchema } from './CronJobLog.input';
export { CloudFolderInputSchema } from './CloudFolder.input';
export { CloudFileInputSchema } from './CloudFile.input';
export { CloudFileChunkInputSchema } from './CloudFileChunk.input';
export { CommunicationInputSchema } from './Communication.input';
export { PatientDocumentInputSchema } from './PatientDocument.input';
export { TwilioSettingsInputSchema } from './TwilioSettings.input';
export { AiSettingsInputSchema } from './AiSettings.input';
export { OfficeHoursInputSchema } from './OfficeHours.input';
export { OfficeContactInputSchema } from './OfficeContact.input';
export { InsuranceContactInputSchema } from './InsuranceContact.input';
export { ProcedureTimeslotInputSchema } from './ProcedureTimeslot.input';
export { PatientConversationInputSchema } from './PatientConversation.input';