Gestión de Equipo
+Administra los técnicos registrados en el sistema
+| ID UCRM | +Nombre Completo | +Acciones | +
|---|
diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/Callbell Public API v1.postman_collection.json b/Callbell Public API v1.postman_collection.json new file mode 100755 index 00000000..49b71a02 --- /dev/null +++ b/Callbell Public API v1.postman_collection.json @@ -0,0 +1,1067 @@ +{ + "info": { + "_postman_id": "c8681410-6d5e-466c-8fc8-c681d7cefcc5", + "name": "Callbell Public API v1", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "31504229" + }, + "item": [ + { + "name": "CONTACTS API", + "item": [ + { + "name": "GET /contacts", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts?page=1", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts" + ], + "query": [ + { + "key": "source", + "value": "", + "description": "The integration type (e.g. whatsapp)", + "disabled": true + }, + { + "key": "tags", + "value": "", + "description": "The matching tags, comma-separated (e.g. sales,lead). Tags are case-insentive.", + "disabled": true + }, + { + "key": "page", + "value": "1", + "description": "The page of contacts. If not specified it will default to page 1." + } + ] + } + }, + "response": [] + }, + { + "name": "GET /contacts/phone/:phone", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/phone/:phone", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + "phone", + ":phone" + ], + "variable": [ + { + "key": "phone", + "value": "", + "description": "The phone number of the contact" + } + ] + } + }, + "response": [] + }, + { + "name": "PATCH /contacts/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"John Doe +111\",\n \"custom_fields\": {\n \"a\": \"field\",\n \"TWITTER\": \"@atwitteruser\",\n \"LINKEDIN\": \"@alinkedin\"\n },\n \"tags\": [\"USA\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the contact" + } + ] + } + }, + "response": [] + }, + { + "name": "POST /contacts", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"source\": \"whatsapp\",\n \"identifier\": \"+1234567891232337\",\n \"name\": \"John Doe +14\",\n \"custom_fields\": {\n \"TWITTE\": \"@doe_doe\",\n \"SHIPPING ADDRES\": \"\",\n \"gmail\": \"john@gmail.com\"\n },\n \"tags\": [\"USA\", \"France\", \"Test\", \"LATAM\", \"CIAO\", \"TAG\"]\n }", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts" + ] + } + }, + "response": [] + }, + { + "name": "GET /contacts/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the contact" + } + ] + } + }, + "response": [] + }, + { + "name": "DELETE /contacts/:uuid", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the contact" + } + ] + } + }, + "response": [] + }, + { + "name": "GET /contacts/:uuid/messages", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid/messages", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid", + "messages" + ], + "variable": [ + { + "key": "uuid", + "value": "" + } + ] + } + }, + "response": [] + }, + { + "name": "POST /contacts/:uuid/conversation/close", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid/conversation/close", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid", + "conversation", + "close" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the contact" + } + ] + } + }, + "response": [] + }, + { + "name": "POST /contacts/:uuid/conversation/open", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/contacts/:uuid/conversation/open", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "contacts", + ":uuid", + "conversation", + "open" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the contact" + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "CHANNELS API", + "item": [ + { + "name": "GET /channels", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams?page=1", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams" + ], + "query": [ + { + "key": "page", + "value": "1" + } + ] + } + }, + "response": [] + }, + { + "name": "GET /channels/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "" + } + ] + } + }, + "response": [] + }, + { + "name": "PATCH /channels/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"my_team\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "TEAMS API", + "item": [ + { + "name": "GET /teams", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams?page=1", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams" + ], + "query": [ + { + "key": "page", + "value": "1" + } + ] + } + }, + "response": [] + }, + { + "name": "GET /teams/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "" + } + ] + } + }, + "response": [] + }, + { + "name": "PATCH /teams/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"my_team\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/teams/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "teams", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "TEMPLATES API", + "item": [ + { + "name": "GET /templates", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/templates?page=1", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "templates" + ], + "query": [ + { + "key": "page", + "value": "1" + } + ] + } + }, + "response": [] + }, + { + "name": "GET /templates/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/templates/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "templates", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "The UUID of the template" + } + ] + } + }, + "response": [] + }, + { + "name": "PATCH /templates/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"Template title\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/templates/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "templates", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "AUTH API", + "item": [ + { + "name": "GET /auth/me", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/auth/me", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "auth", + "me" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "MESSAGES API", + "item": [ + { + "name": "GET /messages/status/:uuid", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/messages/status/:uuid", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "messages", + "status", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": null, + "description": "Identifier of the message which was sent through API." + } + ] + } + }, + "response": [] + }, + { + "name": "POST /messages/send", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n\t\"from\": \"whatsapp\",\n\t\"to\": \"+509840596973\",\n\t\"type\": \"text\",\n\t\"content\": {\n\t\t\"text\": \"Hi\",\n \"url\": \"https://www.buildquickbots.com/whatsapp/media/sample/jpg/sample01.jpg\"\n\t},\n \"template_uuid\": \"d980fb66fd5043d3bce1aa06ba044342\",\n \"optin_contact\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/messages/send", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "messages", + "send" + ] + } + }, + "response": [] + }, + { + "name": "POST /messages/send template with multiple variables", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n\t\"from\": \"whatsapp\",\n\t\"to\": \"+509840596973\",\n\t\"type\": \"text\",\n\t\"content\": {\n\t\t\"text\": \"Hi\",\n \"url\": \"https://www.buildquickbots.com/whatsapp/media/sample/jpg/sample01.jpg\"\n\t},\n \"template_uuid\": \"d980fb66fd5043d3bce1aa06ba044342\",\n \"optin_contact\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/messages/send", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "messages", + "send" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "WEBHOOKS API", + "item": [ + { + "name": "POST /webhooks/subscribe", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"url\": \"https://my-app.com/my-webhook-endpoint\",\n \"subscriptions\": [\"message_created\", \"contact_created\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/webhooks/subscribe", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "webhooks", + "subscribe" + ] + } + }, + "response": [] + }, + { + "name": "DELETE /webhooks/unsubscribe", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/webhooks/unsubscribe", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "webhooks", + "unsubscribe" + ] + } + }, + "response": [] + }, + { + "name": "GET /webhooks/events", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{CALLBELL_PUBLIC_API}}/webhooks/events?page=1", + "host": [ + "{{CALLBELL_PUBLIC_API}}" + ], + "path": [ + "webhooks", + "events" + ], + "query": [ + { + "key": "status", + "value": "", + "description": "The event status (failed, success)", + "disabled": true + }, + { + "key": "page", + "value": "1", + "description": "The page number" + }, + { + "key": "items", + "value": "", + "description": "The number of items per page", + "disabled": true + }, + { + "key": "subscriptions", + "value": "", + "description": "Comma separated values of the events to subscribe on this webhook (e.g message_created)", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Example Folder", + "item": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{CALLBELL_TOKEN}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "CALLBELL_TOKEN", + "value": "yourtoken.here" + }, + { + "key": "CALLBELL_PUBLIC_API", + "value": "https://api.callbell.eu/v1" + } + ] +} \ No newline at end of file diff --git a/data/config.json b/data/config.json index a7427035..eccdd9d1 100755 --- a/data/config.json +++ b/data/config.json @@ -1 +1,28 @@ -{"ipserver":"172.16.5.134","apitoken":"gvcnIJqXdUjneVSjhl6THLlQcYXJyIFCcwHKVba2bvIrNraanCTb5VeoWuJ0TFZ9","unmsApiToken":"079c28f5-888c-457d-bd7a-0a4202590f75","tokencallbell":"g8thcZkXGd3xBj2g3TtYNYFMH1fuesbJ.b6a940ea7d78cf6c9e42f067b21c8ddf96e9fa2a9e307bfd0c7c7c4d7fa38f79","tokenstripe":"sk_test_51OkG0REFY1WEUtgRH6UxBK5pu80Aq5Iy8EcdPnf0cOWzuVLQTpyLCd7CbPzqMsWMafZOHElCxhEHF7g8boURjWlJ00tBwE0W1M","hostServerFTP":"siip.mx","usernameServerFTP":"siip0001","passServerFTP":"$spGiT,[wa)n","ipPuppeteer":"172.16.5.134","portPuppeteer":"3000","idPaymentAdminCRM":"1180","cashPaymentMethodId":false,"courtesyPaymentMethodId":false,"bankTransferPaymentMethodId":true,"paypalPaymentMethodId":true,"creditCardPaypalPaymentMethodId":true,"creditCardStripePaymentMethodId":true,"stripeSubscriptionCreditCardPaymentMethodId":true,"paypalSubscriptionPaymentMethodId":true,"mercadopagoPaymentMethodId":true,"checkPaymentMethodId":true,"customPaymentMethodId":true,"notificationTypeText":true,"installersDataWhatsApp":"{\r\n \"instaladores\": [\r\n {\r\n \"id\": 1019,\r\n \"nombre\": \"Mucio Robledo\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1173,\r\n \"nombre\": \"Ángel Arvizu\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1172,\r\n \"nombre\": \"Juan Rostro\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1015,\r\n \"nombre\": \"Daniel Humberto\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1131,\r\n \"nombre\": \"Gricelda Avalos\",\r\n \"whatsapp\": \"4181817609\"\r\n }\r\n ]\r\n}","debugMode":true,"logging_level":true} \ No newline at end of file +{ + "ipserver": "172.16.5.134", + "apitoken": "gvcnIJqXdUjneVSjhl6THLlQcYXJyIFCcwHKVba2bvIrNraanCTb5VeoWuJ0TFZ9", + "unmsApiToken": "079c28f5-888c-457d-bd7a-0a4202590f75", + "tokencallbell": "g8thcZkXGd3xBj2g3TtYNYFMH1fuesbJ.b6a940ea7d78cf6c9e42f067b21c8ddf96e9fa2a9e307bfd0c7c7c4d7fa38f79", + "tokenstripe": "sk_test_51OkG0REFY1WEUtgRH6UxBK5pu80Aq5Iy8EcdPnf0cOWzuVLQTpyLCd7CbPzqMsWMafZOHElCxhEHF7g8boURjWlJ00tBwE0W1M", + "hostServerFTP": "siip.mx", + "usernameServerFTP": "siip0001", + "passServerFTP": "$spGiT,[wa)n", + "ipPuppeteer": "172.16.5.134", + "portPuppeteer": "3000", + "idPaymentAdminCRM": "1180", + "cashPaymentMethodId": false, + "courtesyPaymentMethodId": false, + "bankTransferPaymentMethodId": true, + "paypalPaymentMethodId": true, + "creditCardPaypalPaymentMethodId": true, + "creditCardStripePaymentMethodId": true, + "stripeSubscriptionCreditCardPaymentMethodId": true, + "paypalSubscriptionPaymentMethodId": true, + "mercadopagoPaymentMethodId": true, + "checkPaymentMethodId": true, + "customPaymentMethodId": true, + "notificationTypeText": true, + "installersDataWhatsApp": "{\r\n \"instaladores\": [\r\n {\r\n \"id\": 1019,\r\n \"nombre\": \"Mucio Robledo\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1173,\r\n \"nombre\": \"\u00c1ngel Arvizu\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1172,\r\n \"nombre\": \"Juan Rostro\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1015,\r\n \"nombre\": \"Daniel Humberto\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1131,\r\n \"nombre\": \"Gricelda Avalos\",\r\n \"whatsapp\": \"4181817609\"\r\n }\r\n ]\r\n}", + "debugMode": true, + "logging_level": true +} \ No newline at end of file diff --git a/data/plugin.json b/data/plugin.json index 727b85cc..fb25dafd 100755 --- a/data/plugin.json +++ b/data/plugin.json @@ -1 +1 @@ -{"twilioAccountSid":null,"twilioAuthToken":null,"twilioSmsNumber":null,"displayedErrors":"Not valid configuration: Twilio Account SID must be configured\nNot valid configuration: Twilio Auth Token must be configured","event_client_add":null,"event_client_archive":null,"event_client_delete":null,"event_client_edit":null,"event_invoice_add":null,"event_invoice_add_draft":null,"event_invoice_draft_approved":null,"event_invoice_delete":null,"event_invoice_edit":null,"event_payment_add":null,"event_payment_delete":null,"event_payment_edit":null,"event_payment_unmatch":null,"event_service_activate":null,"event_service_add":null,"event_service_archive":null,"event_service_end":null,"event_service_postpone":null,"event_service_suspend_cancel":null,"event_service_suspend":null,"event_invoice_near_due":null,"event_invoice_overdue":null,"event_client_message":null} \ No newline at end of file +{"twilioAccountSid":null,"twilioAuthToken":null,"twilioSmsNumber":null,"displayedErrors":null} \ No newline at end of file diff --git a/data/plugin.log b/data/plugin.log index 5565b3a8..ac85a42e 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -2687,3 +2687,1816 @@ contac vacio [2025-12-24 6:25:03.404103] [debug] Numero de cel obtenido [2025-12-24 6:25:03.404118] [warning] No se encontró un teléfono celular válido para el cliente: 118 +[2025-12-24 8:40:07.931716] [error] Not valid configuration: Twilio Account SID must be configured +Not valid configuration: Twilio Auth Token must be configured +[2025-12-24 8:45:09.784781] [info] Validating config +[2025-12-24 8:50:06.521502] [info] Validating config +[2025-12-24 8:55:03.146003] [info] Validating config +[2025-12-24 9:00:07.158529] [info] Validating config +[2025-12-24 9:04:59.733608] [notice] Logging level set to:debug +[2025-12-24 9:04:59.733695] [debug] Payload recibido: {"uuid":"d207e360-589f-43c5-9fac-23c379a2166a","changeType":"insert","entity":"payment","entityId":"717","eventName":"payment.add","extraData":{"entity":{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} + +[2025-12-24 9:04:59.923554] [debug] Evento recibido: payment.add +[2025-12-24 9:04:59.923747] [debug] Notification encodificado en JSON:{"uuid":"d207e360-589f-43c5-9fac-23c379a2166a","changeType":"insert","entity":"payment","entityId":717,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]}} + +Eviando comprobante de pago al cliente: 2 con número: 5214181878106 + +Datos traidos con payment api: [{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]}] + +Datos client data credit amount: 500 + +La cantidad que sobra de $500,00 MXN se ha convertido a crédito + +La cadena CURL que se envia es: { + "to": "5214181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "John Doe" + }, + "template_values": ["Daniel Humberto Soto Villegas", "717", "2", "24/12/2025 3:05am", "$500,00 MXN", "MercadoPago 🌐💳", "$2850 a favor", "La cantidad que sobra de $500,00 MXN se ha convertido a crédito"], + "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"fc4a76f18d42479ea3563a4cf8293043","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +Notificacion data: {"uuid":"d207e360-589f-43c5-9fac-23c379a2166a","changeType":"insert","entity":"payment","entityId":717,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]}] + +Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas + +UUID: 74cc2bb45eb8409f92cd5dba99200d26 + +JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22850 a favor","Monto Ultimo Pago":"\ud83d\udcb2 500","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22850 a favor\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/12\/2025 03:04 con MercadoPago \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"24\/12\/2025 03:05\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/12\/2025 03:04 con MercadoPago \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/12\/2025 03:05","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} + +JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2850 a favor","Monto Ultimo Pago": "$ 500","Estado": "Activo","Fecha Ultimo Pago": " 24/12/2025 03:04 con MercadoPago 🌐💳","Fecha Ultima Actualizacion": "24/12/2025 03:05","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} + +Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-12-09T22:06:49Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"2","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultimo Pago":"📆💸 24/12/2025 03:04 con MercadoPago 🌐💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 24/12/2025 03:05","Saldo Actual":"💲2850 a favor","Monto Ultimo Pago":"💲 500","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2850 a favor\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24/12/2025 03:04 con MercadoPago 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/12/2025 03:05\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"124180650741646979"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-12-09T22:06:49Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"2","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultimo Pago":"📆💸 24/12/2025 03:04 con MercadoPago 🌐💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 24/12/2025 03:05","Saldo Actual":"💲2850 a favor","Monto Ultimo Pago":"💲 500","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2850 a favor\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24/12/2025 03:04 con MercadoPago 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/12/2025 03:05\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"124180650741646979"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2025-12-24 9:05:04.095277] [notice] Logging level set to:debug +[2025-12-24 9:05:04.095416] [debug] Payload recibido: {"uuid":"808dd5cd-d553-4acc-9fde-a0a5a9935fc4","changeType":"edit","entity":"payment","entityId":"717","eventName":"payment.edit","extraData":{"entity":{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":717,"clientId":2,"methodId":"1c963e35-df24-444d-95d2-12592d5107e8","checkNumber":null,"createdDate":"2025-12-24T03:04:42-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1015,"attributes":[]}}} + +[2025-12-24 9:05:04.271446] [debug] Evento recibido: payment.edit +[2025-12-24 9:05:06.978705] [info] Validating config +[2025-12-24 9:07:01.201407] [notice] Logging level set to:debug +[2025-12-24 9:07:01.202687] [debug] Payload recibido: {"uuid":"11eba944-d5ef-4205-9bd9-687446a787bf","changeType":"insert","entity":"job","entityId":"61","eventName":"job.add","extraData":{"entity":{"id":61,"title":"Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + +[2025-12-24 9:07:01.262324] [debug] Evento recibido: job.add +[2025-12-24 9:07:01.262538] [debug] Se ha agregado un nuevo trabajo +[2025-12-24 9:07:01.452761] [debug] Respuesta de la API al agregar el trabajo: {"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]} +[2025-12-24 9:07:01.613049] [notice] Logging level set to:debug +[2025-12-24 9:07:01.613204] [debug] Payload recibido: {"uuid":"98e57ebe-9270-4a65-a0a8-15c7f18490f2","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:07:01.653347] [debug] Evento recibido: job.edit +[2025-12-24 9:07:01.653584] [debug] Se actualiza un trabajo + +[2025-12-24 9:07:01.653670] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:07:01.802838] [notice] Logging level set to:debug +[2025-12-24 9:07:01.802897] [debug] Payload recibido: {"uuid":"bde4cf52-9ef8-4295-b5eb-c1b6808443d2","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:07:01.842060] [debug] Evento recibido: job.edit +[2025-12-24 9:07:01.842266] [debug] Se actualiza un trabajo + +[2025-12-24 9:07:01.842318] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:07:24.592463] [notice] Logging level set to:debug +[2025-12-24 9:07:24.592555] [debug] Payload recibido: {"uuid":"fd3f4b78-9300-4381-85b0-04f9c7e7984f","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1019,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":null,"clientId":168,"date":null,"duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:07:24.636667] [debug] Evento recibido: job.edit +[2025-12-24 9:07:24.636818] [debug] Se actualiza un trabajo + +[2025-12-24 9:07:24.636838] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:07:27.205600] [notice] Logging level set to:debug +[2025-12-24 9:07:27.205687] [debug] Payload recibido: {"uuid":"9638cbcf-7375-49cf-9950-ce36c715f63d","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1019,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":1,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1019,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":0,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:07:27.276896] [debug] Evento recibido: job.edit +[2025-12-24 9:07:27.277035] [debug] Se actualiza un trabajo + +[2025-12-24 9:07:27.277054] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:07:27.277066] [debug] El instalador cambió de null a un valor +[2025-12-24 9:07:27.277079] [info] Iniciando verifyJobActionToDo +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Luisillo El Pillo [ID:168]","jobId":"61","clientAddress":"San Luis 34, Guadalupe, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"","date":"*27\/12\/2025*","jobDescription":"alinear","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.15326,-100.9134126","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *61*, del cliente 👤 *Luisillo El Pillo [ID:168]*, para el 🗓️ *27/12/2025*", "", "https://www.google.com/maps?q=21.15326,-100.9134126", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"7443c439d08142168b90e804cfdb4014","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 9:08:21.712817] [notice] Logging level set to:debug +[2025-12-24 9:08:21.712902] [debug] Payload recibido: {"uuid":"7b53767b-0517-4ab1-804a-5db5c992216a","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1172,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":1,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1019,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":1,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:08:21.778465] [debug] Evento recibido: job.edit +[2025-12-24 9:08:21.778697] [debug] Se actualiza un trabajo + +[2025-12-24 9:08:21.778753] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:08:21.778796] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador +[2025-12-24 9:08:21.778836] [info] Iniciando verifyJobActionToDo +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fMucio Robledo Villegas","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"61","clientFullName":"[168] Luisillo El Pillo","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Juan Rostro*"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true + +Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1 + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️Mucio Robledo Villegas", "se te ha desasignado❌ la tarea con el folio ", "#️⃣61", "*👤[168] Luisillo El Pillo* ", "En tu lugar asistirá el técnico 👷🏻♂️➡️ *Juan Rostro*"], + "template_uuid": "e1aa2b0fd3884595918f4ac2676acd29", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"0c8d942275734212996387629d8e0488","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"Luisillo El Pillo [ID:168]","jobId":"61","clientAddress":"San Luis 34, Guadalupe, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"","date":"*27\/12\/2025*","jobDescription":"alinear","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.15326,-100.9134126","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true + +Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1 + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["Juan Rostro", "", "#️⃣61", "*👤Luisillo El Pillo [ID:168]* ", ""], + "template_uuid": "e1aa2b0fd3884595918f4ac2676acd29", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"2cb5dfd626c74ca8bb972445ed5faaf2","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 9:10:03.129390] [info] Validating config +[2025-12-24 9:10:08.858098] [notice] Logging level set to:debug +[2025-12-24 9:10:08.859005] [debug] Payload recibido: {"uuid":"0526e0fd-d57c-4593-a52e-86f0b577ad76","changeType":"edit","entity":"job","entityId":"61","eventName":"job.edit","extraData":{"entity":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1172,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":2,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":61,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"alinear","assignedUserId":1172,"clientId":168,"date":"2025-12-27T03:30:07-0600","duration":60,"status":1,"address":"34 San Luis, Dolores Hidalgo Cuna de la Independencia Nacional, 37804, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:10:08.905311] [debug] Evento recibido: job.edit +[2025-12-24 9:10:08.905543] [debug] Se actualiza un trabajo + +[2025-12-24 9:10:08.905597] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:11:11.679115] [notice] Logging level set to:debug +[2025-12-24 9:11:11.679193] [debug] Payload recibido: {"uuid":"9eb23b40-a2fd-4203-b562-f0d0ad802330","changeType":"insert","entity":"job","entityId":"62","eventName":"job.add","extraData":{"entity":{"id":62,"title":"Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + +[2025-12-24 9:11:11.726830] [debug] Evento recibido: job.add +[2025-12-24 9:11:11.727098] [debug] Se ha agregado un nuevo trabajo +[2025-12-24 9:11:11.835263] [debug] Respuesta de la API al agregar el trabajo: {"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]} +[2025-12-24 9:11:11.987833] [notice] Logging level set to:debug +[2025-12-24 9:11:11.987903] [debug] Payload recibido: {"uuid":"9c7333af-47bc-4b70-a53c-729e8371999c","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:11:12.039383] [debug] Evento recibido: job.edit +[2025-12-24 9:11:12.039555] [debug] Se actualiza un trabajo + +[2025-12-24 9:11:12.039585] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:11:12.176342] [notice] Logging level set to:debug +[2025-12-24 9:11:12.176409] [debug] Payload recibido: {"uuid":"875df130-346e-45c0-8361-4a8fb7b6a00a","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:11:12.221268] [debug] Evento recibido: job.edit +[2025-12-24 9:11:12.221391] [debug] Se actualiza un trabajo + +[2025-12-24 9:11:12.221411] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:11:35.328212] [notice] Logging level set to:debug +[2025-12-24 9:11:35.328310] [debug] Payload recibido: {"uuid":"17eed1ba-71bf-45e1-8ed1-1473058a048e","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:11:35.381064] [debug] Evento recibido: job.edit +[2025-12-24 9:11:35.381212] [debug] Se actualiza un trabajo + +[2025-12-24 9:11:35.381233] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:11:40.356067] [notice] Logging level set to:debug +[2025-12-24 9:11:40.356146] [debug] Payload recibido: {"uuid":"1d94c11b-81e4-4113-bd2e-2a9192f2aaa1","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:11:40.401791] [debug] Evento recibido: job.edit +[2025-12-24 9:11:40.401926] [debug] Se actualiza un trabajo + +[2025-12-24 9:11:40.401943] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:11:40.401956] [debug] El instalador cambió de null a un valor +[2025-12-24 9:11:40.401968] [info] Iniciando verifyJobActionToDo +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"Edward Elric [ID:162]","jobId":"62","clientAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"","date":"*27\/12\/2025*","jobDescription":"alienacio","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1575488,-100.9409119","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *62*, del cliente 👤 *Edward Elric [ID:162]*, para el 🗓️ *27/12/2025*", "", "https://www.google.com/maps?q=21.1575488,-100.9409119", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"bc086486176d47e1904d0111d6c20567","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 9:15:04.155611] [info] Validating config +[2025-12-24 9:20:03.302267] [info] Validating config +[2025-12-24 9:21:08.089034] [notice] Logging level set to:debug +[2025-12-24 9:21:08.089118] [debug] Payload recibido: {"uuid":"d593be62-8698-4843-92b5-b0479ebe7ea2","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":2,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:21:08.131326] [debug] Evento recibido: job.edit +[2025-12-24 9:21:08.131499] [debug] Se actualiza un trabajo + +[2025-12-24 9:21:08.131521] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:21:14.582237] [notice] Logging level set to:debug +[2025-12-24 9:21:14.582314] [debug] Payload recibido: {"uuid":"d484cbc3-1414-423c-b248-b463828b6314","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":2,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:21:14.632205] [debug] Evento recibido: job.edit +[2025-12-24 9:21:14.632498] [debug] Se actualiza un trabajo + +[2025-12-24 9:21:14.632569] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:21:23.199259] [notice] Logging level set to:debug +[2025-12-24 9:21:23.199580] [debug] Payload recibido: {"uuid":"a4705d39-3c0d-42ec-93a7-c2c25ac0a115","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1172,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:21:23.246484] [debug] Evento recibido: job.edit +[2025-12-24 9:21:23.246706] [debug] Se actualiza un trabajo + +[2025-12-24 9:21:23.246767] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:21:26.588207] [notice] Logging level set to:debug +[2025-12-24 9:21:26.588541] [debug] Payload recibido: {"uuid":"f6300b78-02c1-422e-81ea-420f2f566f78","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 9:21:26.631289] [debug] Evento recibido: job.edit +[2025-12-24 9:21:26.631612] [debug] Se actualiza un trabajo + +[2025-12-24 9:21:26.631704] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 9:21:26.631762] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 9:21:26.631819] [info] Iniciando verifyJobActionToDo +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"Edward Elric [ID:162]","jobId":"62","clientAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"","date":"*27\/12\/2025*","jobDescription":"alienacio","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1575488,-100.9409119","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *62*, del cliente 👤 *Edward Elric [ID:162]*, para el 🗓️ *27/12/2025*", "", "https://www.google.com/maps?q=21.1575488,-100.9409119", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"012ab9595a4a4c2d9156d8589e01ba75","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 9:25:04.237417] [info] Validating config +[2025-12-24 9:30:03.101334] [info] Validating config +[2025-12-24 9:35:07.905174] [info] Validating config +[2025-12-24 9:40:09.690748] [info] Validating config +[2025-12-24 9:45:12.305273] [info] Validating config +[2025-12-24 9:50:03.236650] [info] Validating config +[2025-12-24 9:55:02.372216] [info] Validating config +[2025-12-24 10:00:06.958221] [info] Validating config +[2025-12-24 10:05:08.746786] [info] Validating config +[2025-12-24 10:10:05.523332] [info] Validating config +[2025-12-24 10:15:02.501940] [info] Validating config +[2025-12-24 10:20:02.641972] [info] Validating config +[2025-12-24 10:25:05.985856] [info] Validating config +[2025-12-24 10:30:07.806494] [info] Validating config +[2025-12-24 10:35:14.488101] [info] Validating config +[2025-12-24 10:40:02.524832] [info] Validating config +[2025-12-24 10:45:02.990241] [info] Validating config +[2025-12-24 10:50:05.086572] [info] Validating config +[2025-12-24 10:55:06.891376] [info] Validating config +[2025-12-24 11:00:08.706357] [info] Validating config +[2025-12-24 11:05:02.447320] [info] Validating config +[2025-12-24 11:10:02.824759] [info] Validating config +[2025-12-24 11:15:09.030400] [info] Validating config +[2025-12-24 11:20:05.981530] [info] Validating config +[2025-12-24 11:25:07.836262] [info] Validating config +[2025-12-24 11:30:03.787569] [info] Validating config +[2025-12-24 11:35:02.824325] [info] Validating config +[2025-12-24 11:40:08.261137] [info] Validating config +[2025-12-24 11:45:05.025254] [info] Validating config +[2025-12-24 11:50:06.904934] [info] Validating config +[2025-12-24 11:55:03.407412] [info] Validating config +[2025-12-24 12:00:04.607876] [info] Validating config +[2025-12-24 12:05:13.893347] [info] Validating config +[2025-12-24 12:10:09.187840] [info] Validating config +[2025-12-24 12:15:06.015758] [info] Validating config +[2025-12-24 12:20:02.277286] [info] Validating config +[2025-12-24 12:25:03.164630] [info] Validating config +[2025-12-24 12:30:06.448420] [info] Validating config +[2025-12-24 12:35:08.279340] [info] Validating config +[2025-12-24 12:40:05.060677] [info] Validating config +[2025-12-24 12:45:02.370552] [info] Validating config +[2025-12-24 12:50:02.528553] [info] Validating config +[2025-12-24 12:55:05.521152] [info] Validating config +[2025-12-24 13:00:07.376928] [info] Validating config +[2025-12-24 13:05:09.196362] [info] Validating config +[2025-12-24 13:10:02.526319] [info] Validating config +[2025-12-24 13:15:02.560821] [info] Validating config +[2025-12-24 13:20:04.582583] [info] Validating config +[2025-12-24 13:25:06.380237] [info] Validating config +[2025-12-24 13:30:08.234889] [info] Validating config +[2025-12-24 13:35:02.380846] [info] Validating config +[2025-12-24 13:40:02.700064] [info] Validating config +[2025-12-24 13:45:05.103111] [info] Validating config +[2025-12-24 13:50:05.469223] [info] Validating config +[2025-12-24 13:55:07.275557] [info] Validating config +[2025-12-24 14:00:03.444449] [info] Validating config +[2025-12-24 14:05:02.782035] [info] Validating config +[2025-12-24 14:10:07.704310] [info] Validating config +[2025-12-24 14:15:14.398689] [info] Validating config +[2025-12-24 14:20:06.315336] [info] Validating config +[2025-12-24 14:25:02.473707] [info] Validating config +[2025-12-24 14:30:03.327713] [info] Validating config +[2025-12-24 14:35:06.764893] [info] Validating config +[2025-12-24 14:40:08.633867] [info] Validating config +[2025-12-24 14:45:10.439152] [info] Validating config +[2025-12-24 14:50:02.303406] [info] Validating config +[2025-12-24 14:55:02.515583] [info] Validating config +[2025-12-24 15:00:05.885493] [info] Validating config +[2025-12-24 15:05:07.706109] [info] Validating config +[2025-12-24 15:10:09.521393] [info] Validating config +[2025-12-24 15:15:02.377892] [info] Validating config +[2025-12-24 15:20:02.638504] [info] Validating config +[2025-12-24 15:25:09.969852] [info] Validating config +[2025-12-24 15:30:06.752603] [info] Validating config +[2025-12-24 15:35:08.604446] [info] Validating config +[2025-12-24 15:40:02.580970] [info] Validating config +[2025-12-24 15:45:02.792414] [info] Validating config +[2025-12-24 15:50:04.074171] [info] Validating config +[2025-12-24 15:55:05.852483] [info] Validating config +[2025-12-24 16:00:04.964308] [notice] Logging level set to:debug +[2025-12-24 16:00:04.964401] [debug] Payload recibido: {"uuid":"1a027976-fd16-4319-b9b7-4a98506d4ebc","changeType":"draft_approved","entity":"invoice","entityId":"2850","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2850,"clientId":126,"number":"002796","createdDate":"2025-12-24T10:00:02-0600","dueDate":"2026-01-07T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2866,"type":"service","label":"PREMIUM 24\/11\/2025 \u2013 23\/12\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2025-12-24 16:00:05.190057] [debug] Evento recibido: invoice.draft_approved +[2025-12-24 16:00:05.190193] [debug] Aprobación de Factura + +[2025-12-24 16:00:13.563908] [info] Validating config +[2025-12-24 16:05:11.446974] [info] Validating config +[2025-12-24 16:10:06.421154] [info] Validating config +[2025-12-24 16:15:08.119213] [info] Validating config +[2025-12-24 16:19:28.187024] [notice] Logging level set to:debug +[2025-12-24 16:19:28.187108] [debug] Payload recibido: {"uuid":"f6e41b6c-7bc4-4834-9fd7-396aa06568bc","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:19:28.241847] [debug] Evento recibido: job.edit +[2025-12-24 16:19:28.242083] [debug] Se actualiza un trabajo + +[2025-12-24 16:19:28.242142] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:20:09.947433] [info] Validating config +[2025-12-24 16:20:53.091115] [notice] Logging level set to:debug +[2025-12-24 16:20:53.091202] [debug] Payload recibido: {"uuid":"971f5faf-cc1c-4259-9946-d698c56677ff","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:20:53.153345] [debug] Evento recibido: job.edit +[2025-12-24 16:20:53.153534] [debug] Se actualiza un trabajo + +[2025-12-24 16:20:53.153557] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:20:53.153572] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 16:20:53.153584] [info] Iniciando verifyJobActionToDo +[2025-12-24 16:20:53.290546] [debug] Números de WhatsApp encontrados para el cliente: 0 +[2025-12-24 16:20:53.290591] [debug] Eliminando prefijo de notificación pendiente del título. +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"Edward Elric [ID:162]","jobId":"62","clientAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"","date":"*27\/12\/2025*","jobDescription":"alienacio","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1575488,-100.9409119","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *62*, del cliente 👤 *Edward Elric [ID:162]*, para el 🗓️ *27/12/2025*", "", "https://www.google.com/maps?q=21.1575488,-100.9409119", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"f418ab27a2104bc1b8fdf2b02235955b","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 16:20:54.409717] [notice] Logging level set to:debug +[2025-12-24 16:20:54.409785] [debug] Payload recibido: {"uuid":"2e9c9056-c2c2-4d16-883a-6d43e95ddb6f","changeType":"edit","entity":"job","entityId":"62","eventName":"job.edit","extraData":{"entity":{"id":62,"title":"Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":62,"title":"[NOTIFICACION-PENDIENTE]Servicio de prueba","description":"alienacio","assignedUserId":1173,"clientId":162,"date":"2025-12-27T03:30:21-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:20:54.463884] [debug] Evento recibido: job.edit +[2025-12-24 16:20:54.464020] [debug] Se actualiza un trabajo + +[2025-12-24 16:20:54.464036] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:20:54.464051] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación +[2025-12-24 16:25:06.737016] [info] Validating config +[2025-12-24 16:30:07.562009] [info] Validating config +[2025-12-24 16:31:44.559720] [notice] Logging level set to:debug +[2025-12-24 16:31:44.559891] [debug] Payload recibido: {"uuid":"cfcc109f-ef24-4053-9135-f9c7bfd23349","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} + +[2025-12-24 16:31:44.682276] [debug] Evento recibido: client.edit +[2025-12-24 16:31:44.682507] [debug] Se actualiza a un cliente +[2025-12-24 16:31:44.682604] [debug] Valor de json_data: {"uuid":"cfcc109f-ef24-4053-9135-f9c7bfd23349","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2850,"accountCredit":2850,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-12-24 16:32:04.030261] [notice] Logging level set to:debug +[2025-12-24 16:32:04.030337] [debug] Payload recibido: {"uuid":"680ac0c7-df17-4591-b697-17dee749a293","changeType":"insert","entity":"job","entityId":"63","eventName":"job.add","extraData":{"entity":{"id":63,"title":"Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + +[2025-12-24 16:32:04.075401] [debug] Evento recibido: job.add +[2025-12-24 16:32:04.075702] [debug] Se ha agregado un nuevo trabajo +[2025-12-24 16:32:04.163562] [debug] Respuesta de la API al agregar el trabajo: {"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]} +[2025-12-24 16:32:04.318087] [notice] Logging level set to:debug +[2025-12-24 16:32:04.318160] [debug] Payload recibido: {"uuid":"7d340e66-8573-4aed-b974-0b5954bf2bd6","changeType":"edit","entity":"job","entityId":"63","eventName":"job.edit","extraData":{"entity":{"id":63,"title":"Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":63,"title":"Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:32:04.367341] [debug] Evento recibido: job.edit +[2025-12-24 16:32:04.367516] [debug] Se actualiza un trabajo + +[2025-12-24 16:32:04.367549] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:32:04.512268] [notice] Logging level set to:debug +[2025-12-24 16:32:04.512350] [debug] Payload recibido: {"uuid":"92efd39e-77e3-4543-98bd-af15e7a67a04","changeType":"edit","entity":"job","entityId":"63","eventName":"job.edit","extraData":{"entity":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":63,"title":"Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:32:04.563941] [debug] Evento recibido: job.edit +[2025-12-24 16:32:04.564078] [debug] Se actualiza un trabajo + +[2025-12-24 16:32:04.564096] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:32:22.916944] [notice] Logging level set to:debug +[2025-12-24 16:32:22.917045] [debug] Payload recibido: {"uuid":"462db2a8-2853-4910-810d-671f87a2553c","changeType":"edit","entity":"job","entityId":"63","eventName":"job.edit","extraData":{"entity":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":1019,"clientId":2,"date":"2025-12-26T11:00:13-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:32:22.989916] [debug] Evento recibido: job.edit +[2025-12-24 16:32:22.990183] [debug] Se actualiza un trabajo + +[2025-12-24 16:32:22.990245] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:32:29.849534] [notice] Logging level set to:debug +[2025-12-24 16:32:29.849904] [debug] Payload recibido: {"uuid":"3c7c5bca-e35c-4d50-8ca7-8cf44f38a8c4","changeType":"edit","entity":"job","entityId":"63","eventName":"job.edit","extraData":{"entity":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":1019,"clientId":2,"date":"2025-12-26T11:00:13-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":1019,"clientId":2,"date":"2025-12-26T11:00:13-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:32:29.906040] [debug] Evento recibido: job.edit +[2025-12-24 16:32:29.906311] [debug] Se actualiza un trabajo + +[2025-12-24 16:32:29.906378] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:32:29.906420] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 16:32:29.906461] [info] Iniciando verifyJobActionToDo +[2025-12-24 16:32:30.040565] [debug] Números de WhatsApp encontrados para el cliente: 1 +Enviando mensaje de trabajo para el cliente + +Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"63","date":"*26\/12\/2025*","installerName":"Mucio Robledo Villegas"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "5214181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#️⃣63*", "🗓️ *26/12/2025*", "👷🏻♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."], + "template_uuid": "07cfbc6e394044608485b530a27177d0", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"f6846ee4ca164a63ae446121e2dbe0ce","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 16:32:30.861506] [debug] Eliminando prefijo de notificación pendiente del título. +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"63","clientAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","clientWhatsApp":"5214181878106, 5214181148783","date":"*26\/12\/2025*","jobDescription":"revisar al maistro","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564414,-100.9383654","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *63*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *26/12/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564414,-100.9383654", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"2692c1dc6e4c486ab8a16f0581a7e3ee","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 16:32:31.846306] [notice] Logging level set to:debug +[2025-12-24 16:32:31.846462] [debug] Payload recibido: {"uuid":"31baf2a9-d7be-4bd1-a914-e428c310e5ea","changeType":"edit","entity":"job","entityId":"63","eventName":"job.edit","extraData":{"entity":{"id":63,"title":"Pruebas servicio 2","description":"revisar al maistro","assignedUserId":1019,"clientId":2,"date":"2025-12-26T11:00:13-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":63,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"revisar al maistro","assignedUserId":1019,"clientId":2,"date":"2025-12-26T11:00:13-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 16:32:31.907385] [debug] Evento recibido: job.edit +[2025-12-24 16:32:31.907823] [debug] Se actualiza un trabajo + +[2025-12-24 16:32:31.907891] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 16:32:31.907937] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación +[2025-12-24 16:35:05.389225] [info] Validating config +[2025-12-24 16:40:07.213325] [info] Validating config +[2025-12-24 16:45:09.036048] [info] Validating config +[2025-12-24 16:50:05.814121] [info] Validating config +[2025-12-24 16:55:07.702560] [info] Validating config +[2025-12-24 17:00:04.501286] [info] Validating config +[2025-12-24 17:05:06.289725] [info] Validating config +[2025-12-24 17:10:06.111268] [info] Validating config +[2025-12-24 17:12:20.823525] [notice] Logging level set to:debug +[2025-12-24 17:12:20.823621] [debug] Payload recibido: {"uuid":"d11039f4-e4a2-40e2-a411-067eb170391c","changeType":"insert","entity":"job","entityId":"64","eventName":"job.add","extraData":{"entity":{"id":64,"title":"Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + +[2025-12-24 17:12:20.905585] [debug] Evento recibido: job.add +[2025-12-24 17:12:20.905898] [debug] Se ha agregado un nuevo trabajo +[2025-12-24 17:12:21.035954] [debug] Respuesta de la API al agregar el trabajo: {"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]} +[2025-12-24 17:12:21.216182] [notice] Logging level set to:debug +[2025-12-24 17:12:21.216336] [debug] Payload recibido: {"uuid":"7a500008-fc8b-4c61-8ce2-a391826b7681","changeType":"edit","entity":"job","entityId":"64","eventName":"job.edit","extraData":{"entity":{"id":64,"title":"Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":64,"title":"Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:12:21.269093] [debug] Evento recibido: job.edit +[2025-12-24 17:12:21.269309] [debug] Se actualiza un trabajo + +[2025-12-24 17:12:21.269361] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:12:21.415644] [notice] Logging level set to:debug +[2025-12-24 17:12:21.415816] [debug] Payload recibido: {"uuid":"ac52a870-1a04-421f-8c6f-5eb8fb5117bb","changeType":"edit","entity":"job","entityId":"64","eventName":"job.edit","extraData":{"entity":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":64,"title":"Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:12:21.468327] [debug] Evento recibido: job.edit +[2025-12-24 17:12:21.468529] [debug] Se actualiza un trabajo + +[2025-12-24 17:12:21.468584] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:12:41.542480] [notice] Logging level set to:debug +[2025-12-24 17:12:41.542783] [debug] Payload recibido: {"uuid":"ddc05b94-c922-4484-8267-557339e7172c","changeType":"edit","entity":"job","entityId":"64","eventName":"job.edit","extraData":{"entity":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":1019,"clientId":162,"date":"2026-01-02T11:30:00-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:12:41.593353] [debug] Evento recibido: job.edit +[2025-12-24 17:12:41.593584] [debug] Se actualiza un trabajo + +[2025-12-24 17:12:41.593638] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:12:45.611658] [notice] Logging level set to:debug +[2025-12-24 17:12:45.612195] [debug] Payload recibido: {"uuid":"481ff6e4-d4c2-4821-b3af-5843d30c4f69","changeType":"edit","entity":"job","entityId":"64","eventName":"job.edit","extraData":{"entity":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":1019,"clientId":162,"date":"2026-01-02T11:30:00-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":1019,"clientId":162,"date":"2026-01-02T11:30:00-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:12:45.663036] [debug] Evento recibido: job.edit +[2025-12-24 17:12:45.663279] [debug] Se actualiza un trabajo + +[2025-12-24 17:12:45.663336] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:12:45.663381] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 17:12:45.663424] [info] Iniciando verifyJobActionToDo +[2025-12-24 17:12:45.803668] [debug] Analizando título para notificación: '[NOTIFICACION-PENDIENTE]Pruebas servicio 2' +[2025-12-24 17:12:45.803726] [debug] Estado del prefijo: ENCONTRADO +[2025-12-24 17:12:45.803745] [debug] Números de WhatsApp encontrados para el cliente: 0 +[2025-12-24 17:12:45.803759] [debug] Eliminando prefijo. Título anterior: '[NOTIFICACION-PENDIENTE]Pruebas servicio 2', Nuevo título: 'Pruebas servicio 2' +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Edward Elric [ID:162]","jobId":"64","clientAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"Sin WhatsApp","date":"*02\/01\/2026*","jobDescription":"Alinear","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1575488,-100.9409119","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *64*, del cliente 👤 *Edward Elric [ID:162]*, para el 🗓️ *02/01/2026*", "Sin WhatsApp", "https://www.google.com/maps?q=21.1575488,-100.9409119", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"b7d169800b0a4b309ae51ec16334b576","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 17:12:46.877829] [notice] Logging level set to:debug +[2025-12-24 17:12:46.878027] [debug] Payload recibido: {"uuid":"6bfc90cb-9bc5-47e7-8934-2b8007ebabe8","changeType":"edit","entity":"job","entityId":"64","eventName":"job.edit","extraData":{"entity":{"id":64,"title":"Pruebas servicio 2","description":"Alinear","assignedUserId":1019,"clientId":162,"date":"2026-01-02T11:30:00-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":64,"title":"[NOTIFICACION-PENDIENTE]Pruebas servicio 2","description":"Alinear","assignedUserId":1019,"clientId":162,"date":"2026-01-02T11:30:00-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:12:46.931030] [debug] Evento recibido: job.edit +[2025-12-24 17:12:46.931293] [debug] Se actualiza un trabajo + +[2025-12-24 17:12:46.931363] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:12:46.931407] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación +[2025-12-24 17:15:04.913403] [info] Validating config +[2025-12-24 17:20:06.730426] [info] Validating config +[2025-12-24 17:25:08.600209] [info] Validating config +[2025-12-24 17:27:12.368525] [notice] Logging level set to:debug +[2025-12-24 17:27:12.368609] [debug] Payload recibido: {"uuid":"30b3f006-539e-4197-93b1-dbf698faa44f","changeType":"insert","entity":"job","entityId":"65","eventName":"job.add","extraData":{"entity":{"id":65,"title":"El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + +[2025-12-24 17:27:12.410099] [debug] Evento recibido: job.add +[2025-12-24 17:27:12.410274] [debug] Se ha agregado un nuevo trabajo +[2025-12-24 17:27:12.502331] [debug] Respuesta de la API al agregar el trabajo: {"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]} +[2025-12-24 17:27:12.664208] [notice] Logging level set to:debug +[2025-12-24 17:27:12.664277] [debug] Payload recibido: {"uuid":"1995bb44-f109-4e7c-944e-78c59386f286","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:27:12.715040] [debug] Evento recibido: job.edit +[2025-12-24 17:27:12.715169] [debug] Se actualiza un trabajo + +[2025-12-24 17:27:12.715188] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:27:12.858460] [notice] Logging level set to:debug +[2025-12-24 17:27:12.858545] [debug] Payload recibido: {"uuid":"3259781c-6ec0-4da7-8397-1cbff0017791","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:27:12.917453] [debug] Evento recibido: job.edit +[2025-12-24 17:27:12.917583] [debug] Se actualiza un trabajo + +[2025-12-24 17:27:12.917603] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:27:28.370212] [notice] Logging level set to:debug +[2025-12-24 17:27:28.370301] [debug] Payload recibido: {"uuid":"10302a44-d150-4261-ba9d-563e3d0409aa","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":null,"clientId":162,"date":null,"duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:27:28.428649] [debug] Evento recibido: job.edit +[2025-12-24 17:27:28.428906] [debug] Se actualiza un trabajo + +[2025-12-24 17:27:28.428962] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:27:39.882914] [notice] Logging level set to:debug +[2025-12-24 17:27:39.883114] [debug] Payload recibido: {"uuid":"699f5091-6198-44b7-ad25-2953d7c4ec8c","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:27:39.924670] [debug] Evento recibido: job.edit +[2025-12-24 17:27:39.924957] [debug] Se actualiza un trabajo + +[2025-12-24 17:27:39.925026] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:27:39.925071] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 17:27:39.925112] [info] Iniciando verifyJobActionToDo +[2025-12-24 17:27:40.124392] [debug] Estado de notificación - Pending: SI, NoWhatsApp: NO, HasWA: NO +Enviando mensaje de tarea al instalador + +Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"Edward Elric [ID:162]","jobId":"65","clientAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"Sin WhatsApp","date":"*01\/01\/2026*","jobDescription":"Viene lo chido dice luisito","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1575488,-100.9409119","passwordAntenaCliente":"gYAIEK:Be}SK*01z5+\/V"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👷🏻♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *65*, del cliente 👤 *Edward Elric [ID:162]*, para el 🗓️ *01/01/2026*", "Sin WhatsApp", "https://www.google.com/maps?q=21.1575488,-100.9409119", "gYAIEK:Be}SK*01z5+/V"], + "template_uuid": "88eeb6420a214fd8870dd28d741021c4", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"c2efa7b3a3374368b389e0fe44a41d68","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 17:27:41.131922] [notice] Logging level set to:debug +[2025-12-24 17:27:41.132119] [debug] Payload recibido: {"uuid":"e95a0cb8-e916-4bba-8542-97894d4cefd0","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:27:41.185807] [debug] Evento recibido: job.edit +[2025-12-24 17:27:41.186105] [debug] Se actualiza un trabajo + +[2025-12-24 17:27:41.186141] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:27:41.186161] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación +[2025-12-24 17:28:52.728830] [notice] Logging level set to:debug +[2025-12-24 17:28:52.728924] [debug] Payload recibido: {"uuid":"e2d77fbc-9a36-4209-8cb0-723de5f09a95","changeType":"edit","entity":"client","entityId":"162","eventName":"client.edit","extraData":{"entity":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true},{"id":233,"clientId":162,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-7216.67,"accountCredit":0,"accountOutstanding":7216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true},{"id":233,"clientId":162,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-7216.67,"accountCredit":0,"accountOutstanding":7216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} + +[2025-12-24 17:28:52.841495] [debug] Evento recibido: client.edit +[2025-12-24 17:28:52.841666] [debug] Se actualiza a un cliente +[2025-12-24 17:28:52.841726] [debug] Valor de json_data: {"uuid":"e2d77fbc-9a36-4209-8cb0-723de5f09a95","changeType":"edit","entity":"client","entityId":"162","eventName":"client.edit","extraData":{"entity":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true},{"id":233,"clientId":162,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-7216.67,"accountCredit":0,"accountOutstanding":7216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true},{"id":233,"clientId":162,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-7216.67,"accountCredit":0,"accountOutstanding":7216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-12-24 17:29:07.909204] [notice] Logging level set to:debug +[2025-12-24 17:29:07.909552] [debug] Payload recibido: {"uuid":"209fa8a5-0eba-464d-988f-f0659731d737","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:29:07.955406] [debug] Evento recibido: job.edit +[2025-12-24 17:29:07.955708] [debug] Se actualiza un trabajo + +[2025-12-24 17:29:07.955770] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:29:12.298301] [notice] Logging level set to:debug +[2025-12-24 17:29:12.298707] [debug] Payload recibido: {"uuid":"cf877577-3130-4260-968d-76787cfa6831","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":0,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:29:12.360183] [debug] Evento recibido: job.edit +[2025-12-24 17:29:12.360467] [debug] Se actualiza un trabajo + +[2025-12-24 17:29:12.360541] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:29:12.360559] [debug] Trabajo iniciado o asignado: Notificando... +[2025-12-24 17:29:12.360579] [info] Iniciando verifyJobActionToDo +[2025-12-24 17:29:12.501316] [debug] Estado de notificación - Pending: NO, NoWhatsApp: SI, HasWA: SI +Enviando mensaje de trabajo para el cliente + +Datos de la notificación de trabajo: {"clientFullName":"Edward Elric","jobId":"65","date":"*01\/01\/2026*","installerName":"Juan Rostro"} + +DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false + +DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false + +Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "text", + "content": { + "text": "S/M" + }, + "template_values": ["👤 *Edward Elric*", "*#️⃣65*", "🗓️ *01/01/2026*", "👷🏻♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."], + "template_uuid": "07cfbc6e394044608485b530a27177d0", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"7aef47073a1a44608f304cdbc43da854","status":"enqueued"}} +La notificación fue enviada correctamente con estado: enqueued + +[2025-12-24 17:29:13.507225] [notice] Logging level set to:debug +[2025-12-24 17:29:13.507400] [debug] Payload recibido: {"uuid":"c5300fdc-6705-4d06-b976-f6e8bb82de7e","changeType":"edit","entity":"job","entityId":"65","eventName":"job.edit","extraData":{"entity":{"id":65,"title":"El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":65,"title":"[CLIENTE-SIN-WHATSAPP]El chido servicio","description":"Viene lo chido dice luisito","assignedUserId":1172,"clientId":162,"date":"2026-01-01T11:30:23-0600","duration":60,"status":1,"address":"76 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} + +[2025-12-24 17:29:13.554860] [debug] Evento recibido: job.edit +[2025-12-24 17:29:13.555069] [debug] Se actualiza un trabajo + +[2025-12-24 17:29:13.555123] [debug] Validando claves dentro de entityBeforeEdit y entity +[2025-12-24 17:29:13.555166] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación +[2025-12-24 17:30:03.766524] [info] Validating config +[2025-12-24 17:35:02.781338] [info] Validating config +[2025-12-24 17:40:02.902403] [info] Validating config +[2025-12-24 17:45:02.936466] [info] Validating config +[2025-12-24 17:50:07.652488] [info] Validating config +[2025-12-24 17:55:03.157493] [info] Validating config +[2025-12-24 18:00:03.709283] [info] Validating config +[2025-12-24 18:05:02.756673] [info] Validating config +[2025-12-24 18:10:03.075103] [info] Validating config +[2025-12-24 18:15:06.668210] [info] Validating config +[2025-12-24 18:20:04.215306] [info] Validating config +[2025-12-24 18:25:02.802591] [info] Validating config +[2025-12-24 18:30:03.745093] [info] Validating config +[2025-12-24 18:35:03.078421] [info] Validating config +[2025-12-24 18:40:05.723774] [info] Validating config +[2025-12-24 18:45:03.448043] [info] Validating config +[2025-12-24 18:50:02.558144] [info] Validating config +[2025-12-24 18:55:02.682507] [info] Validating config +[2025-12-24 19:00:04.062823] [info] Validating config +[2025-12-24 19:05:04.806539] [info] Validating config +[2025-12-24 19:10:03.084527] [info] Validating config +[2025-12-24 19:15:02.573360] [info] Validating config +[2025-12-24 19:20:02.781270] [info] Validating config +[2025-12-24 19:25:03.261070] [info] Validating config +[2025-12-24 19:30:14.738107] [info] Validating config +[2025-12-24 19:35:03.291865] [info] Validating config +[2025-12-24 19:40:03.047159] [info] Validating config +[2025-12-24 19:45:02.908380] [info] Validating config +[2025-12-24 19:50:03.078706] [info] Validating config +[2025-12-24 19:55:14.118094] [info] Validating config +[2025-12-24 20:00:04.361624] [info] Validating config +[2025-12-24 20:05:02.836935] [info] Validating config +[2025-12-24 20:10:02.946662] [info] Validating config +[2025-12-24 20:15:02.957124] [info] Validating config +[2025-12-24 20:20:12.201963] [info] Validating config +[2025-12-24 20:25:03.725011] [info] Validating config +[2025-12-24 20:30:03.581716] [info] Validating config +[2025-12-24 20:35:02.717525] [info] Validating config +[2025-12-24 20:40:03.186168] [info] Validating config +[2025-12-24 20:45:06.113965] [info] Validating config +[2025-12-24 20:50:03.357887] [info] Validating config +[2025-12-24 20:55:02.485964] [info] Validating config +[2025-12-24 21:00:03.937375] [info] Validating config +[2025-12-24 21:05:02.843723] [info] Validating config +[2025-12-24 21:10:09.357373] [info] Validating config +[2025-12-24 21:15:03.255609] [info] Validating config +[2025-12-24 21:20:02.917150] [info] Validating config +[2025-12-24 21:25:02.884293] [info] Validating config +[2025-12-24 21:30:03.714530] [info] Validating config +[2025-12-24 21:35:09.311199] [info] Validating config +[2025-12-24 21:40:03.276618] [info] Validating config +[2025-12-24 21:45:03.237437] [info] Validating config +[2025-12-24 21:50:02.529131] [info] Validating config +[2025-12-24 21:55:02.742924] [info] Validating config +[2025-12-24 22:00:10.573544] [info] Validating config +[2025-12-24 22:05:03.181242] [info] Validating config +[2025-12-24 22:10:03.527955] [info] Validating config +[2025-12-24 22:15:02.427879] [info] Validating config +[2025-12-24 22:20:02.805191] [info] Validating config +[2025-12-24 22:25:14.334218] [info] Validating config +[2025-12-24 22:30:03.733751] [info] Validating config +[2025-12-24 22:35:03.194371] [info] Validating config +[2025-12-24 22:40:02.480138] [info] Validating config +[2025-12-24 22:45:02.652476] [info] Validating config +[2025-12-24 22:50:06.522655] [info] Validating config +[2025-12-24 22:55:03.092363] [info] Validating config +[2025-12-24 23:00:04.186445] [info] Validating config +[2025-12-24 23:05:02.524341] [info] Validating config +[2025-12-24 23:10:02.924747] [info] Validating config +[2025-12-24 23:15:05.605319] [info] Validating config +[2025-12-24 23:20:03.062932] [info] Validating config +[2025-12-24 23:25:03.334122] [info] Validating config +[2025-12-24 23:30:02.862529] [info] Validating config +[2025-12-24 23:35:02.622409] [info] Validating config +[2025-12-24 23:40:10.238567] [info] Validating config +[2025-12-24 23:45:03.000463] [info] Validating config +[2025-12-24 23:50:03.287633] [info] Validating config +[2025-12-24 23:55:03.273859] [info] Validating config +[2025-12-25 0:00:06.485321] [info] Validating config +[2025-12-25 0:05:08.770240] [info] Validating config +[2025-12-25 0:10:03.589361] [info] Validating config +[2025-12-25 0:15:03.597695] [info] Validating config +[2025-12-25 0:20:02.896389] [info] Validating config +[2025-12-25 0:25:03.107995] [info] Validating config +[2025-12-25 0:30:07.839747] [info] Validating config +[2025-12-25 0:35:03.387962] [info] Validating config +[2025-12-25 0:40:03.429974] [info] Validating config +[2025-12-25 0:45:02.614074] [info] Validating config +[2025-12-25 0:50:02.938711] [info] Validating config +[2025-12-25 0:55:06.998598] [info] Validating config +[2025-12-25 1:00:04.530379] [info] Validating config +[2025-12-25 1:05:03.333103] [info] Validating config +[2025-12-25 1:10:02.819370] [info] Validating config +[2025-12-25 1:15:02.721306] [info] Validating config +[2025-12-25 1:20:06.107753] [info] Validating config +[2025-12-25 1:25:03.277749] [info] Validating config +[2025-12-25 1:30:03.799550] [info] Validating config +[2025-12-25 1:35:02.328206] [info] Validating config +[2025-12-25 1:40:02.524409] [info] Validating config +[2025-12-25 1:45:10.141876] [info] Validating config +[2025-12-25 1:50:03.075129] [info] Validating config +[2025-12-25 1:55:03.038338] [info] Validating config +[2025-12-25 2:00:04.501938] [info] Validating config +[2025-12-25 2:05:02.429959] [info] Validating config +[2025-12-25 2:10:09.267569] [info] Validating config +[2025-12-25 2:15:02.847385] [info] Validating config +[2025-12-25 2:20:03.121138] [info] Validating config +[2025-12-25 2:25:03.464463] [info] Validating config +[2025-12-25 2:30:03.318979] [info] Validating config +[2025-12-25 2:35:08.353967] [info] Validating config +[2025-12-25 2:40:02.992006] [info] Validating config +[2025-12-25 2:45:03.156455] [info] Validating config +[2025-12-25 2:50:02.538125] [info] Validating config +[2025-12-25 2:55:02.730587] [info] Validating config +[2025-12-25 3:00:07.398858] [info] Validating config +[2025-12-25 3:05:03.074469] [info] Validating config +[2025-12-25 3:10:03.385294] [info] Validating config +[2025-12-25 3:15:02.363262] [info] Validating config +[2025-12-25 3:20:02.910280] [info] Validating config +[2025-12-25 3:25:06.437879] [info] Validating config +[2025-12-25 3:30:03.415183] [info] Validating config +[2025-12-25 3:35:03.198065] [info] Validating config +[2025-12-25 3:40:02.545017] [info] Validating config +[2025-12-25 3:45:02.633460] [info] Validating config +[2025-12-25 3:50:05.449034] [info] Validating config +[2025-12-25 3:55:02.997047] [info] Validating config +[2025-12-25 4:00:06.004764] [info] Validating config +[2025-12-25 4:05:02.628283] [info] Validating config +[2025-12-25 4:10:02.911068] [info] Validating config +[2025-12-25 4:15:04.527575] [info] Validating config +[2025-12-25 4:20:03.237792] [info] Validating config +[2025-12-25 4:25:03.496978] [info] Validating config +[2025-12-25 4:30:03.195627] [info] Validating config +[2025-12-25 4:35:02.789347] [info] Validating config +[2025-12-25 4:40:08.627635] [info] Validating config +[2025-12-25 4:45:02.994286] [info] Validating config +[2025-12-25 4:50:03.575403] [info] Validating config +[2025-12-25 4:55:02.444019] [info] Validating config +[2025-12-25 5:00:03.774602] [info] Validating config +[2025-12-25 5:05:07.661585] [info] Validating config +[2025-12-25 5:10:03.174557] [info] Validating config +[2025-12-25 5:15:02.517133] [info] Validating config +[2025-12-25 5:20:02.481009] [info] Validating config +[2025-12-25 5:25:02.880203] [info] Validating config +[2025-12-25 5:30:06.738187] [info] Validating config +[2025-12-25 5:35:03.303097] [info] Validating config +[2025-12-25 5:40:03.265475] [info] Validating config +[2025-12-25 5:45:02.673846] [info] Validating config +[2025-12-25 5:50:02.618823] [info] Validating config +[2025-12-25 5:55:05.840370] [info] Validating config +[2025-12-25 6:00:04.394463] [info] Validating config +[2025-12-25 6:05:03.224113] [info] Validating config +[2025-12-25 6:10:02.527761] [info] Validating config +[2025-12-25 6:15:02.541836] [info] Validating config +[2025-12-25 6:20:04.885169] [info] Validating config +[2025-12-25 6:25:03.198004] [info] Validating config +[2025-12-25 6:30:03.774672] [info] Validating config +[2025-12-25 6:35:03.223789] [info] Validating config +[2025-12-25 6:40:02.533085] [info] Validating config +[2025-12-25 6:45:03.960505] [info] Validating config +[2025-12-25 6:50:02.828398] [info] Validating config +[2025-12-25 6:55:03.174324] [info] Validating config +[2025-12-25 7:00:04.347408] [info] Validating config +[2025-12-25 7:05:03.009092] [info] Validating config +[2025-12-25 7:10:08.123526] [info] Validating config +[2025-12-25 7:15:02.795327] [info] Validating config +[2025-12-25 7:20:03.075793] [info] Validating config +[2025-12-25 7:25:03.542263] [info] Validating config +[2025-12-25 7:30:03.218748] [info] Validating config +[2025-12-25 7:35:07.149909] [info] Validating config +[2025-12-25 7:40:03.011265] [info] Validating config +[2025-12-25 7:45:03.057450] [info] Validating config +[2025-12-25 7:50:03.252913] [info] Validating config +[2025-12-25 7:55:02.442768] [info] Validating config +[2025-12-25 8:00:06.234100] [info] Validating config +[2025-12-25 8:05:03.152273] [info] Validating config +[2025-12-25 8:10:03.194796] [info] Validating config +[2025-12-25 8:15:03.246356] [info] Validating config +[2025-12-25 8:20:02.532300] [info] Validating config +[2025-12-25 8:25:05.350208] [info] Validating config +[2025-12-25 8:30:03.751173] [info] Validating config +[2025-12-25 8:35:03.218101] [info] Validating config +[2025-12-25 8:40:03.461747] [info] Validating config +[2025-12-25 8:45:02.515213] [info] Validating config +[2025-12-25 8:50:04.382086] [info] Validating config +[2025-12-25 8:55:02.712460] [info] Validating config +[2025-12-25 9:00:04.304796] [info] Validating config +[2025-12-25 9:05:02.386601] [info] Validating config +[2025-12-25 9:10:02.724519] [info] Validating config +[2025-12-25 9:15:08.474174] [info] Validating config +[2025-12-25 9:20:02.994049] [info] Validating config +[2025-12-25 9:25:03.315727] [info] Validating config +[2025-12-25 9:30:03.817560] [info] Validating config +[2025-12-25 9:35:02.573302] [info] Validating config +[2025-12-25 9:40:07.568578] [info] Validating config +[2025-12-25 9:45:02.681675] [info] Validating config +[2025-12-25 9:50:02.881273] [info] Validating config +[2025-12-25 9:55:03.082015] [info] Validating config +[2025-12-25 10:00:04.315362] [info] Validating config +[2025-12-25 10:05:06.592628] [info] Validating config +[2025-12-25 10:10:02.867677] [info] Validating config +[2025-12-25 10:15:03.126173] [info] Validating config +[2025-12-25 10:20:03.128686] [info] Validating config +[2025-12-25 10:25:02.827898] [info] Validating config +[2025-12-25 10:30:05.663132] [info] Validating config +[2025-12-25 10:35:02.905769] [info] Validating config +[2025-12-25 10:40:03.641696] [info] Validating config +[2025-12-25 10:45:03.136940] [info] Validating config +[2025-12-25 10:50:02.695580] [info] Validating config +[2025-12-25 10:55:04.748107] [info] Validating config +[2025-12-25 11:00:03.811367] [info] Validating config +[2025-12-25 11:05:03.028928] [info] Validating config +[2025-12-25 11:10:03.267868] [info] Validating config +[2025-12-25 11:15:02.279222] [info] Validating config +[2025-12-25 11:20:03.787978] [info] Validating config +[2025-12-25 11:25:02.857495] [info] Validating config +[2025-12-25 11:30:03.328641] [info] Validating config +[2025-12-25 11:35:03.104183] [info] Validating config +[2025-12-25 11:40:03.423913] [info] Validating config +[2025-12-25 11:45:07.940063] [info] Validating config +[2025-12-25 11:50:02.559211] [info] Validating config +[2025-12-25 11:55:02.783044] [info] Validating config +[2025-12-25 12:00:04.518563] [info] Validating config +[2025-12-25 12:05:02.323664] [info] Validating config +[2025-12-25 12:10:06.963263] [info] Validating config +[2025-12-25 12:15:02.879153] [info] Validating config +[2025-12-25 12:20:02.985799] [info] Validating config +[2025-12-25 12:25:04.913387] [info] Validating config +[2025-12-25 12:30:03.109672] [info] Validating config +[2025-12-25 12:35:06.072892] [info] Validating config +[2025-12-25 12:40:03.234538] [info] Validating config +[2025-12-25 12:45:03.085577] [info] Validating config +[2025-12-25 12:50:03.434047] [info] Validating config +[2025-12-25 12:55:02.433057] [info] Validating config +[2025-12-25 13:00:05.127265] [info] Validating config +[2025-12-25 13:05:03.054554] [info] Validating config +[2025-12-25 13:10:03.294672] [info] Validating config +[2025-12-25 13:15:03.223582] [info] Validating config +[2025-12-25 13:20:02.557611] [info] Validating config +[2025-12-25 13:25:04.190685] [info] Validating config +[2025-12-25 13:30:03.200700] [info] Validating config +[2025-12-25 13:35:02.925148] [info] Validating config +[2025-12-25 13:40:03.312071] [info] Validating config +[2025-12-25 13:45:03.229465] [info] Validating config +[2025-12-25 13:50:08.310373] [info] Validating config +[2025-12-25 13:55:02.618314] [info] Validating config +[2025-12-25 14:00:03.942728] [info] Validating config +[2025-12-25 14:05:02.931950] [info] Validating config +[2025-12-25 14:10:03.377878] [info] Validating config +[2025-12-25 14:15:07.360852] [info] Validating config +[2025-12-25 14:20:02.487304] [info] Validating config +[2025-12-25 14:25:02.793792] [info] Validating config +[2025-12-25 14:30:03.691800] [info] Validating config +[2025-12-25 14:35:03.233269] [info] Validating config +[2025-12-25 14:40:08.634774] [info] Validating config +[2025-12-25 14:45:02.687438] [info] Validating config +[2025-12-25 14:50:02.712919] [info] Validating config +[2025-12-25 14:55:02.976778] [info] Validating config +[2025-12-25 15:00:04.193674] [info] Validating config +[2025-12-25 15:05:05.542490] [info] Validating config +[2025-12-25 15:10:02.771974] [info] Validating config +[2025-12-25 15:15:02.824491] [info] Validating config +[2025-12-25 15:20:02.994781] [info] Validating config +[2025-12-25 15:25:03.485306] [info] Validating config +[2025-12-25 15:30:04.658462] [info] Validating config +[2025-12-25 15:35:02.702832] [info] Validating config +[2025-12-25 15:40:03.039465] [info] Validating config +[2025-12-25 15:45:02.819022] [info] Validating config +[2025-12-25 15:50:03.494122] [info] Validating config +[2025-12-25 15:55:08.737828] [info] Validating config +[2025-12-25 16:00:04.250627] [notice] Logging level set to:debug +[2025-12-25 16:00:04.250720] [debug] Payload recibido: {"uuid":"bcf073df-87f6-47f5-85d7-1c4162bf0973","changeType":"draft_approved","entity":"invoice","entityId":"2851","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2851,"clientId":1,"number":"002797","createdDate":"2025-12-25T10:00:02-0600","dueDate":"2026-01-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2867,"type":"service","label":"PREMIUM 25\/12\/2025 \u2013 24\/01\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2025-12-25 16:00:04.576838] [info] Validating config +[2025-12-25 16:00:04.586184] [debug] Evento recibido: invoice.draft_approved +[2025-12-25 16:00:04.586342] [debug] Aprobación de Factura + +Notificacion data: {"uuid":"bcf073df-87f6-47f5-85d7-1c4162bf0973","changeType":"draft_approved","entity":"invoice","entityId":2851,"message":null,"clientId":1,"eventName":"invoice.draft_approved","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-3100,"accountCredit":0,"accountOutstanding":3100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2851,"clientId":1,"number":"002797","createdDate":"2025-12-25T10:00:02-0600","dueDate":"2026-01-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2867,"type":"service","label":"PREMIUM 25\/12\/2025 \u2013 24\/01\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":696,"clientId":1,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:22:40-0600","amount":70,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:22:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":832,"invoiceId":2712,"paymentId":696,"creditNoteId":null,"refundId":null,"amount":70}],"creditAmount":0,"userId":1015,"attributes":[]}] + +Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González + +UUID: 0e53e926ce424db5b9284a75915d24fe + +JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb23100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb23100 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"25\/12\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/12\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} + +JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲3100 pendientes","Monto Ultimo Pago": "$ 70","Estado": "Activo","Fecha Ultimo Pago": " 28/11/2025 12:22 con Efectivo 💵","Fecha Ultima Actualizacion": "25/12/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} + +Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲3100 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲3100 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"25/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 25/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲3100 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲3100 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"25/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 25/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2025-12-25 16:05:02.985061] [info] Validating config +[2025-12-25 16:10:09.203525] [info] Validating config +[2025-12-25 16:15:13.576602] [info] Validating config +[2025-12-25 16:20:07.840908] [info] Validating config +[2025-12-25 16:25:04.603750] [info] Validating config +[2025-12-25 16:30:03.617253] [info] Validating config +[2025-12-25 16:35:08.264795] [info] Validating config +[2025-12-25 16:40:05.051129] [info] Validating config +[2025-12-25 16:45:06.873778] [info] Validating config +[2025-12-25 16:50:08.727966] [info] Validating config +[2025-12-25 16:55:02.839417] [info] Validating config +[2025-12-25 17:00:07.319566] [info] Validating config +[2025-12-25 17:05:08.233122] [info] Validating config +[2025-12-25 17:10:05.936903] [info] Validating config +[2025-12-25 17:15:14.073455] [info] Validating config +[2025-12-25 17:20:03.089692] [info] Validating config +[2025-12-25 17:25:12.421508] [info] Validating config +[2025-12-25 17:30:08.283288] [info] Validating config +[2025-12-25 17:35:05.049932] [info] Validating config +[2025-12-25 17:40:06.849653] [info] Validating config +[2025-12-25 17:45:02.964236] [info] Validating config +[2025-12-25 17:50:05.537914] [info] Validating config +[2025-12-25 17:55:12.408951] [info] Validating config +[2025-12-25 18:00:09.173965] [info] Validating config +[2025-12-25 18:05:05.956243] [info] Validating config +[2025-12-25 18:10:02.992517] [info] Validating config +[2025-12-25 18:15:04.594423] [info] Validating config +[2025-12-25 18:20:06.408900] [info] Validating config +[2025-12-25 18:25:08.280092] [info] Validating config +[2025-12-25 18:30:05.063337] [info] Validating config +[2025-12-25 18:35:02.868832] [info] Validating config +[2025-12-25 18:40:08.725873] [info] Validating config +[2025-12-25 18:45:05.602952] [info] Validating config +[2025-12-25 18:50:07.330355] [info] Validating config +[2025-12-25 18:55:04.166661] [info] Validating config +[2025-12-25 19:00:04.055861] [info] Validating config +[2025-12-25 19:05:07.771650] [info] Validating config +[2025-12-25 19:10:04.534740] [info] Validating config +[2025-12-25 19:15:11.553634] [info] Validating config +[2025-12-25 19:20:08.242489] [info] Validating config +[2025-12-25 19:25:03.143589] [info] Validating config +[2025-12-25 19:30:06.778177] [info] Validating config +[2025-12-25 19:35:08.650109] [info] Validating config +[2025-12-25 19:40:05.509397] [info] Validating config +[2025-12-25 19:45:07.280018] [info] Validating config +[2025-12-25 19:50:02.711060] [info] Validating config +[2025-12-25 19:55:05.859530] [info] Validating config +[2025-12-25 20:00:07.682837] [info] Validating config +[2025-12-25 20:05:04.465729] [info] Validating config +[2025-12-25 20:10:11.348707] [info] Validating config +[2025-12-25 20:15:02.696139] [info] Validating config +[2025-12-25 20:20:09.967267] [info] Validating config +[2025-12-25 20:25:06.787242] [info] Validating config +[2025-12-25 20:30:08.617047] [info] Validating config +[2025-12-25 20:35:05.401207] [info] Validating config +[2025-12-25 20:40:03.338428] [info] Validating config +[2025-12-25 20:45:14.057653] [info] Validating config +[2025-12-25 20:50:05.894870] [info] Validating config +[2025-12-25 20:55:07.669480] [info] Validating config +[2025-12-25 21:00:09.476192] [info] Validating config +[2025-12-25 21:05:02.953670] [info] Validating config +[2025-12-25 21:10:09.163317] [info] Validating config +[2025-12-25 21:15:04.901041] [info] Validating config +[2025-12-25 21:20:13.464839] [info] Validating config +[2025-12-25 21:25:13.853682] [info] Validating config +[2025-12-25 21:30:03.220007] [info] Validating config +[2025-12-25 21:35:07.193742] [info] Validating config +[2025-12-25 21:40:08.991146] [info] Validating config +[2025-12-25 21:45:05.779506] [info] Validating config +[2025-12-25 21:50:12.669428] [info] Validating config +[2025-12-25 21:55:02.514446] [info] Validating config +[2025-12-25 22:00:06.310596] [info] Validating config +[2025-12-25 22:05:08.111290] [info] Validating config +[2025-12-25 22:10:10.393282] [info] Validating config +[2025-12-25 22:15:08.598961] [info] Validating config +[2025-12-25 22:20:02.589875] [info] Validating config +[2025-12-25 22:25:05.311656] [info] Validating config +[2025-12-25 22:30:09.670295] [info] Validating config +[2025-12-25 22:35:08.988893] [info] Validating config +[2025-12-25 22:40:05.764523] [info] Validating config +[2025-12-25 22:45:02.569497] [info] Validating config +[2025-12-25 22:50:04.401070] [info] Validating config +[2025-12-25 22:55:06.250931] [info] Validating config +[2025-12-25 23:00:08.050493] [info] Validating config +[2025-12-25 23:05:08.898622] [info] Validating config +[2025-12-25 23:10:02.815728] [info] Validating config +[2025-12-25 23:15:08.474272] [info] Validating config +[2025-12-25 23:20:05.228508] [info] Validating config +[2025-12-25 23:25:07.064956] [info] Validating config +[2025-12-25 23:30:08.884428] [info] Validating config +[2025-12-25 23:35:02.844175] [info] Validating config +[2025-12-25 23:40:07.512221] [info] Validating config +[2025-12-25 23:45:04.316109] [info] Validating config +[2025-12-25 23:50:06.145560] [info] Validating config +[2025-12-25 23:55:08.004348] [info] Validating config +[2025-12-26 0:00:06.587054] [info] Validating config +[2025-12-26 0:05:06.592669] [info] Validating config +[2025-12-26 0:10:08.424215] [info] Validating config +[2025-12-26 0:15:11.863127] [info] Validating config +[2025-12-26 0:20:08.964958] [info] Validating config +[2025-12-26 0:25:03.397247] [info] Validating config +[2025-12-26 0:30:05.656848] [info] Validating config +[2025-12-26 0:35:07.438000] [info] Validating config +[2025-12-26 0:40:04.254739] [info] Validating config +[2025-12-26 0:45:06.059629] [info] Validating config +[2025-12-26 0:50:03.110331] [info] Validating config +[2025-12-26 0:55:04.694022] [info] Validating config +[2025-12-26 1:00:06.514229] [info] Validating config +[2025-12-26 1:05:08.302473] [info] Validating config +[2025-12-26 1:10:09.217921] [info] Validating config +[2025-12-26 1:15:03.223289] [info] Validating config +[2025-12-26 1:20:13.515907] [info] Validating config +[2025-12-26 1:25:05.528532] [info] Validating config +[2025-12-26 1:30:09.410828] [info] Validating config +[2025-12-26 1:35:04.202898] [info] Validating config +[2025-12-26 1:40:03.029232] [info] Validating config +[2025-12-26 1:45:07.827621] [info] Validating config +[2025-12-26 1:50:04.592120] [info] Validating config +[2025-12-26 1:55:06.430340] [info] Validating config +[2025-12-26 2:00:08.253743] [info] Validating config +[2025-12-26 2:05:03.223548] [info] Validating config +[2025-12-26 2:10:13.717880] [info] Validating config +[2025-12-26 2:15:08.736838] [info] Validating config +[2025-12-26 2:20:13.815078] [info] Validating config +[2025-12-26 2:25:07.330666] [info] Validating config +[2025-12-26 2:30:03.857192] [info] Validating config +[2025-12-26 2:35:05.975377] [info] Validating config +[2025-12-26 2:40:07.796804] [info] Validating config +[2025-12-26 2:45:04.610800] [info] Validating config +[2025-12-26 2:50:06.476716] [info] Validating config +[2025-12-26 2:55:03.427908] [info] Validating config +[2025-12-26 3:00:05.102755] [info] Validating config +[2025-12-26 3:05:06.908371] [info] Validating config +[2025-12-26 3:10:08.733366] [info] Validating config +[2025-12-26 3:15:05.556341] [info] Validating config +[2025-12-26 3:20:03.258305] [info] Validating config +[2025-12-26 3:25:04.169707] [info] Validating config +[2025-12-26 3:30:05.965253] [info] Validating config +[2025-12-26 3:35:07.792963] [info] Validating config +[2025-12-26 3:40:09.590327] [info] Validating config +[2025-12-26 3:45:03.163290] [info] Validating config +[2025-12-26 3:50:08.508456] [info] Validating config +[2025-12-26 3:55:05.068933] [info] Validating config +[2025-12-26 4:00:06.886329] [info] Validating config +[2025-12-26 4:05:08.756880] [info] Validating config +[2025-12-26 4:10:02.484138] [info] Validating config +[2025-12-26 4:15:07.348093] [info] Validating config +[2025-12-26 4:20:04.146248] [info] Validating config +[2025-12-26 4:25:05.998092] [info] Validating config +[2025-12-26 4:30:07.809405] [info] Validating config +[2025-12-26 4:35:02.321888] [info] Validating config +[2025-12-26 4:40:06.445964] [info] Validating config +[2025-12-26 4:45:08.257612] [info] Validating config +[2025-12-26 4:50:05.081640] [info] Validating config +[2025-12-26 4:55:06.876379] [info] Validating config +[2025-12-26 5:00:04.726792] [info] Validating config +[2025-12-26 5:05:05.634572] [info] Validating config +[2025-12-26 5:10:07.355098] [info] Validating config +[2025-12-26 5:15:04.177733] [info] Validating config +[2025-12-26 5:20:05.961464] [info] Validating config +[2025-12-26 5:25:03.357739] [info] Validating config +[2025-12-26 5:30:04.574069] [info] Validating config +[2025-12-26 5:35:13.640467] [info] Validating config +[2025-12-26 5:40:08.221172] [info] Validating config +[2025-12-26 5:45:05.029992] [info] Validating config +[2025-12-26 5:50:03.283776] [info] Validating config +[2025-12-26 5:55:03.639411] [info] Validating config +[2025-12-26 6:00:05.483747] [info] Validating config +[2025-12-26 6:05:07.358338] [info] Validating config +[2025-12-26 6:10:09.186204] [info] Validating config +[2025-12-26 6:15:02.537710] [info] Validating config +[2025-12-26 6:20:07.780041] [info] Validating config +[2025-12-26 6:25:04.542823] [info] Validating config +[2025-12-26 6:30:06.336400] [info] Validating config +[2025-12-26 6:35:08.157265] [info] Validating config +[2025-12-26 6:40:02.588429] [info] Validating config +[2025-12-26 6:45:06.798151] [info] Validating config +[2025-12-26 6:50:08.627466] [info] Validating config +[2025-12-26 6:55:05.387804] [info] Validating config +[2025-12-26 7:00:07.214737] [info] Validating config +[2025-12-26 7:05:02.689718] [info] Validating config +[2025-12-26 7:10:09.194518] [info] Validating config +[2025-12-26 7:15:07.668169] [info] Validating config +[2025-12-26 7:20:04.440431] [info] Validating config +[2025-12-26 7:25:06.237699] [info] Validating config +[2025-12-26 7:30:03.365952] [info] Validating config +[2025-12-26 7:35:04.878626] [info] Validating config +[2025-12-26 7:40:09.364172] [info] Validating config +[2025-12-26 7:45:08.573919] [info] Validating config +[2025-12-26 7:50:10.400731] [info] Validating config +[2025-12-26 7:55:02.683712] [info] Validating config +[2025-12-26 8:00:05.606944] [info] Validating config +[2025-12-26 8:05:12.234463] [info] Validating config +[2025-12-26 8:10:14.587647] [info] Validating config +[2025-12-26 8:15:04.414938] [info] Validating config +[2025-12-26 8:20:02.653623] [info] Validating config +[2025-12-26 8:25:08.074651] [info] Validating config +[2025-12-26 8:30:04.854995] [info] Validating config +[2025-12-26 8:35:06.714582] [info] Validating config +[2025-12-26 8:40:08.589008] [info] Validating config +[2025-12-26 8:45:02.630770] [info] Validating config +[2025-12-26 8:50:08.936964] [info] Validating config +[2025-12-26 8:55:09.014394] [info] Validating config +[2025-12-26 9:00:10.578012] [info] Validating config +[2025-12-26 9:05:07.624551] [info] Validating config +[2025-12-26 9:10:02.710917] [info] Validating config +[2025-12-26 9:15:06.198071] [info] Validating config +[2025-12-26 9:20:08.023119] [info] Validating config +[2025-12-26 9:25:04.926911] [info] Validating config +[2025-12-26 9:30:06.663746] [info] Validating config +[2025-12-26 9:35:02.550038] [info] Validating config +[2025-12-26 9:40:05.305392] [info] Validating config +[2025-12-26 9:45:07.139169] [info] Validating config +[2025-12-26 9:50:08.977627] [info] Validating config +[2025-12-26 9:55:10.799531] [info] Validating config +[2025-12-26 10:00:03.718745] [info] Validating config +[2025-12-26 10:05:09.389511] [info] Validating config +[2025-12-26 10:10:06.215235] [info] Validating config +[2025-12-26 10:15:08.032691] [info] Validating config +[2025-12-26 10:20:04.805598] [info] Validating config +[2025-12-26 10:25:03.436574] [info] Validating config +[2025-12-26 10:30:08.471560] [info] Validating config +[2025-12-26 10:35:05.261238] [info] Validating config +[2025-12-26 10:40:07.094928] [info] Validating config +[2025-12-26 10:45:09.608762] [info] Validating config +[2025-12-26 10:50:02.677340] [info] Validating config +[2025-12-26 10:55:07.557898] [info] Validating config +[2025-12-26 11:00:09.391752] [info] Validating config +[2025-12-26 11:05:06.181092] [info] Validating config +[2025-12-26 11:10:08.643716] [info] Validating config +[2025-12-26 11:15:02.657824] [info] Validating config +[2025-12-26 11:20:11.968732] [info] Validating config +[2025-12-26 11:25:08.490911] [info] Validating config +[2025-12-26 11:30:05.268058] [info] Validating config +[2025-12-26 11:35:07.063982] [info] Validating config +[2025-12-26 11:40:02.686158] [info] Validating config +[2025-12-26 11:45:05.688369] [info] Validating config +[2025-12-26 11:50:13.987552] [info] Validating config +[2025-12-26 11:55:09.350244] [info] Validating config +[2025-12-26 12:00:06.157417] [info] Validating config +[2025-12-26 12:05:02.752990] [info] Validating config +[2025-12-26 12:10:10.357752] [info] Validating config +[2025-12-26 12:15:11.605288] [info] Validating config +[2025-12-26 12:20:08.437316] [info] Validating config +[2025-12-26 12:25:10.305089] [info] Validating config +[2025-12-26 12:30:03.485234] [info] Validating config +[2025-12-26 12:35:08.841672] [info] Validating config +[2025-12-26 12:40:05.629287] [info] Validating config +[2025-12-26 12:45:07.463396] [info] Validating config +[2025-12-26 12:50:09.710813] [info] Validating config +[2025-12-26 12:55:02.870137] [info] Validating config +[2025-12-26 13:00:07.918685] [info] Validating config +[2025-12-26 13:05:04.730650] [info] Validating config +[2025-12-26 13:10:06.584712] [info] Validating config +[2025-12-26 13:15:13.937002] [info] Validating config +[2025-12-26 13:20:02.967555] [info] Validating config +[2025-12-26 13:25:07.034466] [info] Validating config +[2025-12-26 13:30:08.815666] [info] Validating config +[2025-12-26 13:35:05.606206] [info] Validating config +[2025-12-26 13:40:07.430269] [info] Validating config +[2025-12-26 13:45:02.982990] [info] Validating config +[2025-12-26 13:50:14.015844] [info] Validating config +[2025-12-26 13:55:07.889049] [info] Validating config +[2025-12-26 14:00:09.441509] [info] Validating config +[2025-12-26 14:05:06.545038] [info] Validating config +[2025-12-26 14:10:02.994903] [info] Validating config +[2025-12-26 14:15:05.150528] [info] Validating config +[2025-12-26 14:20:06.998722] [info] Validating config +[2025-12-26 14:25:08.799284] [info] Validating config +[2025-12-26 14:30:10.617321] [info] Validating config +[2025-12-26 14:35:03.040155] [info] Validating config +[2025-12-26 14:40:09.270034] [info] Validating config +[2025-12-26 14:45:06.049196] [info] Validating config +[2025-12-26 14:50:07.910557] [info] Validating config +[2025-12-26 14:55:09.735572] [info] Validating config +[2025-12-26 15:00:03.986608] [info] Validating config +[2025-12-26 15:05:08.329303] [info] Validating config +[2025-12-26 15:10:08.839555] [info] Validating config +[2025-12-26 15:15:08.776323] [info] Validating config +[2025-12-26 15:20:08.757817] [info] Validating config +[2025-12-26 15:25:03.353821] [info] Validating config +[2025-12-26 15:30:07.396102] [info] Validating config +[2025-12-26 15:35:09.255923] [info] Validating config +[2025-12-26 15:40:06.029198] [info] Validating config +[2025-12-26 15:45:07.881340] [info] Validating config +[2025-12-26 15:50:03.096749] [info] Validating config +[2025-12-26 15:55:06.501120] [info] Validating config +[2025-12-26 16:00:13.957777] [info] Validating config +[2025-12-26 16:05:05.111196] [info] Validating config +[2025-12-26 16:10:06.942262] [info] Validating config +[2025-12-26 16:15:02.924025] [info] Validating config +[2025-12-26 16:20:05.563682] [info] Validating config +[2025-12-26 16:25:07.381259] [info] Validating config +[2025-12-26 16:30:09.278295] [info] Validating config +[2025-12-26 16:35:06.020077] [info] Validating config +[2025-12-26 16:40:03.082434] [info] Validating config +[2025-12-26 16:45:04.641545] [info] Validating config +[2025-12-26 16:50:06.470005] [info] Validating config +[2025-12-26 16:55:08.321068] [info] Validating config +[2025-12-26 17:00:05.103244] [info] Validating config +[2025-12-26 17:05:02.999777] [info] Validating config +[2025-12-26 17:10:08.781132] [info] Validating config +[2025-12-26 17:15:05.566174] [info] Validating config +[2025-12-26 17:20:07.392627] [info] Validating config +[2025-12-26 17:25:04.662046] [info] Validating config +[2025-12-26 17:30:03.259090] [info] Validating config +[2025-12-26 17:35:07.874124] [info] Validating config +[2025-12-26 17:40:04.621916] [info] Validating config +[2025-12-26 17:45:06.451621] [info] Validating config +[2025-12-26 17:50:08.322208] [info] Validating config +[2025-12-26 17:55:02.773060] [info] Validating config +[2025-12-26 18:00:06.917500] [info] Validating config +[2025-12-26 18:05:08.708509] [info] Validating config +[2025-12-26 18:10:05.511980] [info] Validating config +[2025-12-26 18:15:03.685787] [info] Validating config +[2025-12-26 18:20:02.888421] [info] Validating config +[2025-12-26 18:25:14.416409] [info] Validating config +[2025-12-26 18:30:13.221266] [info] Validating config +[2025-12-26 18:35:04.613054] [info] Validating config +[2025-12-26 18:40:06.416486] [info] Validating config +[2025-12-26 18:45:02.749912] [info] Validating config +[2025-12-26 18:50:05.062715] [info] Validating config +[2025-12-26 18:55:06.901623] [info] Validating config +[2025-12-26 19:00:14.694794] [info] Validating config +[2025-12-26 19:05:05.507774] [info] Validating config +[2025-12-26 19:10:03.162678] [info] Validating config +[2025-12-26 19:15:09.137527] [info] Validating config +[2025-12-26 19:20:05.955857] [info] Validating config +[2025-12-26 19:25:09.165697] [info] Validating config +[2025-12-26 19:30:04.594635] [info] Validating config +[2025-12-26 19:35:02.931996] [info] Validating config +[2025-12-26 19:40:08.241931] [info] Validating config +[2025-12-26 19:45:05.069710] [info] Validating config +[2025-12-26 19:50:11.880821] [info] Validating config +[2025-12-26 19:55:04.980248] [info] Validating config +[2025-12-26 20:00:03.878386] [info] Validating config +[2025-12-26 20:05:07.348781] [info] Validating config +[2025-12-26 20:10:09.176601] [info] Validating config +[2025-12-26 20:15:08.651297] [info] Validating config +[2025-12-26 20:20:07.759821] [info] Validating config +[2025-12-26 20:25:02.945188] [info] Validating config +[2025-12-26 20:30:06.391004] [info] Validating config +[2025-12-26 20:35:08.262161] [info] Validating config +[2025-12-26 20:40:05.058821] [info] Validating config +[2025-12-26 20:45:06.862795] [info] Validating config +[2025-12-26 20:50:02.613738] [info] Validating config +[2025-12-26 20:55:09.135854] [info] Validating config +[2025-12-26 21:00:07.302159] [info] Validating config +[2025-12-26 21:05:04.126898] [info] Validating config +[2025-12-26 21:10:05.942171] [info] Validating config +[2025-12-26 21:15:02.782684] [info] Validating config +[2025-12-26 21:20:04.592782] [info] Validating config +[2025-12-26 21:25:06.449876] [info] Validating config +[2025-12-26 21:30:08.249854] [info] Validating config +[2025-12-26 21:35:05.082503] [info] Validating config +[2025-12-26 21:40:02.877826] [info] Validating config +[2025-12-26 21:45:08.726114] [info] Validating config +[2025-12-26 21:50:12.222934] [info] Validating config +[2025-12-26 21:55:07.307261] [info] Validating config +[2025-12-26 22:00:14.519748] [info] Validating config +[2025-12-26 22:05:02.734910] [info] Validating config +[2025-12-26 22:10:14.249464] [info] Validating config +[2025-12-26 22:15:09.573714] [info] Validating config +[2025-12-26 22:20:06.338568] [info] Validating config +[2025-12-26 22:25:08.228406] [info] Validating config +[2025-12-26 22:30:03.771528] [info] Validating config +[2025-12-26 22:35:06.806581] [info] Validating config +[2025-12-26 22:40:08.655869] [info] Validating config +[2025-12-26 22:45:05.461285] [info] Validating config +[2025-12-26 22:50:07.251224] [info] Validating config +[2025-12-26 22:55:03.523988] [info] Validating config +[2025-12-26 23:00:05.912761] [info] Validating config +[2025-12-26 23:05:07.711909] [info] Validating config +[2025-12-26 23:10:04.503278] [info] Validating config +[2025-12-26 23:15:11.367125] [info] Validating config +[2025-12-26 23:20:02.907752] [info] Validating config +[2025-12-26 23:25:04.974811] [info] Validating config +[2025-12-26 23:30:12.780168] [info] Validating config +[2025-12-26 23:35:03.601433] [info] Validating config +[2025-12-26 23:40:05.424705] [info] Validating config +[2025-12-26 23:45:02.947627] [info] Validating config +[2025-12-26 23:50:09.100404] [info] Validating config +[2025-12-26 23:55:05.915862] [info] Validating config +[2025-12-27 0:00:17.841425] [info] Validating config +[2025-12-27 0:05:04.494270] [info] Validating config +[2025-12-27 0:10:03.331037] [info] Validating config +[2025-12-27 0:15:08.154072] [info] Validating config +[2025-12-27 0:20:04.960045] [info] Validating config +[2025-12-27 0:25:06.787400] [info] Validating config +[2025-12-27 0:30:13.667373] [info] Validating config +[2025-12-27 0:35:03.116385] [info] Validating config +[2025-12-27 0:40:07.253746] [info] Validating config +[2025-12-27 0:45:09.637792] [info] Validating config +[2025-12-27 0:50:05.848181] [info] Validating config +[2025-12-27 0:55:14.010263] [info] Validating config +[2025-12-27 1:00:04.232862] [info] Validating config +[2025-12-27 1:05:06.329866] [info] Validating config +[2025-12-27 1:10:08.174896] [info] Validating config +[2025-12-27 1:15:04.929102] [info] Validating config +[2025-12-27 1:20:06.756916] [info] Validating config +[2025-12-27 1:25:03.415096] [info] Validating config +[2025-12-27 1:30:05.396383] [info] Validating config +[2025-12-27 1:35:07.213263] [info] Validating config +[2025-12-27 1:40:03.996781] [info] Validating config +[2025-12-27 1:45:05.836675] [info] Validating config +[2025-12-27 1:50:03.138274] [info] Validating config +[2025-12-27 1:55:04.437316] [info] Validating config +[2025-12-27 2:00:06.242958] [info] Validating config +[2025-12-27 2:05:08.077194] [info] Validating config +[2025-12-27 2:10:09.894814] [info] Validating config +[2025-12-27 2:15:03.184246] [info] Validating config +[2025-12-27 2:20:08.541301] [info] Validating config +[2025-12-27 2:25:05.330140] [info] Validating config +[2025-12-27 2:30:07.187793] [info] Validating config +[2025-12-27 2:35:09.005973] [info] Validating config +[2025-12-27 2:40:03.418057] [info] Validating config +[2025-12-27 2:45:07.649398] [info] Validating config +[2025-12-27 2:50:04.478049] [info] Validating config +[2025-12-27 2:55:06.284419] [info] Validating config +[2025-12-27 3:00:08.115438] [info] Validating config +[2025-12-27 3:05:02.436049] [info] Validating config +[2025-12-27 3:10:13.668062] [info] Validating config +[2025-12-27 3:15:08.951987] [info] Validating config +[2025-12-27 3:20:05.384135] [info] Validating config +[2025-12-27 3:25:12.557934] [info] Validating config +[2025-12-27 3:30:02.854912] [info] Validating config +[2025-12-27 3:35:13.610450] [info] Validating config +[2025-12-27 3:40:07.624145] [info] Validating config +[2025-12-27 3:45:04.416269] [info] Validating config +[2025-12-27 3:50:12.723223] [info] Validating config +[2025-12-27 3:55:02.497617] [info] Validating config +[2025-12-27 4:00:09.920353] [info] Validating config +[2025-12-27 4:05:06.679511] [info] Validating config +[2025-12-27 4:10:08.564551] [info] Validating config +[2025-12-27 4:15:05.306309] [info] Validating config +[2025-12-27 4:20:02.564394] [info] Validating config +[2025-12-27 4:25:08.977298] [info] Validating config +[2025-12-27 4:30:10.846698] [info] Validating config +[2025-12-27 4:35:07.578694] [info] Validating config +[2025-12-27 4:40:04.402090] [info] Validating config +[2025-12-27 4:45:02.636857] [info] Validating config +[2025-12-27 4:50:08.068722] [info] Validating config +[2025-12-27 4:55:04.872169] [info] Validating config +[2025-12-27 5:00:06.656622] [info] Validating config +[2025-12-27 5:05:08.507267] [info] Validating config +[2025-12-27 5:10:02.893090] [info] Validating config +[2025-12-27 5:15:07.115129] [info] Validating config +[2025-12-27 5:20:08.925584] [info] Validating config +[2025-12-27 5:25:05.722728] [info] Validating config +[2025-12-27 5:30:14.355592] [info] Validating config +[2025-12-27 5:35:02.741926] [info] Validating config +[2025-12-27 5:40:06.177778] [info] Validating config +[2025-12-27 5:45:08.025036] [info] Validating config +[2025-12-27 5:50:13.642684] [info] Validating config +[2025-12-27 5:55:06.631747] [info] Validating config +[2025-12-27 6:00:04.640513] [info] Validating config +[2025-12-27 6:05:10.292150] [info] Validating config +[2025-12-27 6:10:07.093943] [info] Validating config +[2025-12-27 6:15:08.910531] [info] Validating config +[2025-12-27 6:20:05.671449] [info] Validating config +[2025-12-27 6:25:03.090393] [info] Validating config +[2025-12-27 6:30:09.699675] [info] Validating config +[2025-12-27 6:35:06.397610] [info] Validating config +[2025-12-27 6:40:08.008413] [info] Validating config +[2025-12-27 6:45:09.819000] [info] Validating config +[2025-12-27 6:50:02.580574] [info] Validating config +[2025-12-27 6:55:08.454555] [info] Validating config +[2025-12-27 7:00:05.224484] [info] Validating config +[2025-12-27 7:05:13.605045] [info] Validating config +[2025-12-27 7:10:09.009306] [info] Validating config +[2025-12-27 7:15:02.643403] [info] Validating config +[2025-12-27 7:20:14.052160] [info] Validating config +[2025-12-27 7:25:09.324392] [info] Validating config +[2025-12-27 7:30:06.165096] [info] Validating config +[2025-12-27 7:35:07.953339] [info] Validating config +[2025-12-27 7:40:03.225117] [info] Validating config +[2025-12-27 7:45:06.616604] [info] Validating config +[2025-12-27 7:50:14.402915] [info] Validating config +[2025-12-27 7:55:05.205777] [info] Validating config +[2025-12-27 8:00:07.089505] [info] Validating config +[2025-12-27 8:05:02.857654] [info] Validating config +[2025-12-27 8:10:09.246637] [info] Validating config +[2025-12-27 8:15:06.976126] [info] Validating config +[2025-12-27 8:20:04.361814] [info] Validating config +[2025-12-27 8:25:08.964849] [info] Validating config +[2025-12-27 8:30:03.488358] [info] Validating config +[2025-12-27 8:35:09.811703] [info] Validating config +[2025-12-27 8:40:06.612567] [info] Validating config +[2025-12-27 8:45:08.471621] [info] Validating config +[2025-12-27 8:50:05.239408] [info] Validating config +[2025-12-27 8:55:02.615176] [info] Validating config +[2025-12-27 9:00:10.231354] [info] Validating config +[2025-12-27 9:05:05.710654] [info] Validating config +[2025-12-27 9:10:07.560777] [info] Validating config +[2025-12-27 9:15:04.312149] [info] Validating config +[2025-12-27 9:20:02.757075] [info] Validating config +[2025-12-27 9:25:07.976366] [info] Validating config +[2025-12-27 9:30:14.860665] [info] Validating config +[2025-12-27 9:35:08.500262] [info] Validating config +[2025-12-27 9:40:08.392577] [info] Validating config +[2025-12-27 9:45:03.024102] [info] Validating config +[2025-12-27 9:50:06.974440] [info] Validating config +[2025-12-27 9:55:08.824462] [info] Validating config +[2025-12-27 10:00:05.609158] [info] Validating config +[2025-12-27 10:05:07.430454] [info] Validating config +[2025-12-27 10:10:02.916037] [info] Validating config +[2025-12-27 10:15:06.085273] [info] Validating config +[2025-12-27 10:20:07.920604] [info] Validating config +[2025-12-27 10:25:09.037388] [info] Validating config +[2025-12-27 10:30:11.560553] [info] Validating config +[2025-12-27 10:35:02.666683] [info] Validating config +[2025-12-27 10:40:05.147712] [info] Validating config +[2025-12-27 10:45:06.973083] [info] Validating config +[2025-12-27 10:50:14.628366] [info] Validating config +[2025-12-27 10:55:13.700802] [info] Validating config +[2025-12-27 11:00:04.076354] [info] Validating config +[2025-12-27 11:05:04.165720] [info] Validating config +[2025-12-27 11:10:06.017146] [info] Validating config +[2025-12-27 11:15:13.790184] [info] Validating config +[2025-12-27 11:20:04.671725] [info] Validating config +[2025-12-27 11:25:02.977731] [info] Validating config +[2025-12-27 11:30:08.299295] [info] Validating config +[2025-12-27 11:35:14.144838] [info] Validating config +[2025-12-27 11:40:06.938709] [info] Validating config +[2025-12-27 11:45:13.845041] [info] Validating config +[2025-12-27 11:50:02.640928] [info] Validating config +[2025-12-27 11:55:07.364170] [info] Validating config +[2025-12-27 12:00:09.238053] [info] Validating config +[2025-12-27 12:05:05.994992] [info] Validating config +[2025-12-27 12:10:07.835433] [info] Validating config +[2025-12-27 12:15:02.693818] [info] Validating config +[2025-12-27 12:20:14.013392] [info] Validating config +[2025-12-27 12:25:08.275269] [info] Validating config +[2025-12-27 12:30:05.068831] [info] Validating config +[2025-12-27 12:35:06.900628] [info] Validating config +[2025-12-27 12:40:02.720412] [info] Validating config +[2025-12-27 12:45:05.503802] [info] Validating config +[2025-12-27 12:50:07.335634] [info] Validating config +[2025-12-27 12:55:09.169455] [info] Validating config +[2025-12-27 13:00:05.959779] [info] Validating config +[2025-12-27 13:05:02.864464] [info] Validating config +[2025-12-27 13:10:14.050476] [info] Validating config +[2025-12-27 13:15:06.391716] [info] Validating config +[2025-12-27 13:20:08.237807] [info] Validating config +[2025-12-27 13:25:05.083168] [info] Validating config +[2025-12-27 13:30:03.579930] [info] Validating config +[2025-12-27 13:35:08.778547] [info] Validating config +[2025-12-27 13:40:12.246220] [info] Validating config +[2025-12-27 13:45:07.352910] [info] Validating config +[2025-12-27 13:50:14.198700] [info] Validating config +[2025-12-27 13:55:02.411945] [info] Validating config +[2025-12-27 14:00:10.065864] [info] Validating config +[2025-12-27 14:05:14.170149] [info] Validating config +[2025-12-27 14:10:09.347728] [info] Validating config +[2025-12-27 14:15:09.731060] [info] Validating config +[2025-12-27 14:20:02.373800] [info] Validating config +[2025-12-27 14:25:09.168468] [info] Validating config +[2025-12-27 14:30:09.639904] [info] Validating config +[2025-12-27 14:35:09.258896] [info] Validating config +[2025-12-27 14:40:09.461937] [info] Validating config +[2025-12-27 14:45:02.370009] [info] Validating config +[2025-12-27 14:50:08.616144] [info] Validating config +[2025-12-27 14:55:09.181441] [info] Validating config +[2025-12-27 15:00:10.098783] [info] Validating config +[2025-12-27 15:05:08.432101] [info] Validating config +[2025-12-27 15:10:02.642712] [info] Validating config +[2025-12-27 15:15:08.665043] [info] Validating config +[2025-12-27 15:20:08.930145] [info] Validating config +[2025-12-27 15:25:09.772666] [info] Validating config +[2025-12-27 15:30:10.305068] [info] Validating config +[2025-12-27 15:35:02.466003] [info] Validating config +[2025-12-27 15:40:08.910352] [info] Validating config +[2025-12-27 15:45:09.091612] [info] Validating config +[2025-12-27 15:50:09.053137] [info] Validating config +[2025-12-27 15:55:09.570729] [info] Validating config +[2025-12-27 16:00:03.986644] [info] Validating config +[2025-12-27 16:00:04.170406] [notice] Logging level set to:debug +[2025-12-27 16:00:04.170476] [debug] Payload recibido: {"uuid":"519d1b5e-498d-4dc8-9167-aa93f3a58bbe","changeType":"draft_approved","entity":"invoice","entityId":"2852","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2852,"clientId":1,"number":"002798","createdDate":"2025-12-27T10:00:01-0600","dueDate":"2026-01-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2868,"type":"service","label":"plan300 27\/12\/2025 \u2013 26\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2025-12-27 16:00:04.460768] [debug] Evento recibido: invoice.draft_approved +[2025-12-27 16:00:04.460953] [debug] Aprobación de Factura + +Notificacion data: {"uuid":"519d1b5e-498d-4dc8-9167-aa93f3a58bbe","changeType":"draft_approved","entity":"invoice","entityId":2852,"message":null,"clientId":1,"eventName":"invoice.draft_approved","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-3400,"accountCredit":0,"accountOutstanding":3400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2852,"clientId":1,"number":"002798","createdDate":"2025-12-27T10:00:01-0600","dueDate":"2026-01-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2868,"type":"service","label":"plan300 27\/12\/2025 \u2013 26\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":696,"clientId":1,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:22:40-0600","amount":70,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:22:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":832,"invoiceId":2712,"paymentId":696,"creditNoteId":null,"refundId":null,"amount":70}],"creditAmount":0,"userId":1015,"attributes":[]}] + +Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González + +UUID: 0e53e926ce424db5b9284a75915d24fe + +JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb23400 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb23400 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/12\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/12\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} + +JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲3400 pendientes","Monto Ultimo Pago": "$ 70","Estado": "Activo","Fecha Ultimo Pago": " 28/11/2025 12:22 con Efectivo 💵","Fecha Ultima Actualizacion": "27/12/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} + +Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲3400 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲3400 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 27/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲3400 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲3400 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 27/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2025-12-27 16:00:07.988002] [notice] Logging level set to:debug +[2025-12-27 16:00:07.988064] [debug] Payload recibido: {"uuid":"7e8945fc-117f-4fe3-9892-330fbeda70b1","changeType":"draft_approved","entity":"invoice","entityId":"2853","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2853,"clientId":4,"number":"002799","createdDate":"2025-12-27T10:00:01-0600","dueDate":"2026-01-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2869,"type":"service","label":"plan300 27\/11\/2025 \u2013 26\/12\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2025-12-27 16:00:08.192034] [debug] Evento recibido: invoice.draft_approved +[2025-12-27 16:00:08.192162] [debug] Aprobación de Factura + +Notificacion data: {"uuid":"7e8945fc-117f-4fe3-9892-330fbeda70b1","changeType":"draft_approved","entity":"invoice","entityId":2853,"message":null,"clientId":4,"eventName":"invoice.draft_approved","clientData":{"id":4,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-27T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Griselda","lastName":"Avalos","username":"gavalos04","contacts":[{"id":4,"clientId":4,"email":"chicarosa@gmail.com","phone":"4181156999","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1542759,"addressGpsLon":-100.9379462,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2853,"clientId":4,"number":"002799","createdDate":"2025-12-27T10:00:01-0600","dueDate":"2026-01-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2869,"type":"service","label":"plan300 27\/11\/2025 \u2013 26\/12\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":698,"clientId":4,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:23:49-0600","amount":6900,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:23:53-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":845,"invoiceId":2,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":846,"invoiceId":118,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":847,"invoiceId":235,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":848,"invoiceId":330,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":849,"invoiceId":497,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":850,"invoiceId":633,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":851,"invoiceId":753,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":852,"invoiceId":861,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":853,"invoiceId":970,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":854,"invoiceId":1086,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":855,"invoiceId":1194,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":856,"invoiceId":1338,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":857,"invoiceId":1452,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":858,"invoiceId":1591,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":859,"invoiceId":1716,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":860,"invoiceId":1838,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":861,"invoiceId":1960,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":862,"invoiceId":2086,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":863,"invoiceId":2211,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":864,"invoiceId":2333,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":865,"invoiceId":2456,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":866,"invoiceId":2578,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":867,"invoiceId":2708,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] + +Nombre del cliente que se va a actualizar: Griselda Avalos + +UUID: 6620b434a8594fc489e18e90363d59bd + +JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 6900","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/12\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/12\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} + +JSON con los datos a actualizar del resumen: {"Cliente": "4","Domicilio": ""Nombre": "Griselda Avalos","URL": "https://sistema.siip.mx/crm/client/4","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 6900","Estado": "Suspendido","Fecha Ultimo Pago": " 28/11/2025 12:23 con Efectivo 💵","Fecha Ultima Actualizacion": "27/12/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} + +Response Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/6620b434a8594fc489e18e90363d59bd","conversationHref":"https://dash.callbell.eu/chat/1a14b3d2ad4141fa8447878f95cce1d6","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"4","Domicilio":"📍 Yucatán 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Monto Ultimo Pago":"💲 6900","Fecha Ultimo Pago":"📆💸 28/11/2025 12:23 con Efectivo 💵","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:23 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲300 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +Response 2 Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/6620b434a8594fc489e18e90363d59bd","conversationHref":"https://dash.callbell.eu/chat/1a14b3d2ad4141fa8447878f95cce1d6","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"4","Domicilio":"📍 Yucatán 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Monto Ultimo Pago":"💲 6900","Fecha Ultimo Pago":"📆💸 28/11/2025 12:23 con Efectivo 💵","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:23 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/12/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲300 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/12/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2025-12-27 16:00:11.810748] [notice] Logging level set to:debug +[2025-12-27 16:00:11.810808] [debug] Payload recibido: {"uuid":"0b57d143-4d54-4861-aee2-e275b04ef813","changeType":"draft_approved","entity":"invoice","entityId":"2854","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2854,"clientId":3,"number":"002800","createdDate":"2025-12-27T10:00:01-0600","dueDate":"2026-01-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-12-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2870,"type":"service","label":"plan300 27\/12\/2025 \u2013 26\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":3,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Lupita","clientLastName":"Morales","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Oaxaca","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2025-12-27 16:00:12.043611] [debug] Evento recibido: invoice.draft_approved +[2025-12-27 16:00:12.043756] [debug] Aprobación de Factura + +[2025-12-27 16:05:09.011553] [info] Validating config +[2025-12-27 16:10:03.457778] [info] Validating config +[2025-12-27 16:15:09.542097] [info] Validating config +[2025-12-27 16:20:08.935395] [info] Validating config +[2025-12-27 16:25:09.685942] [info] Validating config +[2025-12-27 16:30:03.777309] [info] Validating config +[2025-12-27 16:35:03.598675] [info] Validating config +[2025-12-27 16:40:09.431969] [info] Validating config +[2025-12-27 16:45:09.182571] [info] Validating config +[2025-12-27 16:50:09.167803] [info] Validating config +[2025-12-27 16:55:03.323858] [info] Validating config +[2025-12-27 17:00:04.580899] [info] Validating config +[2025-12-27 17:05:13.734808] [info] Validating config +[2025-12-27 17:10:09.010454] [info] Validating config +[2025-12-27 17:15:09.334619] [info] Validating config +[2025-12-27 17:20:03.265904] [info] Validating config +[2025-12-27 17:25:02.764111] [info] Validating config +[2025-12-27 17:30:09.410986] [info] Validating config +[2025-12-27 17:35:09.223762] [info] Validating config +[2025-12-27 17:40:09.304429] [info] Validating config +[2025-12-27 17:45:03.303169] [info] Validating config +[2025-12-27 17:50:03.428152] [info] Validating config +[2025-12-27 17:55:08.652642] [info] Validating config +[2025-12-27 18:00:10.353404] [info] Validating config +[2025-12-27 18:05:09.321821] [info] Validating config +[2025-12-27 18:10:03.533498] [info] Validating config +[2025-12-27 18:15:02.684066] [info] Validating config +[2025-12-27 18:20:13.904884] [info] Validating config +[2025-12-27 18:25:09.392846] [info] Validating config +[2025-12-27 18:30:10.055773] [info] Validating config +[2025-12-27 18:35:03.390773] [info] Validating config +[2025-12-27 18:40:02.806221] [info] Validating config +[2025-12-27 18:45:09.098794] [info] Validating config +[2025-12-27 18:50:09.042829] [info] Validating config +[2025-12-27 18:55:09.222834] [info] Validating config +[2025-12-27 19:00:04.577399] [info] Validating config +[2025-12-27 19:05:02.712980] [info] Validating config +[2025-12-27 19:10:09.307590] [info] Validating config +[2025-12-27 19:15:09.324615] [info] Validating config +[2025-12-27 19:20:09.249991] [info] Validating config +[2025-12-27 19:25:02.989377] [info] Validating config +[2025-12-27 19:30:03.222309] [info] Validating config +[2025-12-27 19:35:09.124511] [info] Validating config +[2025-12-27 19:40:09.490080] [info] Validating config +[2025-12-27 19:45:09.580121] [info] Validating config +[2025-12-27 19:50:02.409790] [info] Validating config +[2025-12-27 19:55:02.583430] [info] Validating config +[2025-12-27 20:00:09.891506] [info] Validating config +[2025-12-27 20:05:14.300659] [info] Validating config +[2025-12-27 20:10:14.973225] [info] Validating config +[2025-12-27 20:15:02.498835] [info] Validating config +[2025-12-27 20:20:02.790587] [info] Validating config +[2025-12-27 20:25:09.505203] [info] Validating config +[2025-12-27 20:30:09.945388] [info] Validating config +[2025-12-27 20:35:08.466630] [info] Validating config +[2025-12-27 20:40:02.681765] [info] Validating config +[2025-12-27 20:45:02.704693] [info] Validating config +[2025-12-27 20:50:09.110697] [info] Validating config +[2025-12-27 20:55:09.343354] [info] Validating config +[2025-12-27 21:00:10.380460] [info] Validating config +[2025-12-27 21:05:02.921808] [info] Validating config +[2025-12-27 21:10:03.037647] [info] Validating config +[2025-12-27 21:15:09.343328] [info] Validating config +[2025-12-27 21:20:09.410872] [info] Validating config +[2025-12-27 21:25:08.921555] [info] Validating config +[2025-12-27 21:30:03.167607] [info] Validating config +[2025-12-27 21:35:02.751754] [info] Validating config +[2025-12-27 21:40:09.258621] [info] Validating config +[2025-12-27 21:45:09.339257] [info] Validating config +[2025-12-27 21:50:08.834455] [info] Validating config +[2025-12-27 21:55:02.441071] [info] Validating config +[2025-12-27 22:00:03.896405] [info] Validating config +[2025-12-27 22:05:09.034987] [info] Validating config +[2025-12-27 22:10:14.428935] [info] Validating config +[2025-12-27 22:15:08.784094] [info] Validating config +[2025-12-27 22:20:02.802046] [info] Validating config +[2025-12-27 22:25:02.991071] [info] Validating config +[2025-12-27 22:30:09.867952] [info] Validating config +[2025-12-27 22:35:09.631088] [info] Validating config +[2025-12-27 22:40:09.126420] [info] Validating config +[2025-12-27 22:45:02.736367] [info] Validating config +[2025-12-27 22:50:02.776271] [info] Validating config +[2025-12-27 22:55:09.175879] [info] Validating config +[2025-12-27 23:00:10.237265] [info] Validating config +[2025-12-27 23:05:08.886285] [info] Validating config +[2025-12-27 23:10:02.875679] [info] Validating config +[2025-12-27 23:15:02.867937] [info] Validating config +[2025-12-27 23:20:09.107587] [info] Validating config +[2025-12-27 23:25:05.553273] [info] Validating config +[2025-12-27 23:30:09.955137] [info] Validating config +[2025-12-27 23:35:02.898379] [info] Validating config +[2025-12-27 23:40:02.908824] [info] Validating config +[2025-12-27 23:45:14.050010] [info] Validating config +[2025-12-27 23:50:04.575154] [info] Validating config +[2025-12-27 23:55:06.960757] [info] Validating config +[2025-12-28 0:00:06.492430] [info] Validating config +[2025-12-28 0:05:02.988317] [info] Validating config +[2025-12-28 0:10:06.916459] [info] Validating config +[2025-12-28 0:15:09.728117] [info] Validating config +[2025-12-28 0:20:08.683089] [info] Validating config +[2025-12-28 0:25:03.091801] [info] Validating config +[2025-12-28 0:30:03.983978] [info] Validating config +[2025-12-28 0:35:06.029006] [info] Validating config +[2025-12-28 0:40:08.654084] [info] Validating config +[2025-12-28 0:45:04.616693] [info] Validating config +[2025-12-28 0:50:02.726527] [info] Validating config +[2025-12-28 0:55:02.813206] [info] Validating config +[2025-12-28 1:00:10.077116] [info] Validating config +[2025-12-28 1:05:06.836289] [info] Validating config +[2025-12-28 1:10:09.036708] [info] Validating config +[2025-12-28 1:15:02.679768] [info] Validating config +[2025-12-28 1:20:02.859231] [info] Validating config +[2025-12-28 1:25:10.528103] [info] Validating config +[2025-12-28 1:30:10.052663] [info] Validating config +[2025-12-28 1:35:08.258150] [info] Validating config +[2025-12-28 1:40:02.829505] [info] Validating config +[2025-12-28 1:45:02.923928] [info] Validating config +[2025-12-28 1:50:13.225748] [info] Validating config +[2025-12-28 1:55:07.529211] [info] Validating config +[2025-12-28 2:00:06.804893] [info] Validating config +[2025-12-28 2:05:02.908130] [info] Validating config +[2025-12-28 2:10:03.218763] [info] Validating config +[2025-12-28 2:15:09.301331] [info] Validating config +[2025-12-28 2:20:04.478164] [info] Validating config +[2025-12-28 2:25:09.148889] [info] Validating config +[2025-12-28 2:30:03.759742] [info] Validating config +[2025-12-28 2:35:03.094295] [info] Validating config +[2025-12-28 2:40:12.944820] [info] Validating config +[2025-12-28 2:45:08.763397] [info] Validating config +[2025-12-28 2:50:09.127640] [info] Validating config +[2025-12-28 2:55:03.302577] [info] Validating config +[2025-12-28 3:00:10.404901] [info] Validating config +[2025-12-28 3:05:09.802898] [info] Validating config +[2025-12-28 3:10:13.713975] [info] Validating config +[2025-12-28 3:15:09.011445] [info] Validating config +[2025-12-28 3:20:07.887533] [info] Validating config +[2025-12-28 3:25:03.581301] [info] Validating config +[2025-12-28 3:30:09.724893] [info] Validating config +[2025-12-28 3:35:09.730298] [info] Validating config +[2025-12-28 3:40:09.027678] [info] Validating config +[2025-12-28 3:45:09.227138] [info] Validating config +[2025-12-28 3:50:03.121326] [info] Validating config +[2025-12-28 3:55:10.433563] [info] Validating config +[2025-12-28 4:00:15.517321] [info] Validating config +[2025-12-28 4:05:08.946522] [info] Validating config +[2025-12-28 4:10:09.477005] [info] Validating config +[2025-12-28 4:15:03.427767] [info] Validating config +[2025-12-28 4:20:07.568636] [info] Validating config +[2025-12-28 4:25:04.403269] [info] Validating config +[2025-12-28 4:30:06.194217] [info] Validating config +[2025-12-28 4:35:09.117760] [info] Validating config +[2025-12-28 4:40:03.126842] [info] Validating config +[2025-12-28 4:45:09.756053] [info] Validating config +[2025-12-28 4:50:08.477247] [info] Validating config +[2025-12-28 4:55:08.879153] [info] Validating config +[2025-12-28 5:00:09.186625] [info] Validating config +[2025-12-28 5:05:03.158198] [info] Validating config +[2025-12-28 5:10:09.826559] [info] Validating config +[2025-12-28 5:15:09.097121] [info] Validating config diff --git a/public.php b/public.php index b4492243..17a3cd85 100755 --- a/public.php +++ b/public.php @@ -1,147 +1,577 @@ -//
Administra los técnicos registrados en el sistema
+| ID UCRM | +Nombre Completo | +Acciones | +
|---|