@zernio/node 0.2.66 → 0.2.67

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
@@ -2806,9 +2806,9 @@ type WebhookPayloadComment = {
2806
2806
  */
2807
2807
  id: string;
2808
2808
  /**
2809
- * Internal post ID
2809
+ * Internal post ID (null for posts not published through Zernio)
2810
2810
  */
2811
- postId: string;
2811
+ postId: (string) | null;
2812
2812
  /**
2813
2813
  * Platform's post ID
2814
2814
  */
@@ -2839,9 +2839,9 @@ type WebhookPayloadComment = {
2839
2839
  };
2840
2840
  post: {
2841
2841
  /**
2842
- * Internal post ID
2842
+ * Internal post ID (null for posts not published through Zernio)
2843
2843
  */
2844
- id: string;
2844
+ id: (string) | null;
2845
2845
  /**
2846
2846
  * Platform's post ID
2847
2847
  */
@@ -7892,7 +7892,7 @@ type SendInboxMessageData = {
7892
7892
  */
7893
7893
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
7894
7894
  /**
7895
- * Platform message ID to reply to (Telegram only).
7895
+ * 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.
7896
7896
  */
7897
7897
  replyTo?: string;
7898
7898
  };
package/dist/index.d.ts CHANGED
@@ -2806,9 +2806,9 @@ type WebhookPayloadComment = {
2806
2806
  */
2807
2807
  id: string;
2808
2808
  /**
2809
- * Internal post ID
2809
+ * Internal post ID (null for posts not published through Zernio)
2810
2810
  */
2811
- postId: string;
2811
+ postId: (string) | null;
2812
2812
  /**
2813
2813
  * Platform's post ID
2814
2814
  */
@@ -2839,9 +2839,9 @@ type WebhookPayloadComment = {
2839
2839
  };
2840
2840
  post: {
2841
2841
  /**
2842
- * Internal post ID
2842
+ * Internal post ID (null for posts not published through Zernio)
2843
2843
  */
2844
- id: string;
2844
+ id: (string) | null;
2845
2845
  /**
2846
2846
  * Platform's post ID
2847
2847
  */
@@ -7892,7 +7892,7 @@ type SendInboxMessageData = {
7892
7892
  */
7893
7893
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
7894
7894
  /**
7895
- * Platform message ID to reply to (Telegram only).
7895
+ * 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.
7896
7896
  */
7897
7897
  replyTo?: string;
7898
7898
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.66",
3
+ "version": "0.2.67",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2353,9 +2353,9 @@ export type WebhookPayloadComment = {
2353
2353
  */
2354
2354
  id: string;
2355
2355
  /**
2356
- * Internal post ID
2356
+ * Internal post ID (null for posts not published through Zernio)
2357
2357
  */
2358
- postId: string;
2358
+ postId: (string) | null;
2359
2359
  /**
2360
2360
  * Platform's post ID
2361
2361
  */
@@ -2386,9 +2386,9 @@ export type WebhookPayloadComment = {
2386
2386
  };
2387
2387
  post: {
2388
2388
  /**
2389
- * Internal post ID
2389
+ * Internal post ID (null for posts not published through Zernio)
2390
2390
  */
2391
- id: string;
2391
+ id: (string) | null;
2392
2392
  /**
2393
2393
  * Platform's post ID
2394
2394
  */
@@ -7827,7 +7827,7 @@ export type SendInboxMessageData = {
7827
7827
  */
7828
7828
  messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
7829
7829
  /**
7830
- * Platform message ID to reply to (Telegram only).
7830
+ * 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.
7831
7831
  */
7832
7832
  replyTo?: string;
7833
7833
  };