19 lines
1.9 KiB
TypeScript
19 lines
1.9 KiB
TypeScript
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 { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema'
|
|
|
|
const npiproviderscalarwherewithaggregatesinputSchema = z.object({
|
|
AND: z.union([z.lazy(() => NpiProviderScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => NpiProviderScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
OR: z.lazy(() => NpiProviderScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
NOT: z.union([z.lazy(() => NpiProviderScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => NpiProviderScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
npiNumber: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
|
providerName: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
|
createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional()
|
|
}).strict();
|
|
export const NpiProviderScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.NpiProviderScalarWhereWithAggregatesInput> = npiproviderscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.NpiProviderScalarWhereWithAggregatesInput>;
|
|
export const NpiProviderScalarWhereWithAggregatesInputObjectZodSchema = npiproviderscalarwherewithaggregatesinputSchema;
|