49 lines
5.4 KiB
JavaScript
49 lines
5.4 KiB
JavaScript
"use strict";
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
}
|
|
Object.defineProperty(o, k2, desc);
|
|
}) : (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
o[k2] = m[k];
|
|
}));
|
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
}) : function(o, v) {
|
|
o["default"] = v;
|
|
});
|
|
var __importStar = (this && this.__importStar) || (function () {
|
|
var ownKeys = function(o) {
|
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
var ar = [];
|
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
return ar;
|
|
};
|
|
return ownKeys(o);
|
|
};
|
|
return function (mod) {
|
|
if (mod && mod.__esModule) return mod;
|
|
var result = {};
|
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
__setModuleDefault(result, mod);
|
|
return result;
|
|
};
|
|
})();
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.ServiceLineTransactionGroupByZodSchema = exports.ServiceLineTransactionGroupBySchema = void 0;
|
|
const z = __importStar(require("zod"));
|
|
const ServiceLineTransactionWhereInput_schema_1 = require("./objects/ServiceLineTransactionWhereInput.schema");
|
|
const ServiceLineTransactionOrderByWithAggregationInput_schema_1 = require("./objects/ServiceLineTransactionOrderByWithAggregationInput.schema");
|
|
const ServiceLineTransactionScalarWhereWithAggregatesInput_schema_1 = require("./objects/ServiceLineTransactionScalarWhereWithAggregatesInput.schema");
|
|
const ServiceLineTransactionScalarFieldEnum_schema_1 = require("./enums/ServiceLineTransactionScalarFieldEnum.schema");
|
|
const ServiceLineTransactionCountAggregateInput_schema_1 = require("./objects/ServiceLineTransactionCountAggregateInput.schema");
|
|
const ServiceLineTransactionMinAggregateInput_schema_1 = require("./objects/ServiceLineTransactionMinAggregateInput.schema");
|
|
const ServiceLineTransactionMaxAggregateInput_schema_1 = require("./objects/ServiceLineTransactionMaxAggregateInput.schema");
|
|
const ServiceLineTransactionAvgAggregateInput_schema_1 = require("./objects/ServiceLineTransactionAvgAggregateInput.schema");
|
|
const ServiceLineTransactionSumAggregateInput_schema_1 = require("./objects/ServiceLineTransactionSumAggregateInput.schema");
|
|
exports.ServiceLineTransactionGroupBySchema = z.object({ where: ServiceLineTransactionWhereInput_schema_1.ServiceLineTransactionWhereInputObjectSchema.optional(), orderBy: z.union([ServiceLineTransactionOrderByWithAggregationInput_schema_1.ServiceLineTransactionOrderByWithAggregationInputObjectSchema, ServiceLineTransactionOrderByWithAggregationInput_schema_1.ServiceLineTransactionOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ServiceLineTransactionScalarWhereWithAggregatesInput_schema_1.ServiceLineTransactionScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ServiceLineTransactionScalarFieldEnum_schema_1.ServiceLineTransactionScalarFieldEnumSchema), _count: z.union([z.literal(true), ServiceLineTransactionCountAggregateInput_schema_1.ServiceLineTransactionCountAggregateInputObjectSchema]).optional(), _min: ServiceLineTransactionMinAggregateInput_schema_1.ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInput_schema_1.ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInput_schema_1.ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInput_schema_1.ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict();
|
|
exports.ServiceLineTransactionGroupByZodSchema = z.object({ where: ServiceLineTransactionWhereInput_schema_1.ServiceLineTransactionWhereInputObjectSchema.optional(), orderBy: z.union([ServiceLineTransactionOrderByWithAggregationInput_schema_1.ServiceLineTransactionOrderByWithAggregationInputObjectSchema, ServiceLineTransactionOrderByWithAggregationInput_schema_1.ServiceLineTransactionOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ServiceLineTransactionScalarWhereWithAggregatesInput_schema_1.ServiceLineTransactionScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ServiceLineTransactionScalarFieldEnum_schema_1.ServiceLineTransactionScalarFieldEnumSchema), _count: z.union([z.literal(true), ServiceLineTransactionCountAggregateInput_schema_1.ServiceLineTransactionCountAggregateInputObjectSchema]).optional(), _min: ServiceLineTransactionMinAggregateInput_schema_1.ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInput_schema_1.ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInput_schema_1.ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInput_schema_1.ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict();
|