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:
@@ -0,0 +1,13 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TelnyxSettingsSelectObjectSchema as TelnyxSettingsSelectObjectSchema } from './objects/TelnyxSettingsSelect.schema';
|
||||
import { TelnyxSettingsIncludeObjectSchema as TelnyxSettingsIncludeObjectSchema } from './objects/TelnyxSettingsInclude.schema';
|
||||
import { TelnyxSettingsWhereUniqueInputObjectSchema as TelnyxSettingsWhereUniqueInputObjectSchema } from './objects/TelnyxSettingsWhereUniqueInput.schema';
|
||||
import { TelnyxSettingsCreateInputObjectSchema as TelnyxSettingsCreateInputObjectSchema } from './objects/TelnyxSettingsCreateInput.schema';
|
||||
import { TelnyxSettingsUncheckedCreateInputObjectSchema as TelnyxSettingsUncheckedCreateInputObjectSchema } from './objects/TelnyxSettingsUncheckedCreateInput.schema';
|
||||
import { TelnyxSettingsUpdateInputObjectSchema as TelnyxSettingsUpdateInputObjectSchema } from './objects/TelnyxSettingsUpdateInput.schema';
|
||||
import { TelnyxSettingsUncheckedUpdateInputObjectSchema as TelnyxSettingsUncheckedUpdateInputObjectSchema } from './objects/TelnyxSettingsUncheckedUpdateInput.schema';
|
||||
|
||||
export const TelnyxSettingsUpsertOneSchema: z.ZodType<Prisma.TelnyxSettingsUpsertArgs> = z.object({ select: TelnyxSettingsSelectObjectSchema.optional(), include: TelnyxSettingsIncludeObjectSchema.optional(), where: TelnyxSettingsWhereUniqueInputObjectSchema, create: z.union([ TelnyxSettingsCreateInputObjectSchema, TelnyxSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ TelnyxSettingsUpdateInputObjectSchema, TelnyxSettingsUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.TelnyxSettingsUpsertArgs>;
|
||||
|
||||
export const TelnyxSettingsUpsertOneZodSchema = z.object({ select: TelnyxSettingsSelectObjectSchema.optional(), include: TelnyxSettingsIncludeObjectSchema.optional(), where: TelnyxSettingsWhereUniqueInputObjectSchema, create: z.union([ TelnyxSettingsCreateInputObjectSchema, TelnyxSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ TelnyxSettingsUpdateInputObjectSchema, TelnyxSettingsUncheckedUpdateInputObjectSchema ]) }).strict();
|
||||
Reference in New Issue
Block a user