"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.UserSelectObjectZodSchema = exports.UserSelectObjectSchema = void 0;
const z = __importStar(require("zod"));
const findManyPatient_schema_1 = require("../findManyPatient.schema");
const findManyAppointment_schema_1 = require("../findManyAppointment.schema");
const findManyStaff_schema_1 = require("../findManyStaff.schema");
const findManyNpiProvider_schema_1 = require("../findManyNpiProvider.schema");
const findManyClaim_schema_1 = require("../findManyClaim.schema");
const findManyInsuranceCredential_schema_1 = require("../findManyInsuranceCredential.schema");
const findManyPayment_schema_1 = require("../findManyPayment.schema");
const findManyDatabaseBackup_schema_1 = require("../findManyDatabaseBackup.schema");
const findManyBackupDestination_schema_1 = require("../findManyBackupDestination.schema");
const findManyNotification_schema_1 = require("../findManyNotification.schema");
const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema");
const findManyCloudFile_schema_1 = require("../findManyCloudFile.schema");
const findManyCommunication_schema_1 = require("../findManyCommunication.schema");
const UserCountOutputTypeArgs_schema_1 = require("./UserCountOutputTypeArgs.schema");
const makeSchema = () => z.object({
    id: z.boolean().optional(),
    username: z.boolean().optional(),
    password: z.boolean().optional(),
    autoBackupEnabled: z.boolean().optional(),
    usbBackupEnabled: z.boolean().optional(),
    patients: z.union([z.boolean(), z.lazy(() => findManyPatient_schema_1.PatientFindManySchema)]).optional(),
    appointments: z.union([z.boolean(), z.lazy(() => findManyAppointment_schema_1.AppointmentFindManySchema)]).optional(),
    staff: z.union([z.boolean(), z.lazy(() => findManyStaff_schema_1.StaffFindManySchema)]).optional(),
    npiProviders: z.union([z.boolean(), z.lazy(() => findManyNpiProvider_schema_1.NpiProviderFindManySchema)]).optional(),
    claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(),
    insuranceCredentials: z.union([z.boolean(), z.lazy(() => findManyInsuranceCredential_schema_1.InsuranceCredentialFindManySchema)]).optional(),
    updatedPayments: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(),
    backups: z.union([z.boolean(), z.lazy(() => findManyDatabaseBackup_schema_1.DatabaseBackupFindManySchema)]).optional(),
    backupDestinations: z.union([z.boolean(), z.lazy(() => findManyBackupDestination_schema_1.BackupDestinationFindManySchema)]).optional(),
    notifications: z.union([z.boolean(), z.lazy(() => findManyNotification_schema_1.NotificationFindManySchema)]).optional(),
    cloudFolders: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(),
    cloudFiles: z.union([z.boolean(), z.lazy(() => findManyCloudFile_schema_1.CloudFileFindManySchema)]).optional(),
    communications: z.union([z.boolean(), z.lazy(() => findManyCommunication_schema_1.CommunicationFindManySchema)]).optional(),
    _count: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeArgs_schema_1.UserCountOutputTypeArgsObjectSchema)]).optional()
}).strict();
exports.UserSelectObjectSchema = makeSchema();
exports.UserSelectObjectZodSchema = makeSchema();
