@getlatedev/node 0.2.1074 → 0.2.1076

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
@@ -3558,11 +3558,11 @@ type AnalyticsDeltaEntry = {
3558
3558
  */
3559
3559
  follows: number;
3560
3560
  /**
3561
- * Instagram Reels average watch time, in milliseconds
3561
+ * Average watch time per play, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
3562
3562
  */
3563
3563
  igReelsAvgWatchTime: number;
3564
3564
  /**
3565
- * Instagram Reels total watch time, in milliseconds
3565
+ * Total watch time including replays, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
3566
3566
  */
3567
3567
  igReelsVideoViewTotalTime: number;
3568
3568
  reposts: number;
@@ -10406,11 +10406,11 @@ type PostAnalytics = {
10406
10406
  */
10407
10407
  follows?: (number) | null;
10408
10408
  /**
10409
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
10409
+ * Average watch time per play, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). On Facebook it includes replays within a play, so it can exceed the Reel length. 0 for other media and platforms, including regular Facebook videos.
10410
10410
  */
10411
10411
  igReelsAvgWatchTime?: number;
10412
10412
  /**
10413
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
10413
+ * Total watch time including replays, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). 0 for other media and platforms, including regular Facebook videos.
10414
10414
  */
10415
10415
  igReelsVideoViewTotalTime?: number;
10416
10416
  /**
package/dist/index.d.ts CHANGED
@@ -3558,11 +3558,11 @@ type AnalyticsDeltaEntry = {
3558
3558
  */
3559
3559
  follows: number;
3560
3560
  /**
3561
- * Instagram Reels average watch time, in milliseconds
3561
+ * Average watch time per play, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
3562
3562
  */
3563
3563
  igReelsAvgWatchTime: number;
3564
3564
  /**
3565
- * Instagram Reels total watch time, in milliseconds
3565
+ * Total watch time including replays, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
3566
3566
  */
3567
3567
  igReelsVideoViewTotalTime: number;
3568
3568
  reposts: number;
@@ -10406,11 +10406,11 @@ type PostAnalytics = {
10406
10406
  */
10407
10407
  follows?: (number) | null;
10408
10408
  /**
10409
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
10409
+ * Average watch time per play, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). On Facebook it includes replays within a play, so it can exceed the Reel length. 0 for other media and platforms, including regular Facebook videos.
10410
10410
  */
10411
10411
  igReelsAvgWatchTime?: number;
10412
10412
  /**
10413
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
10413
+ * Total watch time including replays, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). 0 for other media and platforms, including regular Facebook videos.
10414
10414
  */
10415
10415
  igReelsVideoViewTotalTime?: number;
10416
10416
  /**
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: "@getlatedev/node",
39
- version: "0.2.1074",
39
+ version: "0.2.1076",
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: "@getlatedev/node",
8
- version: "0.2.1074",
8
+ version: "0.2.1076",
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": "@getlatedev/node",
3
- "version": "0.2.1074",
3
+ "version": "0.2.1076",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -968,7 +968,7 @@ export const createPost = <ThrowOnError extends boolean = false>(options: Option
968
968
  *
969
969
  * `accountId` is required, because a post URL or id alone cannot be resolved to an account, and the account must be connected to Zernio (we use its token to read the platform). Supported for every platform with a listing API (Instagram, Facebook, TikTok, YouTube, X, Threads, Pinterest, Reddit, Bluesky, Google Business Profile, and LinkedIn organization accounts).
970
970
  *
971
- * LinkedIn personal profiles: LinkedIn has no listing API for personal profiles, so a `url` is REQUIRED and imports that single post. Pass any LinkedIn post URL (`linkedin.com/posts/…`, `linkedin.com/feed/update/urn:li:activity:…`) or a `urn:li:share:…` / `urn:li:ugcPost:…` URN. Works for posts published outside Zernio and before the account was connected, any age; the post must be authored by the connected member. Imported posts return full analytics (impressions, reach, reactions, comments, reshares, saves) and keep refreshing on the background analytics cycle, but carry no content/media (LinkedIn does not expose them for personal profiles).
971
+ * LinkedIn personal profiles: LinkedIn has no listing API for personal profiles, so a `url` is REQUIRED and imports that single post. Pass any LinkedIn post URL (`linkedin.com/posts/…`, `linkedin.com/feed/update/urn:li:activity:…`) or a `urn:li:share:…` / `urn:li:ugcPost:…` URN. Works for posts published outside Zernio and before the account was connected, any age; the post must be authored by the connected member. Imported posts return full analytics (impressions, reach, reactions, comments, reshares, saves) and keep refreshing on the background analytics cycle, but carry no content/media (LinkedIn does not expose them for personal profiles). `publishedAt` comes from the post id: an activity URL (`linkedin.com/feed/update/urn:li:activity:…`) carries the publication time, while a `urn:li:share:…` / `urn:li:ugcPost:…` URN only carries the creation time, which is earlier for a post scheduled in another tool. Pass the activity URL for the exact publication date; importing it again for a post already imported by its URN corrects `publishedAt` on the same record. Right after an import, the per-post `GET /v1/analytics?postId=` read can show zeros for a few minutes while the metrics are ingested; this endpoint's response carries the fetched values immediately.
972
972
  *
973
973
  * `url` accepts any format the platform uses (e.g. `instagram.com/p/…`, `instagram.com/reel/…`, `youtu.be/…`, `youtube.com/shorts/…`, `tiktok.com/@user/video/…`, `vm.tiktok.com` short links, `pinterest.com/pin/…` on any regional domain, and `pin.it` short links). Pass `postId` (the platform media/video/pin id) as an alternative locator.
974
974
  *
@@ -1634,11 +1634,11 @@ export type AnalyticsDeltaEntry = {
1634
1634
  */
1635
1635
  follows: number;
1636
1636
  /**
1637
- * Instagram Reels average watch time, in milliseconds
1637
+ * Average watch time per play, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
1638
1638
  */
1639
1639
  igReelsAvgWatchTime: number;
1640
1640
  /**
1641
- * Instagram Reels total watch time, in milliseconds
1641
+ * Total watch time including replays, in milliseconds (Instagram Reels, Facebook Reels, TikTok business videos)
1642
1642
  */
1643
1643
  igReelsVideoViewTotalTime: number;
1644
1644
  reposts: number;
@@ -8807,11 +8807,11 @@ export type PostAnalytics = {
8807
8807
  */
8808
8808
  follows?: (number) | null;
8809
8809
  /**
8810
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
8810
+ * Average watch time per play, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). On Facebook it includes replays within a play, so it can exceed the Reel length. 0 for other media and platforms, including regular Facebook videos.
8811
8811
  */
8812
8812
  igReelsAvgWatchTime?: number;
8813
8813
  /**
8814
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
8814
+ * Total watch time including replays, in milliseconds, for Instagram Reels, Facebook Reels and TikTok videos (business accounts). 0 for other media and platforms, including regular Facebook videos.
8815
8815
  */
8816
8816
  igReelsVideoViewTotalTime?: number;
8817
8817
  /**