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>
8 lines
872 B
TypeScript
8 lines
872 B
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { TelnyxSettingsUpdateManyMutationInputObjectSchema as TelnyxSettingsUpdateManyMutationInputObjectSchema } from './objects/TelnyxSettingsUpdateManyMutationInput.schema';
|
|
import { TelnyxSettingsWhereInputObjectSchema as TelnyxSettingsWhereInputObjectSchema } from './objects/TelnyxSettingsWhereInput.schema';
|
|
|
|
export const TelnyxSettingsUpdateManySchema: z.ZodType<Prisma.TelnyxSettingsUpdateManyArgs> = z.object({ data: TelnyxSettingsUpdateManyMutationInputObjectSchema, where: TelnyxSettingsWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.TelnyxSettingsUpdateManyArgs>;
|
|
|
|
export const TelnyxSettingsUpdateManyZodSchema = z.object({ data: TelnyxSettingsUpdateManyMutationInputObjectSchema, where: TelnyxSettingsWhereInputObjectSchema.optional() }).strict(); |