@zernio/node 0.2.83 → 0.2.84

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
@@ -3110,6 +3110,30 @@ type WebhookPayloadComment = {
3110
3110
  * Parent comment ID if this is a reply
3111
3111
  */
3112
3112
  parentCommentId: (string) | null;
3113
+ /**
3114
+ * Ad context. Present only when the comment was made on paid content.
3115
+ * Instagram: populated from the webhook payload's `value.media.ad_id`/`ad_title`.
3116
+ * Facebook: populated via a Graph API lookup of the parent post's `promotion_status`.
3117
+ * Absent for comments on organic posts that are not currently promoted.
3118
+ *
3119
+ */
3120
+ ad?: {
3121
+ /**
3122
+ * Meta ad ID (Instagram only).
3123
+ */
3124
+ id?: string;
3125
+ /**
3126
+ * Ad creative title (Instagram only).
3127
+ */
3128
+ title?: string;
3129
+ /**
3130
+ * Facebook promotion status returned by Graph API. Common values:
3131
+ * "active" (organic post currently boosted), "ineligible" (dark
3132
+ * post / ad creative — not promotable because it already is an ad).
3133
+ *
3134
+ */
3135
+ promotionStatus?: string;
3136
+ };
3113
3137
  };
3114
3138
  post: {
3115
3139
  /**
package/dist/index.d.ts CHANGED
@@ -3110,6 +3110,30 @@ type WebhookPayloadComment = {
3110
3110
  * Parent comment ID if this is a reply
3111
3111
  */
3112
3112
  parentCommentId: (string) | null;
3113
+ /**
3114
+ * Ad context. Present only when the comment was made on paid content.
3115
+ * Instagram: populated from the webhook payload's `value.media.ad_id`/`ad_title`.
3116
+ * Facebook: populated via a Graph API lookup of the parent post's `promotion_status`.
3117
+ * Absent for comments on organic posts that are not currently promoted.
3118
+ *
3119
+ */
3120
+ ad?: {
3121
+ /**
3122
+ * Meta ad ID (Instagram only).
3123
+ */
3124
+ id?: string;
3125
+ /**
3126
+ * Ad creative title (Instagram only).
3127
+ */
3128
+ title?: string;
3129
+ /**
3130
+ * Facebook promotion status returned by Graph API. Common values:
3131
+ * "active" (organic post currently boosted), "ineligible" (dark
3132
+ * post / ad creative — not promotable because it already is an ad).
3133
+ *
3134
+ */
3135
+ promotionStatus?: string;
3136
+ };
3113
3137
  };
3114
3138
  post: {
3115
3139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.83",
3
+ "version": "0.2.84",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2647,6 +2647,30 @@ export type WebhookPayloadComment = {
2647
2647
  * Parent comment ID if this is a reply
2648
2648
  */
2649
2649
  parentCommentId: (string) | null;
2650
+ /**
2651
+ * Ad context. Present only when the comment was made on paid content.
2652
+ * Instagram: populated from the webhook payload's `value.media.ad_id`/`ad_title`.
2653
+ * Facebook: populated via a Graph API lookup of the parent post's `promotion_status`.
2654
+ * Absent for comments on organic posts that are not currently promoted.
2655
+ *
2656
+ */
2657
+ ad?: {
2658
+ /**
2659
+ * Meta ad ID (Instagram only).
2660
+ */
2661
+ id?: string;
2662
+ /**
2663
+ * Ad creative title (Instagram only).
2664
+ */
2665
+ title?: string;
2666
+ /**
2667
+ * Facebook promotion status returned by Graph API. Common values:
2668
+ * "active" (organic post currently boosted), "ineligible" (dark
2669
+ * post / ad creative — not promotable because it already is an ad).
2670
+ *
2671
+ */
2672
+ promotionStatus?: string;
2673
+ };
2650
2674
  };
2651
2675
  post: {
2652
2676
  /**