-- INTERLINK WhatsApp v2.7.1 - Verificación
USE `interlink_crm`;

SELECT DATABASE() AS base_actual;

SELECT COUNT(*) AS ejemplos_v271_activos
FROM `wa2_intent_examples`
WHERE `source_pack`='interlink_isp_v271' AND `active`=1;

SELECT COUNT(*) AS pruebas_v271_activas
FROM `wa2_ai_test_cases`
WHERE `source_pack`='interlink_isp_v271' AND `active`=1;

SELECT `query_key`,`handler_intent`,`example_text`,`priority`,`active`
FROM `wa2_intent_examples`
WHERE `source_pack`='interlink_isp_v271'
ORDER BY `id`;

SELECT `suite_key`,`message_text`,`expected_intent`,`expected_query_key`,`active`
FROM `wa2_ai_test_cases`
WHERE `source_pack`='interlink_isp_v271'
ORDER BY `id`;
