import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema'; import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'; import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'; import { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema' const patientpreauthhistoryscalarwherewithaggregatesinputSchema = z.object({ AND: z.union([z.lazy(() => PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), OR: z.lazy(() => PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), preAuthNumber: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(), submittedCode: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(), toothQuadArchSurface: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), paidAmount: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() }).strict(); export const PatientPreauthHistoryScalarWhereWithAggregatesInputObjectSchema: z.ZodType = patientpreauthhistoryscalarwherewithaggregatesinputSchema as unknown as z.ZodType; export const PatientPreauthHistoryScalarWhereWithAggregatesInputObjectZodSchema = patientpreauthhistoryscalarwherewithaggregatesinputSchema;