import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { AppointmentProcedureOrderByWithRelationInputObjectSchema as AppointmentProcedureOrderByWithRelationInputObjectSchema } from './objects/AppointmentProcedureOrderByWithRelationInput.schema';
import { AppointmentProcedureWhereInputObjectSchema as AppointmentProcedureWhereInputObjectSchema } from './objects/AppointmentProcedureWhereInput.schema';
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './objects/AppointmentProcedureWhereUniqueInput.schema';
import { AppointmentProcedureCountAggregateInputObjectSchema as AppointmentProcedureCountAggregateInputObjectSchema } from './objects/AppointmentProcedureCountAggregateInput.schema';
import { AppointmentProcedureMinAggregateInputObjectSchema as AppointmentProcedureMinAggregateInputObjectSchema } from './objects/AppointmentProcedureMinAggregateInput.schema';
import { AppointmentProcedureMaxAggregateInputObjectSchema as AppointmentProcedureMaxAggregateInputObjectSchema } from './objects/AppointmentProcedureMaxAggregateInput.schema';
import { AppointmentProcedureAvgAggregateInputObjectSchema as AppointmentProcedureAvgAggregateInputObjectSchema } from './objects/AppointmentProcedureAvgAggregateInput.schema';
import { AppointmentProcedureSumAggregateInputObjectSchema as AppointmentProcedureSumAggregateInputObjectSchema } from './objects/AppointmentProcedureSumAggregateInput.schema';

export const AppointmentProcedureAggregateSchema: z.ZodType<Prisma.AppointmentProcedureAggregateArgs> = z.object({ orderBy: z.union([AppointmentProcedureOrderByWithRelationInputObjectSchema, AppointmentProcedureOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentProcedureWhereInputObjectSchema.optional(), cursor: AppointmentProcedureWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AppointmentProcedureCountAggregateInputObjectSchema ]).optional(), _min: AppointmentProcedureMinAggregateInputObjectSchema.optional(), _max: AppointmentProcedureMaxAggregateInputObjectSchema.optional(), _avg: AppointmentProcedureAvgAggregateInputObjectSchema.optional(), _sum: AppointmentProcedureSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.AppointmentProcedureAggregateArgs>;

export const AppointmentProcedureAggregateZodSchema = z.object({ orderBy: z.union([AppointmentProcedureOrderByWithRelationInputObjectSchema, AppointmentProcedureOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentProcedureWhereInputObjectSchema.optional(), cursor: AppointmentProcedureWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AppointmentProcedureCountAggregateInputObjectSchema ]).optional(), _min: AppointmentProcedureMinAggregateInputObjectSchema.optional(), _max: AppointmentProcedureMaxAggregateInputObjectSchema.optional(), _avg: AppointmentProcedureAvgAggregateInputObjectSchema.optional(), _sum: AppointmentProcedureSumAggregateInputObjectSchema.optional() }).strict();