import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema'; import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema'; import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema'; import { AppointmentScalarRelationFilterObjectSchema as AppointmentScalarRelationFilterObjectSchema } from './AppointmentScalarRelationFilter.schema'; import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema' const appointmentfilewhereinputSchema = z.object({ AND: z.union([z.lazy(() => AppointmentFileWhereInputObjectSchema), z.lazy(() => AppointmentFileWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => AppointmentFileWhereInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => AppointmentFileWhereInputObjectSchema), z.lazy(() => AppointmentFileWhereInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), appointmentId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), filename: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(), mimeType: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(), filePath: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(), appointment: z.union([z.lazy(() => AppointmentScalarRelationFilterObjectSchema), z.lazy(() => AppointmentWhereInputObjectSchema)]).optional() }).strict(); export const AppointmentFileWhereInputObjectSchema: z.ZodType = appointmentfilewhereinputSchema as unknown as z.ZodType; export const AppointmentFileWhereInputObjectZodSchema = appointmentfilewhereinputSchema;