@zernio/node 0.2.666 → 0.2.668

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
  /**
@@ -30136,6 +30136,10 @@ type AttachCampaignAssetsData = {
30136
30136
  * Zernio Google Ads SocialAccount id — resolves the customer id + refresh token.
30137
30137
  */
30138
30138
  accountId: string;
30139
+ /**
30140
+ * Numeric Google Ads customer id. Required when the connection has multiple Google Ads accounts; optional (and inferred) when it has only one.
30141
+ */
30142
+ customerId?: string;
30139
30143
  /**
30140
30144
  * See POST /v1/ads/create sitelinks — same shape.
30141
30145
  */
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
  /**
@@ -30136,6 +30136,10 @@ type AttachCampaignAssetsData = {
30136
30136
  * Zernio Google Ads SocialAccount id — resolves the customer id + refresh token.
30137
30137
  */
30138
30138
  accountId: string;
30139
+ /**
30140
+ * Numeric Google Ads customer id. Required when the connection has multiple Google Ads accounts; optional (and inferred) when it has only one.
30141
+ */
30142
+ customerId?: string;
30139
30143
  /**
30140
30144
  * See POST /v1/ads/create sitelinks — same shape.
30141
30145
  */
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.666",
39
+ version: "0.2.668",
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.666",
8
+ version: "0.2.668",
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.666",
3
+ "version": "0.2.668",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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
  /**
@@ -30610,6 +30610,10 @@ export type AttachCampaignAssetsData = {
30610
30610
  * Zernio Google Ads SocialAccount id — resolves the customer id + refresh token.
30611
30611
  */
30612
30612
  accountId: string;
30613
+ /**
30614
+ * Numeric Google Ads customer id. Required when the connection has multiple Google Ads accounts; optional (and inferred) when it has only one.
30615
+ */
30616
+ customerId?: string;
30613
30617
  /**
30614
30618
  * See POST /v1/ads/create sitelinks — same shape.
30615
30619
  */