@zernio/node 0.2.757 → 0.2.759
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 +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -3002,6 +3002,10 @@ type AnalyticsListResponse = {
|
|
|
3002
3002
|
platform?: string;
|
|
3003
3003
|
platformPostUrl?: string;
|
|
3004
3004
|
isExternal?: boolean;
|
|
3005
|
+
/**
|
|
3006
|
+
* True when this post's metrics include paid delivery, so organic reporting should exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile with a fresh organic id and cannot be detected: those still report as false.
|
|
3007
|
+
*/
|
|
3008
|
+
isAd?: boolean;
|
|
3005
3009
|
profileId?: (string) | null;
|
|
3006
3010
|
thumbnailUrl?: string;
|
|
3007
3011
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -8491,7 +8495,7 @@ type TikTokPlatformData = {
|
|
|
8491
8495
|
*/
|
|
8492
8496
|
videoCoverTimestampMs?: number;
|
|
8493
8497
|
/**
|
|
8494
|
-
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
|
|
8498
|
+
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided.
|
|
8495
8499
|
*/
|
|
8496
8500
|
videoCoverImageUrl?: string;
|
|
8497
8501
|
/**
|
|
@@ -8503,11 +8507,11 @@ type TikTokPlatformData = {
|
|
|
8503
8507
|
*/
|
|
8504
8508
|
autoAddMusic?: boolean;
|
|
8505
8509
|
/**
|
|
8506
|
-
* Set true to disclose AI-generated content
|
|
8510
|
+
* Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app.
|
|
8507
8511
|
*/
|
|
8508
8512
|
videoMadeWithAi?: boolean;
|
|
8509
8513
|
/**
|
|
8510
|
-
* Optional long-form
|
|
8514
|
+
* Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted.
|
|
8511
8515
|
*/
|
|
8512
8516
|
description?: string;
|
|
8513
8517
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3002,6 +3002,10 @@ type AnalyticsListResponse = {
|
|
|
3002
3002
|
platform?: string;
|
|
3003
3003
|
platformPostUrl?: string;
|
|
3004
3004
|
isExternal?: boolean;
|
|
3005
|
+
/**
|
|
3006
|
+
* True when this post's metrics include paid delivery, so organic reporting should exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile with a fresh organic id and cannot be detected: those still report as false.
|
|
3007
|
+
*/
|
|
3008
|
+
isAd?: boolean;
|
|
3005
3009
|
profileId?: (string) | null;
|
|
3006
3010
|
thumbnailUrl?: string;
|
|
3007
3011
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -8491,7 +8495,7 @@ type TikTokPlatformData = {
|
|
|
8491
8495
|
*/
|
|
8492
8496
|
videoCoverTimestampMs?: number;
|
|
8493
8497
|
/**
|
|
8494
|
-
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
|
|
8498
|
+
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided.
|
|
8495
8499
|
*/
|
|
8496
8500
|
videoCoverImageUrl?: string;
|
|
8497
8501
|
/**
|
|
@@ -8503,11 +8507,11 @@ type TikTokPlatformData = {
|
|
|
8503
8507
|
*/
|
|
8504
8508
|
autoAddMusic?: boolean;
|
|
8505
8509
|
/**
|
|
8506
|
-
* Set true to disclose AI-generated content
|
|
8510
|
+
* Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app.
|
|
8507
8511
|
*/
|
|
8508
8512
|
videoMadeWithAi?: boolean;
|
|
8509
8513
|
/**
|
|
8510
|
-
* Optional long-form
|
|
8514
|
+
* Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted.
|
|
8511
8515
|
*/
|
|
8512
8516
|
description?: string;
|
|
8513
8517
|
};
|
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.759",
|
|
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.759",
|
|
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
|
@@ -1460,6 +1460,10 @@ export type AnalyticsListResponse = {
|
|
|
1460
1460
|
platform?: string;
|
|
1461
1461
|
platformPostUrl?: string;
|
|
1462
1462
|
isExternal?: boolean;
|
|
1463
|
+
/**
|
|
1464
|
+
* True when this post's metrics include paid delivery, so organic reporting should exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile with a fresh organic id and cannot be detected: those still report as false.
|
|
1465
|
+
*/
|
|
1466
|
+
isAd?: boolean;
|
|
1463
1467
|
profileId?: (string) | null;
|
|
1464
1468
|
thumbnailUrl?: string;
|
|
1465
1469
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -7192,7 +7196,7 @@ export type TikTokPlatformData = {
|
|
|
7192
7196
|
*/
|
|
7193
7197
|
videoCoverTimestampMs?: number;
|
|
7194
7198
|
/**
|
|
7195
|
-
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
|
|
7199
|
+
* Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided.
|
|
7196
7200
|
*/
|
|
7197
7201
|
videoCoverImageUrl?: string;
|
|
7198
7202
|
/**
|
|
@@ -7204,11 +7208,11 @@ export type TikTokPlatformData = {
|
|
|
7204
7208
|
*/
|
|
7205
7209
|
autoAddMusic?: boolean;
|
|
7206
7210
|
/**
|
|
7207
|
-
* Set true to disclose AI-generated content
|
|
7211
|
+
* Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app.
|
|
7208
7212
|
*/
|
|
7209
7213
|
videoMadeWithAi?: boolean;
|
|
7210
7214
|
/**
|
|
7211
|
-
* Optional long-form
|
|
7215
|
+
* Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted.
|
|
7212
7216
|
*/
|
|
7213
7217
|
description?: string;
|
|
7214
7218
|
};
|