import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFileChunkOrderByWithRelationInputObjectSchema as CloudFileChunkOrderByWithRelationInputObjectSchema } from './objects/CloudFileChunkOrderByWithRelationInput.schema';
import { CloudFileChunkWhereInputObjectSchema as CloudFileChunkWhereInputObjectSchema } from './objects/CloudFileChunkWhereInput.schema';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './objects/CloudFileChunkWhereUniqueInput.schema';
import { CloudFileChunkCountAggregateInputObjectSchema as CloudFileChunkCountAggregateInputObjectSchema } from './objects/CloudFileChunkCountAggregateInput.schema';

export const CloudFileChunkCountSchema: z.ZodType<Prisma.CloudFileChunkCountArgs> = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CloudFileChunkCountArgs>;

export const CloudFileChunkCountZodSchema = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional() }).strict();