"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.UserUpdateWithoutAppointmentsInputObjectZodSchema = exports.UserUpdateWithoutAppointmentsInputObjectSchema = void 0;
const z = __importStar(require("zod"));
const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema");
const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema");
const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema");
const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema");
const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema");
const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema");
const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema");
const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema");
const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema");
const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema");
const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema");
const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema");
const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema");
const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema");
const makeSchema = () => z.object({
    username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(),
    password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(),
    autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
    usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
    patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(),
    backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional()
}).strict();
exports.UserUpdateWithoutAppointmentsInputObjectSchema = makeSchema();
exports.UserUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema();
