@getlatedev/node 0.2.255 → 0.2.256
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 +17 -11
- package/dist/index.d.ts +17 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +17 -11
package/dist/index.d.mts
CHANGED
|
@@ -8723,21 +8723,27 @@ type ConnectAdsData = {
|
|
|
8723
8723
|
*/
|
|
8724
8724
|
accountId?: string;
|
|
8725
8725
|
/**
|
|
8726
|
-
*
|
|
8727
|
-
*
|
|
8728
|
-
*
|
|
8729
|
-
* account
|
|
8730
|
-
*
|
|
8731
|
-
*
|
|
8726
|
+
* Scope ad sync to a single platform ad account. Without this param,
|
|
8727
|
+
* sync covers every ad account the connected token can see. Supported
|
|
8728
|
+
* on `facebook`/`instagram` (Meta, `act_<digits>`), `linkedin` (bare
|
|
8729
|
+
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
8730
|
+
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
8731
|
+
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
8732
|
+
* Meta ids are additionally validated against the connected token;
|
|
8733
|
+
* unreachable IDs return 400. Setting a scope also removes already
|
|
8734
|
+
* synced ads from de-scoped ad accounts. For multiple accounts use
|
|
8735
|
+
* `adAccountIds` instead.
|
|
8732
8736
|
*
|
|
8733
8737
|
*/
|
|
8734
8738
|
adAccountId?: string;
|
|
8735
8739
|
/**
|
|
8736
|
-
*
|
|
8737
|
-
*
|
|
8738
|
-
* (`?adAccountIds=act_1
|
|
8739
|
-
* Persisted server-side; latest call
|
|
8740
|
-
* and
|
|
8740
|
+
* Scope ad sync to multiple platform ad accounts (same platform
|
|
8741
|
+
* support and id shapes as `adAccountId`). Repeat the param
|
|
8742
|
+
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
8743
|
+
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
8744
|
+
* wins, and de-scoped ad accounts have their synced ads removed.
|
|
8745
|
+
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|
|
8746
|
+
* persisted scope unchanged.
|
|
8741
8747
|
*
|
|
8742
8748
|
*/
|
|
8743
8749
|
adAccountIds?: Array<(string)>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8723,21 +8723,27 @@ type ConnectAdsData = {
|
|
|
8723
8723
|
*/
|
|
8724
8724
|
accountId?: string;
|
|
8725
8725
|
/**
|
|
8726
|
-
*
|
|
8727
|
-
*
|
|
8728
|
-
*
|
|
8729
|
-
* account
|
|
8730
|
-
*
|
|
8731
|
-
*
|
|
8726
|
+
* Scope ad sync to a single platform ad account. Without this param,
|
|
8727
|
+
* sync covers every ad account the connected token can see. Supported
|
|
8728
|
+
* on `facebook`/`instagram` (Meta, `act_<digits>`), `linkedin` (bare
|
|
8729
|
+
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
8730
|
+
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
8731
|
+
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
8732
|
+
* Meta ids are additionally validated against the connected token;
|
|
8733
|
+
* unreachable IDs return 400. Setting a scope also removes already
|
|
8734
|
+
* synced ads from de-scoped ad accounts. For multiple accounts use
|
|
8735
|
+
* `adAccountIds` instead.
|
|
8732
8736
|
*
|
|
8733
8737
|
*/
|
|
8734
8738
|
adAccountId?: string;
|
|
8735
8739
|
/**
|
|
8736
|
-
*
|
|
8737
|
-
*
|
|
8738
|
-
* (`?adAccountIds=act_1
|
|
8739
|
-
* Persisted server-side; latest call
|
|
8740
|
-
* and
|
|
8740
|
+
* Scope ad sync to multiple platform ad accounts (same platform
|
|
8741
|
+
* support and id shapes as `adAccountId`). Repeat the param
|
|
8742
|
+
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
8743
|
+
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
8744
|
+
* wins, and de-scoped ad accounts have their synced ads removed.
|
|
8745
|
+
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|
|
8746
|
+
* persisted scope unchanged.
|
|
8741
8747
|
*
|
|
8742
8748
|
*/
|
|
8743
8749
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.256",
|
|
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.
|
|
8
|
+
version: "0.2.256",
|
|
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
|
@@ -8411,21 +8411,27 @@ export type ConnectAdsData = {
|
|
|
8411
8411
|
*/
|
|
8412
8412
|
accountId?: string;
|
|
8413
8413
|
/**
|
|
8414
|
-
*
|
|
8415
|
-
*
|
|
8416
|
-
*
|
|
8417
|
-
* account
|
|
8418
|
-
*
|
|
8419
|
-
*
|
|
8414
|
+
* Scope ad sync to a single platform ad account. Without this param,
|
|
8415
|
+
* sync covers every ad account the connected token can see. Supported
|
|
8416
|
+
* on `facebook`/`instagram` (Meta, `act_<digits>`), `linkedin` (bare
|
|
8417
|
+
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
8418
|
+
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
8419
|
+
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
8420
|
+
* Meta ids are additionally validated against the connected token;
|
|
8421
|
+
* unreachable IDs return 400. Setting a scope also removes already
|
|
8422
|
+
* synced ads from de-scoped ad accounts. For multiple accounts use
|
|
8423
|
+
* `adAccountIds` instead.
|
|
8420
8424
|
*
|
|
8421
8425
|
*/
|
|
8422
8426
|
adAccountId?: string;
|
|
8423
8427
|
/**
|
|
8424
|
-
*
|
|
8425
|
-
*
|
|
8426
|
-
* (`?adAccountIds=act_1
|
|
8427
|
-
* Persisted server-side; latest call
|
|
8428
|
-
* and
|
|
8428
|
+
* Scope ad sync to multiple platform ad accounts (same platform
|
|
8429
|
+
* support and id shapes as `adAccountId`). Repeat the param
|
|
8430
|
+
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
8431
|
+
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
8432
|
+
* wins, and de-scoped ad accounts have their synced ads removed.
|
|
8433
|
+
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|
|
8434
|
+
* persisted scope unchanged.
|
|
8429
8435
|
*
|
|
8430
8436
|
*/
|
|
8431
8437
|
adAccountIds?: Array<(string)>;
|