import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ClaimFileOrderByWithRelationInputObjectSchema as ClaimFileOrderByWithRelationInputObjectSchema } from './objects/ClaimFileOrderByWithRelationInput.schema';
import { ClaimFileWhereInputObjectSchema as ClaimFileWhereInputObjectSchema } from './objects/ClaimFileWhereInput.schema';
import { ClaimFileWhereUniqueInputObjectSchema as ClaimFileWhereUniqueInputObjectSchema } from './objects/ClaimFileWhereUniqueInput.schema';
import { ClaimFileCountAggregateInputObjectSchema as ClaimFileCountAggregateInputObjectSchema } from './objects/ClaimFileCountAggregateInput.schema';
import { ClaimFileMinAggregateInputObjectSchema as ClaimFileMinAggregateInputObjectSchema } from './objects/ClaimFileMinAggregateInput.schema';
import { ClaimFileMaxAggregateInputObjectSchema as ClaimFileMaxAggregateInputObjectSchema } from './objects/ClaimFileMaxAggregateInput.schema';
import { ClaimFileAvgAggregateInputObjectSchema as ClaimFileAvgAggregateInputObjectSchema } from './objects/ClaimFileAvgAggregateInput.schema';
import { ClaimFileSumAggregateInputObjectSchema as ClaimFileSumAggregateInputObjectSchema } from './objects/ClaimFileSumAggregateInput.schema';

export const ClaimFileAggregateSchema: z.ZodType<Prisma.ClaimFileAggregateArgs> = z.object({ orderBy: z.union([ClaimFileOrderByWithRelationInputObjectSchema, ClaimFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: ClaimFileWhereInputObjectSchema.optional(), cursor: ClaimFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ClaimFileCountAggregateInputObjectSchema ]).optional(), _min: ClaimFileMinAggregateInputObjectSchema.optional(), _max: ClaimFileMaxAggregateInputObjectSchema.optional(), _avg: ClaimFileAvgAggregateInputObjectSchema.optional(), _sum: ClaimFileSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ClaimFileAggregateArgs>;

export const ClaimFileAggregateZodSchema = z.object({ orderBy: z.union([ClaimFileOrderByWithRelationInputObjectSchema, ClaimFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: ClaimFileWhereInputObjectSchema.optional(), cursor: ClaimFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ClaimFileCountAggregateInputObjectSchema ]).optional(), _min: ClaimFileMinAggregateInputObjectSchema.optional(), _max: ClaimFileMaxAggregateInputObjectSchema.optional(), _avg: ClaimFileAvgAggregateInputObjectSchema.optional(), _sum: ClaimFileSumAggregateInputObjectSchema.optional() }).strict();