feat: migrate SMS/voice to Telnyx (TeXML), keep browser dial pad on Twilio
Twilio now handles only the in-browser dial pad (Access Token + browser-Device outbound TwiML); Telnyx takes over SMS, inbound voicemail, the AI voice conversation loop, and staff-triggered outbound calls via TeXML. Adds TelnyxSettings model, Communication.provider discriminator, new comms/routes modules, and a real Telnyx Settings page. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,7 @@ import { CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema as Clo
|
||||
import { CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema as CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
import { TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema as TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
import { TelnyxSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema as TelnyxSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './TelnyxSettingsUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
import { OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema as OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
import { OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema as OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
import { ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema as ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
@@ -52,6 +53,7 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
telnyxSettings: z.lazy(() => TelnyxSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
|
||||
Reference in New Issue
Block a user