Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PaymentUpdateToOneWithWhereWithoutClaimInput.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 { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema';
import { PaymentUpdateWithoutClaimInputObjectSchema as PaymentUpdateWithoutClaimInputObjectSchema } from './PaymentUpdateWithoutClaimInput.schema';
import { PaymentUncheckedUpdateWithoutClaimInputObjectSchema as PaymentUncheckedUpdateWithoutClaimInputObjectSchema } from './PaymentUncheckedUpdateWithoutClaimInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PaymentWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => PaymentUpdateWithoutClaimInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutClaimInputObjectSchema)])
}).strict();
export const PaymentUpdateToOneWithWhereWithoutClaimInputObjectSchema: z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutClaimInput>;
export const PaymentUpdateToOneWithWhereWithoutClaimInputObjectZodSchema = makeSchema();