"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.UserUpdateInputObjectZodSchema = exports.UserUpdateInputObjectSchema = void 0;
const z = __importStar(require("zod"));
const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema");
const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema");
const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema");
const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema");
const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.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 ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.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 TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema");
const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema");
const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema");
const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema");
const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema");
const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema");
const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema");
const LabRxTemplateUpdateManyWithoutUserNestedInput_schema_1 = require("./LabRxTemplateUpdateManyWithoutUserNestedInput.schema");
const SeleniumSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./SeleniumSettingsUpdateOneWithoutUserNestedInput.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(),
    autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(),
    usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
    usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(),
    autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
    autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(),
    autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(),
    patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).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(),
    shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).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(),
    twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(),
    aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(),
    officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(),
    officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(),
    procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(),
    insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    labRxTemplates: z.lazy(() => LabRxTemplateUpdateManyWithoutUserNestedInput_schema_1.LabRxTemplateUpdateManyWithoutUserNestedInputObjectSchema).optional(),
    seleniumSettings: z.lazy(() => SeleniumSettingsUpdateOneWithoutUserNestedInput_schema_1.SeleniumSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional()
}).strict();
exports.UserUpdateInputObjectSchema = makeSchema();
exports.UserUpdateInputObjectZodSchema = makeSchema();
