@getlatedev/node 0.2.323 → 0.2.325
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 +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -3
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.
|
|
21588
21592
|
*/
|
|
21589
21593
|
breakdowns?: string;
|
|
21590
21594
|
/**
|
|
@@ -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
|
|
21647
|
+
* Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
|
|
21644
21648
|
*/
|
|
21645
21649
|
breakdowns?: string;
|
|
21646
21650
|
/**
|
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.
|
|
21588
21592
|
*/
|
|
21589
21593
|
breakdowns?: string;
|
|
21590
21594
|
/**
|
|
@@ -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
|
|
21647
|
+
* Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
|
|
21644
21648
|
*/
|
|
21645
21649
|
breakdowns?: string;
|
|
21646
21650
|
/**
|
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.
|
|
39
|
+
version: "0.2.325",
|
|
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.
|
|
8
|
+
version: "0.2.325",
|
|
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
|
@@ -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.
|
|
22171
22175
|
*/
|
|
22172
22176
|
breakdowns?: string;
|
|
22173
22177
|
/**
|
|
@@ -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
|
|
22233
|
+
* Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
|
|
22230
22234
|
*/
|
|
22231
22235
|
breakdowns?: string;
|
|
22232
22236
|
/**
|