@getlatedev/node 0.2.1282 → 0.2.1283

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
@@ -48432,7 +48432,7 @@ type ListAdAccountsData = {
48432
48432
  */
48433
48433
  adAccountId?: string;
48434
48434
  /**
48435
- * Google Ads only. `true` returns only the customers this connection accepts as `adAccountId` (or `customerId`) on the other /v1/ads endpoints, i.e. those inside its ad-account selection. Without it every customer the Google login can reach is listed, including ones selected on another connection of the same login, which those endpoints answer with a 400. Ignored on other platforms. On every platform, each item's `selected` flags selection membership without narrowing the list.
48435
+ * `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
48436
48436
  */
48437
48437
  inScopeOnly?: boolean;
48438
48438
  /**
@@ -48575,7 +48575,7 @@ type ListAdAccountsResponse = ({
48575
48575
  */
48576
48576
  unusableReason?: (string) | null;
48577
48577
  /**
48578
- * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` will answer 403 `ad_account_not_selected`.
48578
+ * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
48579
48579
  */
48580
48580
  selected?: boolean;
48581
48581
  }>;
package/dist/index.d.ts CHANGED
@@ -48432,7 +48432,7 @@ type ListAdAccountsData = {
48432
48432
  */
48433
48433
  adAccountId?: string;
48434
48434
  /**
48435
- * Google Ads only. `true` returns only the customers this connection accepts as `adAccountId` (or `customerId`) on the other /v1/ads endpoints, i.e. those inside its ad-account selection. Without it every customer the Google login can reach is listed, including ones selected on another connection of the same login, which those endpoints answer with a 400. Ignored on other platforms. On every platform, each item's `selected` flags selection membership without narrowing the list.
48435
+ * `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
48436
48436
  */
48437
48437
  inScopeOnly?: boolean;
48438
48438
  /**
@@ -48575,7 +48575,7 @@ type ListAdAccountsResponse = ({
48575
48575
  */
48576
48576
  unusableReason?: (string) | null;
48577
48577
  /**
48578
- * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` will answer 403 `ad_account_not_selected`.
48578
+ * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
48579
48579
  */
48580
48580
  selected?: boolean;
48581
48581
  }>;
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: "@getlatedev/node",
39
- version: "0.2.1282",
39
+ version: "0.2.1283",
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: "@getlatedev/node",
8
- version: "0.2.1282",
8
+ version: "0.2.1283",
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": "@getlatedev/node",
3
- "version": "0.2.1282",
3
+ "version": "0.2.1283",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13086,9 +13086,10 @@ export const createAdAccount = <ThrowOnError extends boolean = false>(options: O
13086
13086
  * Every listed ad account carries `selected`: whether it is in the connection's ad-account
13087
13087
  * selection (the ad accounts picked at connect time or in the dashboard picker, the ones
13088
13088
  * Zernio syncs). On a connection without a selection every ad account is `selected: true`.
13089
- * Writes through /v1/ads endpoints to an ad account with `selected: false` are being
13090
- * restricted and will answer `403 ad_account_not_selected`; add it to the selection first
13091
- * (dashboard picker, or `GET /v1/connect/{platform}/ads` with `adAccountIds`).
13089
+ * Writes through /v1/ads endpoints to an ad account with `selected: false` answer
13090
+ * `403 ad_account_not_selected`; add it to the selection first (dashboard picker, or
13091
+ * `GET /v1/connect/{platform}/ads` with `adAccountIds`). The list includes unselected ad
13092
+ * accounts by default; pass `inScopeOnly=true` to get only the ones this connection can use.
13092
13093
  *
13093
13094
  */
13094
13095
  export const listAdAccounts = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListAdAccountsData, ThrowOnError>) => {
@@ -49280,7 +49280,7 @@ export type ListAdAccountsData = {
49280
49280
  */
49281
49281
  adAccountId?: string;
49282
49282
  /**
49283
- * Google Ads only. `true` returns only the customers this connection accepts as `adAccountId` (or `customerId`) on the other /v1/ads endpoints, i.e. those inside its ad-account selection. Without it every customer the Google login can reach is listed, including ones selected on another connection of the same login, which those endpoints answer with a 400. Ignored on other platforms. On every platform, each item's `selected` flags selection membership without narrowing the list.
49283
+ * `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
49284
49284
  */
49285
49285
  inScopeOnly?: boolean;
49286
49286
  /**
@@ -49424,7 +49424,7 @@ export type ListAdAccountsResponse = ({
49424
49424
  */
49425
49425
  unusableReason?: (string) | null;
49426
49426
  /**
49427
- * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` will answer 403 `ad_account_not_selected`.
49427
+ * Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
49428
49428
  */
49429
49429
  selected?: boolean;
49430
49430
  }>;