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

24 lines
2.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ClaimCreateWithoutPaymentInputObjectSchema as ClaimCreateWithoutPaymentInputObjectSchema } from './ClaimCreateWithoutPaymentInput.schema';
import { ClaimUncheckedCreateWithoutPaymentInputObjectSchema as ClaimUncheckedCreateWithoutPaymentInputObjectSchema } from './ClaimUncheckedCreateWithoutPaymentInput.schema';
import { ClaimCreateOrConnectWithoutPaymentInputObjectSchema as ClaimCreateOrConnectWithoutPaymentInputObjectSchema } from './ClaimCreateOrConnectWithoutPaymentInput.schema';
import { ClaimUpsertWithoutPaymentInputObjectSchema as ClaimUpsertWithoutPaymentInputObjectSchema } from './ClaimUpsertWithoutPaymentInput.schema';
import { ClaimWhereInputObjectSchema as ClaimWhereInputObjectSchema } from './ClaimWhereInput.schema';
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema';
import { ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema as ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema } from './ClaimUpdateToOneWithWhereWithoutPaymentInput.schema';
import { ClaimUpdateWithoutPaymentInputObjectSchema as ClaimUpdateWithoutPaymentInputObjectSchema } from './ClaimUpdateWithoutPaymentInput.schema';
import { ClaimUncheckedUpdateWithoutPaymentInputObjectSchema as ClaimUncheckedUpdateWithoutPaymentInputObjectSchema } from './ClaimUncheckedUpdateWithoutPaymentInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ClaimCreateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => ClaimCreateOrConnectWithoutPaymentInputObjectSchema).optional(),
upsert: z.lazy(() => ClaimUpsertWithoutPaymentInputObjectSchema).optional(),
disconnect: z.union([z.boolean(), z.lazy(() => ClaimWhereInputObjectSchema)]).optional(),
delete: z.union([z.boolean(), z.lazy(() => ClaimWhereInputObjectSchema)]).optional(),
connect: z.lazy(() => ClaimWhereUniqueInputObjectSchema).optional(),
update: z.union([z.lazy(() => ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutPaymentInputObjectSchema)]).optional()
}).strict();
export const ClaimUpdateOneWithoutPaymentNestedInputObjectSchema: z.ZodType<Prisma.ClaimUpdateOneWithoutPaymentNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateOneWithoutPaymentNestedInput>;
export const ClaimUpdateOneWithoutPaymentNestedInputObjectZodSchema = makeSchema();