import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileChunkCreateWithoutFileInputObjectSchema as CloudFileChunkCreateWithoutFileInputObjectSchema } from './CloudFileChunkCreateWithoutFileInput.schema';
import { CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema as CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedCreateWithoutFileInput.schema';
import { CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema as CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema } from './CloudFileChunkCreateOrConnectWithoutFileInput.schema';
import { CloudFileChunkCreateManyFileInputEnvelopeObjectSchema as CloudFileChunkCreateManyFileInputEnvelopeObjectSchema } from './CloudFileChunkCreateManyFileInputEnvelope.schema';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './CloudFileChunkWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema).array(), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFileChunkCreateManyFileInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema), z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CloudFileChunkUncheckedCreateNestedManyWithoutFileInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUncheckedCreateNestedManyWithoutFileInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUncheckedCreateNestedManyWithoutFileInput>;
export const CloudFileChunkUncheckedCreateNestedManyWithoutFileInputObjectZodSchema = makeSchema();
