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

17 lines
2.4 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineTransactionCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateWithoutPaymentInput.schema';
import { ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutPaymentInput.schema';
import { ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateOrConnectWithoutPaymentInput.schema';
import { ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema as ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema } from './ServiceLineTransactionCreateManyPaymentInputEnvelope.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput>;
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();