@zernio/node 0.2.1021 → 0.2.1023

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
@@ -23355,7 +23355,7 @@ type UpdateFacebookPageResponse = ({
23355
23355
  });
23356
23356
  type UpdateFacebookPageError = (unknown | {
23357
23357
  error?: string;
23358
- });
23358
+ } | ErrorResponse);
23359
23359
  type GetLinkedInOrganizationsData = {
23360
23360
  path: {
23361
23361
  accountId: string;
@@ -23605,7 +23605,7 @@ type UpdateLinkedInOrganizationResponse = ({
23605
23605
  });
23606
23606
  type UpdateLinkedInOrganizationError = (unknown | {
23607
23607
  error?: string;
23608
- });
23608
+ } | ErrorResponse);
23609
23609
  type GetLinkedInMentionsData = {
23610
23610
  path: {
23611
23611
  /**
@@ -24094,7 +24094,7 @@ type UpdateGmbLocationResponse = ({
24094
24094
  });
24095
24095
  type UpdateGmbLocationError = (unknown | {
24096
24096
  error?: string;
24097
- });
24097
+ } | ErrorResponse);
24098
24098
  type AssignGoogleBusinessLocationData = {
24099
24099
  body: {
24100
24100
  /**
@@ -39918,7 +39918,7 @@ type GetAdTreeData = {
39918
39918
  */
39919
39919
  adAccountId?: string;
39920
39920
  /**
39921
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
39921
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
39922
39922
  */
39923
39923
  campaignId?: string;
39924
39924
  /**
@@ -39978,6 +39978,10 @@ type GetAdTreeData = {
39978
39978
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
39979
39979
  */
39980
39980
  toDate?: string;
39981
+ /**
39982
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
39983
+ */
39984
+ updatedSince?: string;
39981
39985
  };
39982
39986
  };
39983
39987
  type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
package/dist/index.d.ts CHANGED
@@ -23355,7 +23355,7 @@ type UpdateFacebookPageResponse = ({
23355
23355
  });
23356
23356
  type UpdateFacebookPageError = (unknown | {
23357
23357
  error?: string;
23358
- });
23358
+ } | ErrorResponse);
23359
23359
  type GetLinkedInOrganizationsData = {
23360
23360
  path: {
23361
23361
  accountId: string;
@@ -23605,7 +23605,7 @@ type UpdateLinkedInOrganizationResponse = ({
23605
23605
  });
23606
23606
  type UpdateLinkedInOrganizationError = (unknown | {
23607
23607
  error?: string;
23608
- });
23608
+ } | ErrorResponse);
23609
23609
  type GetLinkedInMentionsData = {
23610
23610
  path: {
23611
23611
  /**
@@ -24094,7 +24094,7 @@ type UpdateGmbLocationResponse = ({
24094
24094
  });
24095
24095
  type UpdateGmbLocationError = (unknown | {
24096
24096
  error?: string;
24097
- });
24097
+ } | ErrorResponse);
24098
24098
  type AssignGoogleBusinessLocationData = {
24099
24099
  body: {
24100
24100
  /**
@@ -39918,7 +39918,7 @@ type GetAdTreeData = {
39918
39918
  */
39919
39919
  adAccountId?: string;
39920
39920
  /**
39921
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
39921
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
39922
39922
  */
39923
39923
  campaignId?: string;
39924
39924
  /**
@@ -39978,6 +39978,10 @@ type GetAdTreeData = {
39978
39978
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
39979
39979
  */
39980
39980
  toDate?: string;
39981
+ /**
39982
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
39983
+ */
39984
+ updatedSince?: string;
39981
39985
  };
39982
39986
  };
39983
39987
  type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
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.1021",
39
+ version: "0.2.1023",
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.1021",
8
+ version: "0.2.1023",
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.1021",
3
+ "version": "0.2.1023",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22468,7 +22468,7 @@ export type UpdateFacebookPageResponse = ({
22468
22468
 
22469
22469
  export type UpdateFacebookPageError = (unknown | {
22470
22470
  error?: string;
22471
- });
22471
+ } | ErrorResponse);
22472
22472
 
22473
22473
  export type GetLinkedInOrganizationsData = {
22474
22474
  path: {
@@ -22733,7 +22733,7 @@ export type UpdateLinkedInOrganizationResponse = ({
22733
22733
 
22734
22734
  export type UpdateLinkedInOrganizationError = (unknown | {
22735
22735
  error?: string;
22736
- });
22736
+ } | ErrorResponse);
22737
22737
 
22738
22738
  export type GetLinkedInMentionsData = {
22739
22739
  path: {
@@ -23267,7 +23267,7 @@ export type UpdateGmbLocationResponse = ({
23267
23267
 
23268
23268
  export type UpdateGmbLocationError = (unknown | {
23269
23269
  error?: string;
23270
- });
23270
+ } | ErrorResponse);
23271
23271
 
23272
23272
  export type AssignGoogleBusinessLocationData = {
23273
23273
  body: {
@@ -40313,7 +40313,7 @@ export type GetAdTreeData = {
40313
40313
  */
40314
40314
  adAccountId?: string;
40315
40315
  /**
40316
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
40316
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
40317
40317
  */
40318
40318
  campaignId?: string;
40319
40319
  /**
@@ -40373,6 +40373,10 @@ export type GetAdTreeData = {
40373
40373
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
40374
40374
  */
40375
40375
  toDate?: string;
40376
+ /**
40377
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
40378
+ */
40379
+ updatedSince?: string;
40376
40380
  };
40377
40381
  };
40378
40382