import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ProcedureTimeslotOrderByWithRelationInputObjectSchema as ProcedureTimeslotOrderByWithRelationInputObjectSchema } from './objects/ProcedureTimeslotOrderByWithRelationInput.schema';
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
import { ProcedureTimeslotWhereUniqueInputObjectSchema as ProcedureTimeslotWhereUniqueInputObjectSchema } from './objects/ProcedureTimeslotWhereUniqueInput.schema';
import { ProcedureTimeslotCountAggregateInputObjectSchema as ProcedureTimeslotCountAggregateInputObjectSchema } from './objects/ProcedureTimeslotCountAggregateInput.schema';
import { ProcedureTimeslotMinAggregateInputObjectSchema as ProcedureTimeslotMinAggregateInputObjectSchema } from './objects/ProcedureTimeslotMinAggregateInput.schema';
import { ProcedureTimeslotMaxAggregateInputObjectSchema as ProcedureTimeslotMaxAggregateInputObjectSchema } from './objects/ProcedureTimeslotMaxAggregateInput.schema';
import { ProcedureTimeslotAvgAggregateInputObjectSchema as ProcedureTimeslotAvgAggregateInputObjectSchema } from './objects/ProcedureTimeslotAvgAggregateInput.schema';
import { ProcedureTimeslotSumAggregateInputObjectSchema as ProcedureTimeslotSumAggregateInputObjectSchema } from './objects/ProcedureTimeslotSumAggregateInput.schema';

export const ProcedureTimeslotAggregateSchema: z.ZodType<Prisma.ProcedureTimeslotAggregateArgs> = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotAggregateArgs>;

export const ProcedureTimeslotAggregateZodSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict();