Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/ClaimUpdateToOneWithWhereWithoutPaymentInput.schema.ts
2026-04-04 22:13:55 -04:00

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ClaimWhereInputObjectSchema as ClaimWhereInputObjectSchema } from './ClaimWhereInput.schema';
import { ClaimUpdateWithoutPaymentInputObjectSchema as ClaimUpdateWithoutPaymentInputObjectSchema } from './ClaimUpdateWithoutPaymentInput.schema';
import { ClaimUncheckedUpdateWithoutPaymentInputObjectSchema as ClaimUncheckedUpdateWithoutPaymentInputObjectSchema } from './ClaimUncheckedUpdateWithoutPaymentInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => ClaimWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => ClaimUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutPaymentInputObjectSchema)])
}).strict();
export const ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ClaimUpdateToOneWithWhereWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateToOneWithWhereWithoutPaymentInput>;
export const ClaimUpdateToOneWithWhereWithoutPaymentInputObjectZodSchema = makeSchema();