initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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';
|
||||
import { EnumMissingTeethStatusWithAggregatesFilterObjectSchema as EnumMissingTeethStatusWithAggregatesFilterObjectSchema } from './EnumMissingTeethStatusWithAggregatesFilter.schema';
|
||||
import { MissingTeethStatusSchema } from '../enums/MissingTeethStatus.schema';
|
||||
import { JsonNullableWithAggregatesFilterObjectSchema as JsonNullableWithAggregatesFilterObjectSchema } from './JsonNullableWithAggregatesFilter.schema';
|
||||
import { EnumClaimStatusWithAggregatesFilterObjectSchema as EnumClaimStatusWithAggregatesFilterObjectSchema } from './EnumClaimStatusWithAggregatesFilter.schema';
|
||||
import { ClaimStatusSchema } from '../enums/ClaimStatus.schema';
|
||||
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
|
||||
|
||||
const claimscalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
staffId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientName: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
memberId: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
dateOfBirth: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
remarks: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
missingTeethStatus: z.union([z.lazy(() => EnumMissingTeethStatusWithAggregatesFilterObjectSchema), MissingTeethStatusSchema]).optional(),
|
||||
missingTeeth: z.lazy(() => JsonNullableWithAggregatesFilterObjectSchema).optional(),
|
||||
serviceDate: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
insuranceProvider: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
status: z.union([z.lazy(() => EnumClaimStatusWithAggregatesFilterObjectSchema), ClaimStatusSchema]).optional(),
|
||||
claimNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
|
||||
}).strict();
|
||||
export const ClaimScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.ClaimScalarWhereWithAggregatesInput> = claimscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.ClaimScalarWhereWithAggregatesInput>;
|
||||
export const ClaimScalarWhereWithAggregatesInputObjectZodSchema = claimscalarwherewithaggregatesinputSchema;
|
||||
Reference in New Issue
Block a user