import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutTwilioSettingsInputObjectSchema as UserCreateWithoutTwilioSettingsInputObjectSchema } from './UserCreateWithoutTwilioSettingsInput.schema';
import { UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema as UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema } from './UserUncheckedCreateWithoutTwilioSettingsInput.schema';
import { UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema as UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema } from './UserCreateOrConnectWithoutTwilioSettingsInput.schema';
import { UserUpsertWithoutTwilioSettingsInputObjectSchema as UserUpsertWithoutTwilioSettingsInputObjectSchema } from './UserUpsertWithoutTwilioSettingsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema as UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema';
import { UserUpdateWithoutTwilioSettingsInputObjectSchema as UserUpdateWithoutTwilioSettingsInputObjectSchema } from './UserUpdateWithoutTwilioSettingsInput.schema';
import { UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema as UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema } from './UserUncheckedUpdateWithoutTwilioSettingsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutTwilioSettingsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUpdateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutTwilioSettingsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutTwilioSettingsNestedInput>;
export const UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectZodSchema = makeSchema();
