@getlatedev/node 0.2.322 → 0.2.324

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
@@ -3513,6 +3513,10 @@ type PostAnalytics = {
3513
3513
  saves?: number;
3514
3514
  clicks?: number;
3515
3515
  views?: number;
3516
+ /**
3517
+ * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
3518
+ */
3519
+ follows?: number;
3516
3520
  /**
3517
3521
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
3518
3522
  */
@@ -6969,7 +6973,7 @@ type GetAnalyticsData = {
6969
6973
  /**
6970
6974
  * Sort by date, engagement, or a specific metric
6971
6975
  */
6972
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
6976
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows';
6973
6977
  /**
6974
6978
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
6975
6979
  */
@@ -21584,7 +21588,7 @@ type GetCampaignAnalyticsData = {
21584
21588
  };
21585
21589
  query?: {
21586
21590
  /**
21587
- * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset.
21591
+ * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
21588
21592
  */
21589
21593
  breakdowns?: string;
21590
21594
  /**
@@ -21631,7 +21635,7 @@ type GetCampaignAnalyticsResponse = ({
21631
21635
  };
21632
21636
  };
21633
21637
  } | unknown);
21634
- type GetCampaignAnalyticsError = ({
21638
+ type GetCampaignAnalyticsError = (ErrorResponse | {
21635
21639
  error?: string;
21636
21640
  } | unknown);
21637
21641
  type GetAdAnalyticsData = {
@@ -21640,7 +21644,7 @@ type GetAdAnalyticsData = {
21640
21644
  };
21641
21645
  query?: {
21642
21646
  /**
21643
- * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
21647
+ * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. TikTok: gender, age, country_code, platform, ac, language. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
21644
21648
  */
21645
21649
  breakdowns?: string;
21646
21650
  /**
@@ -21681,7 +21685,7 @@ type GetAdAnalyticsResponse = ({
21681
21685
  };
21682
21686
  };
21683
21687
  } | unknown);
21684
- type GetAdAnalyticsError = ({
21688
+ type GetAdAnalyticsError = (ErrorResponse | {
21685
21689
  error?: string;
21686
21690
  } | unknown);
21687
21691
  type GetAdTrackingTagsData = {
package/dist/index.d.ts CHANGED
@@ -3513,6 +3513,10 @@ type PostAnalytics = {
3513
3513
  saves?: number;
3514
3514
  clicks?: number;
3515
3515
  views?: number;
3516
+ /**
3517
+ * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
3518
+ */
3519
+ follows?: number;
3516
3520
  /**
3517
3521
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
3518
3522
  */
@@ -6969,7 +6973,7 @@ type GetAnalyticsData = {
6969
6973
  /**
6970
6974
  * Sort by date, engagement, or a specific metric
6971
6975
  */
6972
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
6976
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows';
6973
6977
  /**
6974
6978
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
6975
6979
  */
@@ -21584,7 +21588,7 @@ type GetCampaignAnalyticsData = {
21584
21588
  };
21585
21589
  query?: {
21586
21590
  /**
21587
- * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset.
21591
+ * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
21588
21592
  */
21589
21593
  breakdowns?: string;
21590
21594
  /**
@@ -21631,7 +21635,7 @@ type GetCampaignAnalyticsResponse = ({
21631
21635
  };
21632
21636
  };
21633
21637
  } | unknown);
21634
- type GetCampaignAnalyticsError = ({
21638
+ type GetCampaignAnalyticsError = (ErrorResponse | {
21635
21639
  error?: string;
21636
21640
  } | unknown);
21637
21641
  type GetAdAnalyticsData = {
@@ -21640,7 +21644,7 @@ type GetAdAnalyticsData = {
21640
21644
  };
21641
21645
  query?: {
21642
21646
  /**
21643
- * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
21647
+ * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. TikTok: gender, age, country_code, platform, ac, language. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
21644
21648
  */
21645
21649
  breakdowns?: string;
21646
21650
  /**
@@ -21681,7 +21685,7 @@ type GetAdAnalyticsResponse = ({
21681
21685
  };
21682
21686
  };
21683
21687
  } | unknown);
21684
- type GetAdAnalyticsError = ({
21688
+ type GetAdAnalyticsError = (ErrorResponse | {
21685
21689
  error?: string;
21686
21690
  } | unknown);
21687
21691
  type GetAdTrackingTagsData = {
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.322",
39
+ version: "0.2.324",
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.322",
8
+ version: "0.2.324",
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.322",
3
+ "version": "0.2.324",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2772,6 +2772,10 @@ export type PostAnalytics = {
2772
2772
  saves?: number;
2773
2773
  clicks?: number;
2774
2774
  views?: number;
2775
+ /**
2776
+ * Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.
2777
+ */
2778
+ follows?: number;
2775
2779
  /**
2776
2780
  * Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.
2777
2781
  */
@@ -6384,7 +6388,7 @@ export type GetAnalyticsData = {
6384
6388
  /**
6385
6389
  * Sort by date, engagement, or a specific metric
6386
6390
  */
6387
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
6391
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows';
6388
6392
  /**
6389
6393
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
6390
6394
  */
@@ -22167,7 +22171,7 @@ export type GetCampaignAnalyticsData = {
22167
22171
  };
22168
22172
  query?: {
22169
22173
  /**
22170
- * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset.
22174
+ * Comma-separated breakdown dimensions (Meta only): age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
22171
22175
  */
22172
22176
  breakdowns?: string;
22173
22177
  /**
@@ -22216,7 +22220,7 @@ export type GetCampaignAnalyticsResponse = ({
22216
22220
  };
22217
22221
  } | unknown);
22218
22222
 
22219
- export type GetCampaignAnalyticsError = ({
22223
+ export type GetCampaignAnalyticsError = (ErrorResponse | {
22220
22224
  error?: string;
22221
22225
  } | unknown);
22222
22226
 
@@ -22226,7 +22230,7 @@ export type GetAdAnalyticsData = {
22226
22230
  };
22227
22231
  query?: {
22228
22232
  /**
22229
- * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
22233
+ * Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset. TikTok: gender, age, country_code, platform, ac, language. `placement` is accepted as an alias for `publisher_platform` (Facebook vs Instagram vs Audience Network). The singular `breakdown` is accepted too. Unknown values return 400 with the supported list rather than being ignored.
22230
22234
  */
22231
22235
  breakdowns?: string;
22232
22236
  /**
@@ -22269,7 +22273,7 @@ export type GetAdAnalyticsResponse = ({
22269
22273
  };
22270
22274
  } | unknown);
22271
22275
 
22272
- export type GetAdAnalyticsError = ({
22276
+ export type GetAdAnalyticsError = (ErrorResponse | {
22273
22277
  error?: string;
22274
22278
  } | unknown);
22275
22279