import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFolderSelectObjectSchema as CloudFolderSelectObjectSchema } from './objects/CloudFolderSelect.schema';
import { CloudFolderIncludeObjectSchema as CloudFolderIncludeObjectSchema } from './objects/CloudFolderInclude.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './objects/CloudFolderWhereUniqueInput.schema';
import { CloudFolderCreateInputObjectSchema as CloudFolderCreateInputObjectSchema } from './objects/CloudFolderCreateInput.schema';
import { CloudFolderUncheckedCreateInputObjectSchema as CloudFolderUncheckedCreateInputObjectSchema } from './objects/CloudFolderUncheckedCreateInput.schema';
import { CloudFolderUpdateInputObjectSchema as CloudFolderUpdateInputObjectSchema } from './objects/CloudFolderUpdateInput.schema';
import { CloudFolderUncheckedUpdateInputObjectSchema as CloudFolderUncheckedUpdateInputObjectSchema } from './objects/CloudFolderUncheckedUpdateInput.schema';

export const CloudFolderUpsertOneSchema: z.ZodType<Prisma.CloudFolderUpsertArgs> = z.object({ select: CloudFolderSelectObjectSchema.optional(), include: CloudFolderIncludeObjectSchema.optional(), where: CloudFolderWhereUniqueInputObjectSchema, create: z.union([ CloudFolderCreateInputObjectSchema, CloudFolderUncheckedCreateInputObjectSchema ]), update: z.union([ CloudFolderUpdateInputObjectSchema, CloudFolderUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.CloudFolderUpsertArgs>;

export const CloudFolderUpsertOneZodSchema = z.object({ select: CloudFolderSelectObjectSchema.optional(), include: CloudFolderIncludeObjectSchema.optional(), where: CloudFolderWhereUniqueInputObjectSchema, create: z.union([ CloudFolderCreateInputObjectSchema, CloudFolderUncheckedCreateInputObjectSchema ]), update: z.union([ CloudFolderUpdateInputObjectSchema, CloudFolderUncheckedUpdateInputObjectSchema ]) }).strict();