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

16 lines
1.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema';
import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema';
import { PaymentCreateWithoutServiceLinesInputObjectSchema as PaymentCreateWithoutServiceLinesInputObjectSchema } from './PaymentCreateWithoutServiceLinesInput.schema';
import { PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema as PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLinesInput.schema';
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'
const makeSchema = () => z.object({
update: z.union([z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)]),
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema)]),
where: z.lazy(() => PaymentWhereInputObjectSchema).optional()
}).strict();
export const PaymentUpsertWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.PaymentUpsertWithoutServiceLinesInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpsertWithoutServiceLinesInput>;
export const PaymentUpsertWithoutServiceLinesInputObjectZodSchema = makeSchema();