@zernio/node 0.2.751 → 0.2.753

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
@@ -9754,7 +9754,7 @@ type WebhookPayloadCallReceived = {
9754
9754
  };
9755
9755
  type event9 = 'call.received';
9756
9756
  /**
9757
- * Webhook payload for comment received events (Instagram, Facebook, X, YouTube, LinkedIn, Bluesky, Reddit, TikTok). TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
9757
+ * Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
9758
9758
  */
9759
9759
  type WebhookPayloadComment = {
9760
9760
  /**
@@ -9775,7 +9775,7 @@ type WebhookPayloadComment = {
9775
9775
  * Platform's post ID
9776
9776
  */
9777
9777
  platformPostId: string;
9778
- platform: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9778
+ platform: 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9779
9779
  /**
9780
9780
  * Comment text content
9781
9781
  */
@@ -9907,7 +9907,7 @@ type WebhookPayloadComment = {
9907
9907
  timestamp: string;
9908
9908
  };
9909
9909
  type event10 = 'comment.received';
9910
- type platform10 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9910
+ type platform10 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9911
9911
  /**
9912
9912
  * WhatsApp only. Who answers a conversation changed: Meta Business Agent took it over,
9913
9913
  * handed it to you, or another partner app took it.
@@ -36699,6 +36699,10 @@ type CreateStandaloneAdData = {
36699
36699
  * - `campaign`: CBO (Campaign Budget Optimization / Advantage Campaign Budget). The
36700
36700
  * budget AND `bidStrategy` are set on the CAMPAIGN, and Meta distributes spend
36701
36701
  * across ad sets automatically.
36702
+ * The returned ad stores the applied `budgetLevel` and budget in `campaignBudget`
36703
+ * for CBO or `adSetBudget` for ABO. Edit CBO budgets with
36704
+ * `PUT /v1/ads/campaigns/{campaignId}` and ABO budgets with
36705
+ * `PUT /v1/ads/ad-sets/{adSetId}`.
36702
36706
  * Meta requires the budget at exactly one level, never both. Non-Meta platforms ignore
36703
36707
  * this field. Ignored on the attach shape (`adSetId`), which inherits the existing budget.
36704
36708
  *
package/dist/index.d.ts CHANGED
@@ -9754,7 +9754,7 @@ type WebhookPayloadCallReceived = {
9754
9754
  };
9755
9755
  type event9 = 'call.received';
9756
9756
  /**
9757
- * Webhook payload for comment received events (Instagram, Facebook, X, YouTube, LinkedIn, Bluesky, Reddit, TikTok). TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
9757
+ * Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
9758
9758
  */
9759
9759
  type WebhookPayloadComment = {
9760
9760
  /**
@@ -9775,7 +9775,7 @@ type WebhookPayloadComment = {
9775
9775
  * Platform's post ID
9776
9776
  */
9777
9777
  platformPostId: string;
9778
- platform: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9778
+ platform: 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9779
9779
  /**
9780
9780
  * Comment text content
9781
9781
  */
@@ -9907,7 +9907,7 @@ type WebhookPayloadComment = {
9907
9907
  timestamp: string;
9908
9908
  };
9909
9909
  type event10 = 'comment.received';
9910
- type platform10 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9910
+ type platform10 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
9911
9911
  /**
9912
9912
  * WhatsApp only. Who answers a conversation changed: Meta Business Agent took it over,
9913
9913
  * handed it to you, or another partner app took it.
@@ -36699,6 +36699,10 @@ type CreateStandaloneAdData = {
36699
36699
  * - `campaign`: CBO (Campaign Budget Optimization / Advantage Campaign Budget). The
36700
36700
  * budget AND `bidStrategy` are set on the CAMPAIGN, and Meta distributes spend
36701
36701
  * across ad sets automatically.
36702
+ * The returned ad stores the applied `budgetLevel` and budget in `campaignBudget`
36703
+ * for CBO or `adSetBudget` for ABO. Edit CBO budgets with
36704
+ * `PUT /v1/ads/campaigns/{campaignId}` and ABO budgets with
36705
+ * `PUT /v1/ads/ad-sets/{adSetId}`.
36702
36706
  * Meta requires the budget at exactly one level, never both. Non-Meta platforms ignore
36703
36707
  * this field. Ignored on the attach shape (`adSetId`), which inherits the existing budget.
36704
36708
  *
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.751",
39
+ version: "0.2.753",
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.751",
8
+ version: "0.2.753",
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.751",
3
+ "version": "0.2.753",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8196,6 +8196,10 @@ export const getCampaignBidding = <ThrowOnError extends boolean = false>(options
8196
8196
  * | `platformSpecificData.spendCap` | Yes | 400 | 400 |
8197
8197
  * | `accountId` (empty campaigns) | Yes | - | - |
8198
8198
  *
8199
+ * Meta budget edits check the live campaign budget, so an older local ABO stamp
8200
+ * cannot block a CBO campaign. A successful edit repairs local ad budget fields.
8201
+ * A live ABO campaign still returns 409 with the ad-set budget endpoint.
8202
+ *
8199
8203
  * On Google: `LOWEST_COST_WITHOUT_CAP` = Maximize Conversions, `COST_CAP` +
8200
8204
  * `bidAmount` = Target CPA, `LOWEST_COST_WITH_MIN_ROAS` + `roasAverageFloor` =
8201
8205
  * Target ROAS, `LOWEST_COST_WITH_BID_CAP` + `bidAmount` = Maximize Clicks with a
@@ -8514,7 +8514,7 @@ export type WebhookPayloadCallReceived = {
8514
8514
  export type event9 = 'call.received';
8515
8515
 
8516
8516
  /**
8517
- * Webhook payload for comment received events (Instagram, Facebook, X, YouTube, LinkedIn, Bluesky, Reddit, TikTok). TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
8517
+ * Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
8518
8518
  */
8519
8519
  export type WebhookPayloadComment = {
8520
8520
  /**
@@ -8535,7 +8535,7 @@ export type WebhookPayloadComment = {
8535
8535
  * Platform's post ID
8536
8536
  */
8537
8537
  platformPostId: string;
8538
- platform: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
8538
+ platform: 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
8539
8539
  /**
8540
8540
  * Comment text content
8541
8541
  */
@@ -8669,7 +8669,7 @@ export type WebhookPayloadComment = {
8669
8669
 
8670
8670
  export type event10 = 'comment.received';
8671
8671
 
8672
- export type platform10 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
8672
+ export type platform10 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
8673
8673
 
8674
8674
  /**
8675
8675
  * WhatsApp only. Who answers a conversation changed: Meta Business Agent took it over,
@@ -37308,6 +37308,10 @@ export type CreateStandaloneAdData = {
37308
37308
  * - `campaign`: CBO (Campaign Budget Optimization / Advantage Campaign Budget). The
37309
37309
  * budget AND `bidStrategy` are set on the CAMPAIGN, and Meta distributes spend
37310
37310
  * across ad sets automatically.
37311
+ * The returned ad stores the applied `budgetLevel` and budget in `campaignBudget`
37312
+ * for CBO or `adSetBudget` for ABO. Edit CBO budgets with
37313
+ * `PUT /v1/ads/campaigns/{campaignId}` and ABO budgets with
37314
+ * `PUT /v1/ads/ad-sets/{adSetId}`.
37311
37315
  * Meta requires the budget at exactly one level, never both. Non-Meta platforms ignore
37312
37316
  * this field. Ignored on the attach shape (`adSetId`), which inherits the existing budget.
37313
37317
  *