import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
import { CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema';
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
import { CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema';
import { CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema as CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema } from './CloudFolderUpdateManyWithWhereWithoutPatientInput.schema';
import { CloudFolderScalarWhereInputObjectSchema as CloudFolderScalarWhereInputObjectSchema } from './CloudFolderScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateManyWithoutPatientNestedInput>;
export const CloudFolderUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
