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 { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './TwilioSettingsWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(),
  connect: z.lazy(() => TwilioSettingsWhereUniqueInputObjectSchema).optional()
}).strict();
export const TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema: z.ZodType<Prisma.TwilioSettingsCreateNestedOneWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.TwilioSettingsCreateNestedOneWithoutUserInput>;
export const TwilioSettingsCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema();
