@zernio/node 0.2.883 → 0.2.884

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
@@ -17056,7 +17056,12 @@ type ConnectAdsData = {
17056
17056
  * gives one, `details.disableReason`. Unsettled and in-grace accounts
17057
17057
  * are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
17058
17058
  * Setting a scope also removes already synced ads from de-scoped ad
17059
- * accounts. For multiple accounts use `adAccountIds` instead.
17059
+ * accounts. On Meta the scope also decides which ad accounts Zernio
17060
+ * subscribes to ad-account webhooks: only the scoped ones, instead of
17061
+ * every ad account the login can reach. The scope is kept when this
17062
+ * call returns an `authUrl`, so the Meta Ads account created after
17063
+ * OAuth is scoped (and only its scoped ad accounts synced and
17064
+ * subscribed) from the start. For multiple accounts use `adAccountIds` instead.
17060
17065
  *
17061
17066
  */
17062
17067
  adAccountId?: string;
@@ -17066,8 +17071,10 @@ type ConnectAdsData = {
17066
17071
  * (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
17067
17072
  * (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
17068
17073
  * wins, and de-scoped ad accounts have their synced ads removed.
17074
+ * On Meta only the scoped ad accounts get webhook subscriptions,
17075
+ * including when the call starts a fresh OAuth.
17069
17076
  * Omitting both `adAccountId` and `adAccountIds` keeps any previously
17070
- * persisted scope unchanged.
17077
+ * persisted scope unchanged (no scope means every reachable ad account).
17071
17078
  *
17072
17079
  */
17073
17080
  adAccountIds?: Array<(string)>;
package/dist/index.d.ts CHANGED
@@ -17056,7 +17056,12 @@ type ConnectAdsData = {
17056
17056
  * gives one, `details.disableReason`. Unsettled and in-grace accounts
17057
17057
  * are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
17058
17058
  * Setting a scope also removes already synced ads from de-scoped ad
17059
- * accounts. For multiple accounts use `adAccountIds` instead.
17059
+ * accounts. On Meta the scope also decides which ad accounts Zernio
17060
+ * subscribes to ad-account webhooks: only the scoped ones, instead of
17061
+ * every ad account the login can reach. The scope is kept when this
17062
+ * call returns an `authUrl`, so the Meta Ads account created after
17063
+ * OAuth is scoped (and only its scoped ad accounts synced and
17064
+ * subscribed) from the start. For multiple accounts use `adAccountIds` instead.
17060
17065
  *
17061
17066
  */
17062
17067
  adAccountId?: string;
@@ -17066,8 +17071,10 @@ type ConnectAdsData = {
17066
17071
  * (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
17067
17072
  * (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
17068
17073
  * wins, and de-scoped ad accounts have their synced ads removed.
17074
+ * On Meta only the scoped ad accounts get webhook subscriptions,
17075
+ * including when the call starts a fresh OAuth.
17069
17076
  * Omitting both `adAccountId` and `adAccountIds` keeps any previously
17070
- * persisted scope unchanged.
17077
+ * persisted scope unchanged (no scope means every reachable ad account).
17071
17078
  *
17072
17079
  */
17073
17080
  adAccountIds?: Array<(string)>;
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.883",
39
+ version: "0.2.884",
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.883",
8
+ version: "0.2.884",
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.883",
3
+ "version": "0.2.884",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16102,7 +16102,12 @@ export type ConnectAdsData = {
16102
16102
  * gives one, `details.disableReason`. Unsettled and in-grace accounts
16103
16103
  * are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
16104
16104
  * Setting a scope also removes already synced ads from de-scoped ad
16105
- * accounts. For multiple accounts use `adAccountIds` instead.
16105
+ * accounts. On Meta the scope also decides which ad accounts Zernio
16106
+ * subscribes to ad-account webhooks: only the scoped ones, instead of
16107
+ * every ad account the login can reach. The scope is kept when this
16108
+ * call returns an `authUrl`, so the Meta Ads account created after
16109
+ * OAuth is scoped (and only its scoped ad accounts synced and
16110
+ * subscribed) from the start. For multiple accounts use `adAccountIds` instead.
16106
16111
  *
16107
16112
  */
16108
16113
  adAccountId?: string;
@@ -16112,8 +16117,10 @@ export type ConnectAdsData = {
16112
16117
  * (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
16113
16118
  * (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
16114
16119
  * wins, and de-scoped ad accounts have their synced ads removed.
16120
+ * On Meta only the scoped ad accounts get webhook subscriptions,
16121
+ * including when the call starts a fresh OAuth.
16115
16122
  * Omitting both `adAccountId` and `adAccountIds` keeps any previously
16116
- * persisted scope unchanged.
16123
+ * persisted scope unchanged (no scope means every reachable ad account).
16117
16124
  *
16118
16125
  */
16119
16126
  adAccountIds?: Array<(string)>;