"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.PatientUpdateResultSchema = void 0;
const z = __importStar(require("zod"));
exports.PatientUpdateResultSchema = z.nullable(z.object({
    id: z.number().int(),
    firstName: z.string(),
    lastName: z.string(),
    dateOfBirth: z.date().optional(),
    gender: z.string(),
    phone: z.string(),
    email: z.string().optional(),
    address: z.string().optional(),
    city: z.string().optional(),
    zipCode: z.string().optional(),
    insuranceProvider: z.string().optional(),
    insuranceId: z.string().optional(),
    groupNumber: z.string().optional(),
    policyHolder: z.string().optional(),
    allergies: z.string().optional(),
    medicalConditions: z.string().optional(),
    preferredLanguage: z.string().optional(),
    status: z.unknown(),
    userId: z.number().int(),
    createdAt: z.date(),
    updatedAt: z.date(),
    user: z.unknown(),
    appointments: z.array(z.unknown()),
    procedures: z.array(z.unknown()),
    claims: z.array(z.unknown()),
    groups: z.array(z.unknown()),
    payment: z.array(z.unknown()),
    communications: z.array(z.unknown()),
    documents: z.array(z.unknown()),
    conversation: z.unknown().optional(),
    cloudFolders: z.array(z.unknown())
}));
