import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { TwilioSettingsUpdateWithoutUserInputObjectSchema as TwilioSettingsUpdateWithoutUserInputObjectSchema } from './TwilioSettingsUpdateWithoutUserInput.schema';
import { TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema as TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedUpdateWithoutUserInput.schema';
import { TwilioSettingsCreateWithoutUserInputObjectSchema as TwilioSettingsCreateWithoutUserInputObjectSchema } from './TwilioSettingsCreateWithoutUserInput.schema';
import { TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateWithoutUserInput.schema';
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './TwilioSettingsWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]),
  create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]),
  where: z.lazy(() => TwilioSettingsWhereInputObjectSchema).optional()
}).strict();
export const TwilioSettingsUpsertWithoutUserInputObjectSchema: z.ZodType<Prisma.TwilioSettingsUpsertWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.TwilioSettingsUpsertWithoutUserInput>;
export const TwilioSettingsUpsertWithoutUserInputObjectZodSchema = makeSchema();
