@getlatedev/node 0.2.1091 → 0.2.1093
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 +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -12
package/dist/index.d.mts
CHANGED
|
@@ -3617,7 +3617,7 @@ type AnalyticsDeltaEntry = {
|
|
|
3617
3617
|
*/
|
|
3618
3618
|
replays?: number;
|
|
3619
3619
|
/**
|
|
3620
|
-
* Facebook Reels only: share
|
|
3620
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object elsewhere.
|
|
3621
3621
|
*/
|
|
3622
3622
|
retentionCurve?: {
|
|
3623
3623
|
[key: string]: (number);
|
|
@@ -6924,12 +6924,12 @@ type ErrorResponse = {
|
|
|
6924
6924
|
* (every Google account is affected and there is nothing to change on your side),
|
|
6925
6925
|
* `ACCOUNT` means your own ad account. A Meta 429 carries neither field.
|
|
6926
6926
|
*
|
|
6927
|
-
* A Zernio Google Ads
|
|
6927
|
+
* A Zernio Google Ads burst-limit 429 carries `budgetScope` instead, and never
|
|
6928
6928
|
* `quotaExhausted`: these are Zernio's own limits, applied before the call
|
|
6929
|
-
* reaches Google
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
6932
|
-
*
|
|
6929
|
+
* reaches Google, and both clear within a minute. `account` is the limit of 15
|
|
6930
|
+
* requests per minute per connected Google Ads account; `user` is the ceiling of
|
|
6931
|
+
* 120 requests per minute per Zernio user across all their Google Ads accounts.
|
|
6932
|
+
* Both are separate axes from `quotaScope`, not the same pool named twice.
|
|
6933
6933
|
*
|
|
6934
6934
|
* A failed Meta ad create (`POST /v1/ads/create`, `POST /v1/ads/boost`,
|
|
6935
6935
|
* `POST /v1/ads/ctwa`) carries `stage`, `adAccountId` and `createdObjects`: where
|
|
@@ -6983,9 +6983,9 @@ type ErrorResponse = {
|
|
|
6983
6983
|
*/
|
|
6984
6984
|
quotaScope?: 'DEVELOPER' | 'ACCOUNT';
|
|
6985
6985
|
/**
|
|
6986
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
6986
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
6987
6987
|
*/
|
|
6988
|
-
budgetScope?: 'user';
|
|
6988
|
+
budgetScope?: 'account' | 'user';
|
|
6989
6989
|
[key: string]: unknown | string | boolean;
|
|
6990
6990
|
};
|
|
6991
6991
|
};
|
|
@@ -7002,9 +7002,9 @@ type stage = 'media' | 'campaign' | 'adset' | 'creative' | 'ad' | 'activation' |
|
|
|
7002
7002
|
*/
|
|
7003
7003
|
type quotaScope = 'DEVELOPER' | 'ACCOUNT';
|
|
7004
7004
|
/**
|
|
7005
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
7005
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
7006
7006
|
*/
|
|
7007
|
-
type budgetScope = 'user';
|
|
7007
|
+
type budgetScope = 'account' | 'user';
|
|
7008
7008
|
/**
|
|
7009
7009
|
* A media item on a native (external/synced) post, as carried by post.external.* webhook payloads. Distinct from the richer MediaItem used for Zernio-authored posts: external items are always already-published and limited to image or video. Kept as a separate schema so the generated SDK model does not collide with MediaItem.
|
|
7010
7010
|
*
|
|
@@ -10543,7 +10543,7 @@ type PostAnalytics = {
|
|
|
10543
10543
|
*/
|
|
10544
10544
|
replays?: number;
|
|
10545
10545
|
/**
|
|
10546
|
-
* Facebook Reels only: share
|
|
10546
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
|
|
10547
10547
|
*/
|
|
10548
10548
|
retentionCurve?: {
|
|
10549
10549
|
[key: string]: (number);
|
|
@@ -17983,7 +17983,7 @@ type GetPostTimelineResponse = ({
|
|
|
17983
17983
|
*/
|
|
17984
17984
|
replays?: number;
|
|
17985
17985
|
/**
|
|
17986
|
-
* Facebook Reels only: share
|
|
17986
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Values are as of this date; empty object elsewhere.
|
|
17987
17987
|
*/
|
|
17988
17988
|
retentionCurve?: {
|
|
17989
17989
|
[key: string]: (number);
|
package/dist/index.d.ts
CHANGED
|
@@ -3617,7 +3617,7 @@ type AnalyticsDeltaEntry = {
|
|
|
3617
3617
|
*/
|
|
3618
3618
|
replays?: number;
|
|
3619
3619
|
/**
|
|
3620
|
-
* Facebook Reels only: share
|
|
3620
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object elsewhere.
|
|
3621
3621
|
*/
|
|
3622
3622
|
retentionCurve?: {
|
|
3623
3623
|
[key: string]: (number);
|
|
@@ -6924,12 +6924,12 @@ type ErrorResponse = {
|
|
|
6924
6924
|
* (every Google account is affected and there is nothing to change on your side),
|
|
6925
6925
|
* `ACCOUNT` means your own ad account. A Meta 429 carries neither field.
|
|
6926
6926
|
*
|
|
6927
|
-
* A Zernio Google Ads
|
|
6927
|
+
* A Zernio Google Ads burst-limit 429 carries `budgetScope` instead, and never
|
|
6928
6928
|
* `quotaExhausted`: these are Zernio's own limits, applied before the call
|
|
6929
|
-
* reaches Google
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
6932
|
-
*
|
|
6929
|
+
* reaches Google, and both clear within a minute. `account` is the limit of 15
|
|
6930
|
+
* requests per minute per connected Google Ads account; `user` is the ceiling of
|
|
6931
|
+
* 120 requests per minute per Zernio user across all their Google Ads accounts.
|
|
6932
|
+
* Both are separate axes from `quotaScope`, not the same pool named twice.
|
|
6933
6933
|
*
|
|
6934
6934
|
* A failed Meta ad create (`POST /v1/ads/create`, `POST /v1/ads/boost`,
|
|
6935
6935
|
* `POST /v1/ads/ctwa`) carries `stage`, `adAccountId` and `createdObjects`: where
|
|
@@ -6983,9 +6983,9 @@ type ErrorResponse = {
|
|
|
6983
6983
|
*/
|
|
6984
6984
|
quotaScope?: 'DEVELOPER' | 'ACCOUNT';
|
|
6985
6985
|
/**
|
|
6986
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
6986
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
6987
6987
|
*/
|
|
6988
|
-
budgetScope?: 'user';
|
|
6988
|
+
budgetScope?: 'account' | 'user';
|
|
6989
6989
|
[key: string]: unknown | string | boolean;
|
|
6990
6990
|
};
|
|
6991
6991
|
};
|
|
@@ -7002,9 +7002,9 @@ type stage = 'media' | 'campaign' | 'adset' | 'creative' | 'ad' | 'activation' |
|
|
|
7002
7002
|
*/
|
|
7003
7003
|
type quotaScope = 'DEVELOPER' | 'ACCOUNT';
|
|
7004
7004
|
/**
|
|
7005
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
7005
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
7006
7006
|
*/
|
|
7007
|
-
type budgetScope = 'user';
|
|
7007
|
+
type budgetScope = 'account' | 'user';
|
|
7008
7008
|
/**
|
|
7009
7009
|
* A media item on a native (external/synced) post, as carried by post.external.* webhook payloads. Distinct from the richer MediaItem used for Zernio-authored posts: external items are always already-published and limited to image or video. Kept as a separate schema so the generated SDK model does not collide with MediaItem.
|
|
7010
7010
|
*
|
|
@@ -10543,7 +10543,7 @@ type PostAnalytics = {
|
|
|
10543
10543
|
*/
|
|
10544
10544
|
replays?: number;
|
|
10545
10545
|
/**
|
|
10546
|
-
* Facebook Reels only: share
|
|
10546
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
|
|
10547
10547
|
*/
|
|
10548
10548
|
retentionCurve?: {
|
|
10549
10549
|
[key: string]: (number);
|
|
@@ -17983,7 +17983,7 @@ type GetPostTimelineResponse = ({
|
|
|
17983
17983
|
*/
|
|
17984
17984
|
replays?: number;
|
|
17985
17985
|
/**
|
|
17986
|
-
* Facebook Reels only: share
|
|
17986
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Values are as of this date; empty object elsewhere.
|
|
17987
17987
|
*/
|
|
17988
17988
|
retentionCurve?: {
|
|
17989
17989
|
[key: string]: (number);
|
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.1093",
|
|
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.1093",
|
|
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
|
@@ -1686,7 +1686,7 @@ export type AnalyticsDeltaEntry = {
|
|
|
1686
1686
|
*/
|
|
1687
1687
|
replays?: number;
|
|
1688
1688
|
/**
|
|
1689
|
-
* Facebook Reels only: share
|
|
1689
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object elsewhere.
|
|
1690
1690
|
*/
|
|
1691
1691
|
retentionCurve?: {
|
|
1692
1692
|
[key: string]: (number);
|
|
@@ -5146,12 +5146,12 @@ export type ErrorResponse = {
|
|
|
5146
5146
|
* (every Google account is affected and there is nothing to change on your side),
|
|
5147
5147
|
* `ACCOUNT` means your own ad account. A Meta 429 carries neither field.
|
|
5148
5148
|
*
|
|
5149
|
-
* A Zernio Google Ads
|
|
5149
|
+
* A Zernio Google Ads burst-limit 429 carries `budgetScope` instead, and never
|
|
5150
5150
|
* `quotaExhausted`: these are Zernio's own limits, applied before the call
|
|
5151
|
-
* reaches Google
|
|
5152
|
-
*
|
|
5153
|
-
*
|
|
5154
|
-
*
|
|
5151
|
+
* reaches Google, and both clear within a minute. `account` is the limit of 15
|
|
5152
|
+
* requests per minute per connected Google Ads account; `user` is the ceiling of
|
|
5153
|
+
* 120 requests per minute per Zernio user across all their Google Ads accounts.
|
|
5154
|
+
* Both are separate axes from `quotaScope`, not the same pool named twice.
|
|
5155
5155
|
*
|
|
5156
5156
|
* A failed Meta ad create (`POST /v1/ads/create`, `POST /v1/ads/boost`,
|
|
5157
5157
|
* `POST /v1/ads/ctwa`) carries `stage`, `adAccountId` and `createdObjects`: where
|
|
@@ -5205,9 +5205,9 @@ export type ErrorResponse = {
|
|
|
5205
5205
|
*/
|
|
5206
5206
|
quotaScope?: 'DEVELOPER' | 'ACCOUNT';
|
|
5207
5207
|
/**
|
|
5208
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
5208
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
5209
5209
|
*/
|
|
5210
|
-
budgetScope?: 'user';
|
|
5210
|
+
budgetScope?: 'account' | 'user';
|
|
5211
5211
|
[key: string]: unknown | string | boolean;
|
|
5212
5212
|
};
|
|
5213
5213
|
};
|
|
@@ -5228,9 +5228,9 @@ export type stage = 'media' | 'campaign' | 'adset' | 'creative' | 'ad' | 'activa
|
|
|
5228
5228
|
export type quotaScope = 'DEVELOPER' | 'ACCOUNT';
|
|
5229
5229
|
|
|
5230
5230
|
/**
|
|
5231
|
-
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is
|
|
5231
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `account` is the limit of 15 requests per minute per connected Google Ads account; `user` is the ceiling of 120 requests per minute per Zernio user across all their Google Ads accounts. Both clear within a minute.
|
|
5232
5232
|
*/
|
|
5233
|
-
export type budgetScope = 'user';
|
|
5233
|
+
export type budgetScope = 'account' | 'user';
|
|
5234
5234
|
|
|
5235
5235
|
/**
|
|
5236
5236
|
* A media item on a native (external/synced) post, as carried by post.external.* webhook payloads. Distinct from the richer MediaItem used for Zernio-authored posts: external items are always already-published and limited to image or video. Kept as a separate schema so the generated SDK model does not collide with MediaItem.
|
|
@@ -8939,7 +8939,7 @@ export type PostAnalytics = {
|
|
|
8939
8939
|
*/
|
|
8940
8940
|
replays?: number;
|
|
8941
8941
|
/**
|
|
8942
|
-
* Facebook Reels only: share
|
|
8942
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Empty object for other media and platforms. Views-weighted across accounts like impressionSources.
|
|
8943
8943
|
*/
|
|
8944
8944
|
retentionCurve?: {
|
|
8945
8945
|
[key: string]: (number);
|
|
@@ -16728,7 +16728,7 @@ export type GetPostTimelineResponse = ({
|
|
|
16728
16728
|
*/
|
|
16729
16729
|
replays?: number;
|
|
16730
16730
|
/**
|
|
16731
|
-
* Facebook Reels only: share
|
|
16731
|
+
* Facebook Reels only: share still watching at each second of playback, fractions 0 to 1 (Meta post_video_retention_graph). The base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. Values are as of this date; empty object elsewhere.
|
|
16732
16732
|
*/
|
|
16733
16733
|
retentionCurve?: {
|
|
16734
16734
|
[key: string]: (number);
|