@zernio/node 0.2.800 → 0.2.802

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
@@ -7542,7 +7542,7 @@ type PlatformAnalytics = {
7542
7542
  syncStatus?: 'synced' | 'pending' | 'unavailable';
7543
7543
  platformPostUrl?: (string) | null;
7544
7544
  /**
7545
- * Error details when status is failed
7545
+ * Error details when status is failed, or why analytics are unavailable for a published entry (e.g. Google Business Profile, a TikTok upload that never received a video id)
7546
7546
  */
7547
7547
  errorMessage?: (string) | null;
7548
7548
  };
@@ -7581,7 +7581,7 @@ type PlatformTarget = {
7581
7581
  */
7582
7582
  platformPostId?: string;
7583
7583
  /**
7584
- * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
7584
+ * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later. If TikTok never returns one, /v1/analytics reports that entry as syncStatus unavailable.
7585
7585
  */
7586
7586
  platformPostUrl?: (string) | null;
7587
7587
  /**
@@ -37288,7 +37288,7 @@ type BoostPostData = {
37288
37288
  */
37289
37289
  goal: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'conversions' | 'app_promotion';
37290
37290
  /**
37291
- * Meta only. Attach the boosted post to this existing ad set instead of creating a campaign. The ad set then owns budget, schedule and targeting; sending those too is a 400.
37291
+ * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
37292
37292
  */
37293
37293
  adSetId?: string;
37294
37294
  /**
package/dist/index.d.ts CHANGED
@@ -7542,7 +7542,7 @@ type PlatformAnalytics = {
7542
7542
  syncStatus?: 'synced' | 'pending' | 'unavailable';
7543
7543
  platformPostUrl?: (string) | null;
7544
7544
  /**
7545
- * Error details when status is failed
7545
+ * Error details when status is failed, or why analytics are unavailable for a published entry (e.g. Google Business Profile, a TikTok upload that never received a video id)
7546
7546
  */
7547
7547
  errorMessage?: (string) | null;
7548
7548
  };
@@ -7581,7 +7581,7 @@ type PlatformTarget = {
7581
7581
  */
7582
7582
  platformPostId?: string;
7583
7583
  /**
7584
- * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
7584
+ * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later. If TikTok never returns one, /v1/analytics reports that entry as syncStatus unavailable.
7585
7585
  */
7586
7586
  platformPostUrl?: (string) | null;
7587
7587
  /**
@@ -37288,7 +37288,7 @@ type BoostPostData = {
37288
37288
  */
37289
37289
  goal: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'conversions' | 'app_promotion';
37290
37290
  /**
37291
- * Meta only. Attach the boosted post to this existing ad set instead of creating a campaign. The ad set then owns budget, schedule and targeting; sending those too is a 400.
37291
+ * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
37292
37292
  */
37293
37293
  adSetId?: string;
37294
37294
  /**
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.800",
39
+ version: "0.2.802",
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.800",
8
+ version: "0.2.802",
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.800",
3
+ "version": "0.2.802",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6150,7 +6150,7 @@ export type PlatformAnalytics = {
6150
6150
  syncStatus?: 'synced' | 'pending' | 'unavailable';
6151
6151
  platformPostUrl?: (string) | null;
6152
6152
  /**
6153
- * Error details when status is failed
6153
+ * Error details when status is failed, or why analytics are unavailable for a published entry (e.g. Google Business Profile, a TikTok upload that never received a video id)
6154
6154
  */
6155
6155
  errorMessage?: (string) | null;
6156
6156
  };
@@ -6192,7 +6192,7 @@ export type PlatformTarget = {
6192
6192
  */
6193
6193
  platformPostId?: string;
6194
6194
  /**
6195
- * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
6195
+ * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later. If TikTok never returns one, /v1/analytics reports that entry as syncStatus unavailable.
6196
6196
  */
6197
6197
  platformPostUrl?: (string) | null;
6198
6198
  /**
@@ -37885,7 +37885,7 @@ export type BoostPostData = {
37885
37885
  */
37886
37886
  goal: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'conversions' | 'app_promotion';
37887
37887
  /**
37888
- * Meta only. Attach the boosted post to this existing ad set instead of creating a campaign. The ad set then owns budget, schedule and targeting; sending those too is a 400.
37888
+ * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
37889
37889
  */
37890
37890
  adSetId?: string;
37891
37891
  /**