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

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema';
import { PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema as PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUpdateWithoutServiceLineTransactionsInput.schema';
import { PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PaymentWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema)])
}).strict();
export const PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInput>;
export const PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();