import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ServiceLineTransactionSelectObjectSchema as ServiceLineTransactionSelectObjectSchema } from './objects/ServiceLineTransactionSelect.schema';
import { ServiceLineTransactionIncludeObjectSchema as ServiceLineTransactionIncludeObjectSchema } from './objects/ServiceLineTransactionInclude.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './objects/ServiceLineTransactionWhereUniqueInput.schema';
import { ServiceLineTransactionCreateInputObjectSchema as ServiceLineTransactionCreateInputObjectSchema } from './objects/ServiceLineTransactionCreateInput.schema';
import { ServiceLineTransactionUncheckedCreateInputObjectSchema as ServiceLineTransactionUncheckedCreateInputObjectSchema } from './objects/ServiceLineTransactionUncheckedCreateInput.schema';
import { ServiceLineTransactionUpdateInputObjectSchema as ServiceLineTransactionUpdateInputObjectSchema } from './objects/ServiceLineTransactionUpdateInput.schema';
import { ServiceLineTransactionUncheckedUpdateInputObjectSchema as ServiceLineTransactionUncheckedUpdateInputObjectSchema } from './objects/ServiceLineTransactionUncheckedUpdateInput.schema';

export const ServiceLineTransactionUpsertOneSchema: z.ZodType<Prisma.ServiceLineTransactionUpsertArgs> = z.object({ select: ServiceLineTransactionSelectObjectSchema.optional(), include: ServiceLineTransactionIncludeObjectSchema.optional(), where: ServiceLineTransactionWhereUniqueInputObjectSchema, create: z.union([ ServiceLineTransactionCreateInputObjectSchema, ServiceLineTransactionUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineTransactionUpdateInputObjectSchema, ServiceLineTransactionUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.ServiceLineTransactionUpsertArgs>;

export const ServiceLineTransactionUpsertOneZodSchema = z.object({ select: ServiceLineTransactionSelectObjectSchema.optional(), include: ServiceLineTransactionIncludeObjectSchema.optional(), where: ServiceLineTransactionWhereUniqueInputObjectSchema, create: z.union([ ServiceLineTransactionCreateInputObjectSchema, ServiceLineTransactionUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineTransactionUpdateInputObjectSchema, ServiceLineTransactionUncheckedUpdateInputObjectSchema ]) }).strict();