import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { AppointmentFileSelectObjectSchema as AppointmentFileSelectObjectSchema } from './objects/AppointmentFileSelect.schema'; import { AppointmentFileIncludeObjectSchema as AppointmentFileIncludeObjectSchema } from './objects/AppointmentFileInclude.schema'; import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './objects/AppointmentFileWhereUniqueInput.schema'; import { AppointmentFileCreateInputObjectSchema as AppointmentFileCreateInputObjectSchema } from './objects/AppointmentFileCreateInput.schema'; import { AppointmentFileUncheckedCreateInputObjectSchema as AppointmentFileUncheckedCreateInputObjectSchema } from './objects/AppointmentFileUncheckedCreateInput.schema'; import { AppointmentFileUpdateInputObjectSchema as AppointmentFileUpdateInputObjectSchema } from './objects/AppointmentFileUpdateInput.schema'; import { AppointmentFileUncheckedUpdateInputObjectSchema as AppointmentFileUncheckedUpdateInputObjectSchema } from './objects/AppointmentFileUncheckedUpdateInput.schema'; export const AppointmentFileUpsertOneSchema: z.ZodType = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema, create: z.union([ AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInputObjectSchema ]), update: z.union([ AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType; export const AppointmentFileUpsertOneZodSchema = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema, create: z.union([ AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInputObjectSchema ]), update: z.union([ AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInputObjectSchema ]) }).strict();