CREATE TABLE "audit_logs" ("id" integer not null primary key autoincrement, "tenant_id" integer, "user_id" integer, "action" varchar not null, "entity_type" varchar, "entity_id" integer, "changes" text, "ip_address" varchar, "user_agent" text, "created_at" datetime default CURRENT_TIMESTAMP not null, "channel" varchar, "payload_json" text, foreign key("tenant_id") references "tenants"("id") on delete set null, foreign key("user_id") references "users"("id") on delete set null);

INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('1', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:07:25', 'telegram', '{"update_id":123457,"update_type":"message","chat_id":111,"telegram_user_id":222,"has_attachments":false,"raw":{"message_id":2,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('2', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:09:36', 'telegram', '{"update_id":123458,"update_type":"message","chat_id":111,"telegram_user_id":222,"has_attachments":false,"raw":{"message_id":3,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('3', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:29:33', 'telegram', '{"update_id":143852826,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":10,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('4', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:29:36', 'telegram', '{"update_id":143852827,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":11,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('5', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:29:40', 'telegram', '{"update_id":143852828,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":12,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('6', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:30:01', 'telegram', '{"update_id":143852829,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":13,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('7', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:30:09', 'telegram', '{"update_id":143852830,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":14,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('8', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:33:44', 'telegram', '{"update_id":143852831,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":15,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('9', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:37:33', 'telegram', '{"update_id":143852832,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":17,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('10', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:39:22', 'telegram', '{"update_id":143852833,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":18,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('11', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:40:45', 'telegram', '{"update_id":123459,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":4,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('12', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:41:47', 'telegram', '{"update_id":143852834,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":20,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('13', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:41:51', 'telegram', '{"update_id":143852835,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":21,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('14', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:42:14', 'telegram', '{"update_id":143852836,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":22,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('15', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:42:19', 'telegram', '{"update_id":143852837,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":23,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('16', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:42:46', 'telegram', '{"update_id":143852838,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":24,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('17', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:48:06', 'telegram', '{"update_id":123460,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":5,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('18', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:53:15', 'telegram', '{"update_id":123461,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":6,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('19', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 19:58:26', 'telegram', '{"update_id":123462,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":7,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('20', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:00', 'telegram', '{"update_id":143852839,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":28,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('21', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:02', 'telegram', '{"update_id":143852840,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":29,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('22', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:14', 'telegram', '{"update_id":143852841,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":32,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('23', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:22', 'telegram', '{"update_id":143852842,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":34,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('24', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:33', 'telegram', '{"update_id":143852843,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":36,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('25', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:03:59', 'telegram', '{"update_id":143852844,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":38,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('26', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:04:14', 'telegram', '{"update_id":143852845,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":40,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('27', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:18', 'telegram', '{"update_id":143852846,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":42,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('28', '31', '1', 'telegram.link', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:18', 'telegram', '{"telegram_user_id":"6161130318","telegram_chat_id":"6161130318"}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('29', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:27', 'telegram', '{"update_id":143852847,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":44,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('30', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:41', 'telegram', '{"update_id":143852848,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":46,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('31', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:51', 'telegram', '{"update_id":143852849,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":48,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('32', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:51', 'telegram', '{"input":[],"output":{"message":"Assets:\nBP-01 - Batch Plant BP-01 (Concrete Plant)\nCP-01 - Concrete Pump CP-01 (Concrete Plant)\nCR-01 - Primary Crusher CR-01 (Crushing Plant)\nCR-02 - Secondary Crusher CR-02 (Crushing Plant)\nCS-01 - Cement Silo CS-01 (Concrete Plant)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('33', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:31:51', 'telegram', '{"input":[],"output":{"message":"Assets:\nBP-01 - Batch Plant BP-01 (Concrete Plant)\nCP-01 - Concrete Pump CP-01 (Concrete Plant)\nCR-01 - Primary Crusher CR-01 (Crushing Plant)\nCR-02 - Secondary Crusher CR-02 (Crushing Plant)\nCS-01 - Cement Silo CS-01 (Concrete Plant)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('34', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:32:38', 'telegram', '{"update_id":143852850,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":50,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('35', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:32:38', 'telegram', '{"input":[],"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('36', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:32:38', 'telegram', '{"input":[],"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('37', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:32:58', 'telegram', '{"update_id":143852851,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":52,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('38', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:33:09', 'telegram', '{"update_id":143852852,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":54,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('39', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:57:53', 'telegram', '{"update_id":143852853,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":56,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('40', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:57:55', 'telegram', '{"input":{"q":"Fourways Quarry"},"output":{"message":"No assets found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('41', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:57:55', 'telegram', '{"input":{"q":"Fourways Quarry"},"output":{"message":"No assets found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('42', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:58:16', 'telegram', '{"update_id":143852854,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":58,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('43', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:58:18', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('44', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:58:18', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('45', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:58:31', 'telegram', '{"update_id":143852855,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":60,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('46', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:58:49', 'telegram', '{"update_id":143852856,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":62,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('47', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:59:04', 'telegram', '{"update_id":143852857,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":64,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('48', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:59:35', 'telegram', '{"update_id":143852858,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":66,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('49', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 20:59:48', 'telegram', '{"update_id":143852859,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":68,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('50', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:00:06', 'telegram', '{"update_id":143852860,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":70,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('51', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:00:22', 'telegram', '{"update_id":143852861,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":72,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('52', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:00:47', 'telegram', '{"update_id":143852862,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":74,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('53', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:00', 'telegram', '{"update_id":143852863,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":76,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('54', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:28', 'telegram', '{"update_id":143852864,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":78,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('55', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:41', 'telegram', '{"update_id":143852865,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":80,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('56', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:57', 'telegram', '{"update_id":143852866,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":82,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('57', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:59', 'telegram', '{"input":{"tag":""},"output":{"message":"Assets:\nBP-01 - Batch Plant BP-01 (Concrete Plant)\nCP-01 - Concrete Pump CP-01 (Concrete Plant)\nCR-01 - Primary Crusher CR-01 (Crushing Plant)\nCR-02 - Secondary Crusher CR-02 (Crushing Plant)\nCS-01 - Cement Silo CS-01 (Concrete Plant)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('58', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:02:59', 'telegram', '{"input":{"tag":""},"output":{"message":"Assets:\nBP-01 - Batch Plant BP-01 (Concrete Plant)\nCP-01 - Concrete Pump CP-01 (Concrete Plant)\nCR-01 - Primary Crusher CR-01 (Crushing Plant)\nCR-02 - Secondary Crusher CR-02 (Crushing Plant)\nCS-01 - Cement Silo CS-01 (Concrete Plant)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('59', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:03:24', 'telegram', '{"update_id":143852867,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":84,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('60', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:03:38', 'telegram', '{"update_id":143852868,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":86,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('61', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:03:58', 'telegram', '{"update_id":143852869,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":88,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('62', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:04:26', 'telegram', '{"update_id":143852870,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":90,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('63', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:56:26', 'telegram', '{"input":{"module":"assets","limit":3},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('64', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:56:32', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":3},"output":{"message":"Export ready: assets_20260119_215627.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260119_215627.pdf","filename":"assets_20260119_215627.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('65', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:57:39', 'telegram', '{"update_id":143852871,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":92,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('66', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:58:48', 'telegram', '{"update_id":123470,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":10,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('67', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:58:48', 'telegram', '{"input":{"module":"assets","limit":"2"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('68', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:58:48', 'telegram', '{"input":{"module":"assets","limit":"2"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('69', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:58:50', 'telegram', '{"update_id":143852871,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":92,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('70', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:59:20', 'telegram', '{"update_id":123471,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":11,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('71', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:59:21', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260119_215920.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260119_215920.pdf","filename":"assets_20260119_215920.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('72', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-19 21:59:21', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260119_215920.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260119_215920.pdf","filename":"assets_20260119_215920.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('73', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 05:18:52', 'telegram', '{"update_id":143852872,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":97,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('74', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 05:19:20', 'telegram', '{"update_id":143852873,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":99,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('75', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 05:19:41', 'telegram', '{"update_id":143852874,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":101,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('76', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:34:58', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('77', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:34:58', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('78', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:02', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('79', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:02', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('80', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:12', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_133502.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_133502.pdf","filename":"assets_20260120_133502.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('81', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:12', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_133502.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_133502.pdf","filename":"assets_20260120_133502.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('82', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:12', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('83', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:35:12', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('84', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:51', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('85', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:51', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('86', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('87', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('88', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_133655.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_133655.pdf","filename":"assets_20260120_133655.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('89', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_133655.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_133655.pdf","filename":"assets_20260120_133655.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('90', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('91', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('92', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('93', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:55', 'telegram', '{"input":{"asset":"ME-EXC-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('94', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:56', 'telegram', '{"input":{"q":"filter","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('95', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:56', 'telegram', '{"input":{"q":"filter","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('96', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:56', 'telegram', '{"input":{"status":"open","module":"alerts"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('97', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:36:56', 'telegram', '{"input":{"status":"open","module":"alerts"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('98', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('99', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('100', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"module":"assets","tag":"AST-6022"},"output":{"message":"Asset not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('101', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"module":"assets","tag":"AST-6022"},"output":{"message":"Asset not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('102', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"asset":"AST-6022","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('103', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"asset":"AST-6022","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-0209 - CP-01 (open)\nWO-0210 - CR-01 (open)\nWO-0211 - CR-02 (open)\nWO-0212 - CS-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('104', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"asset":"AST-6022","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('105', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"asset":"AST-6022","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('106', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"q":"filter"},"output":{"message":"Parts:\nFLT-100 - Hydraulic Filter"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('107', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"q":"filter"},"output":{"message":"Parts:\nFLT-100 - Hydraulic Filter"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('108', '31', '1', 'stock.balance', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"sku":"OIL-FILTER-001"},"output":{"message":"Stock item not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('109', '31', '1', 'stock.balance', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"sku":"OIL-FILTER-001"},"output":{"message":"Stock item not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('110', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"limit":"3","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('111', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:20', 'telegram', '{"input":{"limit":"3","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('112', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:21', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",34,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 34 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('113', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:21', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",34,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 34 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('114', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:21', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_134321.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_134321.pdf","filename":"assets_20260120_134321.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('115', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:21', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_134321.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_134321.pdf","filename":"assets_20260120_134321.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('116', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:34', 'telegram', '{"input":{"module":"assets","format":"xlsx","limit":"2"},"output":{"message":"Export ready: assets_20260120_134321.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_134321.xlsx","filename":"assets_20260120_134321.xlsx"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('117', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:34', 'telegram', '{"input":{"module":"assets","format":"xlsx","limit":"2"},"output":{"message":"Export ready: assets_20260120_134321.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_134321.xlsx","filename":"assets_20260120_134321.xlsx"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('118', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:36', 'telegram', '{"input":{"q":"status:active"},"output":{"message":"No assets found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('119', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:43:36', 'telegram', '{"input":{"q":"status:active"},"output":{"message":"No assets found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('120', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('121', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"assets","limit":"3"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('122', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('123', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('124', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"asset":"BP-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-232 - BP-01 (open)"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('125', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"asset":"BP-01","status":"open"},"output":{"message":"Work Orders:\nWO-0208 - BP-01 (open)\nWO-232 - BP-01 (open)"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('126', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Created work order WO-9SM8SF."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('127', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Created work order WO-9SM8SF."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('128', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"q":"filter"},"output":{"message":"Parts:\nFLT-100 - Hydraulic Filter"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('129', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"q":"filter"},"output":{"message":"Parts:\nFLT-100 - Hydraulic Filter"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('130', '31', '1', 'stock.balance', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"sku":"FLT-100"},"output":{"message":"FLT-100 (Hydraulic Filter) balance: 28"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('131', '31', '1', 'stock.balance', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"sku":"FLT-100"},"output":{"message":"FLT-100 (Hydraulic Filter) balance: 28"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('132', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"limit":"3","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('133', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"limit":"3","module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('134', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('135', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:14', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('136', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:15', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_135614.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_135614.pdf","filename":"assets_20260120_135614.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('137', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:15', 'telegram', '{"input":{"module":"assets","format":"pdf","limit":"2"},"output":{"message":"Export ready: assets_20260120_135614.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_135614.pdf","filename":"assets_20260120_135614.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('138', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:15', 'telegram', '{"input":{"module":"assets","format":"xlsx","limit":"2"},"output":{"message":"Export ready: assets_20260120_135615.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_135615.xlsx","filename":"assets_20260120_135615.xlsx"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('139', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:15', 'telegram', '{"input":{"module":"assets","format":"xlsx","limit":"2"},"output":{"message":"Export ready: assets_20260120_135615.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260120_135615.xlsx","filename":"assets_20260120_135615.xlsx"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('140', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:18', 'telegram', '{"input":{"module":"assets","status":"active"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('141', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:18', 'telegram', '{"input":{"module":"assets","status":"active"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('142', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:21', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('143', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:56:21', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('144', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:06', 'telegram', '{"input":{"module":"assets","status":"active","limit":2},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('145', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:06', 'telegram', '{"input":{"module":"assets","status":"active","limit":2},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('146', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:08', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('147', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:08', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",35,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 35 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('148', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:32', 'telegram', '{"input":{"asset":"AST-9999","status":"open"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('149', '31', '1', 'workorders.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 13:58:32', 'telegram', '{"input":{"asset":"AST-9999","status":"open"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('150', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('151', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('152', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('153', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('154', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('155', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:11', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('156', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('157', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('158', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('159', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('160', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"assets","tag":"AST-9999"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('161', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 14:09:12', 'telegram', '{"input":{"module":"assets","tag":"AST-9999"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('162', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('163', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"assets","tag":"BP-01"},"output":{"title":"Asset Detail","headers":["Field","Value"],"rows":[["Tag","BP-01"],["Name","Batch Plant BP-01"],["Status","active"],["Category","Concrete Plant"],["Location","Concrete Plant"],["Meter Type","hours"],["Meter Reading",2200]],"message":"Asset Detail:\nTag | BP-01\nName | Batch Plant BP-01\nStatus | active\nCategory | Concrete Plant\nLocation | Concrete Plant\nMeter Type | hours\nMeter Reading | 2200"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('164', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('165', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('166', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"fuel","asset":"BP-01"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["BP-01",177,"diesel",144,"2026-01-12 20:11"],["BP-01",114,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nBP-01 | 177 | diesel | 144 | 2026-01-12 20:11\nBP-01 | 114 | diesel | 144 | 2026-01-09 20:15"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('167', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"fuel","asset":"BP-01"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["BP-01",177,"diesel",144,"2026-01-12 20:11"],["BP-01",114,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nBP-01 | 177 | diesel | 144 | 2026-01-12 20:11\nBP-01 | 114 | diesel | 144 | 2026-01-09 20:15"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('168', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"tyres","asset":"BP-01"},"output":{"title":"Tyres","headers":["Asset","Position","Brand","Status","Tread"],"rows":[["BP-01","Front Left","Bridgestone","active",22.5]],"message":"Tyres:\nBP-01 | Front Left | Bridgestone | active | 22.5"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('169', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"tyres","asset":"BP-01"},"output":{"title":"Tyres","headers":["Asset","Position","Brand","Status","Tread"],"rows":[["BP-01","Front Left","Bridgestone","active",22.5]],"message":"Tyres:\nBP-01 | Front Left | Bridgestone | active | 22.5"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('170', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"telemetry","asset":"BP-01"},"output":{"title":"Telemetry","headers":["Time","Asset","Hours"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('171', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:05', 'telegram', '{"input":{"module":"telemetry","asset":"BP-01"},"output":{"title":"Telemetry","headers":["Time","Asset","Hours"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('172', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"fuel","format":"pdf","asset":"BP-01"},"output":{"message":"Export ready: fuel-logs_20260120_171006.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\fuel-logs_20260120_171006.pdf","filename":"fuel-logs_20260120_171006.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('173', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"fuel","format":"pdf","asset":"BP-01"},"output":{"message":"Export ready: fuel-logs_20260120_171006.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\fuel-logs_20260120_171006.pdf","filename":"fuel-logs_20260120_171006.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('174', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"assets","site":"Four"},"output":{"message":"Site not found. Did you mean:\nFourways Quarry\nFourways Concrete"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('175', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"assets","site":"Four"},"output":{"message":"Site not found. Did you mean:\nFourways Quarry\nFourways Concrete"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('176', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"assets","location":"Quarr"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"],["GR-02","Grader GR-02","active","Fourways Quarry"],["H-32","Hauler H-32","active","Fourways Quarry"],["H-44","Hauler H-44","active","Fourways Quarry"],["L-07","Loader L-07","active","Fourways Quarry"],["WB-03","Water Bowser WB-03","active","Fourways Quarry"]],"message":"Assets:\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry\nEX-09 | Excavator EX-09 | active | Fourways Quarry\nEX-12 | Excavator EX-12 | active | Fourways Quarry\nGR-02 | Grader GR-02 | active | Fourways Quarry\nH-32 | Hauler H-32 | active | Fourways Quarry\nH-44 | Hauler H-44 | active | Fourways Quarry\nL-07 | Loader L-07 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('177', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"assets","location":"Quarr"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"],["GR-02","Grader GR-02","active","Fourways Quarry"],["H-32","Hauler H-32","active","Fourways Quarry"],["H-44","Hauler H-44","active","Fourways Quarry"],["L-07","Loader L-07","active","Fourways Quarry"],["WB-03","Water Bowser WB-03","active","Fourways Quarry"]],"message":"Assets:\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry\nEX-09 | Excavator EX-09 | active | Fourways Quarry\nEX-12 | Excavator EX-12 | active | Fourways Quarry\nGR-02 | Grader GR-02 | active | Fourways Quarry\nH-32 | Hauler H-32 | active | Fourways Quarry\nH-44 | Hauler H-44 | active | Fourways Quarry\nL-07 | Loader L-07 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('178', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"workorders","wo":"Quarterly"},"output":{"message":"Work order not found. Did you mean:\nWO-0208 - Quarterly inspection and lubrica...\nWO-0209 - Quarterly inspection and lubrica...\nWO-0210 - Quarterly inspection and lubrica...\nWO-0211 - Quarterly inspection and lubrica...\nWO-0212 - Quarterly inspection and lubrica..."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('179', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:10:15', 'telegram', '{"input":{"module":"workorders","wo":"Quarterly"},"output":{"message":"Work order not found. Did you mean:\nWO-0208 - Quarterly inspection and lubrica...\nWO-0209 - Quarterly inspection and lubrica...\nWO-0210 - Quarterly inspection and lubrica...\nWO-0211 - Quarterly inspection and lubrica...\nWO-0212 - Quarterly inspection and lubrica..."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('180', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:28', 'telegram', '{"update_id":143852875,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":103,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('181', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:28', 'telegram', '{"input":{"module":"fuel","asset":"D-04"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["D-04",219,"diesel",144,"2026-01-12 20:11"],["D-04",143,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nD-04 | 219 | diesel | 144 | 2026-01-12 20:11\nD-04 | 143 | diesel | 144 | 2026-01-09 20:15"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('182', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:28', 'telegram', '{"input":{"module":"fuel","asset":"D-04"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["D-04",219,"diesel",144,"2026-01-12 20:11"],["D-04",143,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nD-04 | 219 | diesel | 144 | 2026-01-12 20:11\nD-04 | 143 | diesel | 144 | 2026-01-09 20:15"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('183', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:49', 'telegram', '{"update_id":143852876,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":105,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('184', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:52', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('185', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:20:52', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('186', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:21', 'telegram', '{"update_id":143852877,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":107,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('187', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:24', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-GOR-001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('188', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:24', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-GOR-001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('189', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:45', 'telegram', '{"update_id":143852878,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":109,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('190', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:45', 'telegram', '{"input":{"module":"workorders","asset":"D-04"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0214","D-04","open","medium","2026-01-24"],["WO-252","D-04","open","medium","2026-01-23"]],"message":"Work Orders:\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-252 | D-04 | open | medium | 2026-01-23"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('191', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:21:45', 'telegram', '{"input":{"module":"workorders","asset":"D-04"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0214","D-04","open","medium","2026-01-24"],["WO-252","D-04","open","medium","2026-01-23"]],"message":"Work Orders:\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-252 | D-04 | open | medium | 2026-01-23"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('192', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:22:10', 'telegram', '{"update_id":143852879,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":111,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('193', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:22:10', 'telegram', '{"input":{"module":"workorders","asset":"D-04"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0214","D-04","open","medium","2026-01-24"],["WO-252","D-04","open","medium","2026-01-23"]],"message":"Work Orders:\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-252 | D-04 | open | medium | 2026-01-23"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('194', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:22:10', 'telegram', '{"input":{"module":"workorders","asset":"D-04"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0214","D-04","open","medium","2026-01-24"],["WO-252","D-04","open","medium","2026-01-23"]],"message":"Work Orders:\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-252 | D-04 | open | medium | 2026-01-23"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('195', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:22:40', 'telegram', '{"update_id":143852880,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":113,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('196', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:12', 'telegram', '{"update_id":143852881,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":115,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('197', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:12', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak"},"output":{"message":"Created work order WO-UK3VPT."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('198', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:12', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak"},"output":{"message":"Created work order WO-UK3VPT."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('199', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:33', 'telegram', '{"update_id":143852882,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":117,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('200', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('201', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:23:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('202', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:43:16', 'telegram', '{"update_id":143852883,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":119,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('203', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:43:43', 'telegram', '{"update_id":143852884,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":121,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('204', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:43:54', 'telegram', '{"update_id":143852885,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":123,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('205', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:44:09', 'telegram', '{"update_id":143852886,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":125,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('206', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:44:35', 'telegram', '{"update_id":143852887,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":127,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('207', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:44:38', 'telegram', '{"input":{"q":"Fourways Quarry"},"output":{"message":"Asset not found. Nearby locations:\nFourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('208', '31', '1', 'assets.search', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:44:38', 'telegram', '{"input":{"q":"Fourways Quarry"},"output":{"message":"Asset not found. Nearby locations:\nFourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('209', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:45:12', 'telegram', '{"update_id":143852888,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":129,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('210', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:45:15', 'telegram', '{"input":{"module":"tenants","limit":100},"output":{"title":"Tenants","headers":["ID","Name","Status","Email"],"rows":[[1,"Dicki, Fritsch and Littel","active","alec37@example.net"],[2,"Volkman-Reinger","active","abigale.volkman@example.net"],[3,"Wuckert Inc","active","tony.nicolas@example.net"],[4,"Marks-Smith","active","paul86@example.org"],[5,"Bashirian-Goyette","active","everette.doyle@example.net"],[6,"Bogan, Mann and Doyle","active","dillon53@example.com"],[7,"Hermiston-Bednar","active","gbeahan@example.com"],[8,"Herzog Group","active","mariano37@example.org"],[9,"Bahringer-Emard","active","heller.raquel@example.org"],[10,"Gorczany, Casper and Moore","active","bkuhn@example.com"],[11,"Jakubowski, Wunsch and Kris","active","xhomenick@example.org"],[12,"Krajcik PLC","active","vvon@example.net"],[13,"Reilly, Rogahn and Heathcote","active","schiller.lura@example.com"],[14,"Price LLC","active","pagac.selmer@example.org"],[15,"Mante LLC","active","breana79@example.org"],[16,"Terry, Beier and Dare","active","gutmann.devon@example.net"],[17,"Oberbrunner and Sons","active","jlubowitz@example.net"],[18,"Wiza Ltd","active","marcia76@example.net"],[19,"Fay and Sons","active","bo40@example.org"],[20,"Marvin-Medhurst","active","cgoyette@example.net"],[21,"Moore-Steuber","active","harber.cleo@example.net"],[22,"Rosenbaum, Prohaska and Prosacco","active","rebekah.larson@example.net"],[23,"Kub-Mann","active","britchie@example.org"],[24,"Bailey, Murphy and Cummings","active","tillman85@example.com"],[25,"Russel-Strosin","active","danielle.hilpert@example.com"],[26,"DuBuque, Hagenes and Ledner","active","palma79@example.net"],[27,"Hill Inc","active","walsh.ed@example.com"],[28,"Zieme, Rowe and Wehner","active","gromaguera@example.com"],[29,"Robel, Conroy and Hill","active","btorp@example.org"],[30,"Cummerata PLC","active","faye25@example.net"],[31,"Fourways Group","active","ops@fourways.example"]],"message":"Tenants:\n1 | Dicki, Fritsch and Littel | active | alec37@example.net\n2 | Volkman-Reinger | active | abigale.volkman@example.net\n3 | Wuckert Inc | active | tony.nicolas@example.net\n4 | Marks-Smith | active | paul86@example.org\n5 | Bashirian-Goyette | active | everette.doyle@example.net\n6 | Bogan, Mann and Doyle | active | dillon53@example.com\n7 | Hermiston-Bednar | active | gbeahan@example.com\n8 | Herzog Group | active | mariano37@example.org"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('211', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:45:15', 'telegram', '{"input":{"module":"tenants","limit":100},"output":{"title":"Tenants","headers":["ID","Name","Status","Email"],"rows":[[1,"Dicki, Fritsch and Littel","active","alec37@example.net"],[2,"Volkman-Reinger","active","abigale.volkman@example.net"],[3,"Wuckert Inc","active","tony.nicolas@example.net"],[4,"Marks-Smith","active","paul86@example.org"],[5,"Bashirian-Goyette","active","everette.doyle@example.net"],[6,"Bogan, Mann and Doyle","active","dillon53@example.com"],[7,"Hermiston-Bednar","active","gbeahan@example.com"],[8,"Herzog Group","active","mariano37@example.org"],[9,"Bahringer-Emard","active","heller.raquel@example.org"],[10,"Gorczany, Casper and Moore","active","bkuhn@example.com"],[11,"Jakubowski, Wunsch and Kris","active","xhomenick@example.org"],[12,"Krajcik PLC","active","vvon@example.net"],[13,"Reilly, Rogahn and Heathcote","active","schiller.lura@example.com"],[14,"Price LLC","active","pagac.selmer@example.org"],[15,"Mante LLC","active","breana79@example.org"],[16,"Terry, Beier and Dare","active","gutmann.devon@example.net"],[17,"Oberbrunner and Sons","active","jlubowitz@example.net"],[18,"Wiza Ltd","active","marcia76@example.net"],[19,"Fay and Sons","active","bo40@example.org"],[20,"Marvin-Medhurst","active","cgoyette@example.net"],[21,"Moore-Steuber","active","harber.cleo@example.net"],[22,"Rosenbaum, Prohaska and Prosacco","active","rebekah.larson@example.net"],[23,"Kub-Mann","active","britchie@example.org"],[24,"Bailey, Murphy and Cummings","active","tillman85@example.com"],[25,"Russel-Strosin","active","danielle.hilpert@example.com"],[26,"DuBuque, Hagenes and Ledner","active","palma79@example.net"],[27,"Hill Inc","active","walsh.ed@example.com"],[28,"Zieme, Rowe and Wehner","active","gromaguera@example.com"],[29,"Robel, Conroy and Hill","active","btorp@example.org"],[30,"Cummerata PLC","active","faye25@example.net"],[31,"Fourways Group","active","ops@fourways.example"]],"message":"Tenants:\n1 | Dicki, Fritsch and Littel | active | alec37@example.net\n2 | Volkman-Reinger | active | abigale.volkman@example.net\n3 | Wuckert Inc | active | tony.nicolas@example.net\n4 | Marks-Smith | active | paul86@example.org\n5 | Bashirian-Goyette | active | everette.doyle@example.net\n6 | Bogan, Mann and Doyle | active | dillon53@example.com\n7 | Hermiston-Bednar | active | gbeahan@example.com\n8 | Herzog Group | active | mariano37@example.org"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('212', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('213', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('214', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open","limit":10},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('215', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:33', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open","limit":10},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('216', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:40', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open","format":"xlsx"},"output":{"message":"Export ready: work-orders_20260120_174933.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260120_174933.xlsx","filename":"work-orders_20260120_174933.xlsx"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('217', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:40', 'telegram', '{"input":{"module":"workorders","asset":"BP-01","status":"open","format":"xlsx"},"output":{"message":"Export ready: work-orders_20260120_174933.xlsx","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260120_174933.xlsx","filename":"work-orders_20260120_174933.xlsx"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('218', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('219', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('220', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"fuel","asset":"BP-01"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["BP-01",177,"diesel",144,"2026-01-12 20:11"],["BP-01",114,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nBP-01 | 177 | diesel | 144 | 2026-01-12 20:11\nBP-01 | 114 | diesel | 144 | 2026-01-09 20:15"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('221', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"fuel","asset":"BP-01"},"output":{"title":"Fuel Logs","headers":["Asset","Qty","Fuel Type","Cost","Date"],"rows":[["BP-01",177,"diesel",144,"2026-01-12 20:11"],["BP-01",114,"diesel",144,"2026-01-09 20:15"]],"message":"Fuel Logs:\nBP-01 | 177 | diesel | 144 | 2026-01-12 20:11\nBP-01 | 114 | diesel | 144 | 2026-01-09 20:15"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('222', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"tyres","asset":"BP-01"},"output":{"title":"Tyres","headers":["Asset","Position","Brand","Status","Tread"],"rows":[["BP-01","Front Left","Bridgestone","active",22.5]],"message":"Tyres:\nBP-01 | Front Left | Bridgestone | active | 22.5"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('223', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"tyres","asset":"BP-01"},"output":{"title":"Tyres","headers":["Asset","Position","Brand","Status","Tread"],"rows":[["BP-01","Front Left","Bridgestone","active",22.5]],"message":"Tyres:\nBP-01 | Front Left | Bridgestone | active | 22.5"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('224', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"telemetry","asset":"BP-01"},"output":{"title":"Telemetry","headers":["Time","Asset","Hours"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('225', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:49:41', 'telegram', '{"input":{"module":"telemetry","asset":"BP-01"},"output":{"title":"Telemetry","headers":["Time","Asset","Hours"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('226', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:52:08', 'telegram', '{"update_id":143852889,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":131,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('227', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:52:11', 'telegram', '{"input":{"module":"fuel","format":"pdf","asset":"BP-01"},"output":{"message":"Export ready: fuel-logs_20260120_175208.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\fuel-logs_20260120_175208.pdf","filename":"fuel-logs_20260120_175208.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('228', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:52:11', 'telegram', '{"input":{"module":"fuel","format":"pdf","asset":"BP-01"},"output":{"message":"Export ready: fuel-logs_20260120_175208.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\fuel-logs_20260120_175208.pdf","filename":"fuel-logs_20260120_175208.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('229', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:53:00', 'telegram', '{"update_id":143852890,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":134,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('230', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:53:03', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf","limit":5},"output":{"message":"Export ready: purchase-requests_20260120_175302.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_175302.pdf","filename":"purchase-requests_20260120_175302.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('231', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:53:03', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf","limit":5},"output":{"message":"Export ready: purchase-requests_20260120_175302.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_175302.pdf","filename":"purchase-requests_20260120_175302.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('232', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:54:19', 'telegram', '{"update_id":143852891,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":137,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('233', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:55:05', 'telegram', '{"update_id":143852892,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":139,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('234', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:55:07', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260120_175507.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_175507.pdf","filename":"purchase-requests_20260120_175507.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('235', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 17:55:07', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260120_175507.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_175507.pdf","filename":"purchase-requests_20260120_175507.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('236', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:38:55', 'telegram', '{"update_id":143852893,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":142,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('237', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:38:56', 'telegram', '{"input":{"wo":"WO-01234","user":"Denford"},"output":{"message":"Work order not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('238', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:38:56', 'telegram', '{"input":{"wo":"WO-01234","user":"Denford"},"output":{"message":"Work order not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('239', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:39:19', 'telegram', '{"update_id":143852894,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":144,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('240', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:39:19', 'telegram', '{"input":{"asset":"BP-01","title":"leaking pipe"},"output":{"error":"SQLSTATE[HY000]: General error: 1 table work_orders has no column named estimated_cost (SQL: insert into \"work_orders\" (\"tenant_id\", \"asset_id\", \"reference_code\", \"source\", \"status\", \"priority\", \"description\", \"reported_by\", \"estimated_cost\", \"requires_approval\", \"approval_status\", \"updated_at\", \"created_at\") values (31, 156, WO-N9EZPY, telegram, open, medium, leaking pipe, 1, ?, 0, ?, 2026-01-20 19:39:19, 2026-01-20 19:39:19))"},"success":false}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('241', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:40:36', 'telegram', '{"update_id":143852895,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":146,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('242', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:40:36', 'telegram', '{"input":{"dept":"Crushing","needed_by":"2026-01-30","priority":"high","reason":"Conveyor reliability"},"output":{"error":"SQLSTATE[HY000]: General error: 1 table purchase_requests has no column named department (SQL: insert into \"purchase_requests\" (\"tenant_id\", \"request_code\", \"title\", \"department\", \"cost_center\", \"status\", \"priority\", \"requested_by\", \"needed_by\", \"currency\", \"notes\", \"updated_at\", \"created_at\") values (31, PR-00001, Conveyor reliability, Crushing, ?, draft, high, 1, 2026-01-30 00:00:00, USD, Conveyor reliability, 2026-01-20 19:40:36, 2026-01-20 19:40:36))"},"success":false}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('243', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:41:22', 'telegram', '{"update_id":143852896,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":148,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('244', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:41:23', 'telegram', '{"input":{"reason":"welding rods"},"output":{"error":"SQLSTATE[HY000]: General error: 1 table purchase_requests has no column named department (SQL: insert into \"purchase_requests\" (\"tenant_id\", \"request_code\", \"title\", \"department\", \"cost_center\", \"status\", \"priority\", \"requested_by\", \"needed_by\", \"currency\", \"notes\", \"updated_at\", \"created_at\") values (31, PR-00001, welding rods, ?, ?, draft, medium, 1, ?, USD, welding rods, 2026-01-20 19:41:23, 2026-01-20 19:41:23))"},"success":false}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('245', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:52:35', 'telegram', '{"update_id":143852897,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":150,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('246', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:52:35', 'telegram', '{"input":{"dept":"Crushing","needed_by":"2026-01-30","priority":"high","reason":"Conveyor reliability"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('247', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:52:35', 'telegram', '{"input":{"dept":"Crushing","needed_by":"2026-01-30","priority":"high","reason":"Conveyor reliability"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('248', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:52:53', 'telegram', '{"update_id":143852898,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":152,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('249', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:05', 'telegram', '{"update_id":143852899,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":154,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('250', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:07', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('251', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:07', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('252', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:17', 'telegram', '{"update_id":143852900,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":156,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('253', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:17', 'telegram', '{"input":{"module":"assets","limit":10},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('254', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:17', 'telegram', '{"input":{"module":"assets","limit":10},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('255', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:34', 'telegram', '{"update_id":143852901,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":158,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('256', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:37', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('257', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:37', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('258', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:53:58', 'telegram', '{"update_id":143852902,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":160,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('259', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:01', 'telegram', '{"input":{"module":"assets","q":"BP-01"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('260', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:01', 'telegram', '{"input":{"module":"assets","q":"BP-01"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('261', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:41', 'telegram', '{"update_id":143852903,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":162,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('262', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:52', 'telegram', '{"update_id":143852904,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":164,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('263', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:53', 'telegram', '{"input":{"module":"vendors"},"output":{"title":"Vendors","headers":["Vendor","Contact","Phone","Email"],"rows":[["Summit Industrial Supplies","Pat Rivera","+1 555 010 433","sales@summit.example"]],"message":"Vendors:\nSummit Industrial Supplies | Pat Rivera | +1 555 010 433 | sales@summit.example"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('264', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:54:53', 'telegram', '{"input":{"module":"vendors"},"output":{"title":"Vendors","headers":["Vendor","Contact","Phone","Email"],"rows":[["Summit Industrial Supplies","Pat Rivera","+1 555 010 433","sales@summit.example"]],"message":"Vendors:\nSummit Industrial Supplies | Pat Rivera | +1 555 010 433 | sales@summit.example"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('265', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:55:11', 'telegram', '{"update_id":143852905,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":166,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('266', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:55:11', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('267', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:55:11', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('268', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:56:04', 'telegram', '{"update_id":143852906,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":168,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('269', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:56:04', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('270', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:56:04', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('271', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:57:30', 'telegram', '{"update_id":143852907,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":170,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('272', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:57:37', 'telegram', '{"update_id":143852908,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":172,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('273', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:58:13', 'telegram', '{"update_id":143852909,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":174,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('274', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:58:18', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260120_195815.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_195815.pdf","filename":"purchase-requests_20260120_195815.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('275', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:58:18', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260120_195815.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260120_195815.pdf","filename":"purchase-requests_20260120_195815.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('276', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:58:58', 'telegram', '{"update_id":143852910,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":177,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('277', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:59:05', 'telegram', '{"update_id":143852911,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":179,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('278', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:59:14', 'telegram', '{"update_id":143852912,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":181,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('279', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:59:16', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('280', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 19:59:16', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('281', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:07', 'telegram', '{"update_id":143852913,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":183,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('282', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:09', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('283', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:09', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('284', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:29', 'telegram', '{"update_id":143852914,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":185,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('285', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:29', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('286', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:00:29', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('287', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:16', 'telegram', '{"update_id":143852915,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":187,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('288', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:16', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('289', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:16', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('290', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:31', 'telegram', '{"update_id":143852916,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":189,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('291', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:34', 'telegram', '{"input":{"module":"alerts"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('292', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-20 20:01:34', 'telegram', '{"input":{"module":"alerts"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('293', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-21 12:58:08', 'telegram', '{"update_id":143852917,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":191,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('294', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 12:57:24', 'telegram', '{"update_id":143852918,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":193,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('295', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 12:57:26', 'telegram', '{"input":{"module":"workorders"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-0209","CP-01","open","medium","2026-01-22"],["WO-0210","CR-01","open","medium","2026-01-18"],["WO-0211","CR-02","open","medium","2026-01-25"],["WO-0212","CS-01","open","medium","2026-01-23"],["WO-0213","CV-03","open","medium","2026-01-22"],["WO-0214","D-04","open","medium","2026-01-24"],["WO-0215","DR-01","open","medium","2026-01-24"],["WO-0216","EX-09","open","medium","2026-01-21"],["WO-0217","EX-12","open","medium","2026-01-21"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-0209 | CP-01 | open | medium | 2026-01-22\nWO-0210 | CR-01 | open | medium | 2026-01-18\nWO-0211 | CR-02 | open | medium | 2026-01-25\nWO-0212 | CS-01 | open | medium | 2026-01-23\nWO-0213 | CV-03 | open | medium | 2026-01-22\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-0215 | DR-01 | open | medium | 2026-01-24"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('296', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 12:57:26', 'telegram', '{"input":{"module":"workorders"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-0209","CP-01","open","medium","2026-01-22"],["WO-0210","CR-01","open","medium","2026-01-18"],["WO-0211","CR-02","open","medium","2026-01-25"],["WO-0212","CS-01","open","medium","2026-01-23"],["WO-0213","CV-03","open","medium","2026-01-22"],["WO-0214","D-04","open","medium","2026-01-24"],["WO-0215","DR-01","open","medium","2026-01-24"],["WO-0216","EX-09","open","medium","2026-01-21"],["WO-0217","EX-12","open","medium","2026-01-21"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-0209 | CP-01 | open | medium | 2026-01-22\nWO-0210 | CR-01 | open | medium | 2026-01-18\nWO-0211 | CR-02 | open | medium | 2026-01-25\nWO-0212 | CS-01 | open | medium | 2026-01-23\nWO-0213 | CV-03 | open | medium | 2026-01-22\nWO-0214 | D-04 | open | medium | 2026-01-24\nWO-0215 | DR-01 | open | medium | 2026-01-24"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('297', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 12:57:30', 'telegram', '{"update_id":143852919,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":194,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('298', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 12:57:39', 'telegram', '{"update_id":1,"update_type":"message","chat_id":123,"telegram_user_id":999,"has_attachments":false,"raw":{"message_id":1,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('299', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:00:54', 'telegram', '{"update_id":143852920,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":197,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('300', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:00:54', 'telegram', '{"input":{"department":"Crushing needed","priority":"high","reason":"Conveyor"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('301', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:00:54', 'telegram', '{"input":{"department":"Crushing needed","priority":"high","reason":"Conveyor"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('302', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:15', 'telegram', '{"update_id":143852921,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":199,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('303', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:16', 'telegram', '{"input":{"sku":"IDLER-SET-650","qty":"10","est":"22.50","pr":"PR-XXXXX"},"output":{"message":"Purchase request not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('304', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:16', 'telegram', '{"input":{"sku":"IDLER-SET-650","qty":"10","est":"22.50","pr":"PR-XXXXX"},"output":{"message":"Purchase request not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('305', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:27', 'telegram', '{"update_id":143852922,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":201,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('306', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:31', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('307', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:31', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('308', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:50', 'telegram', '{"update_id":143852923,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":203,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('309', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:52', 'telegram', '{"input":{"module":"assets","q":"BP-01"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('310', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:01:52', 'telegram', '{"input":{"module":"assets","q":"BP-01"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('311', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:12', 'telegram', '{"update_id":143852924,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":205,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('312', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:12', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('313', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:12', 'telegram', '{"input":{"module":"assets"},"output":{"title":"Assets","headers":["Tag","Name","Status","Location"],"rows":[["BP-01","Batch Plant BP-01","active","Concrete Plant"],["CP-01","Concrete Pump CP-01","active","Concrete Plant"],["CR-01","Primary Crusher CR-01","active","Crushing Plant"],["CR-02","Secondary Crusher CR-02","active","Crushing Plant"],["CS-01","Cement Silo CS-01","active","Concrete Plant"],["CV-03","Conveyor CV-03","active","Crushing Plant"],["D-04","Dozer D-04","active","Fourways Quarry"],["DR-01","Drill Rig DR-01","active","Fourways Quarry"],["EX-09","Excavator EX-09","active","Fourways Quarry"],["EX-12","Excavator EX-12","active","Fourways Quarry"]],"message":"Assets:\nBP-01 | Batch Plant BP-01 | active | Concrete Plant\nCP-01 | Concrete Pump CP-01 | active | Concrete Plant\nCR-01 | Primary Crusher CR-01 | active | Crushing Plant\nCR-02 | Secondary Crusher CR-02 | active | Crushing Plant\nCS-01 | Cement Silo CS-01 | active | Concrete Plant\nCV-03 | Conveyor CV-03 | active | Crushing Plant\nD-04 | Dozer D-04 | active | Fourways Quarry\nDR-01 | Drill Rig DR-01 | active | Fourways Quarry"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('314', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:35', 'telegram', '{"update_id":143852925,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":207,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('315', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:35', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('316', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:35', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('317', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:50', 'telegram', '{"update_id":143852926,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":209,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('318', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:50', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('319', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:02:50', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('320', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:03:13', 'telegram', '{"update_id":143852927,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":211,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('321', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:03:13', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('322', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:03:13', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('323', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:04:09', 'telegram', '{"update_id":143852928,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":213,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('324', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:04:09', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('325', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:04:09', 'telegram', '{"input":{"module":"reports","format":"pdf"},"output":{"message":"No data available to export."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('326', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:18:57', 'telegram', '{"update_id":143852929,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":215,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('327', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:18:57', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('328', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:18:57', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('329', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:16', 'telegram', '{"update_id":143852930,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":217,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('330', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:16', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('331', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:16', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"Database schema is out of date. Please run migrations: php artisan migrate."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('332', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:36', 'telegram', '{"update_id":143852931,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":219,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('333', '31', '1', 'purchase_requests.approve', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:37', 'telegram', '{"input":{"pr":"PR-00451"},"output":{"message":"Purchase request not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('334', '31', '1', 'purchase_requests.approve', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:37', 'telegram', '{"input":{"pr":"PR-00451"},"output":{"message":"Purchase request not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('335', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:53', 'telegram', '{"update_id":143852932,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":221,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('336', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:56', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('337', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:20:56', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('338', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:36', 'telegram', '{"update_id":143852933,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":223,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('339', '31', '1', 'purchase_requests.approve', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:36', 'telegram', '{"input":{"pr":"PR-00451"},"output":{"message":"Purchase request not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('340', '31', '1', 'purchase_requests.approve', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:36', 'telegram', '{"input":{"pr":"PR-00451"},"output":{"message":"Purchase request not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('341', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:44', 'telegram', '{"update_id":143852934,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":225,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('342', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:46', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",36,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 36 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('343', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:21:46', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",36,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 36 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('344', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:22:57', 'telegram', '{"update_id":143852935,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":227,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('345', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:23:03', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",36,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 36 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('346', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:23:03', 'telegram', '{"input":{"module":"kpi"},"output":{"title":"KPI Summary","headers":["KPI","Value","Notes"],"rows":[["Total Assets",154,"All registered assets"],["Active Assets",154,"Status = active"],["Open Work Orders",36,"Status = open"],["Pending Maintenance",35,"Status = pending"],["Open Alerts",0,"Status = open"]],"message":"KPI Summary:\nTotal Assets | 154 | All registered assets\nActive Assets | 154 | Status = active\nOpen Work Orders | 36 | Status = open\nPending Maintenance | 35 | Status = pending\nOpen Alerts | 0 | Status = open"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('347', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:23:16', 'telegram', '{"update_id":143852936,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":229,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('348', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:23:16', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('349', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:23:16', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('350', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:48', 'telegram', '{"update_id":143852937,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":231,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('351', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:48', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"PR-00001 created. Reply \/pr add PR-00001 sku=... qty=... est=... or SUBMIT PR-00001."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('352', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:48', 'telegram', '{"input":{"needed_by":"Friday"},"output":{"message":"PR-00001 created. Reply \/pr add PR-00001 sku=... qty=... est=... or SUBMIT PR-00001."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('353', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:49', 'telegram', '{"input":{"pr":"PR-00001","description":"idlers 650mm","qty":10},"output":{"message":"Line added to PR-00001. Reply SUBMIT PR-00001 when ready."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('354', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:49', 'telegram', '{"input":{"pr":"PR-00001","description":"idlers 650mm","qty":10},"output":{"message":"Line added to PR-00001. Reply SUBMIT PR-00001 when ready."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('355', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:49', 'telegram', '{"input":{"pr":"PR-00001","description":"bearings 22220 needed by Friday","qty":2},"output":{"message":"Line added to PR-00001. Reply SUBMIT PR-00001 when ready."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('356', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:24:49', 'telegram', '{"input":{"pr":"PR-00001","description":"bearings 22220 needed by Friday","qty":2},"output":{"message":"Line added to PR-00001. Reply SUBMIT PR-00001 when ready."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('357', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:27', 'telegram', '{"update_id":143852938,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":233,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('358', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:28', 'telegram', '{"input":{"pr":"PR-00001"},"output":{"message":"PR PR-00001 submitted for approval."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('359', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:28', 'telegram', '{"input":{"pr":"PR-00001"},"output":{"message":"PR PR-00001 submitted for approval."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('360', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:45', 'telegram', '{"update_id":143852939,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":235,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('361', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:48', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-00001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('362', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:25:48', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-00001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('363', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:16', 'telegram', '{"update_id":143852940,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":237,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('364', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:19', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-00001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('365', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:19', 'telegram', '{"input":{"module":"purchase_requests","id":"PR-00001"},"output":{"message":"Purchase request not found. Try \/list module=purchase_requests."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('366', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:33', 'telegram', '{"update_id":143852941,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":239,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('367', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:33', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('368', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 13:26:33', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('369', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:33:19', 'telegram', '{"update_id":143852942,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":241,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('370', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:33:21', 'telegram', '{"input":{"asset":"EXC-01","title":"EXC-01 hydraulic hose leak near boom"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('371', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:33:21', 'telegram', '{"input":{"asset":"EXC-01","title":"EXC-01 hydraulic hose leak near boom"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('372', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:34:38', 'telegram', '{"update_id":143852943,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":243,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('373', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:34:38', 'telegram', '{"input":{"q":"oil filter"},"output":{"message":"No parts found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('374', '31', '1', 'parts.search', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:34:38', 'telegram', '{"input":{"q":"oil filter"},"output":{"message":"No parts found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('375', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:35:35', 'telegram', '{"update_id":143852944,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":245,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('376', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:35:35', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('377', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:35:35', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('378', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:37:05', 'telegram', '{"update_id":143852945,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":247,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('379', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:37:05', 'telegram', '{"input":{"module":"maintenance","asset":"EXC-01"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('380', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:37:05', 'telegram', '{"input":{"module":"maintenance","asset":"EXC-01"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('381', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:21', 'telegram', '{"update_id":143852946,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":249,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('382', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:21', 'telegram', '{"input":{"module":"maintenance","asset":"EXC-01"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('383', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:21', 'telegram', '{"input":{"module":"maintenance","asset":"EXC-01"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('384', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:54', 'telegram', '{"update_id":143852947,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":251,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('385', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:54', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('386', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:38:54', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('387', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:39:13', 'telegram', '{"update_id":143852948,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":253,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('388', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:39:13', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('389', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:39:13', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('390', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:41:04', 'telegram', '{"update_id":143852949,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":255,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('391', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:42:14', 'telegram', '{"update_id":143852950,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":257,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('392', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:25', 'telegram', '{"update_id":143852951,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":259,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('393', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:25', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak"},"output":{"message":"WO created: WO-P0DXIB. Reply: ASSIGN WO-P0DXIB @TechName or ADD PARTS WO-P0DXIB."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('394', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:25', 'telegram', '{"input":{"asset":"BP-01","title":"Hydraulic leak"},"output":{"message":"WO created: WO-P0DXIB. Reply: ASSIGN WO-P0DXIB @TechName or ADD PARTS WO-P0DXIB."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('395', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:48', 'telegram', '{"update_id":143852952,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":261,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('396', '31', '1', 'workorders.add_parts', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:49', 'telegram', '{"input":{"wo":"WO-P0DXIB","sku":"WO-P0DXIB","qty":null},"output":{"message":"Part not found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('397', '31', '1', 'workorders.add_parts', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:45:49', 'telegram', '{"input":{"wo":"WO-P0DXIB","sku":"WO-P0DXIB","qty":null},"output":{"message":"Part not found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('398', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:46:57', 'telegram', '{"update_id":143852953,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":263,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('399', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:46:57', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('400', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:46:57', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('401', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:07', 'telegram', '{"update_id":143852954,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":265,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('402', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:07', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('403', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:07', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('404', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:19', 'telegram', '{"update_id":143852955,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":267,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('405', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:19', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('406', '31', '1', 'workorders.assign', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:47:19', 'telegram', '{"input":{"wo":"WO-P0DXIB"},"output":{"message":"Provide user= for assignment."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('407', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:49:25', 'telegram', '{"update_id":143852956,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":269,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('408', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:49:50', 'telegram', '{"update_id":143852957,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":271,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('409', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:50:50', 'telegram', '{"update_id":143852958,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":273,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('410', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:50:58', 'telegram', '{"input":{"module":"assets","format":"pdf"},"output":{"message":"Export ready: assets_20260122_175053.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260122_175053.pdf","filename":"assets_20260122_175053.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('411', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:50:58', 'telegram', '{"input":{"module":"assets","format":"pdf"},"output":{"message":"Export ready: assets_20260122_175053.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\assets_20260122_175053.pdf","filename":"assets_20260122_175053.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('412', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:04', 'telegram', '{"update_id":143852959,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":276,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('413', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:04', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-P0DXIB","BP-01","open","medium","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-P0DXIB | BP-01 | open | medium | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('414', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:04', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-P0DXIB","BP-01","open","medium","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-P0DXIB | BP-01 | open | medium | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('415', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:53', 'telegram', '{"update_id":143852960,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":278,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('416', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:56', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260122_175456.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260122_175456.pdf","filename":"purchase-requests_20260122_175456.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('417', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:54:56', 'telegram', '{"input":{"module":"purchase_requests","format":"pdf"},"output":{"message":"Export ready: purchase-requests_20260122_175456.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase-requests_20260122_175456.pdf","filename":"purchase-requests_20260122_175456.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('418', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:35', 'telegram', '{"update_id":143852961,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":281,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('419', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:35', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-P0DXIB","BP-01","open","medium","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-P0DXIB | BP-01 | open | medium | -\nWO-UK3VPT | BP-01 | open | medium | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('420', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:35', 'telegram', '{"input":{"module":"workorders","asset":"BP-01"},"output":{"title":"Work Orders","headers":["Ref","Asset","Status","Priority","Due"],"rows":[["WO-0208","BP-01","open","medium","2026-01-20"],["WO-232","BP-01","open","medium","2026-01-19"],["WO-9SM8SF","BP-01","open","high","-"],["WO-P0DXIB","BP-01","open","medium","-"],["WO-UK3VPT","BP-01","open","medium","-"]],"message":"Work Orders:\nWO-0208 | BP-01 | open | medium | 2026-01-20\nWO-232 | BP-01 | open | medium | 2026-01-19\nWO-9SM8SF | BP-01 | open | high | -\nWO-P0DXIB | BP-01 | open | medium | -\nWO-UK3VPT | BP-01 | open | medium | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('421', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:49', 'telegram', '{"update_id":143852962,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":283,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('422', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:49', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('423', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:56:49', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('424', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:57:45', 'telegram', '{"update_id":143852963,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":285,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('425', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:57:45', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('426', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:57:45', 'telegram', '{"input":{"module":"inventory"},"output":{"title":"Inventory","headers":["SKU","Part","Location","Qty","Min","Max"],"rows":[["FLT-100","Hydraulic Filter","Main Store",28,6,50],["OIL-80W","Engine Oil 80W","Main Store",28,6,50],["BRG-220","Conveyor Bearing","Main Store",28,6,50]],"message":"Inventory:\nFLT-100 | Hydraulic Filter | Main Store | 28 | 6 | 50\nOIL-80W | Engine Oil 80W | Main Store | 28 | 6 | 50\nBRG-220 | Conveyor Bearing | Main Store | 28 | 6 | 50"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('427', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:58:33', 'telegram', '{"update_id":143852964,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":287,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('428', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:58:33', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('429', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-22 17:58:33', 'telegram', '{"input":{"module":"maintenance","asset":"BP-01"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nBP-01 | pending | 2026-01-23 | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('430', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:36:06', 'telegram', '{"update_id":143852965,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":289,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('431', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:36:06', 'telegram', '{"input":{"module":"maintenance","format":"pdf"},"output":{"message":"Export ready: maintenance_20260122_223606.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\maintenance_20260122_223606.pdf","filename":"maintenance_20260122_223606.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('432', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:36:06', 'telegram', '{"input":{"module":"maintenance","format":"pdf"},"output":{"message":"Export ready: maintenance_20260122_223606.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\maintenance_20260122_223606.pdf","filename":"maintenance_20260122_223606.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('433', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:37:27', 'telegram', '{"update_id":143852966,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":292,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('434', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:37:27', 'telegram', '{"input":{"module":"inventory","to":"ry format","format":"pdf"},"output":{"message":"Export ready: inventory_20260122_223727.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\inventory_20260122_223727.pdf","filename":"inventory_20260122_223727.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('435', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:37:28', 'telegram', '{"input":{"module":"inventory","to":"ry format","format":"pdf"},"output":{"message":"Export ready: inventory_20260122_223727.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\inventory_20260122_223727.pdf","filename":"inventory_20260122_223727.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('436', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:38:55', 'telegram', '{"update_id":143852967,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":295,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('437', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:38:55', 'telegram', '{"input":{"module":"workorders","format":"pdf"},"output":{"message":"Export ready: work-orders_20260122_223855.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260122_223855.pdf","filename":"work-orders_20260122_223855.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('438', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:38:55', 'telegram', '{"input":{"module":"workorders","format":"pdf"},"output":{"message":"Export ready: work-orders_20260122_223855.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260122_223855.pdf","filename":"work-orders_20260122_223855.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('439', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:42:31', 'telegram', '{"update_id":143852968,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":298,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('440', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:42:31', 'telegram', '{"input":{"module":"inventory","to":"ck pdf","format":"pdf"},"output":{"message":"Export ready: inventory_20260122_224231.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\inventory_20260122_224231.pdf","filename":"inventory_20260122_224231.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('441', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:42:31', 'telegram', '{"input":{"module":"inventory","to":"ck pdf","format":"pdf"},"output":{"message":"Export ready: inventory_20260122_224231.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\inventory_20260122_224231.pdf","filename":"inventory_20260122_224231.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('442', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', 'telegram', '{"update_id":143852969,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":301,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('443', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', 'telegram', '{"input":{"reason":"2 paint tins"},"output":{"message":"PR-00002 created. Reply \/pr add PR-00002 sku=... qty=... est=... or SUBMIT PR-00002."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('444', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', 'telegram', '{"input":{"reason":"2 paint tins"},"output":{"message":"PR-00002 created. Reply \/pr add PR-00002 sku=... qty=... est=... or SUBMIT PR-00002."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('445', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', 'telegram', '{"input":{"pr":"PR-00002","description":"paint tins","qty":2},"output":{"message":"Line added to PR-00002. Reply SUBMIT PR-00002 when ready."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('446', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:43:32', 'telegram', '{"input":{"pr":"PR-00002","description":"paint tins","qty":2},"output":{"message":"Line added to PR-00002. Reply SUBMIT PR-00002 when ready."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('447', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:45:04', 'telegram', '{"update_id":143852970,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":303,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('448', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:45:35', 'telegram', '{"update_id":143852971,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":305,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('449', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:45:35', 'telegram', '{"input":{"pr":"PR-00002"},"output":{"message":"PR PR-00002 submitted for approval."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('450', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-22 22:45:35', 'telegram', '{"input":{"pr":"PR-00002"},"output":{"message":"PR PR-00002 submitted for approval."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('451', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 09:56:35', 'telegram', '{"update_id":143852972,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":307,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('452', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 09:56:41', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-00002","2 paint tins","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-00002 | 2 paint tins | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('453', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 09:56:41', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-00002","2 paint tins","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-00002 | 2 paint tins | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('454', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:05:44', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('455', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:05:50', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('456', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:05:55', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('457', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:06:03', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('458', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:06:15', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('459', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:06:43', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('460', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:07:20', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('461', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:08:28', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('462', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:10:01', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('463', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:11:20', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('464', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:13:23', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('465', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:15:05', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('466', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:16:58', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('467', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:19:07', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('468', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:20:15', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('469', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:22:17', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('470', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:24:07', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('471', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:25:44', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('472', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:27:49', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('473', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:28:55', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('474', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:30:11', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('475', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:32:03', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('476', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:33:46', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('477', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:35:42', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('478', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:37:18', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('479', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:38:43', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('480', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:40:29', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('481', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:42:06', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('482', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:43:53', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('483', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:45:51', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('484', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:47:22', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('485', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:49:09', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('486', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:50:53', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('487', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:52:08', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('488', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:53:27', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('489', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:55:17', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('490', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:56:52', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('491', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 10:58:55', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('492', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:00:06', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('493', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:02:07', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('494', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:03:56', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('495', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:05:07', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('496', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:06:29', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('497', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:08:18', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('498', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:09:42', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('499', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:11:33', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('500', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:13:04', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('501', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:14:52', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('502', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:16:16', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('503', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:17:35', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('504', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:19:30', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('505', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:20:49', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('506', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:22:54', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('507', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:24:50', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('508', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:26:11', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('509', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:27:54', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('510', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:29:13', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('511', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:31:03', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('512', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:33:05', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('513', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:34:21', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('514', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:35:40', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('515', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:37:43', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('516', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:38:59', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('517', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:40:32', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('518', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:42:02', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('519', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:43:52', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('520', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:45:37', 'telegram', '{"update_id":143852973,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":309,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('521', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:47:29', 'telegram', '{"update_id":143852985,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":321,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('522', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:47:32', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-00002","2 paint tins","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-00002 | 2 paint tins | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('523', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:47:32', 'telegram', '{"input":{"module":"purchase_requests"},"output":{"title":"Purchase Requests","headers":["Code","Title","Site","Status","Priority"],"rows":[["PR-00001","Telegram PR","-","submitted","medium"],["PR-00002","2 paint tins","-","submitted","medium"],["PR-AI-3","Chatbot Intake","-","pending","medium"],["PR-GOR-001","Goromonzi Quarry Procurement - Procurement 8-12-25","Goromonzi Quarry","pending","medium"],["PR-GOR-002","Goromonzi Quarry Procurement - Procurement 8-12-25  (2)","Goromonzi Quarry","pending","medium"]],"message":"Purchase Requests:\nPR-00001 | Telegram PR | - | submitted | medium\nPR-00002 | 2 paint tins | - | submitted | medium\nPR-AI-3 | Chatbot Intake | - | pending | medium\nPR-GOR-001 | Goromonzi Quarry Procurement - Procurement 8-12-25 | Goromonzi Quarry | pending | medium\nPR-GOR-002 | Goromonzi Quarry Procurement - Procurement 8-12-25  (2) | Goromonzi Quarry | pending | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('524', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:48:50', 'telegram', '{"update_id":143852986,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":323,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('525', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:48:54', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('526', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:49:05', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('527', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:49:13', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('528', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:49:20', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('529', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:49:32', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('530', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:49:51', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('531', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:50:27', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('532', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 11:51:38', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('533', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:20:54', 'telegram', '{"update_id":143852987,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":324,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('534', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:22:46', 'telegram', '{"update_id":143852991,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":329,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('535', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:17', 'telegram', '{"update_id":143852992,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":331,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('536', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:17', 'telegram', '{"input":{"module":"maintenance"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["CP-01","pending","2026-01-31","-"],["CR-01","pending","2026-01-28","-"],["CR-02","pending","2026-02-02","-"],["CS-01","pending","2026-01-18","-"],["CV-03","pending","2026-01-21","-"],["D-04","pending","2026-01-31","-"],["DR-01","pending","2026-01-29","-"],["EX-09","pending","2026-01-18","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nCP-01 | pending | 2026-01-31 | -\nCR-01 | pending | 2026-01-28 | -\nCR-02 | pending | 2026-02-02 | -\nCS-01 | pending | 2026-01-18 | -\nCV-03 | pending | 2026-01-21 | -\nD-04 | pending | 2026-01-31 | -\nDR-01 | pending | 2026-01-29 | -"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('537', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:17', 'telegram', '{"input":{"module":"maintenance"},"output":{"title":"Maintenance","headers":["Asset","Status","Scheduled","Completed"],"rows":[["BP-01","pending","2026-01-26","-"],["CP-01","pending","2026-01-31","-"],["CR-01","pending","2026-01-28","-"],["CR-02","pending","2026-02-02","-"],["CS-01","pending","2026-01-18","-"],["CV-03","pending","2026-01-21","-"],["D-04","pending","2026-01-31","-"],["DR-01","pending","2026-01-29","-"],["EX-09","pending","2026-01-18","-"],["BP-01","pending","2026-01-23","-"]],"message":"Maintenance:\nBP-01 | pending | 2026-01-26 | -\nCP-01 | pending | 2026-01-31 | -\nCR-01 | pending | 2026-01-28 | -\nCR-02 | pending | 2026-02-02 | -\nCS-01 | pending | 2026-01-18 | -\nCV-03 | pending | 2026-01-21 | -\nD-04 | pending | 2026-01-31 | -\nDR-01 | pending | 2026-01-29 | -"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('538', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:42', 'telegram', '{"update_id":143852993,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":333,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('539', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:42', 'telegram', '{"input":{"module":"maintenance","asset":"FW-QUARRY-MAINT"},"output":{"message":"Asset not found. Try \/list module=assets."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('540', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:24:42', 'telegram', '{"input":{"module":"maintenance","asset":"FW-QUARRY-MAINT"},"output":{"message":"Asset not found. Try \/list module=assets."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('541', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:06', 'telegram', '{"update_id":143852994,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":335,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('542', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:12', 'telegram', '{"input":{"module":"alerts","status":"open"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('543', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:12', 'telegram', '{"input":{"module":"alerts","status":"open"},"output":{"title":"Alerts","headers":["Asset","Severity","Status","Message","Time"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('544', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:31', 'telegram', '{"update_id":143852995,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":337,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('545', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"department":"Crushing needed","priority":"high","reason":"Conveyor\\"},"output":{"message":"PR-00003 created. Reply \/pr add PR-00003 sku=... qty=... est=... or SUBMIT PR-00003.","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase_request_PR-00003_20260123_172531.pdf","filename":"purchase_request_PR-00003_20260123_172531.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('546', '31', '1', 'purchase_requests.create', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"department":"Crushing needed","priority":"high","reason":"Conveyor\\"},"output":{"message":"PR-00003 created. Reply \/pr add PR-00003 sku=... qty=... est=... or SUBMIT PR-00003.","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\purchase_request_PR-00003_20260123_172531.pdf","filename":"purchase_request_PR-00003_20260123_172531.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('547', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"pr":"PR-00003","description":"priority","qty":30},"output":{"message":"Line added to PR-00003. Reply SUBMIT PR-00003 when ready."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('548', '31', '1', 'purchase_requests.add_line', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"pr":"PR-00003","description":"priority","qty":30},"output":{"message":"Line added to PR-00003. Reply SUBMIT PR-00003 when ready."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('549', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"pr":"PR-00003"},"output":{"message":"PR PR-00003 submitted for approval."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('550', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:25:36', 'telegram', '{"input":{"pr":"PR-00003"},"output":{"message":"PR PR-00003 submitted for approval."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('551', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:26:23', 'telegram', '{"update_id":143852996,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":341,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('552', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:26:24', 'telegram', '{"input":{"pr":"PR-00003"},"output":{"message":"PR PR-00003 submitted for approval."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('553', '31', '1', 'purchase_requests.submit', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:26:24', 'telegram', '{"input":{"pr":"PR-00003"},"output":{"message":"PR PR-00003 submitted for approval."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('554', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:26:56', 'telegram', '{"update_id":143852997,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":344,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('555', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:27:00', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('556', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:27:00', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('557', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:27:35', 'telegram', '{"update_id":143852998,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":346,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('558', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:27:38', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('559', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:27:38', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('560', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:29:12', 'telegram', '{"update_id":143852999,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":348,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('561', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:29:15', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('562', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:29:15', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('563', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:37:28', 'telegram', '{"update_id":143853000,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":350,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('564', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:37:31', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('565', '31', '1', 'data.list', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:37:31', 'telegram', '{"input":{"module":"reports"},"output":{"title":"Reports","headers":["Type","Period","Summary"],"rows":[],"message":"No records found."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('566', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:53:40', 'telegram', '{"update_id":143853001,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":352,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('567', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:53:59', 'telegram', '{"update_id":143853002,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":354,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('568', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:00', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('569', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:09', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('570', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:14', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('571', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:22', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('572', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:33', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('573', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:55:53', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('574', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:56:27', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('575', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:57:49', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('576', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 17:59:00', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('577', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:00:58', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('578', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:02:27', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('579', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:03:58', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('580', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:06:08', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('581', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:07:46', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('582', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:09:00', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('583', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:10:44', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('584', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:12:00', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('585', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:14:00', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('586', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:15:29', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('587', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:17:31', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('588', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:19:26', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('589', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:07', 'telegram', '{"update_id":143853003,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":true,"raw":{"message_id":356,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('590', '31', '1', 'telegram.intake', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:18', 'telegram', '{"intake_id":96,"batch_id":34,"file":"photo_AgACAgQAAxkBAAIBNWlzR_cnfJa5yEqFMDbughpZp0vFAAKaC2sbheSYU4bgvpkmqgFpAQADAgADeQADOAQ.jpg"}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('591', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:20', 'telegram', '{"update_id":143853004,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":357,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('592', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:24', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('593', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:24', 'telegram', '{"input":{"module":"purchase_requests","q":"PR-00003"},"output":{"title":"Purchase Request Detail","headers":["Field","Value"],"rows":[["Code","PR-00001"],["Title","Telegram PR"],["Site","-"],["Status","submitted"],["Priority","medium"]],"message":"Purchase Request Detail:\nCode | PR-00001\nTitle | Telegram PR\nSite | -\nStatus | submitted\nPriority | medium"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('594', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:26', 'telegram', '{"update_id":143853005,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":358,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('595', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:27', 'telegram', '{"update_id":143853006,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":359,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('596', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:34', 'telegram', '{"input":{"module":"workorders","format":"pdf"},"output":{"message":"Export ready: work-orders_20260123_182127.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260123_182127.pdf","filename":"work-orders_20260123_182127.pdf"}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('597', '31', '1', 'data.export', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:34', 'telegram', '{"input":{"module":"workorders","format":"pdf"},"output":{"message":"Export ready: work-orders_20260123_182127.pdf","file_path":"C:\\Users\\hp\\Desktop\\AI\\SAAS\\laravel-ai-asset-fleet-saas-1\\storage\\app\/telegram-exports\\work-orders_20260123_182127.pdf","filename":"work-orders_20260123_182127.pdf"},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('598', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:21:37', 'telegram', '{"update_id":143853007,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":360,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('599', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:22:18', 'telegram', '{"update_id":143853008,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":367,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('600', '31', '1', 'telegram.intake.apply', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:22:18', 'telegram', '{"intake_id":96,"batch_id":34,"summary":{"applied":0,"skipped":0,"errors":0}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('601', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:22:35', 'telegram', '{"update_id":143853009,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":369,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('602', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:22:37', 'telegram', '{"input":{"module":"intakes","id":96},"output":{"title":"Unknown Module","headers":[],"rows":[],"message":"Unsupported module. Try \/get module=assets tag=ME-EXC-01."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('603', '31', '1', 'data.get', NULL, NULL, NULL, NULL, NULL, '2026-01-23 18:22:37', 'telegram', '{"input":{"module":"intakes","id":96},"output":{"title":"Unknown Module","headers":[],"rows":[],"message":"Unsupported module. Try \/get module=assets tag=ME-EXC-01."},"success":true}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('604', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-25 15:46:24', 'telegram', '{"update_id":10001,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":1,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('605', NULL, NULL, 'telegram.update', NULL, NULL, NULL, NULL, NULL, '2026-01-25 16:06:24', 'telegram', '{"update_id":10002,"update_type":"message","chat_id":6161130318,"telegram_user_id":6161130318,"has_attachments":false,"raw":{"message_id":2,"edited_message_id":null,"callback_query_id":null}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('606', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-25 16:06:24', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."}}');
INSERT INTO "audit_logs" ("id", "tenant_id", "user_id", "action", "entity_type", "entity_id", "changes", "ip_address", "user_agent", "created_at", "channel", "payload_json") VALUES ('607', '31', '1', 'workorders.create', NULL, NULL, NULL, NULL, NULL, '2026-01-25 16:06:24', 'telegram', '{"input":{"asset":"ME-EXC-01","title":"Hydraulic leak","priority":"high"},"output":{"message":"Asset not found. Try \/list module=assets to see available tags."},"success":true}');

-- Table: chat_conversations
