"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.PdfFileGroupByZodSchema = exports.PdfFileGroupBySchema = void 0;
const z = __importStar(require("zod"));
const PdfFileWhereInput_schema_1 = require("./objects/PdfFileWhereInput.schema");
const PdfFileOrderByWithAggregationInput_schema_1 = require("./objects/PdfFileOrderByWithAggregationInput.schema");
const PdfFileScalarWhereWithAggregatesInput_schema_1 = require("./objects/PdfFileScalarWhereWithAggregatesInput.schema");
const PdfFileScalarFieldEnum_schema_1 = require("./enums/PdfFileScalarFieldEnum.schema");
const PdfFileCountAggregateInput_schema_1 = require("./objects/PdfFileCountAggregateInput.schema");
const PdfFileMinAggregateInput_schema_1 = require("./objects/PdfFileMinAggregateInput.schema");
const PdfFileMaxAggregateInput_schema_1 = require("./objects/PdfFileMaxAggregateInput.schema");
const PdfFileAvgAggregateInput_schema_1 = require("./objects/PdfFileAvgAggregateInput.schema");
const PdfFileSumAggregateInput_schema_1 = require("./objects/PdfFileSumAggregateInput.schema");
exports.PdfFileGroupBySchema = z.object({ where: PdfFileWhereInput_schema_1.PdfFileWhereInputObjectSchema.optional(), orderBy: z.union([PdfFileOrderByWithAggregationInput_schema_1.PdfFileOrderByWithAggregationInputObjectSchema, PdfFileOrderByWithAggregationInput_schema_1.PdfFileOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PdfFileScalarWhereWithAggregatesInput_schema_1.PdfFileScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PdfFileScalarFieldEnum_schema_1.PdfFileScalarFieldEnumSchema), _count: z.union([z.literal(true), PdfFileCountAggregateInput_schema_1.PdfFileCountAggregateInputObjectSchema]).optional(), _min: PdfFileMinAggregateInput_schema_1.PdfFileMinAggregateInputObjectSchema.optional(), _max: PdfFileMaxAggregateInput_schema_1.PdfFileMaxAggregateInputObjectSchema.optional(), _avg: PdfFileAvgAggregateInput_schema_1.PdfFileAvgAggregateInputObjectSchema.optional(), _sum: PdfFileSumAggregateInput_schema_1.PdfFileSumAggregateInputObjectSchema.optional() }).strict();
exports.PdfFileGroupByZodSchema = z.object({ where: PdfFileWhereInput_schema_1.PdfFileWhereInputObjectSchema.optional(), orderBy: z.union([PdfFileOrderByWithAggregationInput_schema_1.PdfFileOrderByWithAggregationInputObjectSchema, PdfFileOrderByWithAggregationInput_schema_1.PdfFileOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PdfFileScalarWhereWithAggregatesInput_schema_1.PdfFileScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PdfFileScalarFieldEnum_schema_1.PdfFileScalarFieldEnumSchema), _count: z.union([z.literal(true), PdfFileCountAggregateInput_schema_1.PdfFileCountAggregateInputObjectSchema]).optional(), _min: PdfFileMinAggregateInput_schema_1.PdfFileMinAggregateInputObjectSchema.optional(), _max: PdfFileMaxAggregateInput_schema_1.PdfFileMaxAggregateInputObjectSchema.optional(), _avg: PdfFileAvgAggregateInput_schema_1.PdfFileAvgAggregateInputObjectSchema.optional(), _sum: PdfFileSumAggregateInput_schema_1.PdfFileSumAggregateInputObjectSchema.optional() }).strict();
