import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientCreateWithoutCloudFoldersInputObjectSchema as PatientCreateWithoutCloudFoldersInputObjectSchema } from './PatientCreateWithoutCloudFoldersInput.schema';
import { PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema as PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema } from './PatientUncheckedCreateWithoutCloudFoldersInput.schema';
import { PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema as PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema } from './PatientCreateOrConnectWithoutCloudFoldersInput.schema';
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema).optional(),
  connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional()
}).strict();
export const PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientCreateNestedOneWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateNestedOneWithoutCloudFoldersInput>;
export const PatientCreateNestedOneWithoutCloudFoldersInputObjectZodSchema = makeSchema();
