import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CronJobLogOrderByWithRelationInputObjectSchema as CronJobLogOrderByWithRelationInputObjectSchema } from './objects/CronJobLogOrderByWithRelationInput.schema';
import { CronJobLogWhereInputObjectSchema as CronJobLogWhereInputObjectSchema } from './objects/CronJobLogWhereInput.schema';
import { CronJobLogWhereUniqueInputObjectSchema as CronJobLogWhereUniqueInputObjectSchema } from './objects/CronJobLogWhereUniqueInput.schema';
import { CronJobLogCountAggregateInputObjectSchema as CronJobLogCountAggregateInputObjectSchema } from './objects/CronJobLogCountAggregateInput.schema';
import { CronJobLogMinAggregateInputObjectSchema as CronJobLogMinAggregateInputObjectSchema } from './objects/CronJobLogMinAggregateInput.schema';
import { CronJobLogMaxAggregateInputObjectSchema as CronJobLogMaxAggregateInputObjectSchema } from './objects/CronJobLogMaxAggregateInput.schema';
import { CronJobLogAvgAggregateInputObjectSchema as CronJobLogAvgAggregateInputObjectSchema } from './objects/CronJobLogAvgAggregateInput.schema';
import { CronJobLogSumAggregateInputObjectSchema as CronJobLogSumAggregateInputObjectSchema } from './objects/CronJobLogSumAggregateInput.schema';

export const CronJobLogAggregateSchema: z.ZodType<Prisma.CronJobLogAggregateArgs> = z.object({ orderBy: z.union([CronJobLogOrderByWithRelationInputObjectSchema, CronJobLogOrderByWithRelationInputObjectSchema.array()]).optional(), where: CronJobLogWhereInputObjectSchema.optional(), cursor: CronJobLogWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CronJobLogCountAggregateInputObjectSchema ]).optional(), _min: CronJobLogMinAggregateInputObjectSchema.optional(), _max: CronJobLogMaxAggregateInputObjectSchema.optional(), _avg: CronJobLogAvgAggregateInputObjectSchema.optional(), _sum: CronJobLogSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CronJobLogAggregateArgs>;

export const CronJobLogAggregateZodSchema = z.object({ orderBy: z.union([CronJobLogOrderByWithRelationInputObjectSchema, CronJobLogOrderByWithRelationInputObjectSchema.array()]).optional(), where: CronJobLogWhereInputObjectSchema.optional(), cursor: CronJobLogWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CronJobLogCountAggregateInputObjectSchema ]).optional(), _min: CronJobLogMinAggregateInputObjectSchema.optional(), _max: CronJobLogMaxAggregateInputObjectSchema.optional(), _avg: CronJobLogAvgAggregateInputObjectSchema.optional(), _sum: CronJobLogSumAggregateInputObjectSchema.optional() }).strict();