@zernio/node 0.2.510 → 0.2.511

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
@@ -7341,9 +7341,17 @@ type WebhookPayloadMessage = {
7341
7341
  conversation: InboxWebhookConversation;
7342
7342
  account: InboxWebhookAccount;
7343
7343
  /**
7344
- * Interactive message metadata (present when message is a quick reply tap, postback button tap, or inline keyboard callback)
7344
+ * Platform-specific message context (present when the message is a quick reply tap, postback button tap, inline keyboard callback, or a quote-reply to an earlier message)
7345
7345
  */
7346
7346
  metadata?: {
7347
+ /**
7348
+ * platformMessageId of the message this one is a quote-reply to.
7349
+ * WhatsApp (`context.id`), Instagram and Facebook Messenger
7350
+ * (`reply_to.mid`). On `message.sent` echoes (operator replied
7351
+ * from the native app) this is the only metadata field populated.
7352
+ *
7353
+ */
7354
+ quotedMessageId?: string;
7347
7355
  /**
7348
7356
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
7349
7357
  */
@@ -17069,7 +17077,7 @@ type SendInboxMessageData = {
17069
17077
  */
17070
17078
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
17071
17079
  /**
17072
- * Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
17080
+ * Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta's Messenger Send API has no reply_to).
17073
17081
  */
17074
17082
  replyTo?: string;
17075
17083
  /**
package/dist/index.d.ts CHANGED
@@ -7341,9 +7341,17 @@ type WebhookPayloadMessage = {
7341
7341
  conversation: InboxWebhookConversation;
7342
7342
  account: InboxWebhookAccount;
7343
7343
  /**
7344
- * Interactive message metadata (present when message is a quick reply tap, postback button tap, or inline keyboard callback)
7344
+ * Platform-specific message context (present when the message is a quick reply tap, postback button tap, inline keyboard callback, or a quote-reply to an earlier message)
7345
7345
  */
7346
7346
  metadata?: {
7347
+ /**
7348
+ * platformMessageId of the message this one is a quote-reply to.
7349
+ * WhatsApp (`context.id`), Instagram and Facebook Messenger
7350
+ * (`reply_to.mid`). On `message.sent` echoes (operator replied
7351
+ * from the native app) this is the only metadata field populated.
7352
+ *
7353
+ */
7354
+ quotedMessageId?: string;
7347
7355
  /**
7348
7356
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
7349
7357
  */
@@ -17069,7 +17077,7 @@ type SendInboxMessageData = {
17069
17077
  */
17070
17078
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
17071
17079
  /**
17072
- * Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
17080
+ * Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta's Messenger Send API has no reply_to).
17073
17081
  */
17074
17082
  replyTo?: string;
17075
17083
  /**
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.510",
39
+ version: "0.2.511",
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.510",
8
+ version: "0.2.511",
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.510",
3
+ "version": "0.2.511",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6367,9 +6367,17 @@ export type WebhookPayloadMessage = {
6367
6367
  conversation: InboxWebhookConversation;
6368
6368
  account: InboxWebhookAccount;
6369
6369
  /**
6370
- * Interactive message metadata (present when message is a quick reply tap, postback button tap, or inline keyboard callback)
6370
+ * Platform-specific message context (present when the message is a quick reply tap, postback button tap, inline keyboard callback, or a quote-reply to an earlier message)
6371
6371
  */
6372
6372
  metadata?: {
6373
+ /**
6374
+ * platformMessageId of the message this one is a quote-reply to.
6375
+ * WhatsApp (`context.id`), Instagram and Facebook Messenger
6376
+ * (`reply_to.mid`). On `message.sent` echoes (operator replied
6377
+ * from the native app) this is the only metadata field populated.
6378
+ *
6379
+ */
6380
+ quotedMessageId?: string;
6373
6381
  /**
6374
6382
  * Payload from a quick reply tap (Facebook/Instagram Messenger).
6375
6383
  */
@@ -16734,7 +16742,7 @@ export type SendInboxMessageData = {
16734
16742
  */
16735
16743
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
16736
16744
  /**
16737
- * Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
16745
+ * Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta's Messenger Send API has no reply_to).
16738
16746
  */
16739
16747
  replyTo?: string;
16740
16748
  /**