@getlatedev/node 0.2.1441 → 0.2.1443
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 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -4
package/dist/index.d.mts
CHANGED
|
@@ -4272,6 +4272,12 @@ type AdsTimelineResponse = {
|
|
|
4272
4272
|
* All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
|
|
4273
4273
|
*/
|
|
4274
4274
|
allConversions?: number;
|
|
4275
|
+
/**
|
|
4276
|
+
* `conversions` split by what was counted. Keys are the Meta action_type (e.g. `offsite_conversion.fb_pixel_purchase`) or the Google conversion action name, so a goal change shows as one key ending and another starting. Meta and Google only; empty before 2026-11.
|
|
4277
|
+
*/
|
|
4278
|
+
conversionsByType?: {
|
|
4279
|
+
[key: string]: (number);
|
|
4280
|
+
};
|
|
4275
4281
|
costPerConversion?: number;
|
|
4276
4282
|
/**
|
|
4277
4283
|
* Per-action-type counts merged across all ads on this day. Keys are platform-native action types.
|
|
@@ -18741,7 +18747,6 @@ type current = 'active' | 'restricted' | 'disabled' | 'closed';
|
|
|
18741
18747
|
*
|
|
18742
18748
|
* - Meta `WITH_ISSUES` (payment, policy and account problems)
|
|
18743
18749
|
* - TikTok account punishment or missing balance
|
|
18744
|
-
* - LinkedIn removals
|
|
18745
18750
|
* - any platform status Zernio does not recognize yet (check `issue.raw`)
|
|
18746
18751
|
*
|
|
18747
18752
|
* Ads seen for the first time by a sync never fire it.
|
|
@@ -18803,14 +18808,18 @@ type event9 = 'ad.delivery_issue';
|
|
|
18803
18808
|
*/
|
|
18804
18809
|
type level4 = 'AD';
|
|
18805
18810
|
/**
|
|
18806
|
-
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X and the rest).
|
|
18811
|
+
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X, Reddit and the rest).
|
|
18807
18812
|
*
|
|
18808
18813
|
* Fires when an ad Zernio already tracked changes review outcome:
|
|
18809
18814
|
*
|
|
18810
18815
|
* - `approved`: it leaves review as deliverable, or a rejection is overturned.
|
|
18811
18816
|
* - `rejected`: the platform rejects it.
|
|
18812
18817
|
*
|
|
18813
|
-
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
18818
|
+
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
18819
|
+
*
|
|
18820
|
+
* On X, Pinterest and LinkedIn, Zernio reads the review apart from the delivery status. An ad that leaves review while paused (for example under a paused campaign) still sends `approved`.
|
|
18821
|
+
*
|
|
18822
|
+
* On the other networks the review shows only in the delivery status, so an ad that leaves review paused sends no `approved` event.
|
|
18814
18823
|
*
|
|
18815
18824
|
* Detected by Zernio's own ad sync (and, for Meta, the review poll), so it arrives within one sync cycle of the platform's decision, not instantly. Each outcome is delivered at most once per ad per 24 hours.
|
|
18816
18825
|
*
|
|
@@ -18853,7 +18862,7 @@ type WebhookPayloadAdReview = {
|
|
|
18853
18862
|
*/
|
|
18854
18863
|
raw: string;
|
|
18855
18864
|
/**
|
|
18856
|
-
* Why the platform rejected the ad, when it says. Always empty on `approved`.
|
|
18865
|
+
* Why the platform rejected the ad, when it says. Always empty on `approved`. Pinterest, LinkedIn and Reddit send their own reasons, X sends none, and most other networks only return a generic message.
|
|
18857
18866
|
*/
|
|
18858
18867
|
reasons: Array<{
|
|
18859
18868
|
message: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4272,6 +4272,12 @@ type AdsTimelineResponse = {
|
|
|
4272
4272
|
* All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
|
|
4273
4273
|
*/
|
|
4274
4274
|
allConversions?: number;
|
|
4275
|
+
/**
|
|
4276
|
+
* `conversions` split by what was counted. Keys are the Meta action_type (e.g. `offsite_conversion.fb_pixel_purchase`) or the Google conversion action name, so a goal change shows as one key ending and another starting. Meta and Google only; empty before 2026-11.
|
|
4277
|
+
*/
|
|
4278
|
+
conversionsByType?: {
|
|
4279
|
+
[key: string]: (number);
|
|
4280
|
+
};
|
|
4275
4281
|
costPerConversion?: number;
|
|
4276
4282
|
/**
|
|
4277
4283
|
* Per-action-type counts merged across all ads on this day. Keys are platform-native action types.
|
|
@@ -18741,7 +18747,6 @@ type current = 'active' | 'restricted' | 'disabled' | 'closed';
|
|
|
18741
18747
|
*
|
|
18742
18748
|
* - Meta `WITH_ISSUES` (payment, policy and account problems)
|
|
18743
18749
|
* - TikTok account punishment or missing balance
|
|
18744
|
-
* - LinkedIn removals
|
|
18745
18750
|
* - any platform status Zernio does not recognize yet (check `issue.raw`)
|
|
18746
18751
|
*
|
|
18747
18752
|
* Ads seen for the first time by a sync never fire it.
|
|
@@ -18803,14 +18808,18 @@ type event9 = 'ad.delivery_issue';
|
|
|
18803
18808
|
*/
|
|
18804
18809
|
type level4 = 'AD';
|
|
18805
18810
|
/**
|
|
18806
|
-
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X and the rest).
|
|
18811
|
+
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X, Reddit and the rest).
|
|
18807
18812
|
*
|
|
18808
18813
|
* Fires when an ad Zernio already tracked changes review outcome:
|
|
18809
18814
|
*
|
|
18810
18815
|
* - `approved`: it leaves review as deliverable, or a rejection is overturned.
|
|
18811
18816
|
* - `rejected`: the platform rejects it.
|
|
18812
18817
|
*
|
|
18813
|
-
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
18818
|
+
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
18819
|
+
*
|
|
18820
|
+
* On X, Pinterest and LinkedIn, Zernio reads the review apart from the delivery status. An ad that leaves review while paused (for example under a paused campaign) still sends `approved`.
|
|
18821
|
+
*
|
|
18822
|
+
* On the other networks the review shows only in the delivery status, so an ad that leaves review paused sends no `approved` event.
|
|
18814
18823
|
*
|
|
18815
18824
|
* Detected by Zernio's own ad sync (and, for Meta, the review poll), so it arrives within one sync cycle of the platform's decision, not instantly. Each outcome is delivered at most once per ad per 24 hours.
|
|
18816
18825
|
*
|
|
@@ -18853,7 +18862,7 @@ type WebhookPayloadAdReview = {
|
|
|
18853
18862
|
*/
|
|
18854
18863
|
raw: string;
|
|
18855
18864
|
/**
|
|
18856
|
-
* Why the platform rejected the ad, when it says. Always empty on `approved`.
|
|
18865
|
+
* Why the platform rejected the ad, when it says. Always empty on `approved`. Pinterest, LinkedIn and Reddit send their own reasons, X sends none, and most other networks only return a generic message.
|
|
18857
18866
|
*/
|
|
18858
18867
|
reasons: Array<{
|
|
18859
18868
|
message: 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.1443",
|
|
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.1443",
|
|
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
|
@@ -2081,6 +2081,12 @@ export type AdsTimelineResponse = {
|
|
|
2081
2081
|
* All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
|
|
2082
2082
|
*/
|
|
2083
2083
|
allConversions?: number;
|
|
2084
|
+
/**
|
|
2085
|
+
* `conversions` split by what was counted. Keys are the Meta action_type (e.g. `offsite_conversion.fb_pixel_purchase`) or the Google conversion action name, so a goal change shows as one key ending and another starting. Meta and Google only; empty before 2026-11.
|
|
2086
|
+
*/
|
|
2087
|
+
conversionsByType?: {
|
|
2088
|
+
[key: string]: (number);
|
|
2089
|
+
};
|
|
2084
2090
|
costPerConversion?: number;
|
|
2085
2091
|
/**
|
|
2086
2092
|
* Per-action-type counts merged across all ads on this day. Keys are platform-native action types.
|
|
@@ -17218,7 +17224,6 @@ export type current = 'active' | 'restricted' | 'disabled' | 'closed';
|
|
|
17218
17224
|
*
|
|
17219
17225
|
* - Meta `WITH_ISSUES` (payment, policy and account problems)
|
|
17220
17226
|
* - TikTok account punishment or missing balance
|
|
17221
|
-
* - LinkedIn removals
|
|
17222
17227
|
* - any platform status Zernio does not recognize yet (check `issue.raw`)
|
|
17223
17228
|
*
|
|
17224
17229
|
* Ads seen for the first time by a sync never fire it.
|
|
@@ -17283,14 +17288,18 @@ export type event9 = 'ad.delivery_issue';
|
|
|
17283
17288
|
export type level4 = 'AD';
|
|
17284
17289
|
|
|
17285
17290
|
/**
|
|
17286
|
-
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X and the rest).
|
|
17291
|
+
* Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X, Reddit and the rest).
|
|
17287
17292
|
*
|
|
17288
17293
|
* Fires when an ad Zernio already tracked changes review outcome:
|
|
17289
17294
|
*
|
|
17290
17295
|
* - `approved`: it leaves review as deliverable, or a rejection is overturned.
|
|
17291
17296
|
* - `rejected`: the platform rejects it.
|
|
17292
17297
|
*
|
|
17293
|
-
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
17298
|
+
* Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it.
|
|
17299
|
+
*
|
|
17300
|
+
* On X, Pinterest and LinkedIn, Zernio reads the review apart from the delivery status. An ad that leaves review while paused (for example under a paused campaign) still sends `approved`.
|
|
17301
|
+
*
|
|
17302
|
+
* On the other networks the review shows only in the delivery status, so an ad that leaves review paused sends no `approved` event.
|
|
17294
17303
|
*
|
|
17295
17304
|
* Detected by Zernio's own ad sync (and, for Meta, the review poll), so it arrives within one sync cycle of the platform's decision, not instantly. Each outcome is delivered at most once per ad per 24 hours.
|
|
17296
17305
|
*
|
|
@@ -17333,7 +17342,7 @@ export type WebhookPayloadAdReview = {
|
|
|
17333
17342
|
*/
|
|
17334
17343
|
raw: string;
|
|
17335
17344
|
/**
|
|
17336
|
-
* Why the platform rejected the ad, when it says. Always empty on `approved`.
|
|
17345
|
+
* Why the platform rejected the ad, when it says. Always empty on `approved`. Pinterest, LinkedIn and Reddit send their own reasons, X sends none, and most other networks only return a generic message.
|
|
17337
17346
|
*/
|
|
17338
17347
|
reasons: Array<{
|
|
17339
17348
|
message: string;
|