@getlatedev/node 0.2.1183 → 0.2.1185

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
@@ -3243,7 +3243,7 @@ type AdPromotedObject = {
3243
3243
  */
3244
3244
  productCatalogId?: string;
3245
3245
  /**
3246
- * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio checks before creation that the set is visible to the token, and a set it cannot see returns a 400 naming promotedObject.productSetId (a catalog ID is caught the same way when the login carries catalog_management, and rejected by Meta otherwise). When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
3246
+ * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio reads the set before creation and returns a 400 naming promotedObject.productSetId when Meta rejects the ID outright. When Meta answers that the login lacks the permission to read it (common without catalog_management, even for a set a live ad set already uses), Zernio leaves the check to Meta's own create validation, which rejects an unusable set or a catalog ID with the same 400. When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
3247
3247
  */
3248
3248
  productSetId?: string;
3249
3249
  /**
@@ -3717,7 +3717,7 @@ type AnalyticsDeltaEntry = {
3717
3717
  */
3718
3718
  completionRate: number;
3719
3719
  /**
3720
- * TikTok business lane: profile views attributed to the post
3720
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post
3721
3721
  */
3722
3722
  profileViews: number;
3723
3723
  /**
@@ -11071,7 +11071,7 @@ type PostAnalytics = {
11071
11071
  */
11072
11072
  completionRate?: number;
11073
11073
  /**
11074
- * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
11074
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok accounts connected through the TikTok for Business app: profile views from users who reached the profile through this post (TikTok T+24-48h). 0 for other platforms.
11075
11075
  */
11076
11076
  profileViews?: number;
11077
11077
  /**
@@ -19202,7 +19202,7 @@ type GetPostTimelineResponse = ({
19202
19202
  */
19203
19203
  completionRate?: number;
19204
19204
  /**
19205
- * TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
19205
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
19206
19206
  */
19207
19207
  profileViews?: number;
19208
19208
  /**
package/dist/index.d.ts CHANGED
@@ -3243,7 +3243,7 @@ type AdPromotedObject = {
3243
3243
  */
3244
3244
  productCatalogId?: string;
3245
3245
  /**
3246
- * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio checks before creation that the set is visible to the token, and a set it cannot see returns a 400 naming promotedObject.productSetId (a catalog ID is caught the same way when the login carries catalog_management, and rejected by Meta otherwise). When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
3246
+ * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio reads the set before creation and returns a 400 naming promotedObject.productSetId when Meta rejects the ID outright. When Meta answers that the login lacks the permission to read it (common without catalog_management, even for a set a live ad set already uses), Zernio leaves the check to Meta's own create validation, which rejects an unusable set or a catalog ID with the same 400. When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
3247
3247
  */
3248
3248
  productSetId?: string;
3249
3249
  /**
@@ -3717,7 +3717,7 @@ type AnalyticsDeltaEntry = {
3717
3717
  */
3718
3718
  completionRate: number;
3719
3719
  /**
3720
- * TikTok business lane: profile views attributed to the post
3720
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post
3721
3721
  */
3722
3722
  profileViews: number;
3723
3723
  /**
@@ -11071,7 +11071,7 @@ type PostAnalytics = {
11071
11071
  */
11072
11072
  completionRate?: number;
11073
11073
  /**
11074
- * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
11074
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok accounts connected through the TikTok for Business app: profile views from users who reached the profile through this post (TikTok T+24-48h). 0 for other platforms.
11075
11075
  */
11076
11076
  profileViews?: number;
11077
11077
  /**
@@ -19202,7 +19202,7 @@ type GetPostTimelineResponse = ({
19202
19202
  */
19203
19203
  completionRate?: number;
19204
19204
  /**
19205
- * TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
19205
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
19206
19206
  */
19207
19207
  profileViews?: number;
19208
19208
  /**
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.1183",
39
+ version: "0.2.1185",
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.1183",
8
+ version: "0.2.1185",
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.1183",
3
+ "version": "0.2.1185",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13391,7 +13391,9 @@ export const getLinkedInSupplyForecast = <ThrowOnError extends boolean = false>(
13391
13391
  * List Meta product catalogs
13392
13392
  * Lists the Meta product catalogs a business portfolio owns or has been shared, for catalog and shopping ads.
13393
13393
  *
13394
- * The business comes from `businessId`, else the ad account's owner (`adAccountId`), else the WhatsApp Business Account's owner when `accountId` is a WhatsApp connection, else the only business the Meta login can see. Reads work with scopes customers already granted.
13394
+ * The business comes from `businessId`, else the ad account's owner (`adAccountId`), else the WhatsApp Business Account's owner when `accountId` is a WhatsApp connection, else the only business the Meta login can see.
13395
+ *
13396
+ * Listing catalogs needs catalog_management on the Meta login. The permission is pending Meta App Review and is not requested on connect yet, so most logins get the 403 below (Meta's code 100 "This application has not been approved to use this api"); pass catalogAccountId naming a facebook, instagram or metaads connection whose Meta login already holds it. Creating a catalog_sales ad from a known product set ID does not need it (see promotedObject.productSetId on POST /v1/ads/create).
13395
13397
  *
13396
13398
  */
13397
13399
  export const listAdCatalogs = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListAdCatalogsData, ThrowOnError>) => {
@@ -1265,7 +1265,7 @@ export type AdPromotedObject = {
1265
1265
  */
1266
1266
  productCatalogId?: string;
1267
1267
  /**
1268
- * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio checks before creation that the set is visible to the token, and a set it cannot see returns a 400 naming promotedObject.productSetId (a catalog ID is caught the same way when the login carries catalog_management, and rejected by Meta otherwise). When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
1268
+ * Meta product SET ID, for example from GET /v1/ads/catalogs/{catalogId}/product-sets. Creating catalog ads needs only ads_management on the Meta login, not catalog_management. Zernio reads the set before creation and returns a 400 naming promotedObject.productSetId when Meta rejects the ID outright. When Meta answers that the login lacks the permission to read it (common without catalog_management, even for a set a live ad set already uses), Zernio leaves the check to Meta's own create validation, which rejects an unusable set or a catalog ID with the same 400. When the login can also read the set's catalog (catalog_management), a mismatch with productCatalogId returns a 400 naming promotedObject.productCatalogId; otherwise Meta judges the catalog match. With validateOnly and a new campaign, Meta cannot dry-run the set inside the ad set, so the adSet result carries a reason; pass existingCampaignId to dry-run it in full.
1269
1269
  */
1270
1270
  productSetId?: string;
1271
1271
  /**
@@ -1755,7 +1755,7 @@ export type AnalyticsDeltaEntry = {
1755
1755
  */
1756
1756
  completionRate: number;
1757
1757
  /**
1758
- * TikTok business lane: profile views attributed to the post
1758
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post
1759
1759
  */
1760
1760
  profileViews: number;
1761
1761
  /**
@@ -9459,7 +9459,7 @@ export type PostAnalytics = {
9459
9459
  */
9460
9460
  completionRate?: number;
9461
9461
  /**
9462
- * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
9462
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok accounts connected through the TikTok for Business app: profile views from users who reached the profile through this post (TikTok T+24-48h). 0 for other platforms.
9463
9463
  */
9464
9464
  profileViews?: number;
9465
9465
  /**
@@ -17966,7 +17966,7 @@ export type GetPostTimelineResponse = ({
17966
17966
  */
17967
17967
  completionRate?: number;
17968
17968
  /**
17969
- * TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
17969
+ * Instagram feed posts (images and carousels; 0 on Reels and Stories) and TikTok business lane: profile views attributed to the post on this date; 0 elsewhere
17970
17970
  */
17971
17971
  profileViews?: number;
17972
17972
  /**