@zernio/node 0.2.777 → 0.2.778

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 CHANGED
@@ -8623,7 +8623,7 @@ type TikTokPlatformData = {
8623
8623
  */
8624
8624
  musicSoundInfo?: {
8625
8625
  /**
8626
- * The commercial_music_id of the track.
8626
+ * The id field of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (a song clip id). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
8627
8627
  */
8628
8628
  musicSoundId: string;
8629
8629
  /**
@@ -15368,9 +15368,13 @@ type ListTikTokCommercialMusicData = {
15368
15368
  type ListTikTokCommercialMusicResponse = ({
15369
15369
  tracks?: Array<{
15370
15370
  /**
15371
- * The commercial_music_id to send as musicSoundId
15371
+ * The id to send as musicSoundId (the full track's song clip id). TikTok rejects the commercial music id itself at publish time.
15372
15372
  */
15373
15373
  id?: string;
15374
+ /**
15375
+ * TikTok's commercial_music_id, for reference only
15376
+ */
15377
+ commercialMusicId?: string;
15374
15378
  name?: string;
15375
15379
  artist?: string;
15376
15380
  durationSec?: number;
@@ -15385,9 +15389,10 @@ type ListTikTokCommercialMusicResponse = ({
15385
15389
  */
15386
15390
  rank?: number;
15387
15391
  /**
15388
- * The trending excerpt of the track, when TikTok provides one
15392
+ * The trending excerpt of the track, when TikTok provides one. Its id is also accepted as musicSoundId.
15389
15393
  */
15390
15394
  clip?: {
15395
+ id?: string;
15391
15396
  durationSec?: number;
15392
15397
  previewUrl?: string;
15393
15398
  };
package/dist/index.d.ts CHANGED
@@ -8623,7 +8623,7 @@ type TikTokPlatformData = {
8623
8623
  */
8624
8624
  musicSoundInfo?: {
8625
8625
  /**
8626
- * The commercial_music_id of the track.
8626
+ * The id field of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (a song clip id). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
8627
8627
  */
8628
8628
  musicSoundId: string;
8629
8629
  /**
@@ -15368,9 +15368,13 @@ type ListTikTokCommercialMusicData = {
15368
15368
  type ListTikTokCommercialMusicResponse = ({
15369
15369
  tracks?: Array<{
15370
15370
  /**
15371
- * The commercial_music_id to send as musicSoundId
15371
+ * The id to send as musicSoundId (the full track's song clip id). TikTok rejects the commercial music id itself at publish time.
15372
15372
  */
15373
15373
  id?: string;
15374
+ /**
15375
+ * TikTok's commercial_music_id, for reference only
15376
+ */
15377
+ commercialMusicId?: string;
15374
15378
  name?: string;
15375
15379
  artist?: string;
15376
15380
  durationSec?: number;
@@ -15385,9 +15389,10 @@ type ListTikTokCommercialMusicResponse = ({
15385
15389
  */
15386
15390
  rank?: number;
15387
15391
  /**
15388
- * The trending excerpt of the track, when TikTok provides one
15392
+ * The trending excerpt of the track, when TikTok provides one. Its id is also accepted as musicSoundId.
15389
15393
  */
15390
15394
  clip?: {
15395
+ id?: string;
15391
15396
  durationSec?: number;
15392
15397
  previewUrl?: string;
15393
15398
  };
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.777",
39
+ version: "0.2.778",
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.777",
8
+ version: "0.2.778",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.777",
3
+ "version": "0.2.778",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7317,7 +7317,7 @@ export type TikTokPlatformData = {
7317
7317
  */
7318
7318
  musicSoundInfo?: {
7319
7319
  /**
7320
- * The commercial_music_id of the track.
7320
+ * The id field of a track from GET /v1/accounts/{accountId}/tiktok/commercial-music (a song clip id). TikTok fails the publish with a generic 51065 when given the commercial music id instead.
7321
7321
  */
7322
7322
  musicSoundId: string;
7323
7323
  /**
@@ -14445,9 +14445,13 @@ export type ListTikTokCommercialMusicData = {
14445
14445
  export type ListTikTokCommercialMusicResponse = ({
14446
14446
  tracks?: Array<{
14447
14447
  /**
14448
- * The commercial_music_id to send as musicSoundId
14448
+ * The id to send as musicSoundId (the full track's song clip id). TikTok rejects the commercial music id itself at publish time.
14449
14449
  */
14450
14450
  id?: string;
14451
+ /**
14452
+ * TikTok's commercial_music_id, for reference only
14453
+ */
14454
+ commercialMusicId?: string;
14451
14455
  name?: string;
14452
14456
  artist?: string;
14453
14457
  durationSec?: number;
@@ -14462,9 +14466,10 @@ export type ListTikTokCommercialMusicResponse = ({
14462
14466
  */
14463
14467
  rank?: number;
14464
14468
  /**
14465
- * The trending excerpt of the track, when TikTok provides one
14469
+ * The trending excerpt of the track, when TikTok provides one. Its id is also accepted as musicSoundId.
14466
14470
  */
14467
14471
  clip?: {
14472
+ id?: string;
14468
14473
  durationSec?: number;
14469
14474
  previewUrl?: string;
14470
14475
  };