@getlatedev/node 0.2.1085 → 0.2.1086
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 +13 -9
- package/dist/index.d.ts +13 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -9
package/dist/index.d.mts
CHANGED
|
@@ -12967,7 +12967,7 @@ type Webhook = {
|
|
|
12967
12967
|
*/
|
|
12968
12968
|
isActive?: boolean;
|
|
12969
12969
|
/**
|
|
12970
|
-
* Timestamp of last successful webhook delivery
|
|
12970
|
+
* Timestamp of the last successful webhook delivery. On a healthy endpoint it is refreshed at most once every 10 minutes, so it can trail the most recent delivery by up to 10 minutes.
|
|
12971
12971
|
*/
|
|
12972
12972
|
lastFiredAt?: string;
|
|
12973
12973
|
/**
|
|
@@ -20671,13 +20671,16 @@ type ConnectAdsData = {
|
|
|
20671
20671
|
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
20672
20672
|
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
20673
20673
|
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
20674
|
-
* Setting a scope also removes already synced ads
|
|
20675
|
-
* accounts. On Meta the scope also decides
|
|
20676
|
-
* subscribes to ad-account webhooks: only the
|
|
20677
|
-
* every ad account the login can reach. The scope
|
|
20678
|
-
* call returns an `authUrl`, so the Meta Ads account
|
|
20679
|
-
* OAuth is scoped (and only its scoped ad accounts synced and
|
|
20680
|
-
* subscribed) from the start.
|
|
20674
|
+
* Setting a scope also removes already synced ads, campaigns, ad sets
|
|
20675
|
+
* and keywords from de-scoped ad accounts. On Meta the scope also decides
|
|
20676
|
+
* which ad accounts Zernio subscribes to ad-account webhooks: only the
|
|
20677
|
+
* scoped ones, instead of every ad account the login can reach. The scope
|
|
20678
|
+
* is kept when this call returns an `authUrl`, so the Meta Ads account
|
|
20679
|
+
* created after OAuth is scoped (and only its scoped ad accounts synced and
|
|
20680
|
+
* subscribed) from the start. On `googleads` the scope is kept through
|
|
20681
|
+
* OAuth when `redirect_url` is set, so the Google Ads connection created
|
|
20682
|
+
* after OAuth syncs only its scoped customers from the first sync.
|
|
20683
|
+
* For multiple accounts use `adAccountIds` instead.
|
|
20681
20684
|
*
|
|
20682
20685
|
*/
|
|
20683
20686
|
adAccountId?: string;
|
|
@@ -20686,7 +20689,8 @@ type ConnectAdsData = {
|
|
|
20686
20689
|
* support and id shapes as `adAccountId`). Repeat the param
|
|
20687
20690
|
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
20688
20691
|
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
20689
|
-
* wins, and de-scoped ad accounts have their synced ads
|
|
20692
|
+
* wins, and de-scoped ad accounts have their synced ads, campaigns,
|
|
20693
|
+
* ad sets and keywords removed.
|
|
20690
20694
|
* On Meta only the scoped ad accounts get webhook subscriptions,
|
|
20691
20695
|
* including when the call starts a fresh OAuth.
|
|
20692
20696
|
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|
package/dist/index.d.ts
CHANGED
|
@@ -12967,7 +12967,7 @@ type Webhook = {
|
|
|
12967
12967
|
*/
|
|
12968
12968
|
isActive?: boolean;
|
|
12969
12969
|
/**
|
|
12970
|
-
* Timestamp of last successful webhook delivery
|
|
12970
|
+
* Timestamp of the last successful webhook delivery. On a healthy endpoint it is refreshed at most once every 10 minutes, so it can trail the most recent delivery by up to 10 minutes.
|
|
12971
12971
|
*/
|
|
12972
12972
|
lastFiredAt?: string;
|
|
12973
12973
|
/**
|
|
@@ -20671,13 +20671,16 @@ type ConnectAdsData = {
|
|
|
20671
20671
|
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
20672
20672
|
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
20673
20673
|
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
20674
|
-
* Setting a scope also removes already synced ads
|
|
20675
|
-
* accounts. On Meta the scope also decides
|
|
20676
|
-
* subscribes to ad-account webhooks: only the
|
|
20677
|
-
* every ad account the login can reach. The scope
|
|
20678
|
-
* call returns an `authUrl`, so the Meta Ads account
|
|
20679
|
-
* OAuth is scoped (and only its scoped ad accounts synced and
|
|
20680
|
-
* subscribed) from the start.
|
|
20674
|
+
* Setting a scope also removes already synced ads, campaigns, ad sets
|
|
20675
|
+
* and keywords from de-scoped ad accounts. On Meta the scope also decides
|
|
20676
|
+
* which ad accounts Zernio subscribes to ad-account webhooks: only the
|
|
20677
|
+
* scoped ones, instead of every ad account the login can reach. The scope
|
|
20678
|
+
* is kept when this call returns an `authUrl`, so the Meta Ads account
|
|
20679
|
+
* created after OAuth is scoped (and only its scoped ad accounts synced and
|
|
20680
|
+
* subscribed) from the start. On `googleads` the scope is kept through
|
|
20681
|
+
* OAuth when `redirect_url` is set, so the Google Ads connection created
|
|
20682
|
+
* after OAuth syncs only its scoped customers from the first sync.
|
|
20683
|
+
* For multiple accounts use `adAccountIds` instead.
|
|
20681
20684
|
*
|
|
20682
20685
|
*/
|
|
20683
20686
|
adAccountId?: string;
|
|
@@ -20686,7 +20689,8 @@ type ConnectAdsData = {
|
|
|
20686
20689
|
* support and id shapes as `adAccountId`). Repeat the param
|
|
20687
20690
|
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
20688
20691
|
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
20689
|
-
* wins, and de-scoped ad accounts have their synced ads
|
|
20692
|
+
* wins, and de-scoped ad accounts have their synced ads, campaigns,
|
|
20693
|
+
* ad sets and keywords removed.
|
|
20690
20694
|
* On Meta only the scoped ad accounts get webhook subscriptions,
|
|
20691
20695
|
* including when the call starts a fresh OAuth.
|
|
20692
20696
|
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|
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.1086",
|
|
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.1086",
|
|
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
|
@@ -11489,7 +11489,7 @@ export type Webhook = {
|
|
|
11489
11489
|
*/
|
|
11490
11490
|
isActive?: boolean;
|
|
11491
11491
|
/**
|
|
11492
|
-
* Timestamp of last successful webhook delivery
|
|
11492
|
+
* Timestamp of the last successful webhook delivery. On a healthy endpoint it is refreshed at most once every 10 minutes, so it can trail the most recent delivery by up to 10 minutes.
|
|
11493
11493
|
*/
|
|
11494
11494
|
lastFiredAt?: string;
|
|
11495
11495
|
/**
|
|
@@ -19609,13 +19609,16 @@ export type ConnectAdsData = {
|
|
|
19609
19609
|
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
19610
19610
|
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
19611
19611
|
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
19612
|
-
* Setting a scope also removes already synced ads
|
|
19613
|
-
* accounts. On Meta the scope also decides
|
|
19614
|
-
* subscribes to ad-account webhooks: only the
|
|
19615
|
-
* every ad account the login can reach. The scope
|
|
19616
|
-
* call returns an `authUrl`, so the Meta Ads account
|
|
19617
|
-
* OAuth is scoped (and only its scoped ad accounts synced and
|
|
19618
|
-
* subscribed) from the start.
|
|
19612
|
+
* Setting a scope also removes already synced ads, campaigns, ad sets
|
|
19613
|
+
* and keywords from de-scoped ad accounts. On Meta the scope also decides
|
|
19614
|
+
* which ad accounts Zernio subscribes to ad-account webhooks: only the
|
|
19615
|
+
* scoped ones, instead of every ad account the login can reach. The scope
|
|
19616
|
+
* is kept when this call returns an `authUrl`, so the Meta Ads account
|
|
19617
|
+
* created after OAuth is scoped (and only its scoped ad accounts synced and
|
|
19618
|
+
* subscribed) from the start. On `googleads` the scope is kept through
|
|
19619
|
+
* OAuth when `redirect_url` is set, so the Google Ads connection created
|
|
19620
|
+
* after OAuth syncs only its scoped customers from the first sync.
|
|
19621
|
+
* For multiple accounts use `adAccountIds` instead.
|
|
19619
19622
|
*
|
|
19620
19623
|
*/
|
|
19621
19624
|
adAccountId?: string;
|
|
@@ -19624,7 +19627,8 @@ export type ConnectAdsData = {
|
|
|
19624
19627
|
* support and id shapes as `adAccountId`). Repeat the param
|
|
19625
19628
|
* (`?adAccountIds=act_1&adAccountIds=act_2`) or comma-separate
|
|
19626
19629
|
* (`?adAccountIds=act_1,act_2`). Persisted server-side; latest call
|
|
19627
|
-
* wins, and de-scoped ad accounts have their synced ads
|
|
19630
|
+
* wins, and de-scoped ad accounts have their synced ads, campaigns,
|
|
19631
|
+
* ad sets and keywords removed.
|
|
19628
19632
|
* On Meta only the scoped ad accounts get webhook subscriptions,
|
|
19629
19633
|
* including when the call starts a fresh OAuth.
|
|
19630
19634
|
* Omitting both `adAccountId` and `adAccountIds` keeps any previously
|