@getlatedev/node 0.2.1099 → 0.2.1100
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 +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -12139,7 +12139,7 @@ type TikTokPlatformData = {
|
|
|
12139
12139
|
*/
|
|
12140
12140
|
musicSoundInfo?: {
|
|
12141
12141
|
/**
|
|
12142
|
-
* The id
|
|
12142
|
+
* The clip.id of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (its id publishes too, but viewers may see the sound as unavailable in their country; observed from Germany). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
|
|
12143
12143
|
*/
|
|
12144
12144
|
musicSoundId: string;
|
|
12145
12145
|
/**
|
|
@@ -19993,7 +19993,7 @@ type ListTikTokCommercialMusicData = {
|
|
|
19993
19993
|
type ListTikTokCommercialMusicResponse = ({
|
|
19994
19994
|
tracks?: Array<{
|
|
19995
19995
|
/**
|
|
19996
|
-
* The id
|
|
19996
|
+
* The full track's song clip id. Accepted as musicSoundId, but prefer clip.id: posts published with this id have shown viewers a sound page saying the song is not available in their country (observed from Germany). TikTok rejects the commercial music id itself at publish time.
|
|
19997
19997
|
*/
|
|
19998
19998
|
id?: string;
|
|
19999
19999
|
/**
|
|
@@ -20014,7 +20014,7 @@ type ListTikTokCommercialMusicResponse = ({
|
|
|
20014
20014
|
*/
|
|
20015
20015
|
rank?: number;
|
|
20016
20016
|
/**
|
|
20017
|
-
* The trending excerpt of the track, when TikTok provides one.
|
|
20017
|
+
* The trending excerpt of the track, when TikTok provides one. Send clip.id as musicSoundId: it publishes and its sound page opens for viewers, unlike the full-track id (observed from Germany, 2026-10-06).
|
|
20018
20018
|
*/
|
|
20019
20019
|
clip?: {
|
|
20020
20020
|
id?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -12139,7 +12139,7 @@ type TikTokPlatformData = {
|
|
|
12139
12139
|
*/
|
|
12140
12140
|
musicSoundInfo?: {
|
|
12141
12141
|
/**
|
|
12142
|
-
* The id
|
|
12142
|
+
* The clip.id of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (its id publishes too, but viewers may see the sound as unavailable in their country; observed from Germany). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
|
|
12143
12143
|
*/
|
|
12144
12144
|
musicSoundId: string;
|
|
12145
12145
|
/**
|
|
@@ -19993,7 +19993,7 @@ type ListTikTokCommercialMusicData = {
|
|
|
19993
19993
|
type ListTikTokCommercialMusicResponse = ({
|
|
19994
19994
|
tracks?: Array<{
|
|
19995
19995
|
/**
|
|
19996
|
-
* The id
|
|
19996
|
+
* The full track's song clip id. Accepted as musicSoundId, but prefer clip.id: posts published with this id have shown viewers a sound page saying the song is not available in their country (observed from Germany). TikTok rejects the commercial music id itself at publish time.
|
|
19997
19997
|
*/
|
|
19998
19998
|
id?: string;
|
|
19999
19999
|
/**
|
|
@@ -20014,7 +20014,7 @@ type ListTikTokCommercialMusicResponse = ({
|
|
|
20014
20014
|
*/
|
|
20015
20015
|
rank?: number;
|
|
20016
20016
|
/**
|
|
20017
|
-
* The trending excerpt of the track, when TikTok provides one.
|
|
20017
|
+
* The trending excerpt of the track, when TikTok provides one. Send clip.id as musicSoundId: it publishes and its sound page opens for viewers, unlike the full-track id (observed from Germany, 2026-10-06).
|
|
20018
20018
|
*/
|
|
20019
20019
|
clip?: {
|
|
20020
20020
|
id?: string;
|
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.1100",
|
|
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.1100",
|
|
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
|
@@ -1501,7 +1501,7 @@ export const getInstagramFollowStatus = <ThrowOnError extends boolean = false>(o
|
|
|
1501
1501
|
|
|
1502
1502
|
/**
|
|
1503
1503
|
* List trending commercial music
|
|
1504
|
-
* Returns the 100 currently trending tracks of TikTok's Commercial Music Library for a TikTok account connected through the TikTok for Business app.
|
|
1504
|
+
* Returns the 100 currently trending tracks of TikTok's Commercial Music Library for a TikTok account connected through the TikTok for Business app. Send a track's clip.id as tiktokSettings.musicSoundInfo.musicSoundId when creating a post; fall back to id only when the track has no clip. Both publish, but with the full-track id TikTok has shown viewers "This song is not available in your country" on the sound page (observed from Germany, 2026-10-06), while the clip id gave a working sound page for the same track. The list is not paged; countryCode selects the country chart.
|
|
1505
1505
|
*/
|
|
1506
1506
|
export const listTikTokCommercialMusic = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListTikTokCommercialMusicData, ThrowOnError>) => {
|
|
1507
1507
|
return (options?.client ?? client).get<ListTikTokCommercialMusicResponse, ListTikTokCommercialMusicError, ThrowOnError>({
|
|
@@ -10613,7 +10613,7 @@ export type TikTokPlatformData = {
|
|
|
10613
10613
|
*/
|
|
10614
10614
|
musicSoundInfo?: {
|
|
10615
10615
|
/**
|
|
10616
|
-
* The id
|
|
10616
|
+
* The clip.id of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (its id publishes too, but viewers may see the sound as unavailable in their country; observed from Germany). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
|
|
10617
10617
|
*/
|
|
10618
10618
|
musicSoundId: string;
|
|
10619
10619
|
/**
|
|
@@ -18894,7 +18894,7 @@ export type ListTikTokCommercialMusicData = {
|
|
|
18894
18894
|
export type ListTikTokCommercialMusicResponse = ({
|
|
18895
18895
|
tracks?: Array<{
|
|
18896
18896
|
/**
|
|
18897
|
-
* The id
|
|
18897
|
+
* The full track's song clip id. Accepted as musicSoundId, but prefer clip.id: posts published with this id have shown viewers a sound page saying the song is not available in their country (observed from Germany). TikTok rejects the commercial music id itself at publish time.
|
|
18898
18898
|
*/
|
|
18899
18899
|
id?: string;
|
|
18900
18900
|
/**
|
|
@@ -18915,7 +18915,7 @@ export type ListTikTokCommercialMusicResponse = ({
|
|
|
18915
18915
|
*/
|
|
18916
18916
|
rank?: number;
|
|
18917
18917
|
/**
|
|
18918
|
-
* The trending excerpt of the track, when TikTok provides one.
|
|
18918
|
+
* The trending excerpt of the track, when TikTok provides one. Send clip.id as musicSoundId: it publishes and its sound page opens for viewers, unlike the full-track id (observed from Germany, 2026-10-06).
|
|
18919
18919
|
*/
|
|
18920
18920
|
clip?: {
|
|
18921
18921
|
id?: string;
|