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

24 lines
2.8 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 { PaymentUpsertWithoutServiceLinesInputObjectSchema as PaymentUpsertWithoutServiceLinesInputObjectSchema } from './PaymentUpsertWithoutServiceLinesInput.schema';
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema';
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema';
import { PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema as PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema } from './PaymentUpdateToOneWithWhereWithoutServiceLinesInput.schema';
import { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema';
import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutServiceLinesInputObjectSchema).optional(),
upsert: z.lazy(() => PaymentUpsertWithoutServiceLinesInputObjectSchema).optional(),
disconnect: z.union([z.boolean(), z.lazy(() => PaymentWhereInputObjectSchema)]).optional(),
delete: z.union([z.boolean(), z.lazy(() => PaymentWhereInputObjectSchema)]).optional(),
connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional(),
update: z.union([z.lazy(() => PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)]).optional()
}).strict();
export const PaymentUpdateOneWithoutServiceLinesNestedInputObjectSchema: z.ZodType<Prisma.PaymentUpdateOneWithoutServiceLinesNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateOneWithoutServiceLinesNestedInput>;
export const PaymentUpdateOneWithoutServiceLinesNestedInputObjectZodSchema = makeSchema();