@zernio/node 0.2.1022 → 0.2.1024

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
@@ -13106,6 +13106,12 @@ type disconnectionType = 'intentional' | 'unintentional';
13106
13106
  * `status.raw` is `WITH_ISSUES` and the `error` block is populated
13107
13107
  * from Meta's `error_code` / `error_summary` / `error_message`.
13108
13108
  *
13109
+ * Review outcomes (an ad leaving `PENDING_REVIEW` for `ACTIVE`,
13110
+ * `DISAPPROVED` and so on) are also emitted from Zernio's own ad sync,
13111
+ * so they arrive even when Meta skips the webhook. `status.raw` is Meta's
13112
+ * `effective_status`. An ad-level outcome is delivered once per status:
13113
+ * whichever source sees it first sends it.
13114
+ *
13109
13115
  */
13110
13116
  type WebhookPayloadAdStatusChanged = {
13111
13117
  /**
@@ -23355,7 +23361,7 @@ type UpdateFacebookPageResponse = ({
23355
23361
  });
23356
23362
  type UpdateFacebookPageError = (unknown | {
23357
23363
  error?: string;
23358
- });
23364
+ } | ErrorResponse);
23359
23365
  type GetLinkedInOrganizationsData = {
23360
23366
  path: {
23361
23367
  accountId: string;
@@ -23605,7 +23611,7 @@ type UpdateLinkedInOrganizationResponse = ({
23605
23611
  });
23606
23612
  type UpdateLinkedInOrganizationError = (unknown | {
23607
23613
  error?: string;
23608
- });
23614
+ } | ErrorResponse);
23609
23615
  type GetLinkedInMentionsData = {
23610
23616
  path: {
23611
23617
  /**
@@ -24094,7 +24100,7 @@ type UpdateGmbLocationResponse = ({
24094
24100
  });
24095
24101
  type UpdateGmbLocationError = (unknown | {
24096
24102
  error?: string;
24097
- });
24103
+ } | ErrorResponse);
24098
24104
  type AssignGoogleBusinessLocationData = {
24099
24105
  body: {
24100
24106
  /**
package/dist/index.d.ts CHANGED
@@ -13106,6 +13106,12 @@ type disconnectionType = 'intentional' | 'unintentional';
13106
13106
  * `status.raw` is `WITH_ISSUES` and the `error` block is populated
13107
13107
  * from Meta's `error_code` / `error_summary` / `error_message`.
13108
13108
  *
13109
+ * Review outcomes (an ad leaving `PENDING_REVIEW` for `ACTIVE`,
13110
+ * `DISAPPROVED` and so on) are also emitted from Zernio's own ad sync,
13111
+ * so they arrive even when Meta skips the webhook. `status.raw` is Meta's
13112
+ * `effective_status`. An ad-level outcome is delivered once per status:
13113
+ * whichever source sees it first sends it.
13114
+ *
13109
13115
  */
13110
13116
  type WebhookPayloadAdStatusChanged = {
13111
13117
  /**
@@ -23355,7 +23361,7 @@ type UpdateFacebookPageResponse = ({
23355
23361
  });
23356
23362
  type UpdateFacebookPageError = (unknown | {
23357
23363
  error?: string;
23358
- });
23364
+ } | ErrorResponse);
23359
23365
  type GetLinkedInOrganizationsData = {
23360
23366
  path: {
23361
23367
  accountId: string;
@@ -23605,7 +23611,7 @@ type UpdateLinkedInOrganizationResponse = ({
23605
23611
  });
23606
23612
  type UpdateLinkedInOrganizationError = (unknown | {
23607
23613
  error?: string;
23608
- });
23614
+ } | ErrorResponse);
23609
23615
  type GetLinkedInMentionsData = {
23610
23616
  path: {
23611
23617
  /**
@@ -24094,7 +24100,7 @@ type UpdateGmbLocationResponse = ({
24094
24100
  });
24095
24101
  type UpdateGmbLocationError = (unknown | {
24096
24102
  error?: string;
24097
- });
24103
+ } | ErrorResponse);
24098
24104
  type AssignGoogleBusinessLocationData = {
24099
24105
  body: {
24100
24106
  /**
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.1022",
39
+ version: "0.2.1024",
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.1022",
8
+ version: "0.2.1024",
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.1022",
3
+ "version": "0.2.1024",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11652,6 +11652,12 @@ export type disconnectionType = 'intentional' | 'unintentional';
11652
11652
  * `status.raw` is `WITH_ISSUES` and the `error` block is populated
11653
11653
  * from Meta's `error_code` / `error_summary` / `error_message`.
11654
11654
  *
11655
+ * Review outcomes (an ad leaving `PENDING_REVIEW` for `ACTIVE`,
11656
+ * `DISAPPROVED` and so on) are also emitted from Zernio's own ad sync,
11657
+ * so they arrive even when Meta skips the webhook. `status.raw` is Meta's
11658
+ * `effective_status`. An ad-level outcome is delivered once per status:
11659
+ * whichever source sees it first sends it.
11660
+ *
11655
11661
  */
11656
11662
  export type WebhookPayloadAdStatusChanged = {
11657
11663
  /**
@@ -22468,7 +22474,7 @@ export type UpdateFacebookPageResponse = ({
22468
22474
 
22469
22475
  export type UpdateFacebookPageError = (unknown | {
22470
22476
  error?: string;
22471
- });
22477
+ } | ErrorResponse);
22472
22478
 
22473
22479
  export type GetLinkedInOrganizationsData = {
22474
22480
  path: {
@@ -22733,7 +22739,7 @@ export type UpdateLinkedInOrganizationResponse = ({
22733
22739
 
22734
22740
  export type UpdateLinkedInOrganizationError = (unknown | {
22735
22741
  error?: string;
22736
- });
22742
+ } | ErrorResponse);
22737
22743
 
22738
22744
  export type GetLinkedInMentionsData = {
22739
22745
  path: {
@@ -23267,7 +23273,7 @@ export type UpdateGmbLocationResponse = ({
23267
23273
 
23268
23274
  export type UpdateGmbLocationError = (unknown | {
23269
23275
  error?: string;
23270
- });
23276
+ } | ErrorResponse);
23271
23277
 
23272
23278
  export type AssignGoogleBusinessLocationData = {
23273
23279
  body: {