import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema'; import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema'; import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema'; import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema'; export const PatientServiceHistoryCountSchema: z.ZodType = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType; export const PatientServiceHistoryCountZodSchema = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict();