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

15 lines
1.5 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentCreateWithoutServiceLinesInputObjectSchema as PaymentCreateWithoutServiceLinesInputObjectSchema } from './PaymentCreateWithoutServiceLinesInput.schema';
import { PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema as PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLinesInput.schema';
import { PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema as PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema } from './PaymentCreateOrConnectWithoutServiceLinesInput.schema';
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema).optional(),
connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional()
}).strict();
export const PaymentCreateNestedOneWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.PaymentCreateNestedOneWithoutServiceLinesInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateNestedOneWithoutServiceLinesInput>;
export const PaymentCreateNestedOneWithoutServiceLinesInputObjectZodSchema = makeSchema();