@getlatedev/node 0.2.1075 → 0.2.1077

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;
@@ -3600,6 +3600,16 @@ type AnalyticsDeltaEntry = {
3600
3600
  audienceCountries: {
3601
3601
  [key: string]: (number);
3602
3602
  };
3603
+ /**
3604
+ * Facebook Reels only: plays that were replays. 0 elsewhere.
3605
+ */
3606
+ replays?: number;
3607
+ /**
3608
+ * Facebook Reels only: share of plays still watching at each second, keyed by the second, fractions 0 to 1. Empty object elsewhere.
3609
+ */
3610
+ retentionCurve?: {
3611
+ [key: string]: (number);
3612
+ };
3603
3613
  };
3604
3614
  };
3605
3615
  type AnalyticsDeltaResponse = {
@@ -10406,11 +10416,11 @@ type PostAnalytics = {
10406
10416
  */
10407
10417
  follows?: (number) | null;
10408
10418
  /**
10409
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
10419
+ * 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
10420
  */
10411
10421
  igReelsAvgWatchTime?: number;
10412
10422
  /**
10413
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
10423
+ * 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
10424
  */
10415
10425
  igReelsVideoViewTotalTime?: number;
10416
10426
  /**
@@ -10447,6 +10457,16 @@ type PostAnalytics = {
10447
10457
  audienceCountries?: {
10448
10458
  [key: string]: (number);
10449
10459
  };
10460
+ /**
10461
+ * Facebook Reels only: plays that were replays (Meta fb_reels_replay_count). Summed across accounts. 0 for other media and platforms.
10462
+ */
10463
+ replays?: number;
10464
+ /**
10465
+ * Facebook Reels only: share of plays still watching at each second of the Reel, keyed by the second from "0", fractions 0 to 1 (Meta post_video_retention_graph). Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
10466
+ */
10467
+ retentionCurve?: {
10468
+ [key: string]: (number);
10469
+ };
10450
10470
  /**
10451
10471
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
10452
10472
  */
@@ -17764,6 +17784,16 @@ type GetPostTimelineResponse = ({
17764
17784
  audienceCountries?: {
17765
17785
  [key: string]: (number);
17766
17786
  };
17787
+ /**
17788
+ * Facebook Reels only: plays that were replays, as of this date; 0 elsewhere
17789
+ */
17790
+ replays?: number;
17791
+ /**
17792
+ * Facebook Reels only: share of plays still watching at each second as of this date, keyed by the second, fractions 0 to 1; empty object elsewhere
17793
+ */
17794
+ retentionCurve?: {
17795
+ [key: string]: (number);
17796
+ };
17767
17797
  }>;
17768
17798
  });
17769
17799
  type GetPostTimelineError = ({
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;
@@ -3600,6 +3600,16 @@ type AnalyticsDeltaEntry = {
3600
3600
  audienceCountries: {
3601
3601
  [key: string]: (number);
3602
3602
  };
3603
+ /**
3604
+ * Facebook Reels only: plays that were replays. 0 elsewhere.
3605
+ */
3606
+ replays?: number;
3607
+ /**
3608
+ * Facebook Reels only: share of plays still watching at each second, keyed by the second, fractions 0 to 1. Empty object elsewhere.
3609
+ */
3610
+ retentionCurve?: {
3611
+ [key: string]: (number);
3612
+ };
3603
3613
  };
3604
3614
  };
3605
3615
  type AnalyticsDeltaResponse = {
@@ -10406,11 +10416,11 @@ type PostAnalytics = {
10406
10416
  */
10407
10417
  follows?: (number) | null;
10408
10418
  /**
10409
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
10419
+ * 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
10420
  */
10411
10421
  igReelsAvgWatchTime?: number;
10412
10422
  /**
10413
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
10423
+ * 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
10424
  */
10415
10425
  igReelsVideoViewTotalTime?: number;
10416
10426
  /**
@@ -10447,6 +10457,16 @@ type PostAnalytics = {
10447
10457
  audienceCountries?: {
10448
10458
  [key: string]: (number);
10449
10459
  };
10460
+ /**
10461
+ * Facebook Reels only: plays that were replays (Meta fb_reels_replay_count). Summed across accounts. 0 for other media and platforms.
10462
+ */
10463
+ replays?: number;
10464
+ /**
10465
+ * Facebook Reels only: share of plays still watching at each second of the Reel, keyed by the second from "0", fractions 0 to 1 (Meta post_video_retention_graph). Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
10466
+ */
10467
+ retentionCurve?: {
10468
+ [key: string]: (number);
10469
+ };
10450
10470
  /**
10451
10471
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
10452
10472
  */
@@ -17764,6 +17784,16 @@ type GetPostTimelineResponse = ({
17764
17784
  audienceCountries?: {
17765
17785
  [key: string]: (number);
17766
17786
  };
17787
+ /**
17788
+ * Facebook Reels only: plays that were replays, as of this date; 0 elsewhere
17789
+ */
17790
+ replays?: number;
17791
+ /**
17792
+ * Facebook Reels only: share of plays still watching at each second as of this date, keyed by the second, fractions 0 to 1; empty object elsewhere
17793
+ */
17794
+ retentionCurve?: {
17795
+ [key: string]: (number);
17796
+ };
17767
17797
  }>;
17768
17798
  });
17769
17799
  type GetPostTimelineError = ({
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.1075",
39
+ version: "0.2.1077",
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.1075",
8
+ version: "0.2.1077",
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.1075",
3
+ "version": "0.2.1077",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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;
@@ -1676,6 +1676,16 @@ export type AnalyticsDeltaEntry = {
1676
1676
  audienceCountries: {
1677
1677
  [key: string]: (number);
1678
1678
  };
1679
+ /**
1680
+ * Facebook Reels only: plays that were replays. 0 elsewhere.
1681
+ */
1682
+ replays?: number;
1683
+ /**
1684
+ * Facebook Reels only: share of plays still watching at each second, keyed by the second, fractions 0 to 1. Empty object elsewhere.
1685
+ */
1686
+ retentionCurve?: {
1687
+ [key: string]: (number);
1688
+ };
1679
1689
  };
1680
1690
  };
1681
1691
 
@@ -8807,11 +8817,11 @@ export type PostAnalytics = {
8807
8817
  */
8808
8818
  follows?: (number) | null;
8809
8819
  /**
8810
- * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
8820
+ * 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
8821
  */
8812
8822
  igReelsAvgWatchTime?: number;
8813
8823
  /**
8814
- * Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
8824
+ * 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
8825
  */
8816
8826
  igReelsVideoViewTotalTime?: number;
8817
8827
  /**
@@ -8848,6 +8858,16 @@ export type PostAnalytics = {
8848
8858
  audienceCountries?: {
8849
8859
  [key: string]: (number);
8850
8860
  };
8861
+ /**
8862
+ * Facebook Reels only: plays that were replays (Meta fb_reels_replay_count). Summed across accounts. 0 for other media and platforms.
8863
+ */
8864
+ replays?: number;
8865
+ /**
8866
+ * Facebook Reels only: share of plays still watching at each second of the Reel, keyed by the second from "0", fractions 0 to 1 (Meta post_video_retention_graph). Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
8867
+ */
8868
+ retentionCurve?: {
8869
+ [key: string]: (number);
8870
+ };
8851
8871
  /**
8852
8872
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
8853
8873
  */
@@ -16508,6 +16528,16 @@ export type GetPostTimelineResponse = ({
16508
16528
  audienceCountries?: {
16509
16529
  [key: string]: (number);
16510
16530
  };
16531
+ /**
16532
+ * Facebook Reels only: plays that were replays, as of this date; 0 elsewhere
16533
+ */
16534
+ replays?: number;
16535
+ /**
16536
+ * Facebook Reels only: share of plays still watching at each second as of this date, keyed by the second, fractions 0 to 1; empty object elsewhere
16537
+ */
16538
+ retentionCurve?: {
16539
+ [key: string]: (number);
16540
+ };
16511
16541
  }>;
16512
16542
  });
16513
16543