import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema'; import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema'; import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema'; import { PatientServiceHistoryCreateInputObjectSchema as PatientServiceHistoryCreateInputObjectSchema } from './objects/PatientServiceHistoryCreateInput.schema'; import { PatientServiceHistoryUncheckedCreateInputObjectSchema as PatientServiceHistoryUncheckedCreateInputObjectSchema } from './objects/PatientServiceHistoryUncheckedCreateInput.schema'; import { PatientServiceHistoryUpdateInputObjectSchema as PatientServiceHistoryUpdateInputObjectSchema } from './objects/PatientServiceHistoryUpdateInput.schema'; import { PatientServiceHistoryUncheckedUpdateInputObjectSchema as PatientServiceHistoryUncheckedUpdateInputObjectSchema } from './objects/PatientServiceHistoryUncheckedUpdateInput.schema'; export const PatientServiceHistoryUpsertOneSchema: z.ZodType = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema, create: z.union([ PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema ]), update: z.union([ PatientServiceHistoryUpdateInputObjectSchema, PatientServiceHistoryUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType; export const PatientServiceHistoryUpsertOneZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema, create: z.union([ PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema ]), update: z.union([ PatientServiceHistoryUpdateInputObjectSchema, PatientServiceHistoryUncheckedUpdateInputObjectSchema ]) }).strict();