@zernio/node 0.2.665 → 0.2.667

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
@@ -5955,9 +5955,9 @@ type PostAnalytics = {
5955
5955
  clicks?: number;
5956
5956
  views?: number;
5957
5957
  /**
5958
- * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
5958
+ * Instagram feed posts and stories only: organic accounts that started following from this post. Null on Instagram Reels and non-Reels video, where Meta does not expose this metric for the media. 0 for other platforms.
5959
5959
  */
5960
- follows?: number;
5960
+ follows?: (number) | null;
5961
5961
  /**
5962
5962
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
5963
5963
  */
@@ -10612,7 +10612,7 @@ type GetAnalyticsData = {
10612
10612
  */
10613
10613
  profileId?: string;
10614
10614
  /**
10615
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort posts with no value as 0.
10615
+ * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
10616
10616
  */
10617
10617
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
10618
10618
  /**
package/dist/index.d.ts CHANGED
@@ -5955,9 +5955,9 @@ type PostAnalytics = {
5955
5955
  clicks?: number;
5956
5956
  views?: number;
5957
5957
  /**
5958
- * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
5958
+ * Instagram feed posts and stories only: organic accounts that started following from this post. Null on Instagram Reels and non-Reels video, where Meta does not expose this metric for the media. 0 for other platforms.
5959
5959
  */
5960
- follows?: number;
5960
+ follows?: (number) | null;
5961
5961
  /**
5962
5962
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
5963
5963
  */
@@ -10612,7 +10612,7 @@ type GetAnalyticsData = {
10612
10612
  */
10613
10613
  profileId?: string;
10614
10614
  /**
10615
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort posts with no value as 0.
10615
+ * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
10616
10616
  */
10617
10617
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
10618
10618
  /**
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.665",
39
+ version: "0.2.667",
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.665",
8
+ version: "0.2.667",
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.665",
3
+ "version": "0.2.667",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2280,8 +2280,8 @@ export const updateLinkedInOrganization = <ThrowOnError extends boolean = false>
2280
2280
  * Important: The mentions array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text.
2281
2281
  *
2282
2282
  * Requirements:
2283
- * - Person mentions require the LinkedIn account to be admin of at least one organization. This is a LinkedIn API limitation: the only endpoints that resolve profile URLs to member URNs (vanityUrl, peopleTypeahead) are scoped to organization followers. There is no public LinkedIn API to resolve a vanity URL without organization context.
2284
- * - Organization mentions (e.g. @Microsoft) work without this requirement.
2283
+ * - Person mentions require the LinkedIn account to be admin of at least one organization: both endpoints that resolve a profile URL to a member URN take an organization you administer. Organization mentions (e.g. @Microsoft) have no such requirement.
2284
+ * - The two are not scoped alike. peopleTypeahead?q=organizationFollowers only returns that organization's followers; vanityUrl?q=vanityUrlAsOrganization does not, and its resolvable set is opaque. A 404 here does not mean the person is unknown to you or unknown to LinkedIn: a live public profile can 404 with no reason given.
2285
2285
  * - For person mentions to be clickable, the displayName parameter must exactly match the name shown on their LinkedIn profile.
2286
2286
  * - Person mentions DO work when published from personal profiles (the URN just needs to be valid). The limitation is only in the resolution step (URL to URN), not in publishing.
2287
2287
  *
@@ -4786,9 +4786,9 @@ export type PostAnalytics = {
4786
4786
  clicks?: number;
4787
4787
  views?: number;
4788
4788
  /**
4789
- * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
4789
+ * Instagram feed posts and stories only: organic accounts that started following from this post. Null on Instagram Reels and non-Reels video, where Meta does not expose this metric for the media. 0 for other platforms.
4790
4790
  */
4791
- follows?: number;
4791
+ follows?: (number) | null;
4792
4792
  /**
4793
4793
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
4794
4794
  */
@@ -9650,7 +9650,7 @@ export type GetAnalyticsData = {
9650
9650
  */
9651
9651
  profileId?: string;
9652
9652
  /**
9653
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort posts with no value as 0.
9653
+ * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
9654
9654
  */
9655
9655
  sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
9656
9656
  /**