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';

export const CronJobLogCountSchema: z.ZodType<Prisma.CronJobLogCountArgs> = z.object({ orderBy: z.union([CronJobLogOrderByWithRelationInputObjectSchema, CronJobLogOrderByWithRelationInputObjectSchema.array()]).optional(), where: CronJobLogWhereInputObjectSchema.optional(), cursor: CronJobLogWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CronJobLogCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CronJobLogCountArgs>;

export const CronJobLogCountZodSchema = z.object({ orderBy: z.union([CronJobLogOrderByWithRelationInputObjectSchema, CronJobLogOrderByWithRelationInputObjectSchema.array()]).optional(), where: CronJobLogWhereInputObjectSchema.optional(), cursor: CronJobLogWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CronJobLogCountAggregateInputObjectSchema ]).optional() }).strict();