@zernio/node 0.2.154 → 0.2.155

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/dist/index.d.mts CHANGED
@@ -13238,6 +13238,10 @@ type ListBroadcastRecipientsResponse = ({
13238
13238
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
13239
13239
  messageId?: string;
13240
13240
  error?: string;
13241
+ /**
13242
+ * Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
13243
+ */
13244
+ errorCode?: (number) | null;
13241
13245
  sentAt?: string;
13242
13246
  deliveredAt?: string;
13243
13247
  readAt?: string;
package/dist/index.d.ts CHANGED
@@ -13238,6 +13238,10 @@ type ListBroadcastRecipientsResponse = ({
13238
13238
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
13239
13239
  messageId?: string;
13240
13240
  error?: string;
13241
+ /**
13242
+ * Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
13243
+ */
13244
+ errorCode?: (number) | null;
13241
13245
  sentAt?: string;
13242
13246
  deliveredAt?: string;
13243
13247
  readAt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.154",
3
+ "version": "0.2.155",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13479,6 +13479,10 @@ export type ListBroadcastRecipientsResponse = ({
13479
13479
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
13480
13480
  messageId?: string;
13481
13481
  error?: string;
13482
+ /**
13483
+ * Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
13484
+ */
13485
+ errorCode?: (number) | null;
13482
13486
  sentAt?: string;
13483
13487
  deliveredAt?: string;
13484
13488
  readAt?: string;