@getlatedev/node 0.2.874 → 0.2.876

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
@@ -8308,7 +8308,7 @@ type PostAnalytics = {
8308
8308
  */
8309
8309
  videoDurationSeconds?: (number) | null;
8310
8310
  /**
8311
- * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. The engagementRate on the LinkedIn account endpoints is a different formula.
8311
+ * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. When this object is the post-level roll-up of a cross-posted post, the denominator is the SUM of the denominators resolved per platform entry: an entry reporting none of impressions, reach or views is excluded from both sides of the ratio. Each platformAnalytics entry below keeps its own single denominator. The engagementRate on the LinkedIn account endpoints is a different formula.
8312
8312
  */
8313
8313
  engagementRate?: number;
8314
8314
  lastUpdated?: string;
@@ -28761,7 +28761,7 @@ type PurchasePhoneNumberError = (unknown | {
28761
28761
  error?: string;
28762
28762
  } | {
28763
28763
  error?: string;
28764
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
28764
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
28765
28765
  } | {
28766
28766
  error?: string;
28767
28767
  code?: 'CARRIER_UNAVAILABLE';
@@ -29152,7 +29152,7 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
29152
29152
  error?: string;
29153
29153
  } | {
29154
29154
  error?: string;
29155
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
29155
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
29156
29156
  } | {
29157
29157
  error?: string;
29158
29158
  code?: 'CARRIER_UNAVAILABLE';
package/dist/index.d.ts CHANGED
@@ -8308,7 +8308,7 @@ type PostAnalytics = {
8308
8308
  */
8309
8309
  videoDurationSeconds?: (number) | null;
8310
8310
  /**
8311
- * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. The engagementRate on the LinkedIn account endpoints is a different formula.
8311
+ * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. When this object is the post-level roll-up of a cross-posted post, the denominator is the SUM of the denominators resolved per platform entry: an entry reporting none of impressions, reach or views is excluded from both sides of the ratio. Each platformAnalytics entry below keeps its own single denominator. The engagementRate on the LinkedIn account endpoints is a different formula.
8312
8312
  */
8313
8313
  engagementRate?: number;
8314
8314
  lastUpdated?: string;
@@ -28761,7 +28761,7 @@ type PurchasePhoneNumberError = (unknown | {
28761
28761
  error?: string;
28762
28762
  } | {
28763
28763
  error?: string;
28764
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
28764
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
28765
28765
  } | {
28766
28766
  error?: string;
28767
28767
  code?: 'CARRIER_UNAVAILABLE';
@@ -29152,7 +29152,7 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
29152
29152
  error?: string;
29153
29153
  } | {
29154
29154
  error?: string;
29155
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
29155
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
29156
29156
  } | {
29157
29157
  error?: string;
29158
29158
  code?: 'CARRIER_UNAVAILABLE';
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.874",
39
+ version: "0.2.876",
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.874",
8
+ version: "0.2.876",
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.874",
3
+ "version": "0.2.876",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6894,7 +6894,7 @@ export type PostAnalytics = {
6894
6894
  */
6895
6895
  videoDurationSeconds?: (number) | null;
6896
6896
  /**
6897
- * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. The engagementRate on the LinkedIn account endpoints is a different formula.
6897
+ * Percentage, rounded to 2 decimals: (likes + comments + shares + saves) / (impressions or reach or views) * 100. Clicks and follows are never counted. The denominator is the FIRST of impressions, reach, views that is non-zero, so it is not the same basis on every post: a post with impressions divides by impressions, one without falls back to reach, then to views. If you need a single consistent basis (e.g. interactions / reach), compute it from the raw fields above. When this object is the post-level roll-up of a cross-posted post, the denominator is the SUM of the denominators resolved per platform entry: an entry reporting none of impressions, reach or views is excluded from both sides of the ratio. Each platformAnalytics entry below keeps its own single denominator. The engagementRate on the LinkedIn account endpoints is a different formula.
6898
6898
  */
6899
6899
  engagementRate?: number;
6900
6900
  lastUpdated?: string;
@@ -28643,7 +28643,7 @@ export type PurchasePhoneNumberError = (unknown | {
28643
28643
  error?: string;
28644
28644
  } | {
28645
28645
  error?: string;
28646
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
28646
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
28647
28647
  } | {
28648
28648
  error?: string;
28649
28649
  code?: 'CARRIER_UNAVAILABLE';
@@ -29048,7 +29048,7 @@ export type PurchaseWhatsAppPhoneNumberError = (unknown | {
29048
29048
  error?: string;
29049
29049
  } | {
29050
29050
  error?: string;
29051
- code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK';
29051
+ code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE' | 'COUNTRY_OUT_OF_STOCK' | 'NO_WHATSAPP_ELIGIBLE_NUMBER';
29052
29052
  } | {
29053
29053
  error?: string;
29054
29054
  code?: 'CARRIER_UNAVAILABLE';