@zernio/node 0.2.592 → 0.2.594

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
@@ -5566,9 +5566,9 @@ type PlatformTarget = {
5566
5566
  */
5567
5567
  platformPostId?: string;
5568
5568
  /**
5569
- * 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.
5569
+ * 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.
5570
5570
  */
5571
- platformPostUrl?: string;
5571
+ platformPostUrl?: (string) | null;
5572
5572
  /**
5573
5573
  * Timestamp when the post was published to this platform
5574
5574
  */
@@ -29992,8 +29992,9 @@ type BoostPostData = {
29992
29992
  * CTA button label. Send it together with `linkUrl` — a CTA without a
29993
29993
  * destination produces a button that goes nowhere, so sending one alone is a 400.
29994
29994
  *
29995
- * **Meta**: validated against the Meta CTA enum (same values as
29996
- * POST /v1/ads/create), e.g. `LEARN_MORE`, `SHOP_NOW`, `SIGN_UP`.
29995
+ * **Meta**: the CTA enum of POST /v1/ads/create plus
29996
+ * `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
29997
+ * value `linkUrl` is typically the Instagram profile URL.
29997
29998
  *
29998
29999
  * **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
29999
30000
  * platform validates the value. See TikTok's "Enumeration - Call-to-Action".
@@ -30796,6 +30797,8 @@ type CreateStandaloneAdData = {
30796
30797
  *
30797
30798
  * Meta bid strategy applied to the ad set.
30798
30799
  *
30800
+ * OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
30801
+ *
30799
30802
  * @deprecated
30800
30803
  */
30801
30804
  bidStrategy?: (BidStrategy);
package/dist/index.d.ts CHANGED
@@ -5566,9 +5566,9 @@ type PlatformTarget = {
5566
5566
  */
5567
5567
  platformPostId?: string;
5568
5568
  /**
5569
- * 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.
5569
+ * 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.
5570
5570
  */
5571
- platformPostUrl?: string;
5571
+ platformPostUrl?: (string) | null;
5572
5572
  /**
5573
5573
  * Timestamp when the post was published to this platform
5574
5574
  */
@@ -29992,8 +29992,9 @@ type BoostPostData = {
29992
29992
  * CTA button label. Send it together with `linkUrl` — a CTA without a
29993
29993
  * destination produces a button that goes nowhere, so sending one alone is a 400.
29994
29994
  *
29995
- * **Meta**: validated against the Meta CTA enum (same values as
29996
- * POST /v1/ads/create), e.g. `LEARN_MORE`, `SHOP_NOW`, `SIGN_UP`.
29995
+ * **Meta**: the CTA enum of POST /v1/ads/create plus
29996
+ * `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
29997
+ * value `linkUrl` is typically the Instagram profile URL.
29997
29998
  *
29998
29999
  * **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
29999
30000
  * platform validates the value. See TikTok's "Enumeration - Call-to-Action".
@@ -30796,6 +30797,8 @@ type CreateStandaloneAdData = {
30796
30797
  *
30797
30798
  * Meta bid strategy applied to the ad set.
30798
30799
  *
30800
+ * OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
30801
+ *
30799
30802
  * @deprecated
30800
30803
  */
30801
30804
  bidStrategy?: (BidStrategy);
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.592",
39
+ version: "0.2.594",
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.592",
8
+ version: "0.2.594",
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.592",
3
+ "version": "0.2.594",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4426,9 +4426,9 @@ export type PlatformTarget = {
4426
4426
  */
4427
4427
  platformPostId?: string;
4428
4428
  /**
4429
- * 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.
4429
+ * 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.
4430
4430
  */
4431
- platformPostUrl?: string;
4431
+ platformPostUrl?: (string) | null;
4432
4432
  /**
4433
4433
  * Timestamp when the post was published to this platform
4434
4434
  */
@@ -30530,8 +30530,9 @@ export type BoostPostData = {
30530
30530
  * CTA button label. Send it together with `linkUrl` — a CTA without a
30531
30531
  * destination produces a button that goes nowhere, so sending one alone is a 400.
30532
30532
  *
30533
- * **Meta**: validated against the Meta CTA enum (same values as
30534
- * POST /v1/ads/create), e.g. `LEARN_MORE`, `SHOP_NOW`, `SIGN_UP`.
30533
+ * **Meta**: the CTA enum of POST /v1/ads/create plus
30534
+ * `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
30535
+ * value `linkUrl` is typically the Instagram profile URL.
30535
30536
  *
30536
30537
  * **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
30537
30538
  * platform validates the value. See TikTok's "Enumeration - Call-to-Action".
@@ -31337,6 +31338,8 @@ export type CreateStandaloneAdData = {
31337
31338
  *
31338
31339
  * Meta bid strategy applied to the ad set.
31339
31340
  *
31341
+ * OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
31342
+ *
31340
31343
  * @deprecated
31341
31344
  */
31342
31345
  bidStrategy?: (BidStrategy);