@zernio/node 0.2.1032 → 0.2.1034

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
@@ -14366,13 +14366,17 @@ type WebhookPayloadMessage = {
14366
14366
  * Meta's human-readable error detail string.
14367
14367
  */
14368
14368
  details?: string;
14369
+ /**
14370
+ * Meta's name for the content WhatsApp could not deliver, e.g. view_once, poll_creation, group_invite, edit. Absent when Meta sends none.
14371
+ */
14372
+ type?: string;
14369
14373
  };
14370
14374
  /**
14371
14375
  * Instagram / Facebook Messenger only. Set when the message
14372
14376
  * carries nothing an integrator can render (a `template`
14373
14377
  * attachment with no text and no parseable content, or Meta's
14374
14378
  * own `is_unsupported` flag). Sibling of `unsupported` above
14375
- * (WhatsApp only, carries Meta's error code/title/details): this
14379
+ * (WhatsApp only, carries Meta's error code/title/details and unsupported type): this
14376
14380
  * field has no error envelope, only the boolean. Absence means
14377
14381
  * "not flagged", never "checked and renderable".
14378
14382
  *
@@ -26524,6 +26528,14 @@ type SearchInboxConversationsResponse = ({
26524
26528
  participantName?: (string) | null;
26525
26529
  participantUsername?: (string) | null;
26526
26530
  participantPicture?: (string) | null;
26531
+ /**
26532
+ * WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
26533
+ */
26534
+ businessScopedUserId?: string;
26535
+ /**
26536
+ * WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
26537
+ */
26538
+ whatsappUsername?: string;
26527
26539
  status?: 'active' | 'archived';
26528
26540
  /**
26529
26541
  * The conversation's most recent message preview
package/dist/index.d.ts CHANGED
@@ -14366,13 +14366,17 @@ type WebhookPayloadMessage = {
14366
14366
  * Meta's human-readable error detail string.
14367
14367
  */
14368
14368
  details?: string;
14369
+ /**
14370
+ * Meta's name for the content WhatsApp could not deliver, e.g. view_once, poll_creation, group_invite, edit. Absent when Meta sends none.
14371
+ */
14372
+ type?: string;
14369
14373
  };
14370
14374
  /**
14371
14375
  * Instagram / Facebook Messenger only. Set when the message
14372
14376
  * carries nothing an integrator can render (a `template`
14373
14377
  * attachment with no text and no parseable content, or Meta's
14374
14378
  * own `is_unsupported` flag). Sibling of `unsupported` above
14375
- * (WhatsApp only, carries Meta's error code/title/details): this
14379
+ * (WhatsApp only, carries Meta's error code/title/details and unsupported type): this
14376
14380
  * field has no error envelope, only the boolean. Absence means
14377
14381
  * "not flagged", never "checked and renderable".
14378
14382
  *
@@ -26524,6 +26528,14 @@ type SearchInboxConversationsResponse = ({
26524
26528
  participantName?: (string) | null;
26525
26529
  participantUsername?: (string) | null;
26526
26530
  participantPicture?: (string) | null;
26531
+ /**
26532
+ * WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
26533
+ */
26534
+ businessScopedUserId?: string;
26535
+ /**
26536
+ * WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
26537
+ */
26538
+ whatsappUsername?: string;
26527
26539
  status?: 'active' | 'archived';
26528
26540
  /**
26529
26541
  * The conversation's most recent message preview
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.1032",
39
+ version: "0.2.1034",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.1032",
8
+ version: "0.2.1034",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1032",
3
+ "version": "0.2.1034",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12942,13 +12942,17 @@ export type WebhookPayloadMessage = {
12942
12942
  * Meta's human-readable error detail string.
12943
12943
  */
12944
12944
  details?: string;
12945
+ /**
12946
+ * Meta's name for the content WhatsApp could not deliver, e.g. view_once, poll_creation, group_invite, edit. Absent when Meta sends none.
12947
+ */
12948
+ type?: string;
12945
12949
  };
12946
12950
  /**
12947
12951
  * Instagram / Facebook Messenger only. Set when the message
12948
12952
  * carries nothing an integrator can render (a `template`
12949
12953
  * attachment with no text and no parseable content, or Meta's
12950
12954
  * own `is_unsupported` flag). Sibling of `unsupported` above
12951
- * (WhatsApp only, carries Meta's error code/title/details): this
12955
+ * (WhatsApp only, carries Meta's error code/title/details and unsupported type): this
12952
12956
  * field has no error envelope, only the boolean. Absence means
12953
12957
  * "not flagged", never "checked and renderable".
12954
12958
  *
@@ -25870,6 +25874,14 @@ export type SearchInboxConversationsResponse = ({
25870
25874
  participantName?: (string) | null;
25871
25875
  participantUsername?: (string) | null;
25872
25876
  participantPicture?: (string) | null;
25877
+ /**
25878
+ * WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
25879
+ */
25880
+ businessScopedUserId?: string;
25881
+ /**
25882
+ * WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
25883
+ */
25884
+ whatsappUsername?: string;
25873
25885
  status?: 'active' | 'archived';
25874
25886
  /**
25875
25887
  * The conversation's most recent message preview