import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema'; 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 { PatientServiceHistoryScalarFieldEnumSchema } from './enums/PatientServiceHistoryScalarFieldEnum.schema'; // Select schema needs to be in file to prevent circular imports //------------------------------------------------------ export const PatientServiceHistoryFindManySelectSchema: z.ZodType = z.object({ id: z.boolean().optional(), patientId: z.boolean().optional(), procedureCode: z.boolean().optional(), description: z.boolean().optional(), toothQuadArchSurface: z.boolean().optional(), placeOfService: z.boolean().optional(), serviceDate: z.boolean().optional(), createdAt: z.boolean().optional(), patient: z.boolean().optional() }).strict() as unknown as z.ZodType; export const PatientServiceHistoryFindManySelectZodSchema = z.object({ id: z.boolean().optional(), patientId: z.boolean().optional(), procedureCode: z.boolean().optional(), description: z.boolean().optional(), toothQuadArchSurface: z.boolean().optional(), placeOfService: z.boolean().optional(), serviceDate: z.boolean().optional(), createdAt: z.boolean().optional(), patient: z.boolean().optional() }).strict(); export const PatientServiceHistoryFindManySchema: z.ZodType = z.object({ select: PatientServiceHistoryFindManySelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType; export const PatientServiceHistoryFindManyZodSchema = z.object({ select: PatientServiceHistoryFindManySelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict();