import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutChildrenInputObjectSchema as CloudFolderCreateWithoutChildrenInputObjectSchema } from './CloudFolderCreateWithoutChildrenInput.schema';
import { CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema as CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema } from './CloudFolderUncheckedCreateWithoutChildrenInput.schema';
import { CloudFolderCreateOrConnectWithoutChildrenInputObjectSchema as CloudFolderCreateOrConnectWithoutChildrenInputObjectSchema } from './CloudFolderCreateOrConnectWithoutChildrenInput.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutChildrenInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => CloudFolderCreateOrConnectWithoutChildrenInputObjectSchema).optional(),
  connect: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).optional()
}).strict();
export const CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateNestedOneWithoutChildrenInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateNestedOneWithoutChildrenInput>;
export const CloudFolderCreateNestedOneWithoutChildrenInputObjectZodSchema = makeSchema();
