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

15 lines
1.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateWithoutServiceLineTransactionsInput.schema';
import { PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema';
import { PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateOrConnectWithoutServiceLineTransactionsInput.schema';
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema).optional(),
connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional()
}).strict();
export const PaymentCreateNestedOneWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput>;
export const PaymentCreateNestedOneWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();