import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommissionBatchItemOrderByWithRelationInputObjectSchema as CommissionBatchItemOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchItemOrderByWithRelationInput.schema';
import { CommissionBatchItemWhereInputObjectSchema as CommissionBatchItemWhereInputObjectSchema } from './objects/CommissionBatchItemWhereInput.schema';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';
import { CommissionBatchItemCountAggregateInputObjectSchema as CommissionBatchItemCountAggregateInputObjectSchema } from './objects/CommissionBatchItemCountAggregateInput.schema';

export const CommissionBatchItemCountSchema: z.ZodType<Prisma.CommissionBatchItemCountArgs> = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemCountArgs>;

export const CommissionBatchItemCountZodSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional() }).strict();