import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutParentInputObjectSchema as CloudFolderCreateWithoutParentInputObjectSchema } from './CloudFolderCreateWithoutParentInput.schema';
import { CloudFolderUncheckedCreateWithoutParentInputObjectSchema as CloudFolderUncheckedCreateWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateWithoutParentInput.schema';
import { CloudFolderCreateOrConnectWithoutParentInputObjectSchema as CloudFolderCreateOrConnectWithoutParentInputObjectSchema } from './CloudFolderCreateOrConnectWithoutParentInput.schema';
import { CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectSchema as CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectSchema } from './CloudFolderUpsertWithWhereUniqueWithoutParentInput.schema';
import { CloudFolderCreateManyParentInputEnvelopeObjectSchema as CloudFolderCreateManyParentInputEnvelopeObjectSchema } from './CloudFolderCreateManyParentInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
import { CloudFolderUpdateWithWhereUniqueWithoutParentInputObjectSchema as CloudFolderUpdateWithWhereUniqueWithoutParentInputObjectSchema } from './CloudFolderUpdateWithWhereUniqueWithoutParentInput.schema';
import { CloudFolderUpdateManyWithWhereWithoutParentInputObjectSchema as CloudFolderUpdateManyWithWhereWithoutParentInputObjectSchema } from './CloudFolderUpdateManyWithWhereWithoutParentInput.schema';
import { CloudFolderScalarWhereInputObjectSchema as CloudFolderScalarWhereInputObjectSchema } from './CloudFolderScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFolderCreateManyParentInputEnvelopeObjectSchema).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(() => CloudFolderUpdateWithWhereUniqueWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutParentInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutParentInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderUpdateManyWithoutParentNestedInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateManyWithoutParentNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateManyWithoutParentNestedInput>;
export const CloudFolderUpdateManyWithoutParentNestedInputObjectZodSchema = makeSchema();
