@zernio/node 0.2.130 → 0.2.131

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
@@ -13791,6 +13791,18 @@ type GetAdCommentsResponse = ({
13791
13791
  * Underlying post ID the comments belong to. effective_object_story_id for Facebook, effective_instagram_media_id for Instagram.
13792
13792
  */
13793
13793
  effectiveStoryId: string;
13794
+ /**
13795
+ * Instagram-only. The Instagram-scoped business ID that owns the boosted media (creative.instagram_user_id).
13796
+ */
13797
+ instagramUserId?: string;
13798
+ /**
13799
+ * Instagram-only. Public permalink of the boosted IG post (creative.instagram_permalink_url).
13800
+ */
13801
+ instagramPermalink?: string;
13802
+ /**
13803
+ * Instagram-only. The connected Instagram SocialAccount these comments were read through — use it for reply/hide actions via /v1/inbox/comments.
13804
+ */
13805
+ instagramAccountId?: string;
13794
13806
  /**
13795
13807
  * Social account ID (ads SocialAccount).
13796
13808
  */
package/dist/index.d.ts CHANGED
@@ -13791,6 +13791,18 @@ type GetAdCommentsResponse = ({
13791
13791
  * Underlying post ID the comments belong to. effective_object_story_id for Facebook, effective_instagram_media_id for Instagram.
13792
13792
  */
13793
13793
  effectiveStoryId: string;
13794
+ /**
13795
+ * Instagram-only. The Instagram-scoped business ID that owns the boosted media (creative.instagram_user_id).
13796
+ */
13797
+ instagramUserId?: string;
13798
+ /**
13799
+ * Instagram-only. Public permalink of the boosted IG post (creative.instagram_permalink_url).
13800
+ */
13801
+ instagramPermalink?: string;
13802
+ /**
13803
+ * Instagram-only. The connected Instagram SocialAccount these comments were read through — use it for reply/hide actions via /v1/inbox/comments.
13804
+ */
13805
+ instagramAccountId?: string;
13794
13806
  /**
13795
13807
  * Social account ID (ads SocialAccount).
13796
13808
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.130",
3
+ "version": "0.2.131",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3474,6 +3474,11 @@ export const getAdAnalytics = <ThrowOnError extends boolean = false>(options: Op
3474
3474
  * effective_instagram_media_id (Instagram) via the Marketing API on each call
3475
3475
  * (cached in-process by the platform client), then fetches comments from the Graph API.
3476
3476
  *
3477
+ * For Instagram-placed ads, the Instagram account that runs the ad must be connected
3478
+ * to Zernio — comments are read through that account's token. If none of the connected
3479
+ * Instagram accounts on the profile can read the ad's media, the call returns
3480
+ * ads_connection_required.
3481
+ *
3477
3482
  * Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X) do not
3478
3483
  * expose a public per-ad comments API and return feature_not_available.
3479
3484
  *
@@ -14111,6 +14111,18 @@ export type GetAdCommentsResponse = ({
14111
14111
  * Underlying post ID the comments belong to. effective_object_story_id for Facebook, effective_instagram_media_id for Instagram.
14112
14112
  */
14113
14113
  effectiveStoryId: string;
14114
+ /**
14115
+ * Instagram-only. The Instagram-scoped business ID that owns the boosted media (creative.instagram_user_id).
14116
+ */
14117
+ instagramUserId?: string;
14118
+ /**
14119
+ * Instagram-only. Public permalink of the boosted IG post (creative.instagram_permalink_url).
14120
+ */
14121
+ instagramPermalink?: string;
14122
+ /**
14123
+ * Instagram-only. The connected Instagram SocialAccount these comments were read through — use it for reply/hide actions via /v1/inbox/comments.
14124
+ */
14125
+ instagramAccountId?: string;
14114
14126
  /**
14115
14127
  * Social account ID (ads SocialAccount).
14116
14128
  */