@zernio/node 0.2.1824 → 0.2.1826
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -2
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -72197,7 +72197,7 @@ type ReplyToAdCommentData = {
|
|
|
72197
72197
|
*/
|
|
72198
72198
|
adId: string;
|
|
72199
72199
|
/**
|
|
72200
|
-
* TikTok comment ID from the ad comment listing.
|
|
72200
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72201
72201
|
*/
|
|
72202
72202
|
commentId: string;
|
|
72203
72203
|
};
|
|
@@ -72233,7 +72233,7 @@ type HideAdCommentData = {
|
|
|
72233
72233
|
*/
|
|
72234
72234
|
adId: string;
|
|
72235
72235
|
/**
|
|
72236
|
-
* TikTok comment ID from the ad comment listing.
|
|
72236
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72237
72237
|
*/
|
|
72238
72238
|
commentId: string;
|
|
72239
72239
|
};
|
|
@@ -72267,7 +72267,7 @@ type DeleteAdCommentData = {
|
|
|
72267
72267
|
*/
|
|
72268
72268
|
adId: string;
|
|
72269
72269
|
/**
|
|
72270
|
-
* TikTok comment ID from the ad comment listing.
|
|
72270
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72271
72271
|
*/
|
|
72272
72272
|
commentId: string;
|
|
72273
72273
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -72197,7 +72197,7 @@ type ReplyToAdCommentData = {
|
|
|
72197
72197
|
*/
|
|
72198
72198
|
adId: string;
|
|
72199
72199
|
/**
|
|
72200
|
-
* TikTok comment ID from the ad comment listing.
|
|
72200
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72201
72201
|
*/
|
|
72202
72202
|
commentId: string;
|
|
72203
72203
|
};
|
|
@@ -72233,7 +72233,7 @@ type HideAdCommentData = {
|
|
|
72233
72233
|
*/
|
|
72234
72234
|
adId: string;
|
|
72235
72235
|
/**
|
|
72236
|
-
* TikTok comment ID from the ad comment listing.
|
|
72236
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72237
72237
|
*/
|
|
72238
72238
|
commentId: string;
|
|
72239
72239
|
};
|
|
@@ -72267,7 +72267,7 @@ type DeleteAdCommentData = {
|
|
|
72267
72267
|
*/
|
|
72268
72268
|
adId: string;
|
|
72269
72269
|
/**
|
|
72270
|
-
* TikTok comment ID from the ad comment listing.
|
|
72270
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
72271
72271
|
*/
|
|
72272
72272
|
commentId: string;
|
|
72273
72273
|
};
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1826",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1826",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -19465,8 +19465,9 @@ export const getAdAccountFinance = <ThrowOnError extends boolean = false>(option
|
|
|
19465
19465
|
*
|
|
19466
19466
|
* - `ready` is `false` when a create or boost would be refused. `blockers` lists why, each with the `code` a refused create returns (`ad_account_unusable`, `ad_account_payment_required`, `linked_account_required`, `meta_security_check_required`, `ad_account_policy_not_accepted`, ...), a `hint` and a `fix` link.
|
|
19467
19467
|
* - `status` is `blocked` when any check is `error`, `attention` when one is `warning`, else `ok`. It also counts problems that stop delivery but not a create, such as a reached spending limit, so `status` can be `blocked` while `ready` is `true`.
|
|
19468
|
-
* - A check that is not `ok` carries the `code` of the create refusal it explains, when there is one: `
|
|
19469
|
-
* - `missing` marks an optional asset that is not set up (a pixel
|
|
19468
|
+
* - A check that is not `ok` carries the `code` of the create refusal it explains, when there is one: `lead_terms` (`missing`) carries `lead_ads_terms_not_accepted`, which only lead ads hit.
|
|
19469
|
+
* - `missing` marks an optional asset that is not set up (a pixel): only the ads that need it are affected.
|
|
19470
|
+
* - `whatsapp` is `ok` with the number when Meta returns it, else `unknown`: Meta does not share a Page's WhatsApp number with every app, so an empty field is not proof that no number is linked.
|
|
19470
19471
|
* - An unsettled balance (`account_status` 3) is a `warning`: Meta still accepts creates on it while a payment method is set.
|
|
19471
19472
|
* - A `fix.url` is either a Meta page or a Zernio dashboard path (starting with `/`).
|
|
19472
19473
|
*
|
|
@@ -73744,7 +73744,7 @@ export type ReplyToAdCommentData = {
|
|
|
73744
73744
|
*/
|
|
73745
73745
|
adId: string;
|
|
73746
73746
|
/**
|
|
73747
|
-
* TikTok comment ID from the ad comment listing.
|
|
73747
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
73748
73748
|
*/
|
|
73749
73749
|
commentId: string;
|
|
73750
73750
|
};
|
|
@@ -73783,7 +73783,7 @@ export type HideAdCommentData = {
|
|
|
73783
73783
|
*/
|
|
73784
73784
|
adId: string;
|
|
73785
73785
|
/**
|
|
73786
|
-
* TikTok comment ID from the ad comment listing.
|
|
73786
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
73787
73787
|
*/
|
|
73788
73788
|
commentId: string;
|
|
73789
73789
|
};
|
|
@@ -73820,7 +73820,7 @@ export type DeleteAdCommentData = {
|
|
|
73820
73820
|
*/
|
|
73821
73821
|
adId: string;
|
|
73822
73822
|
/**
|
|
73823
|
-
* TikTok comment ID from the ad comment listing.
|
|
73823
|
+
* TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
|
|
73824
73824
|
*/
|
|
73825
73825
|
commentId: string;
|
|
73826
73826
|
};
|