import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { ServiceLineTransactionOrderByWithRelationInputObjectSchema as ServiceLineTransactionOrderByWithRelationInputObjectSchema } from './objects/ServiceLineTransactionOrderByWithRelationInput.schema'; import { ServiceLineTransactionWhereInputObjectSchema as ServiceLineTransactionWhereInputObjectSchema } from './objects/ServiceLineTransactionWhereInput.schema'; import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './objects/ServiceLineTransactionWhereUniqueInput.schema'; import { ServiceLineTransactionCountAggregateInputObjectSchema as ServiceLineTransactionCountAggregateInputObjectSchema } from './objects/ServiceLineTransactionCountAggregateInput.schema'; import { ServiceLineTransactionMinAggregateInputObjectSchema as ServiceLineTransactionMinAggregateInputObjectSchema } from './objects/ServiceLineTransactionMinAggregateInput.schema'; import { ServiceLineTransactionMaxAggregateInputObjectSchema as ServiceLineTransactionMaxAggregateInputObjectSchema } from './objects/ServiceLineTransactionMaxAggregateInput.schema'; import { ServiceLineTransactionAvgAggregateInputObjectSchema as ServiceLineTransactionAvgAggregateInputObjectSchema } from './objects/ServiceLineTransactionAvgAggregateInput.schema'; import { ServiceLineTransactionSumAggregateInputObjectSchema as ServiceLineTransactionSumAggregateInputObjectSchema } from './objects/ServiceLineTransactionSumAggregateInput.schema'; export const ServiceLineTransactionAggregateSchema: z.ZodType = z.object({ orderBy: z.union([ServiceLineTransactionOrderByWithRelationInputObjectSchema, ServiceLineTransactionOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineTransactionWhereInputObjectSchema.optional(), cursor: ServiceLineTransactionWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineTransactionCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType; export const ServiceLineTransactionAggregateZodSchema = z.object({ orderBy: z.union([ServiceLineTransactionOrderByWithRelationInputObjectSchema, ServiceLineTransactionOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineTransactionWhereInputObjectSchema.optional(), cursor: ServiceLineTransactionWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineTransactionCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict();