{"id":1811,"date":"2025-07-23T22:35:57","date_gmt":"2025-07-23T20:35:57","guid":{"rendered":"https:\/\/apps.uniasser.net\/?page_id=1811"},"modified":"2026-07-13T20:42:17","modified_gmt":"2026-07-13T18:42:17","slug":"users-2","status":"publish","type":"page","link":"https:\/\/uniasser.com\/vantis\/users-2\/","title":{"rendered":"Users"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1811\" class=\"elementor elementor-1811\">\n\t\t\t\t<div class=\"elementor-element elementor-element-71c5f9f6 e-flex e-con-boxed tmpcoder-jarallax-no tmpcoder-parallax-no tmpcoder-particle-no tmpcoder-sticky-section-no e-con e-parent\" data-id=\"71c5f9f6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6557419 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"6557419\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<div id=\"panel-admin-v28\" style=\"background: #fff; padding: 25px; border: 1px solid #ddd; border-radius: 12px; font-family: sans-serif;\">\n<div style=\"text-align:right; margin-bottom:10px;\"><button type=\"button\" onclick=\"ControlV28.openCreateModal()\" style=\"background:#4caf50; color:#fff; border:none; padding:8px 15px; cursor:pointer; border-radius:4px; font-weight:bold;\">+ CREAR NUEVO USUARIO<\/button><\/div><div id=\"list_v28\">Cargando base de datos&#8230;<\/div>\n<div id=\"modal_v28\" style=\"display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 99999; overflow-y: auto;\">\n<div style=\"background: #fff; max-width: 1250px; margin: 20px auto; padding: 35px; border-radius: 12px;\"><button style=\"float: right; cursor: pointer; padding: 5px 15px;\" type=\"button\">CERRAR<\/button>\n<h2 id=\"title_v28\" style=\"color: #0073aa; margin-top: 0;\">\u00a0<\/h2>\n<div style=\"background: #f9f9f9; padding: 20px; border-radius: 10px; margin-bottom: 30px; border: 1px solid #eee;\">\n<h3 style=\"margin-top: 0; color: #444; font-size: 16px;\">Datos de Cuenta y Seguridad<\/h3>\n<div style=\"display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 10px; align-items: end;\">\n<div><label style=\"font-size: 12px; font-weight: bold;\">Nombre:<\/label> <input id=\"edit_user_nombre\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"text\" \/><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Email:<\/label> <input id=\"edit_user_email\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"email\" \/><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Rol:<\/label><select id=\"edit_user_admin\" style=\"width: 100%; padding: 9px; border: 1px solid #ccc;\">\n<option value=\"0\">Usuario<\/option>\n<option value=\"1\">Administrador<\/option>\n<\/select><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold; color: #d32f2f;\">Nueva Password:<\/label> <input id=\"edit_user_pass\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"text\" placeholder=\"Vac\u00edo para mantener\" \/><\/div>\n<button onclick=\"ControlV28.updateUser()\" style=\"background: #0073aa; color: white; border: none; padding: 10px; cursor: pointer; font-weight: bold; border-radius: 5px;\" type=\"button\">ACTUALIZAR<\/button><\/div>\n<\/div>\n<!-- SECCI\u00d3N DE GESTI\u00d3N DE LICENCIAS (SOLO PARA ADMINISTRADORES) -->\n<div id=\"admin_licenses_section\" style=\"display: none;\">\n<div style=\"background: #e8f5e8; padding: 20px; border-radius: 10px; margin-bottom: 20px; border: 1px solid #4caf50;\">\n<h3 style=\"margin-top: 0; color: #2e7d32; font-size: 16px;\">\ud83d\udd27 Gesti\u00f3n de Licencias (Solo Administradores)<\/h3>\n<!-- Formulario para a\u00f1adir nueva licencia -->\n<div style=\"background: #fff; padding: 15px; border-radius: 8px; margin-top: 15px; border: 1px solid #ddd;\">\n<h4 style=\"margin-top: 0; color: #333;\">A\u00f1adir Nueva Licencia<\/h4>\n<div style=\"display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 10px; align-items: end;\">\n<div><label style=\"font-size: 12px; font-weight: bold;\">Producto:<\/label><select id=\"new_producto_id\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\">\n<option value=\"\">Cargando productos&#8230;<\/option>\n<\/select><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Tier Level:<\/label><select id=\"new_tier_level\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\">\n<option value=\"1\">Tier 1<\/option>\n<option value=\"2\">Tier 2<\/option>\n<option value=\"3\">Tier 3<\/option>\n<option value=\"4\">Tier 4<\/option>\n<option value=\"5\">Tier 5<\/option>\n<\/select><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Fecha Inicio:<\/label> <input id=\"new_fecha_inicio\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"date\" \/><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Fecha Expiraci\u00f3n:<\/label> <input id=\"new_fecha_expiracion\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"date\" \/><\/div>\n<div><button onclick=\"ControlV28.generateLicense()\" style=\"background: #4caf50; color: white; border: none; padding: 10px; cursor: pointer; font-weight: bold; border-radius: 5px;\" type=\"button\">\ud83d\udd11 GENERAR LICENCIA<\/button><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"lic_table_v28\">\u00a0<\/div>\n<\/div>\n<\/div>\n<div id=\"create_modal_v28\" style=\"display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 99999; overflow-y: auto;\">\n<div style=\"background: #fff; max-width: 500px; margin: 60px auto; padding: 30px; border-radius: 12px;\"><button type=\"button\" onclick=\"ControlV28.closeCreateModal()\" style=\"float: right; cursor: pointer; padding: 5px 15px;\">CERRAR<\/button>\n<h2 style=\"color: #0073aa; margin-top: 0;\">Crear Nuevo Usuario<\/h2>\n<div style=\"margin-bottom: 10px;\"><label style=\"font-size: 12px; font-weight: bold;\">Nombre:<\/label> <input id=\"create_user_nombre\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"text\" \/><\/div>\n<div style=\"margin-bottom: 10px;\"><label style=\"font-size: 12px; font-weight: bold;\">Email:<\/label> <input id=\"create_user_email\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"email\" \/><\/div>\n<div style=\"margin-bottom: 10px;\"><label style=\"font-size: 12px; font-weight: bold;\">Password:<\/label> <input id=\"create_user_pass\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"text\" placeholder=\"Vac\u00edo = password por defecto\" \/><\/div>\n<div style=\"margin-bottom: 15px;\"><label style=\"font-size: 12px; font-weight: bold;\">Rol:<\/label><select id=\"create_user_admin\" style=\"width: 100%; padding: 9px; border: 1px solid #ccc;\">\n<option value=\"0\">Usuario<\/option>\n<option value=\"1\">Administrador<\/option>\n<\/select><\/div>\n<h3 style=\"font-size: 14px; color: #444;\">Licencia inicial (opcional)<\/h3>\n<div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px;\">\n<div><label style=\"font-size: 12px; font-weight: bold;\">Producto:<\/label><select id=\"create_lic_producto_id\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\">\n<option value=\"\">Sin licencia inicial<\/option>\n<\/select><\/div>\n<div><label style=\"font-size: 12px; font-weight: bold;\">Tier Level:<\/label><select id=\"create_lic_tier_level\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\">\n<option value=\"1\">Tier 1<\/option>\n<option value=\"2\">Tier 2<\/option>\n<option value=\"3\">Tier 3<\/option>\n<option value=\"4\">Tier 4<\/option>\n<option value=\"5\">Tier 5<\/option>\n<\/select><\/div>\n<div style=\"grid-column: span 2;\"><label style=\"font-size: 12px; font-weight: bold;\">Fecha Expiraci\u00f3n:<\/label> <input id=\"create_lic_fecha_expiracion\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc;\" type=\"date\" \/><\/div>\n<\/div>\n<button type=\"button\" onclick=\"ControlV28.createUser()\" style=\"background: #0073aa; color: white; border: none; padding: 10px; cursor: pointer; font-weight: bold; border-radius: 5px; width: 100%;\">CREAR USUARIO<\/button>\n<\/div>\n<\/div>\n<script>\n    (function() {\n        var API = \"https:\/\/uniasser.com\/vantis\/linkedGroups\";\n        var currentUserId = null;\n        var currentUserData = null;\n        var availableProducts = [];\n\n        window.ControlV28 = {\n            async load() {\n                console.log(\"\ud83d\ude80 [LG-LOG] Cargando usuarios...\");\n                try {\n                    var r = await fetch(API + \"\/admin\/users\", { credentials: \"include\" });\n                    var users = await r.json();\n                    var h = \"<table width='100%' style='border-collapse:collapse;'><tr style='background:#f8f9fa; border-bottom:2px solid #ddd; text-align:left;'><th>ID<\/th><th>Nombre \/ Email<\/th><th>Acci\u00f3n<\/th><\/tr>\";\n                    users.forEach(u => {\n                        h += `<tr style='border-bottom:1px solid #eee;'><td style='padding:12px;'>${u.id}<\/td><td><b>${u.nombre || ''}<\/b><br><small>${u.email}<\/small><\/td><td><button type=\"button\" onclick='ControlV28.openModal(${JSON.stringify(u)})' style=\"background:#0073aa; color:#fff; border:none; padding:8px 15px; cursor:pointer; border-radius:4px;\">GESTIONAR<\/button><\/td><\/tr>`;\n                    });\n                    document.getElementById('list_v28').innerHTML = h + \"<\/table>\";\n                } catch(e) { console.error(\"\u274c [LG-LOG] Error en load():\", e); }\n            },\n\n            async loadProducts() {\n                try {\n                    var r = await fetch(API + \"\/admin\/products\", { credentials: \"include\" });\n                    var products = await r.json();\n                    availableProducts = products;\n                    var select = document.getElementById('new_producto_id');\n                    select.innerHTML = '<option value=\"\">Selecciona un producto...<\/option>';\n                    products.forEach(p => {\n                        select.innerHTML += `<option value=\"${p.wp_product_id}\">${p.nombre}<\/option>`;\n                    });\n                    var createSelect = document.getElementById('create_lic_producto_id');\n                    if (createSelect) {\n                        createSelect.innerHTML = '<option value=\"\">Sin licencia inicial<\/option>';\n                        products.forEach(p => {\n                            createSelect.innerHTML += `<option value=\"${p.wp_product_id}\">${p.nombre}<\/option>`;\n                        });\n                    }\n                } catch(e) { console.error(\"\u274c [LG-LOG] Error cargando productos:\", e); }\n            },\n\n            async openCreateModal() {\n                document.getElementById('create_user_nombre').value = '';\n                document.getElementById('create_user_email').value = '';\n                document.getElementById('create_user_pass').value = '';\n                document.getElementById('create_user_admin').value = '0';\n                document.getElementById('create_lic_tier_level').value = '1';\n                var expDate = new Date();\n                expDate.setFullYear(expDate.getFullYear() + 1);\n                document.getElementById('create_lic_fecha_expiracion').value = expDate.toISOString().split('T')[0];\n                await this.loadProducts();\n                document.getElementById('create_modal_v28').style.display = 'block';\n            },\n\n            closeCreateModal() {\n                document.getElementById('create_modal_v28').style.display = 'none';\n            },\n\n            async createUser() {\n                var nombre = document.getElementById('create_user_nombre').value.trim();\n                var email = document.getElementById('create_user_email').value.trim();\n                var password = document.getElementById('create_user_pass').value;\n                var administrador = document.getElementById('create_user_admin').value;\n                var licProductoId = document.getElementById('create_lic_producto_id').value;\n\n                if (!nombre || !email) {\n                    alert('Nombre y email son obligatorios');\n                    return;\n                }\n\n                var payload = { nombre, email, password, administrador };\n                if (licProductoId) {\n                    payload.licencia_inicial = {\n                        producto_id: licProductoId,\n                        tier_level: document.getElementById('create_lic_tier_level').value,\n                        fecha_expiracion: document.getElementById('create_lic_fecha_expiracion').value\n                    };\n                }\n\n                try {\n                    var r = await fetch(API + \"\/admin\/create_user_full\", {\n                        method: 'POST',\n                        headers: {'Content-Type': 'application\/json'},\n                        body: JSON.stringify(payload),\n                        credentials: 'include'\n                    });\n                    var res = await r.json();\n                    if (res.success) {\n                        var msg = res.message;\n                        if (res.licencia_error) msg += '\\n' + res.licencia_error;\n                        if (res.licencia_clave) msg += '\\nLicencia: ' + res.licencia_clave;\n                        alert(msg);\n                        this.closeCreateModal();\n                        this.load();\n                    } else {\n                        alert('Error: ' + res.message);\n                    }\n                } catch(e) {\n                    console.error(\"\u274c [LG-LOG] Error creando usuario:\", e);\n                    alert('Error de conexi\u00f3n');\n                }\n            },\n\n            async openModal(user) {\n                console.log(\"\ud83d\udcc2 [LG-LOG] Abriendo usuario:\", user.id);\n                currentUserId = user.id;\n                currentUserData = user;\n                document.getElementById('modal_v28').style.display = 'block';\n                document.getElementById('title_v28').innerText = \"Gesti\u00f3n: \" + user.email;\n\n                document.getElementById('edit_user_nombre').value = user.nombre || '';\n                document.getElementById('edit_user_email').value = user.email || '';\n                document.getElementById('edit_user_admin').value = user.administrador ? \"1\" : \"0\";\n                document.getElementById('edit_user_pass').value = \"\"; \n\n                \/\/ Cargar detalles del usuario\n                var resL = await fetch(API + \"\/admin\/user_details\/\" + user.id, { credentials: \"include\" });\n                var d = await resL.json();\n                \n                \/\/ Mostrar\/ocultar secci\u00f3n de administraci\u00f3n seg\u00fan rol del usuario actual\n                await this.checkAdminStatus();\n                \n                \/\/ Renderizar tabla de licencias\n                this.renderLicensesTable(d.details);\n            },\n\n            async checkAdminStatus() {\n                try {\n                    var r = await fetch(API + \"\/admin\/all_users_data\", { credentials: \"include\" });\n                    var data = await r.json();\n                    var currentAdmin = data.is_admin;\n                    var adminSection = document.getElementById('admin_licenses_section');\n                    \n                    if (currentAdmin) {\n                        adminSection.style.display = 'block';\n                        await this.loadProducts();\n                        \n                        \/\/ Establecer fecha por defecto\n                        var today = new Date().toISOString().split('T')[0];\n                        document.getElementById('new_fecha_inicio').value = today;\n                        \n                        \/\/ Calcular fecha de expiraci\u00f3n por defecto (1 a\u00f1o)\n                        var expDate = new Date();\n                        expDate.setFullYear(expDate.getFullYear() + 1);\n                        document.getElementById('new_fecha_expiracion').value = expDate.toISOString().split('T')[0];\n                    } else {\n                        adminSection.style.display = 'none';\n                    }\n                } catch(e) { \n                    console.error(\"\u274c [LG-LOG] Error verificando status de admin:\", e);\n                    document.getElementById('admin_licenses_section').style.display = 'none';\n                }\n            },\n\n            renderLicensesTable(details) {\n                var h = \"<table width='100%' style='border-collapse:collapse; font-size:12px; margin-top:20px;'>\";\n                h += \"<tr style='background:#eee;'><th>Producto<\/th><th>Tier<\/th><th>Licencia<\/th><th>Estado<\/th><th>Activaci\u00f3n<\/th><th>Expiraci\u00f3n<\/th><th>Acciones<\/th><\/tr>\";\n                \n                if (details.length === 0) {\n                    h += \"<tr><td colspan='7' style='text-align:center; padding:20px; color:#666;'>Sin licencias.<\/td><\/tr>\";\n                } else {\n                    details.forEach(l => {\n                        var productName = l.producto_nombre || `Producto ID: ${l.producto_id}`;\n                        var statusColor = l.estado === 'activa' ? '#4caf50' : '#f44336';\n                        var actions = '';\n                        \n                        \/\/ Solo administradores pueden eliminar licencias\n                        if (document.getElementById('admin_licenses_section').style.display !== 'none') {\n                            actions = `<button type=\"button\" onclick='ControlV28.deleteLicense(${l.id})' style=\"background:#f44336; color:white; border:none; padding:4px 8px; cursor:pointer; border-radius:3px; font-size:10px;\">ELIMINAR<\/button>`;\n                        }\n                        \n                        h += `<tr style='border-bottom:1px solid #ddd;'>\n                            <td>${productName}<\/td>\n                            <td>T${l.tier_level || 1}<\/td>\n                            <td><code style=\"background:#f0f0f0; padding:2px 4px; border-radius:3px;\">${l.licencia_clave}<\/code>${l.wc_order_id ? `<br><small style=\"color:#888;\">WC #${l.wc_order_id}<\/small>` : ''}<\/td>\n                            <td><span style=\"color:${statusColor}; font-weight:bold;\">${l.estado}<\/span><\/td>\n                            <td>${l.fecha_activacion ? l.fecha_activacion.split('T')[0] : 'N\/A'}<\/td>\n                            <td>${l.fecha_expiracion ? l.fecha_expiracion.split('T')[0] : 'N\/A'}<\/td>\n                            <td>${actions}<\/td>\n                        <\/tr>`;\n                    });\n                }\n                \n                h += \"<\/table>\";\n                document.getElementById('lic_table_v28').innerHTML = h;\n            },\n\n            async generateLicense() {\n                var productoId = document.getElementById('new_producto_id').value;\n                var tierLevel = document.getElementById('new_tier_level').value;\n                var fechaInicio = document.getElementById('new_fecha_inicio').value;\n                var fechaExpiracion = document.getElementById('new_fecha_expiracion').value;\n                \n                if (!productoId || !fechaExpiracion) {\n                    alert('Por favor completa todos los campos obligatorios');\n                    return;\n                }\n                \n                try {\n                    var r = await fetch(API + \"\/admin\/generate_license\", {\n                        method: 'POST',\n                        headers: {'Content-Type': 'application\/json'},\n                        body: JSON.stringify({\n                            usuario_id: currentUserId,\n                            producto_id: productoId,\n                            tier_level: tierLevel,\n                            fecha_expiracion: fechaExpiracion\n                        }),\n                        credentials: 'include'\n                    });\n                    \n                    var res = await r.json();\n                    if (res.success) {\n                        alert(res.message + '\\nLicencia: ' + res.licencia_clave);\n                        \/\/ Recargar las licencias\n                        this.openModal(currentUserData);\n                    } else {\n                        alert('Error: ' + res.message);\n                    }\n                } catch(e) { \n                    console.error(\"\u274c [LG-LOG] Error generando licencia:\", e);\n                    alert('Error de conexi\u00f3n');\n                }\n            },\n\n            async deleteLicense(licenseId) {\n                if (!confirm('\u00bfEst\u00e1s seguro de eliminar esta licencia? Esta acci\u00f3n no se puede deshacer.')) {\n                    return;\n                }\n                \n                try {\n                    var r = await fetch(API + `\/admin\/delete_license\/${licenseId}`, {\n                        method: 'DELETE',\n                        credentials: 'include'\n                    });\n                    \n                    var res = await r.json();\n                    if (res.success) {\n                        alert(res.message);\n                        \/\/ Recargar las licencias\n                        this.openModal(currentUserData);\n                    } else {\n                        alert('Error: ' + res.message);\n                    }\n                } catch(e) { \n                    console.error(\"\u274c [LG-LOG] Error eliminando licencia:\", e);\n                    alert('Error de conexi\u00f3n');\n                }\n            },\n\n            async updateUser() {\n                console.log(\"\ud83d\udce1 [LG-LOG] Intentando actualizar usuario...\");\n                var payload = {\n                    user_id: currentUserId,\n                    nombre: document.getElementById('edit_user_nombre').value,\n                    email: document.getElementById('edit_user_email').value,\n                    administrador: document.getElementById('edit_user_admin').value,\n                    password: document.getElementById('edit_user_pass').value\n                };\n                console.log(\"\ud83d\udce6 [LG-LOG] Datos a enviar:\", payload);\n\n                try {\n                    var r = await fetch(API + \"\/admin\/update_user_full\", {\n                        method: 'POST',\n                        headers: {'Content-Type': 'application\/json'},\n                        body: JSON.stringify(payload),\n                        credentials: 'include'\n                    });\n\n                    console.log(\"\u26a0\ufe0f [LG-LOG] Status del servidor:\", r.status);\n                    \n                    if (r.status === 500) {\n                        alert(\"ERROR 500: El servidor fall\u00f3 al procesar los datos. Revisa la terminal de Python para ver el error exacto.\");\n                        return;\n                    }\n\n                    var res = await r.json();\n                    console.log(\"\u2705 [LG-LOG] Respuesta servidor:\", res);\n                    alert(res.message);\n                    if(res.success) this.load();\n                } catch(e) { \n                    console.error(\"\u274c [LG-LOG] Error en la petici\u00f3n fetch:\", e); \n                    alert(\"Error de conexi\u00f3n con el API.\");\n                }\n            }\n        };\n        ControlV28.load();\n    })();\n    <\/script><\/div>\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Cargando base de datos&#8230; CERRAR \u00a0 Datos de Cuenta y Seguridad Nombre: Email: Rol:UsuarioAdministrador Nueva Password: ACTUALIZAR \ud83d\udd27 Gesti\u00f3n de Licencias (Solo Administradores) A\u00f1adir Nueva Licencia Producto:Cargando productos&#8230; Tier Level:Tier 1Tier 2Tier 3Tier 4Tier 5 Fecha Inicio: Fecha Expiraci\u00f3n: \ud83d\udd11 GENERAR LICENCIA \u00a0 \u00a0 Gesti\u00f3n de Usuarios + Crear Nuevo Usuario Cargando&#8230; CERRAR Gesti\u00f3n de&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-1811","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/pages\/1811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/comments?post=1811"}],"version-history":[{"count":37,"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/pages\/1811\/revisions"}],"predecessor-version":[{"id":6687,"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/pages\/1811\/revisions\/6687"}],"wp:attachment":[{"href":"https:\/\/uniasser.com\/vantis\/wp-json\/wp\/v2\/media?parent=1811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}