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 { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema'; import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema'; import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema' const npiproviderwhereinputSchema = z.object({ AND: z.union([z.lazy(() => NpiProviderWhereInputObjectSchema), z.lazy(() => NpiProviderWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => NpiProviderWhereInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => NpiProviderWhereInputObjectSchema), z.lazy(() => NpiProviderWhereInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), npiNumber: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(), providerName: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(), user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional() }).strict(); export const NpiProviderWhereInputObjectSchema: z.ZodType = npiproviderwhereinputSchema as unknown as z.ZodType; export const NpiProviderWhereInputObjectZodSchema = npiproviderwhereinputSchema;