@ecodrix/erix-api 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodrix/erix-api",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "author": "ECODrIx Team <contact@ecodrix.com>",
5
5
  "license": "MIT",
6
6
  "description": "Official Isomorphic SDK for the ECODrIx platform. Native support for WhatsApp, CRM, Storage, and Meetings across TS, JS, Python, and Java.",
package/src/core.ts CHANGED
@@ -216,13 +216,14 @@ export class Ecodrix {
216
216
  * your own tenant.
217
217
  *
218
218
  * **Standard events:**
219
- * - `whatsapp.message_received` — inbound WhatsApp message
220
- * - `whatsapp.message_sent` — outbound message delivered
221
- * - `crm.lead_created` — new CRM lead ingested
222
- * - `crm.lead_updated` — lead details or stage changed
219
+ * - `new_message` — inbound WhatsApp message (includes conversation and message payload)
220
+ * - `message_sent` — outbound message successfully sent
221
+ * - `message_status_update` — WhatsApp message status change (delivered, read, failed)
222
+ * - `conversation_updated` — metadata change (unread count, last message, status)
223
+ * - `message_updated` — real-time updates for reactions or media processing
224
+ * - `notification:new` — new system or CRM notification
225
+ * - `workflow-run-update` — automation execution progress
223
226
  * - `meet.scheduled` — Google Meet appointment booked
224
- * - `storage.upload_confirmed` — file upload completed
225
- * - `automation.failed` — automation execution error
226
227
  *
227
228
  * @param event - The event name to subscribe to.
228
229
  * @param callback - The handler function invoked when the event fires.