import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { TwilioSettingsCreateWithoutUserInputObjectSchema as TwilioSettingsCreateWithoutUserInputObjectSchema } from './TwilioSettingsCreateWithoutUserInput.schema';
import { TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateWithoutUserInput.schema';
import { TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema as TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema } from './TwilioSettingsCreateOrConnectWithoutUserInput.schema';
import { TwilioSettingsUpsertWithoutUserInputObjectSchema as TwilioSettingsUpsertWithoutUserInputObjectSchema } from './TwilioSettingsUpsertWithoutUserInput.schema';
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './TwilioSettingsWhereInput.schema';
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './TwilioSettingsWhereUniqueInput.schema';
import { TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema as TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema } from './TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema';
import { TwilioSettingsUpdateWithoutUserInputObjectSchema as TwilioSettingsUpdateWithoutUserInputObjectSchema } from './TwilioSettingsUpdateWithoutUserInput.schema';
import { TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema as TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedUpdateWithoutUserInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(),
  upsert: z.lazy(() => TwilioSettingsUpsertWithoutUserInputObjectSchema).optional(),
  disconnect: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInputObjectSchema)]).optional(),
  delete: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInputObjectSchema)]).optional(),
  connect: z.lazy(() => TwilioSettingsWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]).optional()
}).strict();
export const TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.TwilioSettingsUpdateOneWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.TwilioSettingsUpdateOneWithoutUserNestedInput>;
export const TwilioSettingsUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema();
