Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PaymentUpdateToOneWithWhereWithoutServiceLinesInput.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 { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema';
import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PaymentWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)])
}).strict();
export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLinesInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLinesInput>;
export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectZodSchema = makeSchema();