@getlatedev/node 0.2.1092 → 0.2.1094
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 +14 -10
- package/dist/index.d.ts +14 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -10
package/dist/index.d.mts
CHANGED
|
@@ -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
|
*
|
|
@@ -13876,7 +13876,7 @@ type WebhookPayloadComment = {
|
|
|
13876
13876
|
parentCommentId: (string) | null;
|
|
13877
13877
|
/**
|
|
13878
13878
|
* Ad context. Present only when the comment was made on paid content.
|
|
13879
|
-
* Instagram: populated from the webhook payload's value.media.ad_id and value.media.
|
|
13879
|
+
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
13880
13880
|
* Facebook: populated via a Graph API lookup of the parent post's promotion_status.
|
|
13881
13881
|
* Absent for comments on organic posts that are not currently promoted.
|
|
13882
13882
|
*
|
|
@@ -13890,6 +13890,10 @@ type WebhookPayloadComment = {
|
|
|
13890
13890
|
* Ad creative title (Instagram only).
|
|
13891
13891
|
*/
|
|
13892
13892
|
title?: string;
|
|
13893
|
+
/**
|
|
13894
|
+
* Original media ID that Meta reports for the ad (Instagram only).
|
|
13895
|
+
*/
|
|
13896
|
+
originalMediaId?: string;
|
|
13893
13897
|
/**
|
|
13894
13898
|
* Facebook promotion status returned by Graph API. Common values:
|
|
13895
13899
|
* "active" (organic post currently boosted), "ineligible" (dark
|
package/dist/index.d.ts
CHANGED
|
@@ -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
|
*
|
|
@@ -13876,7 +13876,7 @@ type WebhookPayloadComment = {
|
|
|
13876
13876
|
parentCommentId: (string) | null;
|
|
13877
13877
|
/**
|
|
13878
13878
|
* Ad context. Present only when the comment was made on paid content.
|
|
13879
|
-
* Instagram: populated from the webhook payload's value.media.ad_id and value.media.
|
|
13879
|
+
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
13880
13880
|
* Facebook: populated via a Graph API lookup of the parent post's promotion_status.
|
|
13881
13881
|
* Absent for comments on organic posts that are not currently promoted.
|
|
13882
13882
|
*
|
|
@@ -13890,6 +13890,10 @@ type WebhookPayloadComment = {
|
|
|
13890
13890
|
* Ad creative title (Instagram only).
|
|
13891
13891
|
*/
|
|
13892
13892
|
title?: string;
|
|
13893
|
+
/**
|
|
13894
|
+
* Original media ID that Meta reports for the ad (Instagram only).
|
|
13895
|
+
*/
|
|
13896
|
+
originalMediaId?: string;
|
|
13893
13897
|
/**
|
|
13894
13898
|
* Facebook promotion status returned by Graph API. Common values:
|
|
13895
13899
|
* "active" (organic post currently boosted), "ineligible" (dark
|
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.1094",
|
|
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.1094",
|
|
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
|
@@ -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.
|
|
@@ -12430,7 +12430,7 @@ export type WebhookPayloadComment = {
|
|
|
12430
12430
|
parentCommentId: (string) | null;
|
|
12431
12431
|
/**
|
|
12432
12432
|
* Ad context. Present only when the comment was made on paid content.
|
|
12433
|
-
* Instagram: populated from the webhook payload's value.media.ad_id and value.media.
|
|
12433
|
+
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
12434
12434
|
* Facebook: populated via a Graph API lookup of the parent post's promotion_status.
|
|
12435
12435
|
* Absent for comments on organic posts that are not currently promoted.
|
|
12436
12436
|
*
|
|
@@ -12444,6 +12444,10 @@ export type WebhookPayloadComment = {
|
|
|
12444
12444
|
* Ad creative title (Instagram only).
|
|
12445
12445
|
*/
|
|
12446
12446
|
title?: string;
|
|
12447
|
+
/**
|
|
12448
|
+
* Original media ID that Meta reports for the ad (Instagram only).
|
|
12449
|
+
*/
|
|
12450
|
+
originalMediaId?: string;
|
|
12447
12451
|
/**
|
|
12448
12452
|
* Facebook promotion status returned by Graph API. Common values:
|
|
12449
12453
|
* "active" (organic post currently boosted), "ineligible" (dark
|