@zernio/node 0.2.689 → 0.2.690

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
@@ -8793,14 +8793,29 @@ type WebhookPayloadMessage = {
8793
8793
  */
8794
8794
  metadata?: {
8795
8795
  /**
8796
- * platformMessageId of the message this one is a quote-reply to.
8797
- * WhatsApp (`context.id`), Instagram and Facebook Messenger
8798
- * (`reply_to.mid`). On outgoing messages the same field appears on
8799
- * `message.sent`, but only on some surfaces: see
8796
+ * Raw platform envelope id (WhatsApp `context.id`; Instagram and
8797
+ * Facebook Messenger `reply_to.mid`) of the message this one is a
8798
+ * quote-reply to, forwarded verbatim. It may not equal the stored
8799
+ * id of that message (see `quotedMessage.platformMessageId`). On
8800
+ * outgoing messages the same field appears on `message.sent`, but
8801
+ * only on some surfaces: see
8800
8802
  * WebhookPayloadMessageSent.metadata.quotedMessageId.
8801
8803
  *
8802
8804
  */
8803
8805
  quotedMessageId?: string;
8806
+ /**
8807
+ * Zernio's own ids for the message this one quote-replies to. Present only when that message is stored; WhatsApp only today.
8808
+ */
8809
+ quotedMessage?: {
8810
+ /**
8811
+ * Internal id of the stored quoted message.
8812
+ */
8813
+ messageId?: string;
8814
+ /**
8815
+ * The STORED message's platform id (what message.sent and list-messages return). Can differ from quotedMessageId, because Meta renders one message under a different wamid per perspective.
8816
+ */
8817
+ platformMessageId?: string;
8818
+ };
8804
8819
  /**
8805
8820
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
8806
8821
  */
package/dist/index.d.ts CHANGED
@@ -8793,14 +8793,29 @@ type WebhookPayloadMessage = {
8793
8793
  */
8794
8794
  metadata?: {
8795
8795
  /**
8796
- * platformMessageId of the message this one is a quote-reply to.
8797
- * WhatsApp (`context.id`), Instagram and Facebook Messenger
8798
- * (`reply_to.mid`). On outgoing messages the same field appears on
8799
- * `message.sent`, but only on some surfaces: see
8796
+ * Raw platform envelope id (WhatsApp `context.id`; Instagram and
8797
+ * Facebook Messenger `reply_to.mid`) of the message this one is a
8798
+ * quote-reply to, forwarded verbatim. It may not equal the stored
8799
+ * id of that message (see `quotedMessage.platformMessageId`). On
8800
+ * outgoing messages the same field appears on `message.sent`, but
8801
+ * only on some surfaces: see
8800
8802
  * WebhookPayloadMessageSent.metadata.quotedMessageId.
8801
8803
  *
8802
8804
  */
8803
8805
  quotedMessageId?: string;
8806
+ /**
8807
+ * Zernio's own ids for the message this one quote-replies to. Present only when that message is stored; WhatsApp only today.
8808
+ */
8809
+ quotedMessage?: {
8810
+ /**
8811
+ * Internal id of the stored quoted message.
8812
+ */
8813
+ messageId?: string;
8814
+ /**
8815
+ * The STORED message's platform id (what message.sent and list-messages return). Can differ from quotedMessageId, because Meta renders one message under a different wamid per perspective.
8816
+ */
8817
+ platformMessageId?: string;
8818
+ };
8804
8819
  /**
8805
8820
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
8806
8821
  */
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.689",
39
+ version: "0.2.690",
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.689",
8
+ version: "0.2.690",
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.689",
3
+ "version": "0.2.690",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7735,14 +7735,29 @@ export type WebhookPayloadMessage = {
7735
7735
  */
7736
7736
  metadata?: {
7737
7737
  /**
7738
- * platformMessageId of the message this one is a quote-reply to.
7739
- * WhatsApp (`context.id`), Instagram and Facebook Messenger
7740
- * (`reply_to.mid`). On outgoing messages the same field appears on
7741
- * `message.sent`, but only on some surfaces: see
7738
+ * Raw platform envelope id (WhatsApp `context.id`; Instagram and
7739
+ * Facebook Messenger `reply_to.mid`) of the message this one is a
7740
+ * quote-reply to, forwarded verbatim. It may not equal the stored
7741
+ * id of that message (see `quotedMessage.platformMessageId`). On
7742
+ * outgoing messages the same field appears on `message.sent`, but
7743
+ * only on some surfaces: see
7742
7744
  * WebhookPayloadMessageSent.metadata.quotedMessageId.
7743
7745
  *
7744
7746
  */
7745
7747
  quotedMessageId?: string;
7748
+ /**
7749
+ * Zernio's own ids for the message this one quote-replies to. Present only when that message is stored; WhatsApp only today.
7750
+ */
7751
+ quotedMessage?: {
7752
+ /**
7753
+ * Internal id of the stored quoted message.
7754
+ */
7755
+ messageId?: string;
7756
+ /**
7757
+ * The STORED message's platform id (what message.sent and list-messages return). Can differ from quotedMessageId, because Meta renders one message under a different wamid per perspective.
7758
+ */
7759
+ platformMessageId?: string;
7760
+ };
7746
7761
  /**
7747
7762
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
7748
7763
  */