@zernio/node 0.2.711 → 0.2.712
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 +64 -2
- package/dist/index.d.ts +64 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +64 -2
package/dist/index.d.mts
CHANGED
|
@@ -13654,10 +13654,72 @@ type GetTikTokCreatorInfoResponse = ({
|
|
|
13654
13654
|
*/
|
|
13655
13655
|
maxVideoDurationSec?: number;
|
|
13656
13656
|
/**
|
|
13657
|
-
*
|
|
13657
|
+
* Per-interaction descriptors for the comment, duet and stitch toggles. Each key matches the tiktokSettings field of the same name on the create-post request. allow_duet and allow_stitch are null when mediaType is photo, because TikTok does not apply duet or stitch to photo posts.
|
|
13658
13658
|
*/
|
|
13659
13659
|
interactionSettings?: {
|
|
13660
|
-
|
|
13660
|
+
/**
|
|
13661
|
+
* Descriptor for the allow_comment toggle.
|
|
13662
|
+
*/
|
|
13663
|
+
allow_comment?: {
|
|
13664
|
+
/**
|
|
13665
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13666
|
+
*/
|
|
13667
|
+
enabled?: boolean;
|
|
13668
|
+
/**
|
|
13669
|
+
* Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13670
|
+
*/
|
|
13671
|
+
required?: boolean;
|
|
13672
|
+
/**
|
|
13673
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13674
|
+
*/
|
|
13675
|
+
default?: boolean;
|
|
13676
|
+
/**
|
|
13677
|
+
* Human-readable toggle label.
|
|
13678
|
+
*/
|
|
13679
|
+
label?: string;
|
|
13680
|
+
};
|
|
13681
|
+
/**
|
|
13682
|
+
* Descriptor for the allow_duet toggle. Null when mediaType is photo.
|
|
13683
|
+
*/
|
|
13684
|
+
allow_duet?: {
|
|
13685
|
+
/**
|
|
13686
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13687
|
+
*/
|
|
13688
|
+
enabled?: boolean;
|
|
13689
|
+
/**
|
|
13690
|
+
* Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13691
|
+
*/
|
|
13692
|
+
required?: boolean;
|
|
13693
|
+
/**
|
|
13694
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13695
|
+
*/
|
|
13696
|
+
default?: boolean;
|
|
13697
|
+
/**
|
|
13698
|
+
* Human-readable toggle label.
|
|
13699
|
+
*/
|
|
13700
|
+
label?: string;
|
|
13701
|
+
} | null;
|
|
13702
|
+
/**
|
|
13703
|
+
* Descriptor for the allow_stitch toggle. Null when mediaType is photo.
|
|
13704
|
+
*/
|
|
13705
|
+
allow_stitch?: {
|
|
13706
|
+
/**
|
|
13707
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13708
|
+
*/
|
|
13709
|
+
enabled?: boolean;
|
|
13710
|
+
/**
|
|
13711
|
+
* Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13712
|
+
*/
|
|
13713
|
+
required?: boolean;
|
|
13714
|
+
/**
|
|
13715
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13716
|
+
*/
|
|
13717
|
+
default?: boolean;
|
|
13718
|
+
/**
|
|
13719
|
+
* Human-readable toggle label.
|
|
13720
|
+
*/
|
|
13721
|
+
label?: string;
|
|
13722
|
+
} | null;
|
|
13661
13723
|
};
|
|
13662
13724
|
};
|
|
13663
13725
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -13654,10 +13654,72 @@ type GetTikTokCreatorInfoResponse = ({
|
|
|
13654
13654
|
*/
|
|
13655
13655
|
maxVideoDurationSec?: number;
|
|
13656
13656
|
/**
|
|
13657
|
-
*
|
|
13657
|
+
* Per-interaction descriptors for the comment, duet and stitch toggles. Each key matches the tiktokSettings field of the same name on the create-post request. allow_duet and allow_stitch are null when mediaType is photo, because TikTok does not apply duet or stitch to photo posts.
|
|
13658
13658
|
*/
|
|
13659
13659
|
interactionSettings?: {
|
|
13660
|
-
|
|
13660
|
+
/**
|
|
13661
|
+
* Descriptor for the allow_comment toggle.
|
|
13662
|
+
*/
|
|
13663
|
+
allow_comment?: {
|
|
13664
|
+
/**
|
|
13665
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13666
|
+
*/
|
|
13667
|
+
enabled?: boolean;
|
|
13668
|
+
/**
|
|
13669
|
+
* Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13670
|
+
*/
|
|
13671
|
+
required?: boolean;
|
|
13672
|
+
/**
|
|
13673
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13674
|
+
*/
|
|
13675
|
+
default?: boolean;
|
|
13676
|
+
/**
|
|
13677
|
+
* Human-readable toggle label.
|
|
13678
|
+
*/
|
|
13679
|
+
label?: string;
|
|
13680
|
+
};
|
|
13681
|
+
/**
|
|
13682
|
+
* Descriptor for the allow_duet toggle. Null when mediaType is photo.
|
|
13683
|
+
*/
|
|
13684
|
+
allow_duet?: {
|
|
13685
|
+
/**
|
|
13686
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13687
|
+
*/
|
|
13688
|
+
enabled?: boolean;
|
|
13689
|
+
/**
|
|
13690
|
+
* Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13691
|
+
*/
|
|
13692
|
+
required?: boolean;
|
|
13693
|
+
/**
|
|
13694
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13695
|
+
*/
|
|
13696
|
+
default?: boolean;
|
|
13697
|
+
/**
|
|
13698
|
+
* Human-readable toggle label.
|
|
13699
|
+
*/
|
|
13700
|
+
label?: string;
|
|
13701
|
+
} | null;
|
|
13702
|
+
/**
|
|
13703
|
+
* Descriptor for the allow_stitch toggle. Null when mediaType is photo.
|
|
13704
|
+
*/
|
|
13705
|
+
allow_stitch?: {
|
|
13706
|
+
/**
|
|
13707
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
13708
|
+
*/
|
|
13709
|
+
enabled?: boolean;
|
|
13710
|
+
/**
|
|
13711
|
+
* Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
13712
|
+
*/
|
|
13713
|
+
required?: boolean;
|
|
13714
|
+
/**
|
|
13715
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
13716
|
+
*/
|
|
13717
|
+
default?: boolean;
|
|
13718
|
+
/**
|
|
13719
|
+
* Human-readable toggle label.
|
|
13720
|
+
*/
|
|
13721
|
+
label?: string;
|
|
13722
|
+
} | null;
|
|
13661
13723
|
};
|
|
13662
13724
|
};
|
|
13663
13725
|
/**
|
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.712",
|
|
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.712",
|
|
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
|
@@ -12895,10 +12895,72 @@ export type GetTikTokCreatorInfoResponse = ({
|
|
|
12895
12895
|
*/
|
|
12896
12896
|
maxVideoDurationSec?: number;
|
|
12897
12897
|
/**
|
|
12898
|
-
*
|
|
12898
|
+
* Per-interaction descriptors for the comment, duet and stitch toggles. Each key matches the tiktokSettings field of the same name on the create-post request. allow_duet and allow_stitch are null when mediaType is photo, because TikTok does not apply duet or stitch to photo posts.
|
|
12899
12899
|
*/
|
|
12900
12900
|
interactionSettings?: {
|
|
12901
|
-
|
|
12901
|
+
/**
|
|
12902
|
+
* Descriptor for the allow_comment toggle.
|
|
12903
|
+
*/
|
|
12904
|
+
allow_comment?: {
|
|
12905
|
+
/**
|
|
12906
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
12907
|
+
*/
|
|
12908
|
+
enabled?: boolean;
|
|
12909
|
+
/**
|
|
12910
|
+
* Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
12911
|
+
*/
|
|
12912
|
+
required?: boolean;
|
|
12913
|
+
/**
|
|
12914
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
12915
|
+
*/
|
|
12916
|
+
default?: boolean;
|
|
12917
|
+
/**
|
|
12918
|
+
* Human-readable toggle label.
|
|
12919
|
+
*/
|
|
12920
|
+
label?: string;
|
|
12921
|
+
};
|
|
12922
|
+
/**
|
|
12923
|
+
* Descriptor for the allow_duet toggle. Null when mediaType is photo.
|
|
12924
|
+
*/
|
|
12925
|
+
allow_duet?: {
|
|
12926
|
+
/**
|
|
12927
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
12928
|
+
*/
|
|
12929
|
+
enabled?: boolean;
|
|
12930
|
+
/**
|
|
12931
|
+
* Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
12932
|
+
*/
|
|
12933
|
+
required?: boolean;
|
|
12934
|
+
/**
|
|
12935
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
12936
|
+
*/
|
|
12937
|
+
default?: boolean;
|
|
12938
|
+
/**
|
|
12939
|
+
* Human-readable toggle label.
|
|
12940
|
+
*/
|
|
12941
|
+
label?: string;
|
|
12942
|
+
} | null;
|
|
12943
|
+
/**
|
|
12944
|
+
* Descriptor for the allow_stitch toggle. Null when mediaType is photo.
|
|
12945
|
+
*/
|
|
12946
|
+
allow_stitch?: {
|
|
12947
|
+
/**
|
|
12948
|
+
* Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
|
|
12949
|
+
*/
|
|
12950
|
+
enabled?: boolean;
|
|
12951
|
+
/**
|
|
12952
|
+
* Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
|
|
12953
|
+
*/
|
|
12954
|
+
required?: boolean;
|
|
12955
|
+
/**
|
|
12956
|
+
* Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
|
|
12957
|
+
*/
|
|
12958
|
+
default?: boolean;
|
|
12959
|
+
/**
|
|
12960
|
+
* Human-readable toggle label.
|
|
12961
|
+
*/
|
|
12962
|
+
label?: string;
|
|
12963
|
+
} | null;
|
|
12902
12964
|
};
|
|
12903
12965
|
};
|
|
12904
12966
|
/**
|