import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFileOrderByWithRelationInputObjectSchema as CloudFileOrderByWithRelationInputObjectSchema } from './objects/CloudFileOrderByWithRelationInput.schema';
import { CloudFileWhereInputObjectSchema as CloudFileWhereInputObjectSchema } from './objects/CloudFileWhereInput.schema';
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './objects/CloudFileWhereUniqueInput.schema';
import { CloudFileCountAggregateInputObjectSchema as CloudFileCountAggregateInputObjectSchema } from './objects/CloudFileCountAggregateInput.schema';

export const CloudFileCountSchema: z.ZodType<Prisma.CloudFileCountArgs> = z.object({ orderBy: z.union([CloudFileOrderByWithRelationInputObjectSchema, CloudFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileWhereInputObjectSchema.optional(), cursor: CloudFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CloudFileCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CloudFileCountArgs>;

export const CloudFileCountZodSchema = z.object({ orderBy: z.union([CloudFileOrderByWithRelationInputObjectSchema, CloudFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileWhereInputObjectSchema.optional(), cursor: CloudFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CloudFileCountAggregateInputObjectSchema ]).optional() }).strict();