@tapline/client 0.2.6 → 0.2.8

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.
Files changed (114) hide show
  1. package/README.md +7 -3
  2. package/dist/cjs/client.d.ts +6 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +9 -0
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +6 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +10 -1
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/instagram/client.d.ts +31 -0
  11. package/dist/cjs/services/instagram/client.d.ts.map +1 -0
  12. package/dist/cjs/services/instagram/client.js +60 -0
  13. package/dist/cjs/services/instagram/client.js.map +1 -0
  14. package/dist/cjs/services/instagram/index.d.ts +3 -0
  15. package/dist/cjs/services/instagram/index.d.ts.map +1 -0
  16. package/dist/cjs/services/instagram/index.js +22 -0
  17. package/dist/cjs/services/instagram/index.js.map +1 -0
  18. package/dist/cjs/services/instagram/types.d.ts +2420 -0
  19. package/dist/cjs/services/instagram/types.d.ts.map +1 -0
  20. package/dist/cjs/services/instagram/types.js +4 -0
  21. package/dist/cjs/services/instagram/types.js.map +1 -0
  22. package/dist/cjs/services/pinterest/client.d.ts +2 -2
  23. package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
  24. package/dist/cjs/services/pinterest/client.js +2 -2
  25. package/dist/cjs/services/pinterest/client.js.map +1 -1
  26. package/dist/cjs/services/pinterest/types.d.ts +0 -12
  27. package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
  28. package/dist/cjs/services/pumpfun/client.d.ts +285 -0
  29. package/dist/cjs/services/pumpfun/client.d.ts.map +1 -0
  30. package/dist/cjs/services/pumpfun/client.js +649 -0
  31. package/dist/cjs/services/pumpfun/client.js.map +1 -0
  32. package/dist/cjs/services/pumpfun/index.d.ts +3 -0
  33. package/dist/cjs/services/pumpfun/index.d.ts.map +1 -0
  34. package/dist/cjs/services/pumpfun/index.js +22 -0
  35. package/dist/cjs/services/pumpfun/index.js.map +1 -0
  36. package/dist/cjs/services/pumpfun/types.d.ts +4853 -0
  37. package/dist/cjs/services/pumpfun/types.d.ts.map +1 -0
  38. package/dist/cjs/services/pumpfun/types.js +4 -0
  39. package/dist/cjs/services/pumpfun/types.js.map +1 -0
  40. package/dist/cjs/services/tiktok/client.d.ts +35 -0
  41. package/dist/cjs/services/tiktok/client.d.ts.map +1 -0
  42. package/dist/cjs/services/tiktok/client.js +68 -0
  43. package/dist/cjs/services/tiktok/client.js.map +1 -0
  44. package/dist/cjs/services/tiktok/index.d.ts +3 -0
  45. package/dist/cjs/services/tiktok/index.d.ts.map +1 -0
  46. package/dist/cjs/services/tiktok/index.js +22 -0
  47. package/dist/cjs/services/tiktok/index.js.map +1 -0
  48. package/dist/cjs/services/tiktok/types.d.ts +2427 -0
  49. package/dist/cjs/services/tiktok/types.d.ts.map +1 -0
  50. package/dist/cjs/services/tiktok/types.js +4 -0
  51. package/dist/cjs/services/tiktok/types.js.map +1 -0
  52. package/dist/cjs/services/twitter/client.d.ts +10 -8
  53. package/dist/cjs/services/twitter/client.d.ts.map +1 -1
  54. package/dist/cjs/services/twitter/client.js +15 -15
  55. package/dist/cjs/services/twitter/client.js.map +1 -1
  56. package/dist/cjs/services/twitter/types.d.ts +46 -39
  57. package/dist/cjs/services/twitter/types.d.ts.map +1 -1
  58. package/dist/client.d.ts +6 -0
  59. package/dist/client.d.ts.map +1 -1
  60. package/dist/client.js +9 -0
  61. package/dist/client.js.map +1 -1
  62. package/dist/index.d.ts +6 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +6 -0
  65. package/dist/index.js.map +1 -1
  66. package/dist/services/instagram/client.d.ts +31 -0
  67. package/dist/services/instagram/client.d.ts.map +1 -0
  68. package/dist/services/instagram/client.js +56 -0
  69. package/dist/services/instagram/client.js.map +1 -0
  70. package/dist/services/instagram/index.d.ts +3 -0
  71. package/dist/services/instagram/index.d.ts.map +1 -0
  72. package/dist/services/instagram/index.js +4 -0
  73. package/dist/services/instagram/index.js.map +1 -0
  74. package/dist/services/instagram/types.d.ts +2420 -0
  75. package/dist/services/instagram/types.d.ts.map +1 -0
  76. package/dist/services/instagram/types.js +3 -0
  77. package/dist/services/instagram/types.js.map +1 -0
  78. package/dist/services/pinterest/client.d.ts +2 -2
  79. package/dist/services/pinterest/client.d.ts.map +1 -1
  80. package/dist/services/pinterest/client.js +2 -2
  81. package/dist/services/pinterest/client.js.map +1 -1
  82. package/dist/services/pinterest/types.d.ts +0 -12
  83. package/dist/services/pinterest/types.d.ts.map +1 -1
  84. package/dist/services/pumpfun/client.d.ts +285 -0
  85. package/dist/services/pumpfun/client.d.ts.map +1 -0
  86. package/dist/services/pumpfun/client.js +645 -0
  87. package/dist/services/pumpfun/client.js.map +1 -0
  88. package/dist/services/pumpfun/index.d.ts +3 -0
  89. package/dist/services/pumpfun/index.d.ts.map +1 -0
  90. package/dist/services/pumpfun/index.js +4 -0
  91. package/dist/services/pumpfun/index.js.map +1 -0
  92. package/dist/services/pumpfun/types.d.ts +4853 -0
  93. package/dist/services/pumpfun/types.d.ts.map +1 -0
  94. package/dist/services/pumpfun/types.js +3 -0
  95. package/dist/services/pumpfun/types.js.map +1 -0
  96. package/dist/services/tiktok/client.d.ts +35 -0
  97. package/dist/services/tiktok/client.d.ts.map +1 -0
  98. package/dist/services/tiktok/client.js +64 -0
  99. package/dist/services/tiktok/client.js.map +1 -0
  100. package/dist/services/tiktok/index.d.ts +3 -0
  101. package/dist/services/tiktok/index.d.ts.map +1 -0
  102. package/dist/services/tiktok/index.js +4 -0
  103. package/dist/services/tiktok/index.js.map +1 -0
  104. package/dist/services/tiktok/types.d.ts +2427 -0
  105. package/dist/services/tiktok/types.d.ts.map +1 -0
  106. package/dist/services/tiktok/types.js +3 -0
  107. package/dist/services/tiktok/types.js.map +1 -0
  108. package/dist/services/twitter/client.d.ts +10 -8
  109. package/dist/services/twitter/client.d.ts.map +1 -1
  110. package/dist/services/twitter/client.js +15 -15
  111. package/dist/services/twitter/client.js.map +1 -1
  112. package/dist/services/twitter/types.d.ts +46 -39
  113. package/dist/services/twitter/types.d.ts.map +1 -1
  114. package/package.json +5 -2
@@ -0,0 +1,2427 @@
1
+ export interface ErrorDetail {
2
+ ctx?: Record<string, unknown> | null;
3
+ input?: unknown | null;
4
+ loc?: (string | number | string)[] | null;
5
+ msg?: string | null;
6
+ type?: string | null;
7
+ }
8
+ export interface ErrorResponse {
9
+ code: PublicError;
10
+ details?: ErrorDetail[] | null;
11
+ domain?: string | null;
12
+ message: string;
13
+ request_id: string;
14
+ upgrade_url?: string | null;
15
+ }
16
+ export interface GetCollectionVideosParams {
17
+ /** The `max_cursor` from the previous page, sent as `cursor`. Omit it for the first page. */
18
+ cursor?: string | null;
19
+ /** A public TikTok collection URL: `https://www.tiktok.com/@<handle>/collection/<name>-<id>`. */
20
+ url: string;
21
+ }
22
+ export interface GetCommentRepliesParams {
23
+ /** The comment id: `cid` from `/v1/tiktok/video/comments`. */
24
+ comment_id: string;
25
+ /** The `cursor` from the previous page. Omit it for the first page. */
26
+ cursor?: number | null;
27
+ /** A TikTok video or photo post URL: `https://www.tiktok.com/@<handle>/video/<id>`, `/photo/<id>`, or a `https://vm.tiktok.com/<code>/` share link. */
28
+ url: string;
29
+ }
30
+ export interface GetCommentsParams {
31
+ /** The `cursor` from the previous page. Omit it for the first page. */
32
+ cursor?: number | null;
33
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
34
+ trim?: boolean | null;
35
+ /** A TikTok video or photo post URL: `https://www.tiktok.com/@<handle>/video/<id>`, `/photo/<id>`, or a `https://vm.tiktok.com/<code>/` share link. */
36
+ url: string;
37
+ }
38
+ export type GetCommentsResponse = TikTokCommentsResponse | TikTokTrimmedCommentsResponse;
39
+ export interface GetFollowersParams {
40
+ /** The TikTok handle, with or without a leading @. Send `handle` or `user_id`, not both. */
41
+ handle?: string | null;
42
+ /** The `min_time` from the previous page. Omit it for the first page. */
43
+ min_time?: number | null;
44
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
45
+ trim?: boolean | null;
46
+ /** The numeric TikTok user id (`user.id` from `/v1/tiktok/profile`). Send `handle` or `user_id`, not both. */
47
+ user_id?: string | null;
48
+ }
49
+ export type GetFollowersResponse = TikTokFollowersResponse | TikTokTrimmedFollowersResponse;
50
+ export interface GetFollowingParams {
51
+ /** The TikTok handle, with or without a leading @. */
52
+ handle: string;
53
+ /** The `min_time` from the previous page. Omit it for the first page. */
54
+ min_time?: number | null;
55
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
56
+ trim?: boolean | null;
57
+ }
58
+ export type GetFollowingResponse = TikTokFollowingResponse | TikTokTrimmedFollowingResponse;
59
+ export interface GetProfileParams {
60
+ /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
61
+ cache_max_age?: GetProfileParamsCacheMaxAge | null;
62
+ /** The TikTok handle, with or without a leading @. Send `handle` or `user_id`, not both. */
63
+ handle?: string | null;
64
+ /** The numeric TikTok user id (`user.id` from `/v1/tiktok/profile`). Send `handle` or `user_id`, not both. */
65
+ user_id?: string | null;
66
+ }
67
+ export type GetProfileParamsCacheMaxAge = "1d" | "3d" | "7d" | "14d" | "30d";
68
+ export interface GetProfileVideosParams {
69
+ /** The TikTok handle, with or without a leading @. Send `handle` or `user_id`, not both. */
70
+ handle?: string | null;
71
+ /** The `max_cursor` from the previous page. Omit it for the first page. */
72
+ max_cursor?: string | null;
73
+ /** Two-letter country code for the proxy, such as `US`, `GB` or `PH`. TikTok answers as it does to a viewer in that country; it does not filter results to that country. */
74
+ region?: string | null;
75
+ /** `latest` (default) or `popular`, most viewed first. */
76
+ sort_by?: GetProfileVideosParamsSortBy | null;
77
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
78
+ trim?: boolean | null;
79
+ /** The numeric TikTok user id (`user.id` from `/v1/tiktok/profile`). Send `handle` or `user_id`, not both. */
80
+ user_id?: string | null;
81
+ }
82
+ export type GetProfileVideosParamsSortBy = "latest" | "popular";
83
+ export type GetProfileVideosResponse = TikTokProfileVideosResponse | TikTokTrimmedProfileVideosResponse;
84
+ export interface GetSearchSuggestionsParams {
85
+ /** What to search TikTok for. */
86
+ query: string;
87
+ /** Two-letter country code for the proxy, such as `US`, `GB` or `PH`. TikTok answers as it does to a viewer in that country; it does not filter results to that country. */
88
+ region?: string | null;
89
+ }
90
+ export interface GetSongParams {
91
+ /** The sound's clip id, the number at the end of a sound URL such as `https://www.tiktok.com/music/Different-Acoustic-6717159721276540930`. */
92
+ clipId: string;
93
+ }
94
+ export interface GetSongVideosParams {
95
+ /** The sound's clip id, the number at the end of a sound URL such as `https://www.tiktok.com/music/Different-Acoustic-6717159721276540930`. */
96
+ clipId: string;
97
+ /** The `cursor` from the previous page. Omit it for the first page. */
98
+ cursor?: number | null;
99
+ }
100
+ export interface GetTranscriptParams {
101
+ /** Two-letter language code of the captions, such as `en` or `es`. Omit it for the captions in the video's original language. */
102
+ language?: string | null;
103
+ /** A TikTok video or photo post URL: `https://www.tiktok.com/@<handle>/video/<id>`, `/photo/<id>`, or a `https://vm.tiktok.com/<code>/` share link. */
104
+ url: string;
105
+ /** Accepted for Scrape Creators compatibility. It has no effect: only captions TikTok already has are returned. */
106
+ use_ai_as_fallback?: boolean | null;
107
+ }
108
+ export interface GetTrendingFeedParams {
109
+ /** Two-letter country code, such as `US` or `GB`. The feed is what TikTok serves a viewer in that country, not only videos from it. */
110
+ region: string;
111
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
112
+ trim?: boolean | null;
113
+ }
114
+ export type GetTrendingFeedResponse = TikTokTrendingFeedResponse | TikTokTrimmedTrendingFeedResponse;
115
+ export interface GetVideoParams {
116
+ /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
117
+ cache_max_age?: GetVideoParamsCacheMaxAge | null;
118
+ /** Set to `true` to add `transcript`, the video's WEBVTT captions, or `null` when it has none. */
119
+ get_transcript?: boolean | null;
120
+ /** Two-letter country code for the proxy, such as `US`, `GB` or `PH`. TikTok answers as it does to a viewer in that country; it does not filter results to that country. */
121
+ region?: string | null;
122
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
123
+ trim?: boolean | null;
124
+ /** A TikTok video or photo post URL: `https://www.tiktok.com/@<handle>/video/<id>`, `/photo/<id>`, or a `https://vm.tiktok.com/<code>/` share link. */
125
+ url: string;
126
+ }
127
+ export type GetVideoParamsCacheMaxAge = "1d" | "3d" | "7d" | "14d" | "30d";
128
+ export type GetVideoResponse = TikTokVideoResponse | TikTokTrimmedVideoResponse;
129
+ export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extraction_failed" | "upstream_blocked" | "upstream_unavailable" | "upstream_response_invalid" | "invalid_url_scheme" | "invalid_url_host" | "unauthenticated" | "forbidden" | "resource_forbidden" | "not_found" | "rate_limited" | "invalid_request" | "invalid_cursor" | "insufficient_credits" | "internal_error";
130
+ export interface SearchHashtagParams {
131
+ /** The `cursor` from the previous page. Omit it for the first page. */
132
+ cursor?: number | null;
133
+ /** The hashtag, with or without a leading #. */
134
+ hashtag: string;
135
+ /** Two-letter country code for the proxy, such as `US`, `GB` or `PH`. TikTok answers as it does to a viewer in that country; it does not filter results to that country. */
136
+ region?: string | null;
137
+ /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
138
+ trim?: boolean | null;
139
+ }
140
+ export type SearchHashtagResponse = TikTokHashtagSearchResponse | TikTokTrimmedHashtagSearchResponse;
141
+ export interface TikTokAppAwemeAddedSoundMusicInfo {
142
+ album: string;
143
+ allow_offline_music_to_detail_page?: boolean;
144
+ artists: string | null;
145
+ author: string;
146
+ author_deleted: boolean;
147
+ author_position: string | null;
148
+ avatar_medium?: TikTokAppAwemeAddedSoundMusicInfoAvatarMedium;
149
+ avatar_thumb?: TikTokAppAwemeAddedSoundMusicInfoAvatarThumb;
150
+ binded_challenge_id: number | string;
151
+ collect_stat: number | string;
152
+ cover_large: TikTokAppAwemeAddedSoundMusicInfoCoverLarge;
153
+ cover_medium: TikTokAppAwemeAddedSoundMusicInfoCoverMedium;
154
+ cover_thumb: TikTokAppAwemeAddedSoundMusicInfoCoverThumb;
155
+ duration: number | string;
156
+ external_song_info: TikTokAppAwemeAddedSoundMusicInfoExternalSongInfo[];
157
+ extra: string;
158
+ id: number | string;
159
+ id_str: string;
160
+ is_author_artist: boolean;
161
+ is_commerce_music: boolean;
162
+ is_original: boolean;
163
+ is_pgc: boolean;
164
+ lyric_short_position: string | null;
165
+ matched_pgc_sound?: TikTokAppAwemeAddedSoundMusicInfoMatchedPgcSound;
166
+ mid: string;
167
+ multi_bit_rate_play_info: string | null;
168
+ mute_share: boolean;
169
+ offline_desc: string;
170
+ owner_handle: string;
171
+ owner_id?: string;
172
+ owner_nickname: string;
173
+ play_url: TikTokAppAwemeAddedSoundMusicInfoPlayUrl;
174
+ position: string | null;
175
+ prevent_download: boolean;
176
+ preview_end_time: number | string;
177
+ preview_start_time: number | string;
178
+ recommend_status: number | string;
179
+ search_highlight: string | null;
180
+ sec_uid?: string;
181
+ source_platform: number | string;
182
+ status: number | string;
183
+ strong_beat_url?: TikTokAppAwemeAddedSoundMusicInfoStrongBeatUrl;
184
+ tag_list: string | null;
185
+ tag_list_v2: string | null;
186
+ title: string;
187
+ tt_to_dsp_song_infos: string | null;
188
+ uncert_artists: string | null;
189
+ user_count: number | string;
190
+ }
191
+ export interface TikTokAppAwemeAddedSoundMusicInfoAvatarMedium {
192
+ data_size: number | string;
193
+ height: number | string;
194
+ uri: string;
195
+ url_list: string[];
196
+ url_prefix: string | null;
197
+ width: number | string;
198
+ }
199
+ export interface TikTokAppAwemeAddedSoundMusicInfoAvatarThumb {
200
+ data_size: number | string;
201
+ height: number | string;
202
+ uri: string;
203
+ url_list: string[];
204
+ url_prefix: string | null;
205
+ width: number | string;
206
+ }
207
+ export interface TikTokAppAwemeAddedSoundMusicInfoCoverLarge {
208
+ data_size?: number | string;
209
+ height: number | string;
210
+ uri: string;
211
+ url_list: string[];
212
+ url_prefix: string | null;
213
+ width: number | string;
214
+ }
215
+ export interface TikTokAppAwemeAddedSoundMusicInfoCoverMedium {
216
+ data_size?: number | string;
217
+ height: number | string;
218
+ uri: string;
219
+ url_list: string[];
220
+ url_prefix: string | null;
221
+ width: number | string;
222
+ }
223
+ export interface TikTokAppAwemeAddedSoundMusicInfoCoverThumb {
224
+ data_size?: number | string;
225
+ height: number | string;
226
+ uri: string;
227
+ url_list: string[];
228
+ url_prefix: string | null;
229
+ width: number | string;
230
+ }
231
+ export interface TikTokAppAwemeAddedSoundMusicInfoExternalSongInfo {
232
+ external_song_key: string;
233
+ h5_url: string;
234
+ partner_name: string;
235
+ partner_song_id: string;
236
+ }
237
+ export interface TikTokAppAwemeAddedSoundMusicInfoMatchedPgcSound {
238
+ artist_infos: string | null;
239
+ author?: string;
240
+ mixed_author?: string;
241
+ mixed_title?: string;
242
+ title?: string;
243
+ uncert_artists: string | null;
244
+ }
245
+ export interface TikTokAppAwemeAddedSoundMusicInfoPlayUrl {
246
+ data_size?: number | string;
247
+ height: number | string;
248
+ uri: string;
249
+ url_key?: string;
250
+ url_list: string[];
251
+ url_prefix: string | null;
252
+ width: number | string;
253
+ }
254
+ export interface TikTokAppAwemeAddedSoundMusicInfoStrongBeatUrl {
255
+ height: number | string;
256
+ uri: string;
257
+ url_list: string[];
258
+ url_prefix: string | null;
259
+ width: number | string;
260
+ }
261
+ export interface TikTokAppAwemeAigcInfo {
262
+ aigc_label_type: number | string;
263
+ }
264
+ export interface TikTokAppAwemeAnchors {
265
+ actions: TikTokAppAwemeAnchorsActions[];
266
+ anchor_strong: string | null;
267
+ component_key: string;
268
+ description: string;
269
+ extra: string;
270
+ general_type?: number | string;
271
+ icon: TikTokAppAwemeAnchorsIcon;
272
+ id: string;
273
+ keyword: string;
274
+ log_extra: string;
275
+ schema: string;
276
+ thumbnail: TikTokAppAwemeAnchorsThumbnail;
277
+ type: number | string;
278
+ }
279
+ export interface TikTokAppAwemeAnchorsActions {
280
+ action_type: number | string;
281
+ icon: TikTokAppAwemeAnchorsActionsIcon;
282
+ schema: string;
283
+ }
284
+ export interface TikTokAppAwemeAnchorsActionsIcon {
285
+ height: number | string;
286
+ uri: string;
287
+ url_list: string[];
288
+ url_prefix: string | null;
289
+ width: number | string;
290
+ }
291
+ export interface TikTokAppAwemeAnchorsIcon {
292
+ height: number | string;
293
+ uri: string;
294
+ url_list: string[];
295
+ url_prefix: string | null;
296
+ width: number | string;
297
+ }
298
+ export interface TikTokAppAwemeAnchorsThumbnail {
299
+ height: number | string;
300
+ uri: string;
301
+ url_list: string[];
302
+ url_prefix: string | null;
303
+ width: number | string;
304
+ }
305
+ export interface TikTokAppAwemeAnimatedImageInfo {
306
+ effect: number | string;
307
+ type: number | string;
308
+ }
309
+ export interface TikTokAppAwemeAuthor {
310
+ account_labels?: string | null;
311
+ ad_cover_url?: string | null;
312
+ advance_feature_item_order?: string | null;
313
+ advanced_feature_info?: string | null;
314
+ authority_status?: number | string;
315
+ avatar_168x168?: TikTokAppAwemeAuthorAvatar168x168;
316
+ avatar_300x300?: TikTokAppAwemeAuthorAvatar300x300;
317
+ avatar_medium: TikTokAppAwemeAuthorAvatarMedium;
318
+ avatar_thumb: TikTokAppAwemeAuthorAvatarThumb;
319
+ bold_fields?: string | null;
320
+ can_message_follow_status_list?: string | null;
321
+ can_set_geofencing?: string | null;
322
+ cha_list?: string | null;
323
+ comment_filter_status?: number | string;
324
+ comment_setting?: number | string;
325
+ commerce_user_level?: number | string;
326
+ cover_url?: string[];
327
+ custom_verify?: string;
328
+ download_setting?: number | string;
329
+ duet_setting?: number | string;
330
+ enterprise_verify_reason?: string;
331
+ events?: string | null;
332
+ follow_status?: number | string;
333
+ follower_status?: number | string;
334
+ followers_detail?: string | null;
335
+ geofencing?: string | null;
336
+ homepage_bottom_toast?: string | null;
337
+ is_ad_fake?: boolean;
338
+ is_block?: boolean;
339
+ is_discipline_member?: boolean;
340
+ is_star?: boolean;
341
+ item_list?: string | null;
342
+ language?: string;
343
+ matched_friend?: TikTokAppAwemeAuthorMatchedFriend;
344
+ mutual_relation_avatars?: string | null;
345
+ need_points?: string | null;
346
+ nickname: string;
347
+ platform_sync_info?: string | null;
348
+ prevent_download?: boolean;
349
+ qa_status?: number | string;
350
+ region?: string;
351
+ relative_users?: string | null;
352
+ room_id?: number | string;
353
+ search_highlight?: string | null;
354
+ sec_uid?: string;
355
+ secret?: number | string;
356
+ share_info?: TikTokAppAwemeAuthorShareInfo;
357
+ shield_edit_field_info?: string | null;
358
+ short_id?: string;
359
+ signature?: string;
360
+ social_info?: string;
361
+ type_label?: string[];
362
+ uid: string;
363
+ unique_id: string;
364
+ user_profile_guide?: string | null;
365
+ user_tags?: string | null;
366
+ verification_type?: number | string;
367
+ verify_info?: string;
368
+ video_icon?: TikTokAppAwemeAuthorVideoIcon;
369
+ white_cover_url?: string | null;
370
+ with_commerce_entry?: boolean;
371
+ }
372
+ export interface TikTokAppAwemeAuthorAvatar168x168 {
373
+ data_size: number | string;
374
+ height: number | string;
375
+ uri: string;
376
+ url_list: string[];
377
+ url_prefix: string | null;
378
+ width: number | string;
379
+ }
380
+ export interface TikTokAppAwemeAuthorAvatar300x300 {
381
+ data_size: number | string;
382
+ height: number | string;
383
+ uri: string;
384
+ url_list: string[];
385
+ url_prefix: string | null;
386
+ width: number | string;
387
+ }
388
+ export interface TikTokAppAwemeAuthorAvatarMedium {
389
+ data_size: number | string;
390
+ height: number | string;
391
+ uri: string;
392
+ url_list: string[];
393
+ url_prefix: string | null;
394
+ width: number | string;
395
+ }
396
+ export interface TikTokAppAwemeAuthorAvatarThumb {
397
+ data_size: number | string;
398
+ height: number | string;
399
+ uri: string;
400
+ url_list: string[];
401
+ url_prefix: string | null;
402
+ width: number | string;
403
+ }
404
+ export interface TikTokAppAwemeAuthorMatchedFriend {
405
+ repost_items: string | null;
406
+ video_items: string | null;
407
+ }
408
+ export interface TikTokAppAwemeAuthorShareInfo {
409
+ now_invitation_card_image_urls: string | null;
410
+ share_desc: string;
411
+ share_desc_info: string;
412
+ share_qrcode_url: TikTokAppAwemeAuthorShareInfoShareQrcodeUrl;
413
+ share_title: string;
414
+ share_title_myself: string;
415
+ share_title_other: string;
416
+ share_url: string;
417
+ }
418
+ export interface TikTokAppAwemeAuthorShareInfoShareQrcodeUrl {
419
+ height: number | string;
420
+ uri: string;
421
+ url_list: string[];
422
+ url_prefix: string | null;
423
+ width: number | string;
424
+ }
425
+ export interface TikTokAppAwemeAuthorVideoIcon {
426
+ height: number | string;
427
+ uri: string;
428
+ url_list: string[];
429
+ url_prefix: string | null;
430
+ width: number | string;
431
+ }
432
+ export interface TikTokAppAwemeAwemeAcl {
433
+ download_general: TikTokAppAwemeAwemeAclDownloadGeneral;
434
+ download_mask_panel: TikTokAppAwemeAwemeAclDownloadMaskPanel;
435
+ platform_list: string | null;
436
+ press_action_list: string | null;
437
+ share_action_list: string | null;
438
+ share_general: TikTokAppAwemeAwemeAclShareGeneral;
439
+ share_list_status: number | string;
440
+ }
441
+ export interface TikTokAppAwemeAwemeAclDownloadGeneral {
442
+ code: number | string;
443
+ extra?: string;
444
+ mute: boolean;
445
+ show_type: number | string;
446
+ transcode: number | string;
447
+ }
448
+ export interface TikTokAppAwemeAwemeAclDownloadMaskPanel {
449
+ code: number | string;
450
+ extra?: string;
451
+ mute: boolean;
452
+ show_type: number | string;
453
+ transcode: number | string;
454
+ }
455
+ export interface TikTokAppAwemeAwemeAclShareGeneral {
456
+ code: number | string;
457
+ extra?: string;
458
+ mute: boolean;
459
+ show_type: number | string;
460
+ toast_msg?: string;
461
+ transcode: number | string;
462
+ }
463
+ export interface TikTokAppAwemeBanners {
464
+ key: TikTokAppAwemeBannersKey;
465
+ }
466
+ export interface TikTokAppAwemeBannersKey {
467
+ component_key: string;
468
+ }
469
+ export interface TikTokAppAwemeChaList {
470
+ author: TikTokAppAwemeChaListAuthor;
471
+ banner_list: string | null;
472
+ cha_attrs: string | null;
473
+ cha_name: string;
474
+ cid: string;
475
+ collect_stat: number | string;
476
+ connect_music: string[];
477
+ desc: string;
478
+ is_challenge: number | string;
479
+ is_commerce: boolean;
480
+ is_pgcshow: boolean;
481
+ schema: string;
482
+ search_highlight: string | null;
483
+ share_info: TikTokAppAwemeChaListShareInfo;
484
+ show_items: string | null;
485
+ sub_type: number | string;
486
+ type: number | string;
487
+ user_count: number | string;
488
+ view_count: number | string;
489
+ }
490
+ export interface TikTokAppAwemeChaListAuthor {
491
+ account_labels: string | null;
492
+ ad_cover_url: string | null;
493
+ advance_feature_item_order: string | null;
494
+ advanced_feature_info: string | null;
495
+ bold_fields: string | null;
496
+ can_message_follow_status_list: string | null;
497
+ can_set_geofencing: string | null;
498
+ cha_list: string | null;
499
+ cover_url: string | null;
500
+ events: string | null;
501
+ followers_detail: string | null;
502
+ geofencing: string | null;
503
+ homepage_bottom_toast: string | null;
504
+ item_list: string | null;
505
+ mutual_relation_avatars: string | null;
506
+ need_points: string | null;
507
+ platform_sync_info: string | null;
508
+ relative_users: string | null;
509
+ search_highlight: string | null;
510
+ shield_edit_field_info: string | null;
511
+ type_label: string | null;
512
+ user_profile_guide: string | null;
513
+ user_tags: string | null;
514
+ white_cover_url: string | null;
515
+ }
516
+ export interface TikTokAppAwemeChaListShareInfo {
517
+ bool_persist: number | string;
518
+ now_invitation_card_image_urls: string | null;
519
+ share_desc: string;
520
+ share_desc_info: string;
521
+ share_quote: string;
522
+ share_signature_desc: string;
523
+ share_signature_url: string;
524
+ share_title: string;
525
+ share_title_myself: string;
526
+ share_title_other: string;
527
+ share_url: string;
528
+ }
529
+ export interface TikTokAppAwemeCommentConfig {
530
+ comment_panel_show_tab_config: string | null;
531
+ emoji_recommend_list: TikTokAppAwemeCommentConfigEmojiRecommendList[];
532
+ long_press_recommend_list: string | null;
533
+ quick_comment_emoji_recommend_list: string | null;
534
+ }
535
+ export interface TikTokAppAwemeCommentConfigEmojiRecommendList {
536
+ emoji: string;
537
+ emoji_id: string;
538
+ emoji_id_score: number | string;
539
+ score: number | string;
540
+ }
541
+ export interface TikTokAppAwemeCommerceInfo {
542
+ adv_promotable: boolean;
543
+ branded_content_type: number | string;
544
+ is_diversion_ad: number | string;
545
+ }
546
+ export interface TikTokAppAwemeContentDescExtra {
547
+ end: number | string;
548
+ hashtag_id?: string;
549
+ hashtag_name?: string;
550
+ is_commerce?: boolean;
551
+ line_idx: number | string;
552
+ sec_uid?: string;
553
+ start: number | string;
554
+ type: number | string;
555
+ user_id?: string;
556
+ }
557
+ export interface TikTokAppAwemeImagePostInfo {
558
+ image_post_cover: TikTokAppAwemeImagePostInfoImagePostCover;
559
+ images: TikTokAppAwemeImagePostInfoImages[];
560
+ post_extra: string;
561
+ title: string;
562
+ }
563
+ export interface TikTokAppAwemeImagePostInfoImagePostCover {
564
+ bitrate_images: string | null;
565
+ display_image: TikTokAppAwemeImagePostInfoImagePostCoverDisplayImage;
566
+ owner_watermark_image: TikTokAppAwemeImagePostInfoImagePostCoverOwnerWatermarkImage;
567
+ thumbnail: TikTokAppAwemeImagePostInfoImagePostCoverThumbnail;
568
+ user_watermark_image: TikTokAppAwemeImagePostInfoImagePostCoverUserWatermarkImage;
569
+ }
570
+ export interface TikTokAppAwemeImagePostInfoImagePostCoverDisplayImage {
571
+ data_size: number | string;
572
+ height: number | string;
573
+ uri: string;
574
+ url_list: string[];
575
+ url_prefix: string | null;
576
+ width: number | string;
577
+ }
578
+ export interface TikTokAppAwemeImagePostInfoImagePostCoverOwnerWatermarkImage {
579
+ data_size: number | string;
580
+ height: number | string;
581
+ uri: string;
582
+ url_list: string[];
583
+ url_prefix: string | null;
584
+ width: number | string;
585
+ }
586
+ export interface TikTokAppAwemeImagePostInfoImagePostCoverThumbnail {
587
+ data_size: number | string;
588
+ height: number | string;
589
+ uri: string;
590
+ url_list: string[];
591
+ url_prefix: string | null;
592
+ width: number | string;
593
+ }
594
+ export interface TikTokAppAwemeImagePostInfoImagePostCoverUserWatermarkImage {
595
+ data_size: number | string;
596
+ height: number | string;
597
+ uri: string;
598
+ url_list: string[];
599
+ url_prefix: string | null;
600
+ width: number | string;
601
+ }
602
+ export interface TikTokAppAwemeImagePostInfoImages {
603
+ bitrate_images: string | null;
604
+ display_image: TikTokAppAwemeImagePostInfoImagesDisplayImage;
605
+ owner_watermark_image: TikTokAppAwemeImagePostInfoImagesOwnerWatermarkImage;
606
+ thumbnail: TikTokAppAwemeImagePostInfoImagesThumbnail;
607
+ user_watermark_image: TikTokAppAwemeImagePostInfoImagesUserWatermarkImage;
608
+ }
609
+ export interface TikTokAppAwemeImagePostInfoImagesDisplayImage {
610
+ data_size: number | string;
611
+ height: number | string;
612
+ preview?: TikTokAppAwemeImagePostInfoImagesDisplayImagePreview;
613
+ uri: string;
614
+ url_list: string[];
615
+ url_prefix: string | null;
616
+ width: number | string;
617
+ }
618
+ export interface TikTokAppAwemeImagePostInfoImagesDisplayImagePreview {
619
+ data: string;
620
+ preview_type: number | string;
621
+ }
622
+ export interface TikTokAppAwemeImagePostInfoImagesOwnerWatermarkImage {
623
+ data_size: number | string;
624
+ height: number | string;
625
+ uri: string;
626
+ url_list: string[];
627
+ url_prefix: string | null;
628
+ width: number | string;
629
+ }
630
+ export interface TikTokAppAwemeImagePostInfoImagesThumbnail {
631
+ data_size: number | string;
632
+ height: number | string;
633
+ uri: string;
634
+ url_list: string[];
635
+ url_prefix: string | null;
636
+ width: number | string;
637
+ }
638
+ export interface TikTokAppAwemeImagePostInfoImagesUserWatermarkImage {
639
+ data_size: number | string;
640
+ height: number | string;
641
+ uri: string;
642
+ url_list: string[];
643
+ url_prefix: string | null;
644
+ width: number | string;
645
+ }
646
+ export interface TikTokAppAwemeInteractPermission {
647
+ allow_adding_to_story: number | string;
648
+ allow_create_sticker: TikTokAppAwemeInteractPermissionAllowCreateSticker;
649
+ duet: number | string;
650
+ duet_privacy_setting: number | string;
651
+ stitch: number | string;
652
+ stitch_privacy_setting: number | string;
653
+ upvote: number | string;
654
+ }
655
+ export interface TikTokAppAwemeInteractPermissionAllowCreateSticker {
656
+ status: number | string;
657
+ }
658
+ export interface TikTokAppAwemeInteractionStickers {
659
+ attr: string;
660
+ index: number | string;
661
+ text_info?: string;
662
+ text_sticker_info?: TikTokAppAwemeInteractionStickersTextStickerInfo;
663
+ track_info: string;
664
+ type: number | string;
665
+ }
666
+ export interface TikTokAppAwemeInteractionStickersTextStickerInfo {
667
+ alignment: number | string;
668
+ bg_color: string;
669
+ source_height: number | string;
670
+ source_width: number | string;
671
+ text_color: string;
672
+ text_language: string;
673
+ text_size: number | string;
674
+ }
675
+ export interface TikTokAppAwemeLabelTop {
676
+ height: number | string;
677
+ uri: string;
678
+ url_list: string[];
679
+ url_prefix: string | null;
680
+ width: number | string;
681
+ }
682
+ export interface TikTokAppAwemeLogInfo {
683
+ order: string;
684
+ }
685
+ export interface TikTokAppAwemeMusic {
686
+ album: string;
687
+ allow_offline_music_to_detail_page?: boolean;
688
+ artists: string | null;
689
+ author: string;
690
+ author_deleted: boolean;
691
+ author_position: string | null;
692
+ avatar_large?: TikTokAppAwemeMusicAvatarLarge;
693
+ avatar_medium?: TikTokAppAwemeMusicAvatarMedium;
694
+ avatar_thumb?: TikTokAppAwemeMusicAvatarThumb;
695
+ binded_challenge_id: number | string;
696
+ collect_stat: number | string;
697
+ cover_hd?: TikTokAppAwemeMusicCoverHd;
698
+ cover_large: TikTokAppAwemeMusicCoverLarge;
699
+ cover_medium: TikTokAppAwemeMusicCoverMedium;
700
+ cover_thumb: TikTokAppAwemeMusicCoverThumb;
701
+ duration: number | string;
702
+ end_time?: number | string;
703
+ external_song_info: TikTokAppAwemeMusicExternalSongInfo[];
704
+ extra: string;
705
+ id: number | string;
706
+ id_str: string;
707
+ is_author_artist: boolean;
708
+ is_commerce_music: boolean;
709
+ is_del_video?: boolean;
710
+ is_original: boolean;
711
+ is_pgc: boolean;
712
+ is_restricted?: boolean;
713
+ is_video_self_see?: boolean;
714
+ lyric_short_position: string | null;
715
+ matched_pgc_sound?: TikTokAppAwemeMusicMatchedPgcSound;
716
+ mid: string;
717
+ multi_bit_rate_play_info: string | null;
718
+ mute_share: boolean;
719
+ offline_desc: string;
720
+ owner_handle: string;
721
+ owner_id?: string;
722
+ owner_nickname: string;
723
+ play_url: TikTokAppAwemeMusicPlayUrl;
724
+ position: string | null;
725
+ prevent_download: boolean;
726
+ prevent_item_download_status?: number | string;
727
+ preview_end_time: number | string;
728
+ preview_start_time: number | string;
729
+ recommend_status: number | string;
730
+ redirect?: boolean;
731
+ schema_url?: string;
732
+ search_highlight: string | null;
733
+ sec_uid?: string;
734
+ source_platform: number | string;
735
+ start_time?: number | string;
736
+ status: number | string;
737
+ strong_beat_url?: TikTokAppAwemeMusicStrongBeatUrl;
738
+ tag_list: string | null;
739
+ tag_list_v2: string | null;
740
+ title: string;
741
+ tt_to_dsp_song_infos: string | null;
742
+ uncert_artists: string | null;
743
+ user_count: number | string;
744
+ }
745
+ export interface TikTokAppAwemeMusicAvatarLarge {
746
+ data_size: number | string;
747
+ height: number | string;
748
+ uri: string;
749
+ url_list: string[];
750
+ url_prefix: string | null;
751
+ width: number | string;
752
+ }
753
+ export interface TikTokAppAwemeMusicAvatarMedium {
754
+ data_size: number | string;
755
+ height: number | string;
756
+ uri: string;
757
+ url_list: string[];
758
+ url_prefix: string | null;
759
+ width: number | string;
760
+ }
761
+ export interface TikTokAppAwemeMusicAvatarThumb {
762
+ data_size: number | string;
763
+ height: number | string;
764
+ uri: string;
765
+ url_list: string[];
766
+ url_prefix: string | null;
767
+ width: number | string;
768
+ }
769
+ export interface TikTokAppAwemeMusicCoverHd {
770
+ data_size?: number | string;
771
+ height: number | string;
772
+ uri: string;
773
+ url_list: string[];
774
+ url_prefix: string | null;
775
+ width: number | string;
776
+ }
777
+ export interface TikTokAppAwemeMusicCoverLarge {
778
+ data_size?: number | string;
779
+ height: number | string;
780
+ uri: string;
781
+ url_list: string[];
782
+ url_prefix: string | null;
783
+ width: number | string;
784
+ }
785
+ export interface TikTokAppAwemeMusicCoverMedium {
786
+ data_size?: number | string;
787
+ height: number | string;
788
+ uri: string;
789
+ url_list: string[];
790
+ url_prefix: string | null;
791
+ width: number | string;
792
+ }
793
+ export interface TikTokAppAwemeMusicCoverThumb {
794
+ data_size?: number | string;
795
+ height: number | string;
796
+ uri: string;
797
+ url_list: string[];
798
+ url_prefix: string | null;
799
+ width: number | string;
800
+ }
801
+ export interface TikTokAppAwemeMusicExternalSongInfo {
802
+ external_song_key: string;
803
+ h5_url: string;
804
+ partner_name: string;
805
+ partner_song_id: string;
806
+ }
807
+ export interface TikTokAppAwemeMusicMatchedPgcSound {
808
+ artist_infos: string | null;
809
+ author?: string;
810
+ mixed_author?: string;
811
+ mixed_title?: string;
812
+ title?: string;
813
+ uncert_artists: string | null;
814
+ }
815
+ export interface TikTokAppAwemeMusicPlayUrl {
816
+ data_size?: number | string;
817
+ height: number | string;
818
+ uri: string;
819
+ url_key?: string;
820
+ url_list: string[];
821
+ url_prefix: string | null;
822
+ width: number | string;
823
+ }
824
+ export interface TikTokAppAwemeMusicStrongBeatUrl {
825
+ height: number | string;
826
+ uri: string;
827
+ url_list: string[];
828
+ url_prefix: string | null;
829
+ width: number | string;
830
+ }
831
+ export interface TikTokAppAwemeOriginalClientText {
832
+ markup_text: string;
833
+ text_extra: TikTokAppAwemeOriginalClientTextTextExtra[] | null;
834
+ }
835
+ export interface TikTokAppAwemeOriginalClientTextTextExtra {
836
+ hashtag_id?: string;
837
+ hashtag_name?: string;
838
+ is_commerce?: boolean;
839
+ sec_uid?: string;
840
+ tag_id: string;
841
+ type: number | string;
842
+ user_id?: string;
843
+ }
844
+ export interface TikTokAppAwemePlaylistInfo {
845
+ index: number | string;
846
+ item_total: number | string;
847
+ mix_id: string;
848
+ name: string;
849
+ }
850
+ export interface TikTokAppAwemePoiData {
851
+ address_info: TikTokAppAwemePoiDataAddressInfo;
852
+ collect_info: string;
853
+ comment_anchor?: TikTokAppAwemePoiDataCommentAnchor;
854
+ info_source: string;
855
+ poi_id: string;
856
+ poi_mapkit_collect: boolean;
857
+ poi_name: string;
858
+ poi_review_config?: TikTokAppAwemePoiDataPoiReviewConfig;
859
+ poi_type: string;
860
+ video_anchor?: TikTokAppAwemePoiDataVideoAnchor;
861
+ video_count: number | string;
862
+ }
863
+ export interface TikTokAppAwemePoiDataAddressInfo {
864
+ city_code: string;
865
+ city_name: string;
866
+ lat: string;
867
+ lng: string;
868
+ region_code: string;
869
+ }
870
+ export interface TikTokAppAwemePoiDataCommentAnchor {
871
+ has_sub_arrow: boolean;
872
+ hide_list: string | null;
873
+ sub_tag_exp_time: number | string;
874
+ sub_tag_exp_type: number | string;
875
+ sub_tags: TikTokAppAwemePoiDataCommentAnchorSubTags[];
876
+ track_info: string;
877
+ }
878
+ export interface TikTokAppAwemePoiDataCommentAnchorSubTags {
879
+ name: string;
880
+ priority: number | string;
881
+ type: number | string;
882
+ }
883
+ export interface TikTokAppAwemePoiDataPoiReviewConfig {
884
+ show_review_tab: boolean;
885
+ }
886
+ export interface TikTokAppAwemePoiDataVideoAnchor {
887
+ has_sub_arrow: boolean;
888
+ hide_list: string | null;
889
+ sub_tag_exp_time: number | string;
890
+ sub_tag_exp_type: number | string;
891
+ sub_tags: TikTokAppAwemePoiDataVideoAnchorSubTags[];
892
+ suffix: string;
893
+ track_info: string;
894
+ }
895
+ export interface TikTokAppAwemePoiDataVideoAnchorSubTags {
896
+ name: string;
897
+ priority: number | string;
898
+ type: number | string;
899
+ }
900
+ export interface TikTokAppAwemeRiskInfos {
901
+ content: string;
902
+ risk_sink: boolean;
903
+ type: number | string;
904
+ vote: boolean;
905
+ warn: boolean;
906
+ }
907
+ export interface TikTokAppAwemeShareInfo {
908
+ bool_persist: number | string;
909
+ button_display_stratege_source?: string;
910
+ now_invitation_card_image_urls: string | null;
911
+ share_button_display_mode?: number | string;
912
+ share_desc: string;
913
+ share_desc_info: string;
914
+ share_link_desc: string;
915
+ share_quote: string;
916
+ share_signature_desc: string;
917
+ share_signature_url: string;
918
+ share_title: string;
919
+ share_title_myself: string;
920
+ share_title_other: string;
921
+ share_url: string;
922
+ share_weibo_desc?: string;
923
+ whatsapp_desc?: string;
924
+ }
925
+ export interface TikTokAppAwemeSmartSearchInfo {
926
+ ask_tako_intent_type: number | string;
927
+ find_similar_intent_type: number | string;
928
+ related_videos_intent_type: number | string;
929
+ title_smart_search_panel_type: number | string;
930
+ }
931
+ export interface TikTokAppAwemeStandardComponentInfo {
932
+ banner_enabled?: boolean;
933
+ }
934
+ export interface TikTokAppAwemeStatistics {
935
+ aweme_id: string;
936
+ collect_count: number | string;
937
+ comment_count: number | string;
938
+ digg_count: number | string;
939
+ download_count: number | string;
940
+ forward_count: number | string;
941
+ lose_comment_count: number | string;
942
+ lose_count: number | string;
943
+ play_count: number | string;
944
+ repost_count: number | string;
945
+ share_count: number | string;
946
+ whatsapp_share_count: number | string;
947
+ }
948
+ export interface TikTokAppAwemeStatus {
949
+ allow_comment: boolean;
950
+ allow_share: boolean;
951
+ aweme_id: string;
952
+ download_status: number | string;
953
+ in_reviewing: boolean;
954
+ is_delete: boolean;
955
+ is_prohibited: boolean;
956
+ private_status: number | string;
957
+ reviewed: number | string;
958
+ self_see: boolean;
959
+ }
960
+ export interface TikTokAppAwemeStickerDetail {
961
+ attributions: string | null;
962
+ children: string | null;
963
+ id: string;
964
+ linked_anchors: string | null;
965
+ name: string;
966
+ owner_id: string;
967
+ sec_uid: string;
968
+ tags: string | null;
969
+ }
970
+ export interface TikTokAppAwemeSuggestWords {
971
+ suggest_words: TikTokAppAwemeSuggestWordsSuggestWords[];
972
+ }
973
+ export interface TikTokAppAwemeSuggestWordsSuggestWords {
974
+ hint_text: string;
975
+ qrec_virtual_enable: string;
976
+ scene: string;
977
+ words: TikTokAppAwemeSuggestWordsSuggestWordsWords[];
978
+ }
979
+ export interface TikTokAppAwemeSuggestWordsSuggestWordsWords {
980
+ word: string;
981
+ word_id: string;
982
+ }
983
+ export interface TikTokAppAwemeTakoBubbleInfo {
984
+ tako_bubble_enable: boolean;
985
+ }
986
+ export interface TikTokAppAwemeTextExtra {
987
+ end: number | string;
988
+ hashtag_id?: string;
989
+ hashtag_name?: string;
990
+ is_commerce?: boolean;
991
+ line_idx: number | string;
992
+ sec_uid?: string;
993
+ start: number | string;
994
+ type: number | string;
995
+ user_id?: string;
996
+ }
997
+ export interface TikTokAppAwemeTtecSuggestWords {
998
+ ttec_suggest_words: string | null;
999
+ }
1000
+ export interface TikTokAppAwemeVideo {
1001
+ CoverTsp?: number | string;
1002
+ big_thumbs?: string | null;
1003
+ bit_rate: TikTokAppAwemeVideoBitRate[];
1004
+ bit_rate_audio?: TikTokAppAwemeVideoBitRateAudio[] | null;
1005
+ cdn_url_expired?: number | string;
1006
+ cla_info?: TikTokAppAwemeVideoClaInfo;
1007
+ cover: TikTokAppAwemeVideoCover;
1008
+ cover_is_custom?: boolean;
1009
+ download_addr?: TikTokAppAwemeVideoDownloadAddr;
1010
+ duration: number | string;
1011
+ dynamic_cover: TikTokAppAwemeVideoDynamicCover;
1012
+ fake_landscape_video_info?: TikTokAppAwemeVideoFakeLandscapeVideoInfo;
1013
+ has_watermark: boolean;
1014
+ height?: number | string;
1015
+ is_bytevc1?: number | string;
1016
+ meta?: string;
1017
+ misc_download_addrs?: string;
1018
+ need_set_token?: boolean;
1019
+ origin_cover: TikTokAppAwemeVideoOriginCover;
1020
+ pillar_box_video_info?: TikTokAppAwemeVideoPillarBoxVideoInfo;
1021
+ play_addr: TikTokAppAwemeVideoPlayAddr;
1022
+ play_addr_bytevc1?: TikTokAppAwemeVideoPlayAddrBytevc1;
1023
+ play_addr_h264?: TikTokAppAwemeVideoPlayAddrH264;
1024
+ ratio?: string;
1025
+ source_HDR_type?: number | string;
1026
+ tags?: string | null;
1027
+ width?: number | string;
1028
+ }
1029
+ export interface TikTokAppAwemeVideoBitRate {
1030
+ HDR_bit: string;
1031
+ HDR_type: string;
1032
+ bit_rate: number | string;
1033
+ dub_infos: string | null;
1034
+ gear_name: string;
1035
+ is_bytevc1: number | string;
1036
+ is_h265?: number | string;
1037
+ play_addr: TikTokAppAwemeVideoBitRatePlayAddr;
1038
+ quality_type: number | string;
1039
+ }
1040
+ export interface TikTokAppAwemeVideoBitRateAudio {
1041
+ audio_meta: TikTokAppAwemeVideoBitRateAudioAudioMeta;
1042
+ audio_quality: number | string;
1043
+ }
1044
+ export interface TikTokAppAwemeVideoBitRateAudioAudioMeta {
1045
+ bitrate: number | string;
1046
+ codec_type: string;
1047
+ encoded_type: string;
1048
+ file_hash: string;
1049
+ file_id: string;
1050
+ format: string;
1051
+ fps: number | string;
1052
+ logo_type: string;
1053
+ media_type: string;
1054
+ quality: string;
1055
+ quality_desc: string;
1056
+ size: number | string;
1057
+ sub_info: string;
1058
+ url_list: TikTokAppAwemeVideoBitRateAudioAudioMetaUrlList;
1059
+ }
1060
+ export interface TikTokAppAwemeVideoBitRateAudioAudioMetaUrlList {
1061
+ backup_url: string;
1062
+ fallback_url: string;
1063
+ main_url: string;
1064
+ }
1065
+ export interface TikTokAppAwemeVideoBitRatePlayAddr {
1066
+ data_size: number | string;
1067
+ file_hash: string;
1068
+ height: number | string;
1069
+ uri: string;
1070
+ url_key: string;
1071
+ url_list: string[];
1072
+ url_prefix: string | null;
1073
+ width: number | string;
1074
+ }
1075
+ export interface TikTokAppAwemeVideoClaInfo {
1076
+ caption_infos: TikTokAppAwemeVideoClaInfoCaptionInfos[] | null;
1077
+ captions_type: number | string;
1078
+ creator_edited_caption_id: number | string;
1079
+ enable_auto_caption: number | string;
1080
+ has_original_audio: number | string;
1081
+ hide_original_caption: boolean;
1082
+ no_caption_reason: number | string;
1083
+ no_caption_reason_v2: number | string;
1084
+ original_language_info?: TikTokAppAwemeVideoClaInfoOriginalLanguageInfo;
1085
+ vertical_positions: string | null;
1086
+ }
1087
+ export interface TikTokAppAwemeVideoClaInfoCaptionInfos {
1088
+ caption_format: string;
1089
+ caption_length: number | string;
1090
+ cla_subtitle_id: number | string;
1091
+ complaint_id: number | string;
1092
+ expire: number | string;
1093
+ is_auto_generated: boolean;
1094
+ is_original_caption: boolean;
1095
+ lang: string;
1096
+ language_code: string;
1097
+ language_id: number | string;
1098
+ sub_id: number | string;
1099
+ sub_version: string;
1100
+ url: string;
1101
+ url_list: string[];
1102
+ }
1103
+ export interface TikTokAppAwemeVideoClaInfoOriginalLanguageInfo {
1104
+ can_translate_realtime: boolean;
1105
+ can_translate_realtime_skip_translation_lang_check: boolean;
1106
+ is_burnin_caption: boolean;
1107
+ lang: string;
1108
+ language_code: string;
1109
+ language_id: number | string;
1110
+ original_caption_type: number | string;
1111
+ }
1112
+ export interface TikTokAppAwemeVideoControl {
1113
+ allow_download: boolean;
1114
+ allow_duet: boolean;
1115
+ allow_dynamic_wallpaper: boolean;
1116
+ allow_music: boolean;
1117
+ allow_react: boolean;
1118
+ allow_stitch: boolean;
1119
+ draft_progress_bar: number | string;
1120
+ prevent_download_type: number | string;
1121
+ share_type: number | string;
1122
+ show_progress_bar: number | string;
1123
+ timer_status: number | string;
1124
+ }
1125
+ export interface TikTokAppAwemeVideoCover {
1126
+ data_size: number | string;
1127
+ height: number | string;
1128
+ uri: string;
1129
+ url_list: string[];
1130
+ url_prefix: string | null;
1131
+ width: number | string;
1132
+ }
1133
+ export interface TikTokAppAwemeVideoDownloadAddr {
1134
+ data_size?: number | string;
1135
+ height: number | string;
1136
+ uri: string;
1137
+ url_list: string[];
1138
+ url_prefix: string | null;
1139
+ width: number | string;
1140
+ }
1141
+ export interface TikTokAppAwemeVideoDynamicCover {
1142
+ data_size: number | string;
1143
+ height: number | string;
1144
+ uri: string;
1145
+ url_list: string[];
1146
+ url_prefix: string | null;
1147
+ width: number | string;
1148
+ }
1149
+ export interface TikTokAppAwemeVideoFakeLandscapeVideoInfo {
1150
+ bottom: number | string;
1151
+ fake_landscape_video_type: number | string;
1152
+ left: number | string;
1153
+ right: number | string;
1154
+ top: number | string;
1155
+ }
1156
+ export interface TikTokAppAwemeVideoOriginCover {
1157
+ data_size: number | string;
1158
+ height: number | string;
1159
+ uri: string;
1160
+ url_list: string[];
1161
+ url_prefix: string | null;
1162
+ width: number | string;
1163
+ }
1164
+ export interface TikTokAppAwemeVideoPillarBoxVideoInfo {
1165
+ bottom: number | string;
1166
+ left: number | string;
1167
+ right: number | string;
1168
+ top: number | string;
1169
+ version: string;
1170
+ }
1171
+ export interface TikTokAppAwemeVideoPlayAddr {
1172
+ data_size?: number | string;
1173
+ file_hash?: string;
1174
+ height: number | string;
1175
+ uri: string;
1176
+ url_key: string;
1177
+ url_list: string[];
1178
+ url_prefix: string | null;
1179
+ width: number | string;
1180
+ }
1181
+ export interface TikTokAppAwemeVideoPlayAddrBytevc1 {
1182
+ data_size: number | string;
1183
+ file_hash: string;
1184
+ height: number | string;
1185
+ uri: string;
1186
+ url_key: string;
1187
+ url_list: string[];
1188
+ url_prefix: string | null;
1189
+ width: number | string;
1190
+ }
1191
+ export interface TikTokAppAwemeVideoPlayAddrH264 {
1192
+ data_size: number | string;
1193
+ file_hash: string;
1194
+ height: number | string;
1195
+ uri: string;
1196
+ url_key: string;
1197
+ url_list: string[];
1198
+ url_prefix: string | null;
1199
+ width: number | string;
1200
+ }
1201
+ export interface TikTokAppAwemeVisualSearchInfo {
1202
+ api_control_info?: string;
1203
+ disable_ecom_content_type?: number | string;
1204
+ ecom_nocart_entrance_enable_type?: number | string;
1205
+ enable_pre_upload_image_type: number | string;
1206
+ fallback_vtag_enable: boolean;
1207
+ fallback_vtag_enable_type: number | string;
1208
+ fallback_vtag_info?: TikTokAppAwemeVisualSearchInfoFallbackVtagInfo;
1209
+ intent?: number | string;
1210
+ long_press_entrance_enable: boolean;
1211
+ long_press_entrance_enable_type: number | string;
1212
+ screenshot_entrance_enable: number | string;
1213
+ visual_search_intent_level: number | string;
1214
+ visual_search_record?: TikTokAppAwemeVisualSearchInfoVisualSearchRecord;
1215
+ vtag_display_limit?: number | string;
1216
+ vtag_enable: boolean;
1217
+ vtag_enable_type: number | string;
1218
+ vtag_info?: TikTokAppAwemeVisualSearchInfoVtagInfo[];
1219
+ }
1220
+ export interface TikTokAppAwemeVisualSearchInfoFallbackVtagInfo {
1221
+ fallback_vtag_action_type?: number | string;
1222
+ fallback_vtag_name?: string;
1223
+ fallback_vtag_type?: number | string;
1224
+ tag_type?: string;
1225
+ }
1226
+ export interface TikTokAppAwemeVisualSearchInfoVisualSearchRecord {
1227
+ intent_v1_category: number | string;
1228
+ item_extra_flags: string;
1229
+ }
1230
+ export interface TikTokAppAwemeVisualSearchInfoVtagInfo {
1231
+ bbox: TikTokAppAwemeVisualSearchInfoVtagInfoBbox;
1232
+ dynamic_frame_info_list?: TikTokAppAwemeVisualSearchInfoVtagInfoDynamicFrameInfoList[];
1233
+ end: number | string;
1234
+ start: number | string;
1235
+ tag_coord: TikTokAppAwemeVisualSearchInfoVtagInfoTagCoord;
1236
+ tag_name: string;
1237
+ tag_position_type: string;
1238
+ tag_subtype: string;
1239
+ tag_type: string;
1240
+ tag_uid: string;
1241
+ unified_tag_id: string;
1242
+ }
1243
+ export interface TikTokAppAwemeVisualSearchInfoVtagInfoBbox {
1244
+ xmax: number | string;
1245
+ xmin: number | string;
1246
+ ymax: number | string;
1247
+ ymin: number | string;
1248
+ }
1249
+ export interface TikTokAppAwemeVisualSearchInfoVtagInfoDynamicFrameInfoList {
1250
+ bbox: TikTokAppAwemeVisualSearchInfoVtagInfoDynamicFrameInfoListBbox;
1251
+ frame_time: number | string;
1252
+ }
1253
+ export interface TikTokAppAwemeVisualSearchInfoVtagInfoDynamicFrameInfoListBbox {
1254
+ xmax: number | string;
1255
+ xmin: number | string;
1256
+ ymax: number | string;
1257
+ ymin: number | string;
1258
+ }
1259
+ export interface TikTokAppAwemeVisualSearchInfoVtagInfoTagCoord {
1260
+ x: number | string;
1261
+ y: number | string;
1262
+ }
1263
+ export interface TikTokAweme {
1264
+ author: TikTokUser;
1265
+ author_user_id: number | string;
1266
+ aweme_id: string;
1267
+ cha_list: TikTokChallengeTag[];
1268
+ create_time: number | string;
1269
+ create_time_utc: string;
1270
+ desc: string;
1271
+ desc_language?: string;
1272
+ group_id: string;
1273
+ image_post_info?: TikTokImagePostInfo;
1274
+ is_ad: boolean;
1275
+ music: TikTokAwemeMusic;
1276
+ statistics: TikTokAwemeStatistics;
1277
+ text_extra: TikTokTextExtra[];
1278
+ url: string;
1279
+ video: TikTokAwemeVideo;
1280
+ }
1281
+ export interface TikTokAwemeMusic {
1282
+ album: string;
1283
+ author?: string;
1284
+ cover_large: TikTokUrlImage;
1285
+ cover_medium: TikTokUrlImage;
1286
+ cover_thumb: TikTokUrlImage;
1287
+ duration?: number | string;
1288
+ id: number | string;
1289
+ id_str: string;
1290
+ is_commerce_music?: boolean;
1291
+ is_original: boolean;
1292
+ mid: string;
1293
+ play_url: TikTokUrlImage;
1294
+ title: string;
1295
+ }
1296
+ export interface TikTokAwemeStatistics {
1297
+ aweme_id: string;
1298
+ collect_count: number | string;
1299
+ comment_count: number | string;
1300
+ digg_count: number | string;
1301
+ play_count: number | string;
1302
+ repost_count?: number | string;
1303
+ share_count: number | string;
1304
+ }
1305
+ export interface TikTokAwemeVideo {
1306
+ bit_rate: TikTokBitRate[];
1307
+ cla_info?: TikTokClaInfo;
1308
+ cover: TikTokUrlImage;
1309
+ download_addr?: TikTokUrlImage;
1310
+ duration: number | string;
1311
+ dynamic_cover?: TikTokUrlImage;
1312
+ height: number | string;
1313
+ is_bytevc1: number | string;
1314
+ origin_cover: TikTokUrlImage;
1315
+ play_addr?: TikTokPlayAddr;
1316
+ play_addr_bytevc1?: TikTokPlayAddr;
1317
+ play_addr_h264?: TikTokPlayAddr;
1318
+ ratio: string;
1319
+ width: number | string;
1320
+ }
1321
+ export interface TikTokBitRate {
1322
+ bit_rate: number | string;
1323
+ fps?: number | string;
1324
+ gear_name: string;
1325
+ is_bytevc1: number | string;
1326
+ play_addr: TikTokPlayAddr;
1327
+ quality_type: number | string;
1328
+ video_extra?: string;
1329
+ }
1330
+ export interface TikTokCaptionInfo {
1331
+ caption_format: string;
1332
+ cla_subtitle_id: number | string;
1333
+ expire: number | string;
1334
+ is_auto_generated: boolean;
1335
+ is_original_caption: boolean;
1336
+ lang: string;
1337
+ language_code: string;
1338
+ language_id: number | string;
1339
+ sub_id: number | string;
1340
+ subtitle_type: number | string;
1341
+ translation_type: number | string;
1342
+ url: string;
1343
+ url_list: string[];
1344
+ variant: string;
1345
+ }
1346
+ export interface TikTokChallengeTag {
1347
+ cha_name: string;
1348
+ cid: string;
1349
+ desc: string;
1350
+ }
1351
+ export interface TikTokClaInfo {
1352
+ caption_infos: TikTokCaptionInfo[];
1353
+ captions_type?: number | string;
1354
+ enable_auto_caption: number | string;
1355
+ has_original_audio: number | string;
1356
+ no_caption_reason?: number | string;
1357
+ original_language_info?: TikTokOriginalLanguageInfo;
1358
+ }
1359
+ export interface TikTokCollectionVideosResponse {
1360
+ collection_id: string;
1361
+ has_more: boolean;
1362
+ max_cursor: string;
1363
+ status_code: number | string;
1364
+ status_msg: string;
1365
+ videos: TikTokWebItem[];
1366
+ }
1367
+ export interface TikTokComment {
1368
+ allow_download_photo?: boolean;
1369
+ author_pin?: boolean;
1370
+ aweme_id: string;
1371
+ cid: string;
1372
+ collect_stat: number | string;
1373
+ comment_language: string;
1374
+ comment_post_item_ids: string | null;
1375
+ create_time: number | string;
1376
+ digg_count: number | string;
1377
+ fold_status: number | string;
1378
+ image_list: string | null;
1379
+ is_author_digged: boolean;
1380
+ is_comment_translatable: boolean;
1381
+ is_high_purchase_intent: boolean;
1382
+ label_list: string | null;
1383
+ no_show: boolean;
1384
+ reply_comment: string | null;
1385
+ reply_comment_total?: number | string;
1386
+ reply_id: string;
1387
+ reply_to_nickname?: string;
1388
+ reply_to_reply_id: string;
1389
+ reply_to_userid?: string;
1390
+ reply_to_username?: string;
1391
+ seeking_help_model_type: number | string;
1392
+ share_info: TikTokCommentShareInfo;
1393
+ sort_extra_score?: TikTokCommentSortExtraScore;
1394
+ sort_tags?: string;
1395
+ status: number | string;
1396
+ stick_position: number | string;
1397
+ text: string;
1398
+ text_extra: TikTokCommentTextExtra[];
1399
+ text_to_image_item_ids: string | null;
1400
+ thread_has_more: boolean;
1401
+ thread_id: number | string;
1402
+ trans_btn_style: number | string;
1403
+ translated_text_extra: string | null;
1404
+ user: TikTokCommentUser;
1405
+ user_buried: boolean;
1406
+ user_digged: number | string;
1407
+ }
1408
+ export interface TikTokCommentPageExtra {
1409
+ api_debug_info: string | null;
1410
+ fatal_item_ids: string | null;
1411
+ now: number | string;
1412
+ }
1413
+ export interface TikTokCommentPageLogPb {
1414
+ impr_id: string;
1415
+ }
1416
+ export interface TikTokCommentRepliesResponse {
1417
+ comments: TikTokComment[];
1418
+ cursor: number | string;
1419
+ extra: TikTokCommentReplyPageExtra;
1420
+ has_more: number | string;
1421
+ log_pb: TikTokCommentReplyPageLogPb;
1422
+ status_code: number | string;
1423
+ status_msg: string;
1424
+ total: number | string;
1425
+ }
1426
+ export interface TikTokCommentReplyPageExtra {
1427
+ fatal_item_ids: string[];
1428
+ logid: string;
1429
+ now: number | string;
1430
+ }
1431
+ export interface TikTokCommentReplyPageLogPb {
1432
+ impr_id: string;
1433
+ }
1434
+ export interface TikTokCommentShareInfo {
1435
+ acl: TikTokCommentShareInfoAcl;
1436
+ desc: string;
1437
+ title: string;
1438
+ url: string;
1439
+ }
1440
+ export interface TikTokCommentShareInfoAcl {
1441
+ add_to_story_code: number | string;
1442
+ code: number | string;
1443
+ extra: string;
1444
+ }
1445
+ export interface TikTokCommentSortExtraScore {
1446
+ reply_score: number | string;
1447
+ show_more_score: number | string;
1448
+ }
1449
+ export interface TikTokCommentTextExtra {
1450
+ emoji_id: string;
1451
+ end: number | string;
1452
+ group_id: number | string;
1453
+ group_name: string;
1454
+ group_scene: string;
1455
+ hashtag_id: string;
1456
+ hashtag_name: string;
1457
+ product_id: number | string;
1458
+ product_schema: string;
1459
+ product_title: string;
1460
+ sec_uid: string;
1461
+ start: number | string;
1462
+ type: number | string;
1463
+ user_id: string;
1464
+ }
1465
+ export interface TikTokCommentUser {
1466
+ account_labels: string | null;
1467
+ ad_cover_url: string | null;
1468
+ advance_feature_item_order: string | null;
1469
+ advanced_feature_info: string | null;
1470
+ avatar_thumb: TikTokCommentUserAvatarThumb;
1471
+ bold_fields: string | null;
1472
+ can_message_follow_status_list: string | null;
1473
+ can_set_geofencing: string | null;
1474
+ cha_list: string | null;
1475
+ cover_url: string | null;
1476
+ custom_verify: string;
1477
+ enterprise_verify_reason: string;
1478
+ events: string | null;
1479
+ followers_detail: string | null;
1480
+ geofencing: string | null;
1481
+ homepage_bottom_toast: string | null;
1482
+ item_list: string | null;
1483
+ mutual_relation_avatars: string | null;
1484
+ need_points: string | null;
1485
+ nickname: string;
1486
+ platform_sync_info: string | null;
1487
+ predicted_age_group?: string;
1488
+ relative_users: string | null;
1489
+ search_highlight: string | null;
1490
+ sec_uid: string;
1491
+ shield_edit_field_info: string | null;
1492
+ type_label: string | null;
1493
+ uid: string;
1494
+ unique_id: string;
1495
+ user_profile_guide: string | null;
1496
+ user_tags: string | null;
1497
+ white_cover_url: string | null;
1498
+ }
1499
+ export interface TikTokCommentUserAvatarThumb {
1500
+ uri: string;
1501
+ url_list: string[];
1502
+ url_prefix: string | null;
1503
+ }
1504
+ export interface TikTokCommentsResponse {
1505
+ alias_comment_deleted: boolean;
1506
+ comments: TikTokComment[];
1507
+ cursor: number | string;
1508
+ extra: TikTokCommentPageExtra;
1509
+ has_filtered_comments: number | string;
1510
+ has_more: number | string;
1511
+ log_pb: TikTokCommentPageLogPb;
1512
+ reply_style: number | string;
1513
+ status_code: number | string;
1514
+ status_msg: string;
1515
+ top_gifts: string | null;
1516
+ total: number | string;
1517
+ }
1518
+ export interface TikTokFollowersResponse {
1519
+ followers: TikTokUser[];
1520
+ has_more: boolean;
1521
+ min_time: number | string;
1522
+ status_code: number | string;
1523
+ total: number | string;
1524
+ }
1525
+ export interface TikTokFollowingResponse {
1526
+ followings: TikTokUser[];
1527
+ has_more: boolean;
1528
+ min_time: number | string;
1529
+ status_code: number | string;
1530
+ total: number | string;
1531
+ }
1532
+ export interface TikTokHashtagSearchResponse {
1533
+ aweme_list: TikTokAweme[];
1534
+ cursor: number | string;
1535
+ has_more: number | string;
1536
+ status_code: number | string;
1537
+ }
1538
+ export interface TikTokImagePostImage {
1539
+ display_image: TikTokSizedImage;
1540
+ }
1541
+ export interface TikTokImagePostInfo {
1542
+ images: TikTokImagePostImage[];
1543
+ title: string;
1544
+ }
1545
+ export interface TikTokOriginalLanguageInfo {
1546
+ lang: string;
1547
+ language_code: string;
1548
+ language_id: number | string;
1549
+ }
1550
+ export interface TikTokPlayAddr {
1551
+ data_size: number | string;
1552
+ file_cs: string;
1553
+ file_hash: string;
1554
+ height: number | string;
1555
+ uri: string;
1556
+ url_key: string;
1557
+ url_list: string[];
1558
+ width: number | string;
1559
+ }
1560
+ export interface TikTokProfileResponse {
1561
+ itemList: string[];
1562
+ stats: TikTokUserInfoStats;
1563
+ statsV2: TikTokUserInfoStatsV2;
1564
+ user: TikTokUserInfoUser;
1565
+ }
1566
+ export interface TikTokProfileVideosResponse {
1567
+ aweme_list: TikTokAweme[];
1568
+ has_more: number | string;
1569
+ max_cursor: number | string;
1570
+ status_code: number | string;
1571
+ }
1572
+ export interface TikTokSearchSuggestion {
1573
+ language: string;
1574
+ position: number | string;
1575
+ score: number | string;
1576
+ text: string;
1577
+ }
1578
+ export interface TikTokSearchSuggestionsResponse {
1579
+ suggestions: TikTokSearchSuggestion[];
1580
+ }
1581
+ export interface TikTokSizedImage {
1582
+ height: number | string;
1583
+ uri: string;
1584
+ url_list: string[];
1585
+ width: number | string;
1586
+ }
1587
+ export interface TikTokSongMusicInfo {
1588
+ album: string;
1589
+ author: string;
1590
+ cover_large: TikTokUrlImage;
1591
+ cover_medium: TikTokUrlImage;
1592
+ cover_thumb: TikTokUrlImage;
1593
+ duration: number | string;
1594
+ id: number | string;
1595
+ id_str: string;
1596
+ is_commerce_music?: boolean;
1597
+ is_original: boolean;
1598
+ mid: string;
1599
+ play_url: TikTokUrlImage;
1600
+ title: string;
1601
+ user_count: number | string;
1602
+ }
1603
+ export interface TikTokSongResponse {
1604
+ music_info: TikTokSongMusicInfo;
1605
+ }
1606
+ export interface TikTokSongVideosResponse {
1607
+ aweme_list: TikTokAweme[];
1608
+ cursor: number | string;
1609
+ has_more: number | string;
1610
+ status_code: number | string;
1611
+ }
1612
+ export interface TikTokTextExtra {
1613
+ end: number | string;
1614
+ hashtag_id?: string;
1615
+ hashtag_name: string;
1616
+ is_commerce: boolean;
1617
+ sec_uid?: string;
1618
+ start: number | string;
1619
+ sub_type: number | string;
1620
+ type: number | string;
1621
+ user_id?: string;
1622
+ }
1623
+ export interface TikTokTranscriptResponse {
1624
+ id: string;
1625
+ transcript: string;
1626
+ url: string;
1627
+ }
1628
+ export interface TikTokTrendingAuthor {
1629
+ avatar_medium: TikTokAppAwemeAuthorAvatarMedium;
1630
+ avatar_thumb: TikTokAppAwemeAuthorAvatarThumb;
1631
+ nickname: string;
1632
+ uid: string;
1633
+ unique_id: string;
1634
+ }
1635
+ export interface TikTokTrendingFeedResponse {
1636
+ aweme_list: TikTokTrendingItem[];
1637
+ }
1638
+ export interface TikTokTrendingItem {
1639
+ anchors: TikTokAppAwemeAnchors[] | null;
1640
+ author: TikTokTrendingAuthor;
1641
+ author_user_id: number | string;
1642
+ aweme_id: string;
1643
+ commerce_info: TikTokAppAwemeCommerceInfo;
1644
+ create_time: number | string;
1645
+ create_time_utc: string;
1646
+ desc: string;
1647
+ is_ad: boolean;
1648
+ item_comment_settings: number | string;
1649
+ music: TikTokAppAwemeMusic;
1650
+ poi_data?: TikTokAppAwemePoiData;
1651
+ region: string;
1652
+ share_info: TikTokAppAwemeShareInfo;
1653
+ statistics: TikTokAppAwemeStatistics;
1654
+ url: string;
1655
+ video: TikTokTrendingVideo;
1656
+ }
1657
+ export interface TikTokTrendingVideo {
1658
+ bit_rate: TikTokAppAwemeVideoBitRate[];
1659
+ cover: TikTokAppAwemeVideoCover;
1660
+ download_addr?: TikTokAppAwemeVideoDownloadAddr;
1661
+ duration: number | string;
1662
+ dynamic_cover: TikTokAppAwemeVideoDynamicCover;
1663
+ has_watermark: boolean;
1664
+ origin_cover: TikTokAppAwemeVideoOriginCover;
1665
+ play_addr: TikTokAppAwemeVideoPlayAddr;
1666
+ }
1667
+ export interface TikTokTrimmedAweme {
1668
+ author: TikTokUser;
1669
+ aweme_id: string;
1670
+ create_time: number | string;
1671
+ create_time_utc: string;
1672
+ desc: string;
1673
+ desc_language?: string;
1674
+ is_ad: boolean;
1675
+ statistics: TikTokAwemeStatistics;
1676
+ url: string;
1677
+ video: TikTokAwemeVideo;
1678
+ }
1679
+ export interface TikTokTrimmedComment {
1680
+ aweme_id: string;
1681
+ comment_language?: string;
1682
+ create_time: number | string;
1683
+ digg_count: number | string;
1684
+ reply_comment_total?: number | string;
1685
+ text: string;
1686
+ user: TikTokCommentUser;
1687
+ }
1688
+ export interface TikTokTrimmedCommentsResponse {
1689
+ comments: TikTokTrimmedComment[];
1690
+ cursor: number | string;
1691
+ end_of_pagination: boolean;
1692
+ has_more: number | string;
1693
+ total: number | string;
1694
+ }
1695
+ export interface TikTokTrimmedFollowersResponse {
1696
+ followers: TikTokTrimmedRelationUser[];
1697
+ min_time: number | string;
1698
+ total: number | string;
1699
+ }
1700
+ export interface TikTokTrimmedFollowingResponse {
1701
+ followings: TikTokTrimmedRelationUser[];
1702
+ min_time: number | string;
1703
+ total: number | string;
1704
+ }
1705
+ export interface TikTokTrimmedHashtagSearchResponse {
1706
+ aweme_list: TikTokTrimmedAweme[];
1707
+ cursor: number | string;
1708
+ }
1709
+ export interface TikTokTrimmedProfileVideosResponse {
1710
+ aweme_list: TikTokTrimmedAweme[];
1711
+ has_more: number | string;
1712
+ max_cursor: number | string;
1713
+ }
1714
+ export interface TikTokTrimmedRelationUser {
1715
+ avatar_medium: TikTokUrlImage;
1716
+ follower_count?: number | string;
1717
+ following_count?: number | string;
1718
+ nickname: string;
1719
+ sec_uid: string;
1720
+ signature: string;
1721
+ uid: string;
1722
+ unique_id: string;
1723
+ }
1724
+ export interface TikTokTrimmedTrendingFeedResponse {
1725
+ aweme_list: TikTokTrimmedTrendingItem[];
1726
+ }
1727
+ export interface TikTokTrimmedTrendingItem {
1728
+ author: TikTokTrendingAuthor;
1729
+ aweme_id: string;
1730
+ create_time: number | string;
1731
+ create_time_utc: string;
1732
+ desc: string;
1733
+ is_ad: boolean;
1734
+ region: string;
1735
+ statistics: TikTokAppAwemeStatistics;
1736
+ url: string;
1737
+ video: TikTokTrendingVideo;
1738
+ }
1739
+ export interface TikTokTrimmedVideoAweme {
1740
+ author: TikTokAppAwemeAuthor;
1741
+ aweme_id: string;
1742
+ create_time: number | string;
1743
+ create_time_utc: string;
1744
+ desc: string;
1745
+ is_ad: boolean;
1746
+ region: string;
1747
+ statistics: TikTokAppAwemeStatistics;
1748
+ url: string;
1749
+ video: TikTokAppAwemeVideo;
1750
+ }
1751
+ export interface TikTokTrimmedVideoResponse {
1752
+ aweme_detail: TikTokTrimmedVideoAweme;
1753
+ transcript?: string | null;
1754
+ }
1755
+ export interface TikTokUrlImage {
1756
+ uri: string;
1757
+ url_list: string[];
1758
+ }
1759
+ export interface TikTokUser {
1760
+ avatar_larger: TikTokUrlImage;
1761
+ avatar_medium: TikTokUrlImage;
1762
+ avatar_thumb: TikTokUrlImage;
1763
+ aweme_count?: number | string;
1764
+ comment_setting?: number | string;
1765
+ download_setting: number | string;
1766
+ duet_setting?: number | string;
1767
+ favoriting_count?: number | string;
1768
+ follower_count?: number | string;
1769
+ following_count?: number | string;
1770
+ nickname: string;
1771
+ sec_uid: string;
1772
+ secret: number | string;
1773
+ signature: string;
1774
+ stitch_setting?: number | string;
1775
+ total_favorited?: number | string;
1776
+ uid: string;
1777
+ unique_id: string;
1778
+ verification_type: number | string;
1779
+ }
1780
+ export interface TikTokUserInfoStats {
1781
+ diggCount: number | string;
1782
+ followerCount: number | string;
1783
+ followingCount: number | string;
1784
+ friendCount: number | string;
1785
+ heart: number | string;
1786
+ heartCount: number | string;
1787
+ videoCount: number | string;
1788
+ }
1789
+ export interface TikTokUserInfoStatsV2 {
1790
+ diggCount: string;
1791
+ followerCount: string;
1792
+ followingCount: string;
1793
+ friendCount: string;
1794
+ heart: string;
1795
+ heartCount: string;
1796
+ videoCount: string;
1797
+ }
1798
+ export interface TikTokUserInfoUser {
1799
+ UserStoryStatus: number | string;
1800
+ avatarLarger: string;
1801
+ avatarMedium: string;
1802
+ avatarThumb: string;
1803
+ bioLink?: TikTokUserInfoUserBioLink;
1804
+ canExpPlaylist: boolean;
1805
+ commentSetting?: number | string;
1806
+ commerceUserInfo: TikTokUserInfoUserCommerceUserInfo;
1807
+ createTime: number | string;
1808
+ downloadSetting: number | string;
1809
+ duetSetting?: number | string;
1810
+ eventList?: string[];
1811
+ followingVisibility: number | string;
1812
+ ftc: boolean;
1813
+ id: string;
1814
+ isADVirtual: boolean;
1815
+ isEmbedBanned: boolean;
1816
+ isOrganization: number | string;
1817
+ language: string;
1818
+ nickNameModifyTime: number | string;
1819
+ nickname: string;
1820
+ nowInvitationCardUrl: string;
1821
+ openFavorite: boolean;
1822
+ privateAccount: boolean;
1823
+ profileEmbedPermission: number | string;
1824
+ profileTab: TikTokUserInfoUserProfileTab;
1825
+ recommendReason: string;
1826
+ relation: number | string;
1827
+ roomId: string;
1828
+ secUid: string;
1829
+ secret: boolean;
1830
+ shortDramaCreator: Record<string, string>;
1831
+ shortId: string;
1832
+ signature: string;
1833
+ stitchSetting?: number | string;
1834
+ suggestAccountBind: boolean;
1835
+ ttSeller: boolean;
1836
+ uniqueId: string;
1837
+ uniqueIdModifyTime: number | string;
1838
+ verified: boolean;
1839
+ }
1840
+ export interface TikTokUserInfoUserBioLink {
1841
+ link: string;
1842
+ risk: number | string;
1843
+ }
1844
+ export interface TikTokUserInfoUserCommerceUserInfo {
1845
+ category?: string;
1846
+ categoryButton?: boolean;
1847
+ commerceUser: boolean;
1848
+ downLoadLink?: TikTokUserInfoUserCommerceUserInfoDownLoadLink;
1849
+ }
1850
+ export interface TikTokUserInfoUserCommerceUserInfoDownLoadLink {
1851
+ android: string;
1852
+ ios: string;
1853
+ }
1854
+ export interface TikTokUserInfoUserProfileTab {
1855
+ showMusicTab: boolean;
1856
+ showPlayListTab: boolean;
1857
+ showQuestionTab: boolean;
1858
+ }
1859
+ export interface TikTokVideoAweme {
1860
+ add_yours_recommendation?: Record<string, string>;
1861
+ added_sound_music_info?: TikTokAppAwemeAddedSoundMusicInfo;
1862
+ aigc_info?: TikTokAppAwemeAigcInfo;
1863
+ anchors: TikTokAppAwemeAnchors[] | null;
1864
+ animated_image_info?: TikTokAppAwemeAnimatedImageInfo;
1865
+ author: TikTokAppAwemeAuthor;
1866
+ author_user_id: number | string;
1867
+ aweme_acl?: TikTokAppAwemeAwemeAcl;
1868
+ aweme_id: string;
1869
+ aweme_type?: number | string;
1870
+ banners?: TikTokAppAwemeBanners[] | null;
1871
+ batch_index?: number | string;
1872
+ behind_the_song_music_ids?: string | null;
1873
+ behind_the_song_video_music_ids?: string | null;
1874
+ bodydance_score?: number | string;
1875
+ bottom_products?: string | null;
1876
+ branded_content_accounts?: string | null;
1877
+ cha_list?: TikTokAppAwemeChaList[] | null;
1878
+ challenge_position?: string | null;
1879
+ cmt_swt?: boolean;
1880
+ collect_stat?: number | string;
1881
+ comment_config?: TikTokAppAwemeCommentConfig;
1882
+ comment_topbar_info?: string | null;
1883
+ commerce_config_data?: string | null;
1884
+ commerce_info: TikTokAppAwemeCommerceInfo;
1885
+ content_desc?: string;
1886
+ content_desc_extra?: TikTokAppAwemeContentDescExtra[];
1887
+ content_original_type?: number | string;
1888
+ content_size_type?: number | string;
1889
+ content_type?: string;
1890
+ cover_labels?: string | null;
1891
+ create_time: number | string;
1892
+ create_time_utc: string;
1893
+ desc: string;
1894
+ desc_language?: string;
1895
+ disable_search_trending_bar?: boolean;
1896
+ distance?: string;
1897
+ distribute_type?: number | string;
1898
+ ecosystem_perception_enhancement?: string | null;
1899
+ follow_up_first_item_id?: string;
1900
+ follow_up_item_id_groups?: string;
1901
+ follow_up_publish_from_id?: number | string;
1902
+ geofencing?: string | null;
1903
+ geofencing_regions?: string | null;
1904
+ green_screen_materials?: string | null;
1905
+ group_id?: string;
1906
+ has_danmaku?: boolean;
1907
+ has_vs_entry?: boolean;
1908
+ hybrid_label?: string | null;
1909
+ image_infos?: string | null;
1910
+ image_post_info?: TikTokAppAwemeImagePostInfo;
1911
+ interact_permission?: TikTokAppAwemeInteractPermission;
1912
+ interaction_stickers?: TikTokAppAwemeInteractionStickers[] | null;
1913
+ is_ad?: boolean;
1914
+ is_ads?: boolean;
1915
+ is_description_translatable?: boolean;
1916
+ is_hash_tag?: number | string;
1917
+ is_pgcshow?: boolean;
1918
+ is_relieve?: boolean;
1919
+ is_text_sticker_translatable?: boolean;
1920
+ is_top?: number | string;
1921
+ is_vr?: boolean;
1922
+ item_comment_settings: number | string;
1923
+ item_distribute_source?: string;
1924
+ item_duet?: number | string;
1925
+ item_react?: number | string;
1926
+ item_source_category?: number | string;
1927
+ label_top?: TikTokAppAwemeLabelTop;
1928
+ label_top_text?: string | null;
1929
+ log_info?: TikTokAppAwemeLogInfo;
1930
+ long_video?: string | null;
1931
+ main_arch_common?: string;
1932
+ mask_infos?: string[];
1933
+ misc_info?: string;
1934
+ muf_comment_info_v2?: string | null;
1935
+ music: TikTokAppAwemeMusic;
1936
+ music_begin_time_in_ms?: number | string;
1937
+ music_end_time_in_ms?: number | string;
1938
+ music_selected_from?: string;
1939
+ music_title_style?: number | string;
1940
+ music_volume?: string;
1941
+ need_vs_entry?: boolean;
1942
+ nickname_position?: string | null;
1943
+ operator_boost_info?: string | null;
1944
+ origin_comment_ids?: string | null;
1945
+ origin_volume?: string;
1946
+ original_client_text?: TikTokAppAwemeOriginalClientText;
1947
+ picked_users?: string | null;
1948
+ playlist_blocked?: boolean;
1949
+ playlist_info?: TikTokAppAwemePlaylistInfo;
1950
+ poi_data?: TikTokAppAwemePoiData;
1951
+ position?: string | null;
1952
+ prevent_download?: boolean;
1953
+ products_info?: string | null;
1954
+ question_list?: string | null;
1955
+ rate?: number | string;
1956
+ reference_tts_voice_ids?: string | null;
1957
+ reference_voice_filter_ids?: string | null;
1958
+ region: string;
1959
+ right_products?: string | null;
1960
+ risk_infos?: TikTokAppAwemeRiskInfos;
1961
+ search_highlight?: string | null;
1962
+ share_info: TikTokAppAwemeShareInfo;
1963
+ share_url?: string;
1964
+ shoot_tab_name?: string;
1965
+ smart_search_info?: TikTokAppAwemeSmartSearchInfo;
1966
+ sort_label?: string;
1967
+ sound_exemption?: number | string;
1968
+ standard_component_info?: TikTokAppAwemeStandardComponentInfo;
1969
+ statistics: TikTokAppAwemeStatistics;
1970
+ status?: TikTokAppAwemeStatus;
1971
+ sticker_detail?: TikTokAppAwemeStickerDetail;
1972
+ stickers?: string;
1973
+ suggest_words?: TikTokAppAwemeSuggestWords;
1974
+ support_danmaku?: boolean;
1975
+ survey_info?: string | null;
1976
+ tako_bubble_info?: TikTokAppAwemeTakoBubbleInfo;
1977
+ text_extra?: TikTokAppAwemeTextExtra[];
1978
+ text_sticker_major_lang?: string;
1979
+ ttec_suggest_words?: TikTokAppAwemeTtecSuggestWords;
1980
+ tts_voice_ids?: string[] | null;
1981
+ uniqid_position?: string | null;
1982
+ url: string;
1983
+ user_digged?: number | string;
1984
+ video: TikTokAppAwemeVideo;
1985
+ video_control?: TikTokAppAwemeVideoControl;
1986
+ video_labels?: string[];
1987
+ video_text?: string[];
1988
+ visual_search_info?: TikTokAppAwemeVisualSearchInfo;
1989
+ voice_filter_ids?: string | null;
1990
+ with_promotional_music?: boolean;
1991
+ with_survey?: boolean;
1992
+ }
1993
+ export interface TikTokVideoResponse {
1994
+ aweme_detail: TikTokVideoAweme;
1995
+ transcript?: string | null;
1996
+ }
1997
+ export interface TikTokWebItem {
1998
+ AIGCDescription: string;
1999
+ AnchorTypes?: (number | string)[];
2000
+ BAInfo?: string;
2001
+ CategoryType: number | string;
2002
+ IsHDBitrate: boolean;
2003
+ ShowAIGC: boolean;
2004
+ adAuthorization?: boolean;
2005
+ adLabelVersion?: number | string;
2006
+ aigcLabelType?: number | string;
2007
+ anchors?: TikTokWebItemAnchors[];
2008
+ author: TikTokWebItemAuthor;
2009
+ authorStats: TikTokWebItemAuthorStats;
2010
+ authorStatsV2: TikTokWebItemAuthorStatsV2;
2011
+ backendSourceEventTracking: string;
2012
+ brandOrganicType?: number | string;
2013
+ challenges?: TikTokWebItemChallenges[];
2014
+ collected: boolean;
2015
+ contents?: TikTokWebItemContents[];
2016
+ createTime: number | string;
2017
+ creatorAIComment?: TikTokWebItemCreatorAIComment;
2018
+ desc: string;
2019
+ digged: boolean;
2020
+ diversificationId?: number | string;
2021
+ duetDisplay: number | string;
2022
+ duetEnabled?: boolean;
2023
+ effectStickers?: TikTokWebItemEffectStickers[];
2024
+ enterMdpPV?: number | string;
2025
+ forFriend: boolean;
2026
+ id: string;
2027
+ imagePost?: TikTokWebItemImagePost;
2028
+ isAd: boolean;
2029
+ isECVideo?: number | string;
2030
+ isPinnedItem?: boolean;
2031
+ isProhibited: boolean;
2032
+ isReviewing: boolean;
2033
+ itemCommentStatus: number | string;
2034
+ itemMute?: boolean;
2035
+ item_control: TikTokWebItemItemControl;
2036
+ maskType?: number | string;
2037
+ moderationAigcLabelType?: number | string;
2038
+ music: TikTokWebItemMusic;
2039
+ officalItem: boolean;
2040
+ originalItem: boolean;
2041
+ penaltyContext?: TikTokWebItemPenaltyContext;
2042
+ playlistId?: string;
2043
+ poi?: TikTokWebItemPoi;
2044
+ privateItem: boolean;
2045
+ secret: boolean;
2046
+ shareEnabled: boolean;
2047
+ stats: TikTokWebItemStats;
2048
+ statsV2: TikTokWebItemStatsV2;
2049
+ stickersOnItem?: TikTokWebItemStickersOnItem[];
2050
+ stitchDisplay: number | string;
2051
+ stitchEnabled?: boolean;
2052
+ textExtra?: TikTokWebItemTextExtra[];
2053
+ textLanguage: string;
2054
+ textTranslatable: boolean;
2055
+ titleLanguage?: string;
2056
+ titleTranslatable?: boolean;
2057
+ video: TikTokWebItemVideo;
2058
+ videoSuggestWordsList?: TikTokWebItemVideoSuggestWordsList;
2059
+ warnInfo?: TikTokWebItemWarnInfo[];
2060
+ }
2061
+ export interface TikTokWebItemAnchors {
2062
+ description?: string;
2063
+ extraInfo?: TikTokWebItemAnchorsExtraInfo;
2064
+ icon?: TikTokWebItemAnchorsIcon;
2065
+ id: string;
2066
+ keyword: string;
2067
+ logExtra?: string;
2068
+ schema?: string;
2069
+ thumbnail?: TikTokWebItemAnchorsThumbnail;
2070
+ type: number | string;
2071
+ }
2072
+ export interface TikTokWebItemAnchorsExtraInfo {
2073
+ subtype: string;
2074
+ }
2075
+ export interface TikTokWebItemAnchorsIcon {
2076
+ urlList: string[];
2077
+ }
2078
+ export interface TikTokWebItemAnchorsThumbnail {
2079
+ height: number | string;
2080
+ urlList: string[];
2081
+ width: number | string;
2082
+ }
2083
+ export interface TikTokWebItemAuthor {
2084
+ UserStoryStatus?: number | string;
2085
+ avatarLarger: string;
2086
+ avatarMedium: string;
2087
+ avatarThumb: string;
2088
+ commentSetting: number | string;
2089
+ downloadSetting: number | string;
2090
+ duetSetting: number | string;
2091
+ ftc: boolean;
2092
+ id: string;
2093
+ isADVirtual: boolean;
2094
+ isEmbedBanned: boolean;
2095
+ nickname: string;
2096
+ openFavorite: boolean;
2097
+ privateAccount: boolean;
2098
+ relation: number | string;
2099
+ roomId?: string;
2100
+ secUid: string;
2101
+ secret: boolean;
2102
+ shortDramaCreator: Record<string, string>;
2103
+ signature: string;
2104
+ stitchSetting: number | string;
2105
+ uniqueId: string;
2106
+ verified: boolean;
2107
+ }
2108
+ export interface TikTokWebItemAuthorStats {
2109
+ diggCount: number | string;
2110
+ followerCount: number | string;
2111
+ followingCount: number | string;
2112
+ friendCount: number | string;
2113
+ heart: number | string;
2114
+ heartCount: number | string;
2115
+ videoCount: number | string;
2116
+ }
2117
+ export interface TikTokWebItemAuthorStatsV2 {
2118
+ diggCount: string;
2119
+ followerCount: string;
2120
+ followingCount: string;
2121
+ friendCount: string;
2122
+ heart: string;
2123
+ heartCount: string;
2124
+ videoCount: string;
2125
+ }
2126
+ export interface TikTokWebItemChallenges {
2127
+ coverLarger: string;
2128
+ coverMedium: string;
2129
+ coverThumb: string;
2130
+ desc: string;
2131
+ id: string;
2132
+ isCommerce?: boolean;
2133
+ profileLarger: string;
2134
+ profileMedium: string;
2135
+ profileThumb: string;
2136
+ title: string;
2137
+ }
2138
+ export interface TikTokWebItemContents {
2139
+ desc: string;
2140
+ textExtra?: TikTokWebItemContentsTextExtra[];
2141
+ }
2142
+ export interface TikTokWebItemContentsTextExtra {
2143
+ awemeId: string;
2144
+ end: number | string;
2145
+ hashtagName: string;
2146
+ isCommerce: boolean;
2147
+ secUid?: string;
2148
+ start: number | string;
2149
+ subType: number | string;
2150
+ type: number | string;
2151
+ userId?: string;
2152
+ userUniqueId?: string;
2153
+ }
2154
+ export interface TikTokWebItemCreatorAIComment {
2155
+ eligibleVideo: boolean;
2156
+ hasAITopic: boolean;
2157
+ notEligibleReason: number | string;
2158
+ }
2159
+ export interface TikTokWebItemEffectStickers {
2160
+ ID: string;
2161
+ name: string;
2162
+ stickerStats: TikTokWebItemEffectStickersStickerStats;
2163
+ }
2164
+ export interface TikTokWebItemEffectStickersStickerStats {
2165
+ useCount: number | string;
2166
+ }
2167
+ export interface TikTokWebItemImagePost {
2168
+ cover: TikTokWebItemImagePostCover;
2169
+ images: TikTokWebItemImagePostImages[];
2170
+ shareCover: TikTokWebItemImagePostShareCover;
2171
+ title: string;
2172
+ }
2173
+ export interface TikTokWebItemImagePostCover {
2174
+ imageHeight: number | string;
2175
+ imageURL: TikTokWebItemImagePostCoverImageURL;
2176
+ imageWidth: number | string;
2177
+ }
2178
+ export interface TikTokWebItemImagePostCoverImageURL {
2179
+ urlList: string[];
2180
+ }
2181
+ export interface TikTokWebItemImagePostImages {
2182
+ imageHeight: number | string;
2183
+ imageURL: TikTokWebItemImagePostImagesImageURL;
2184
+ imageWidth: number | string;
2185
+ }
2186
+ export interface TikTokWebItemImagePostImagesImageURL {
2187
+ urlList: string[];
2188
+ }
2189
+ export interface TikTokWebItemImagePostShareCover {
2190
+ imageHeight: number | string;
2191
+ imageURL: TikTokWebItemImagePostShareCoverImageURL;
2192
+ imageWidth: number | string;
2193
+ }
2194
+ export interface TikTokWebItemImagePostShareCoverImageURL {
2195
+ urlList: string[];
2196
+ }
2197
+ export interface TikTokWebItemItemControl {
2198
+ can_comment?: boolean;
2199
+ can_creator_redirect?: boolean;
2200
+ can_music_redirect?: boolean;
2201
+ can_repost: boolean;
2202
+ can_share?: boolean;
2203
+ }
2204
+ export interface TikTokWebItemMusic {
2205
+ album?: string;
2206
+ authorName?: string;
2207
+ coverLarge: string;
2208
+ coverMedium: string;
2209
+ coverThumb: string;
2210
+ duration?: number | string;
2211
+ id: string;
2212
+ isCopyrighted: boolean;
2213
+ is_commerce_music?: boolean;
2214
+ is_unlimited_music?: boolean;
2215
+ original: boolean;
2216
+ playUrl?: string;
2217
+ private?: boolean;
2218
+ shoot_duration?: number | string;
2219
+ title: string;
2220
+ tt2dsp?: TikTokWebItemMusicTt2dsp;
2221
+ }
2222
+ export interface TikTokWebItemMusicTt2dsp {
2223
+ tt_to_dsp_song_infos?: TikTokWebItemMusicTt2dspTtToDspSongInfos[];
2224
+ }
2225
+ export interface TikTokWebItemMusicTt2dspTtToDspSongInfos {
2226
+ meta_song_id: string;
2227
+ platform: number | string;
2228
+ song_id: string;
2229
+ token?: TikTokWebItemMusicTt2dspTtToDspSongInfosToken;
2230
+ }
2231
+ export interface TikTokWebItemMusicTt2dspTtToDspSongInfosToken {
2232
+ apple_music_token: TikTokWebItemMusicTt2dspTtToDspSongInfosTokenAppleMusicToken;
2233
+ }
2234
+ export interface TikTokWebItemMusicTt2dspTtToDspSongInfosTokenAppleMusicToken {
2235
+ developer_token: string;
2236
+ }
2237
+ export interface TikTokWebItemPenaltyContext {
2238
+ arb_content_safety_status?: number | string;
2239
+ display_penalty_type: number | string;
2240
+ display_policy: number | string;
2241
+ display_ui_type: number | string;
2242
+ ec_global_verdict?: number | string;
2243
+ reviewed: number | string;
2244
+ status: number | string;
2245
+ tns_status: number | string;
2246
+ user_canceled?: number | string;
2247
+ video_status: number | string;
2248
+ }
2249
+ export interface TikTokWebItemPoi {
2250
+ address: string;
2251
+ category: string;
2252
+ city: string;
2253
+ cityCode: string;
2254
+ country: string;
2255
+ countryCode: string;
2256
+ fatherPoiId: string;
2257
+ fatherPoiName: string;
2258
+ id: string;
2259
+ name: string;
2260
+ province: string;
2261
+ ttTypeCode: string;
2262
+ ttTypeCodeL1: string;
2263
+ ttTypeNameMedium: string;
2264
+ ttTypeNameSuper: string;
2265
+ ttTypeNameTiny: string;
2266
+ type: number | string;
2267
+ typeCode: string;
2268
+ }
2269
+ export interface TikTokWebItemStats {
2270
+ collectCount: number | string;
2271
+ commentCount: number | string;
2272
+ diggCount: number | string;
2273
+ playCount: number | string;
2274
+ shareCount: number | string;
2275
+ }
2276
+ export interface TikTokWebItemStatsV2 {
2277
+ collectCount: string;
2278
+ commentCount: string;
2279
+ diggCount: string;
2280
+ playCount: string;
2281
+ repostCount: string;
2282
+ shareCount: string;
2283
+ }
2284
+ export interface TikTokWebItemStickersOnItem {
2285
+ stickerText: string[];
2286
+ stickerType: number | string;
2287
+ }
2288
+ export interface TikTokWebItemTextExtra {
2289
+ awemeId: string;
2290
+ end: number | string;
2291
+ hashtagName: string;
2292
+ isCommerce: boolean;
2293
+ secUid?: string;
2294
+ start: number | string;
2295
+ subType: number | string;
2296
+ type: number | string;
2297
+ userId?: string;
2298
+ userUniqueId?: string;
2299
+ }
2300
+ export interface TikTokWebItemVideo {
2301
+ PlayAddrStruct?: TikTokWebItemVideoPlayAddrStruct;
2302
+ VQScore?: string;
2303
+ bitrate?: number | string;
2304
+ bitrateInfo?: TikTokWebItemVideoBitrateInfo[];
2305
+ claInfo?: TikTokWebItemVideoClaInfo;
2306
+ codecType?: string;
2307
+ cover: string;
2308
+ definition?: string;
2309
+ downloadAddr?: string;
2310
+ duration: number | string;
2311
+ dynamicCover?: string;
2312
+ encodeUserTag?: string;
2313
+ encodedType?: string;
2314
+ format?: string;
2315
+ height: number | string;
2316
+ id: string;
2317
+ originCover: string;
2318
+ playAddr?: string;
2319
+ ratio: string;
2320
+ size?: number | string;
2321
+ subtitleInfos?: TikTokWebItemVideoSubtitleInfos[];
2322
+ videoID?: string;
2323
+ videoQuality?: string;
2324
+ volumeInfo: TikTokWebItemVideoVolumeInfo;
2325
+ width: number | string;
2326
+ zoomCover?: TikTokWebItemVideoZoomCover;
2327
+ }
2328
+ export interface TikTokWebItemVideoBitrateInfo {
2329
+ Bitrate: number | string;
2330
+ BitrateFPS: number | string;
2331
+ CodecType: string;
2332
+ Format: string;
2333
+ GearName: string;
2334
+ MVMAF: string;
2335
+ PlayAddr: TikTokWebItemVideoBitrateInfoPlayAddr;
2336
+ QualityType: number | string;
2337
+ VideoExtra: string;
2338
+ }
2339
+ export interface TikTokWebItemVideoBitrateInfoPlayAddr {
2340
+ DataSize: number | string;
2341
+ FileCs: string;
2342
+ FileHash: string;
2343
+ Height: number | string;
2344
+ Uri: string;
2345
+ UrlKey: string;
2346
+ UrlList: string[];
2347
+ Width: number | string;
2348
+ }
2349
+ export interface TikTokWebItemVideoClaInfo {
2350
+ captionInfos?: TikTokWebItemVideoClaInfoCaptionInfos[];
2351
+ captionsType?: number | string;
2352
+ enableAutoCaption: boolean;
2353
+ hasOriginalAudio: boolean;
2354
+ noCaptionReason?: number | string;
2355
+ originalLanguageInfo?: TikTokWebItemVideoClaInfoOriginalLanguageInfo;
2356
+ }
2357
+ export interface TikTokWebItemVideoClaInfoCaptionInfos {
2358
+ captionFormat: string;
2359
+ claSubtitleID: string;
2360
+ expire: string;
2361
+ isAutoGen: boolean;
2362
+ isOriginalCaption: boolean;
2363
+ language: string;
2364
+ languageCode: string;
2365
+ languageID: string;
2366
+ subID: string;
2367
+ subtitleType: string;
2368
+ translationType: string;
2369
+ url: string;
2370
+ urlList: string[];
2371
+ variant: string;
2372
+ }
2373
+ export interface TikTokWebItemVideoClaInfoOriginalLanguageInfo {
2374
+ canTranslateRealTimeNoCheck: boolean;
2375
+ language: string;
2376
+ languageCode: string;
2377
+ languageID: string;
2378
+ }
2379
+ export interface TikTokWebItemVideoPlayAddrStruct {
2380
+ DataSize: number | string;
2381
+ FileCs: string;
2382
+ FileHash: string;
2383
+ Height: number | string;
2384
+ Uri: string;
2385
+ UrlKey: string;
2386
+ UrlList: string[];
2387
+ Width: number | string;
2388
+ }
2389
+ export interface TikTokWebItemVideoSubtitleInfos {
2390
+ Format: string;
2391
+ LanguageCodeName: string;
2392
+ LanguageID: string;
2393
+ Size: number | string;
2394
+ Source: string;
2395
+ Url: string;
2396
+ UrlExpire: number | string;
2397
+ Version: string;
2398
+ }
2399
+ export interface TikTokWebItemVideoSuggestWordsList {
2400
+ video_suggest_words_struct: TikTokWebItemVideoSuggestWordsListVideoSuggestWordsStruct[];
2401
+ }
2402
+ export interface TikTokWebItemVideoSuggestWordsListVideoSuggestWordsStruct {
2403
+ hint_text: string;
2404
+ scene: string;
2405
+ words: TikTokWebItemVideoSuggestWordsListVideoSuggestWordsStructWords[];
2406
+ }
2407
+ export interface TikTokWebItemVideoSuggestWordsListVideoSuggestWordsStructWords {
2408
+ word: string;
2409
+ word_id: string;
2410
+ }
2411
+ export interface TikTokWebItemVideoVolumeInfo {
2412
+ Loudness?: number | string;
2413
+ Peak?: number | string;
2414
+ }
2415
+ export interface TikTokWebItemVideoZoomCover {
2416
+ "240": string;
2417
+ "480": string;
2418
+ "720": string;
2419
+ "960": string;
2420
+ }
2421
+ export interface TikTokWebItemWarnInfo {
2422
+ key: string;
2423
+ lang: string;
2424
+ text: string;
2425
+ type: number | string;
2426
+ }
2427
+ //# sourceMappingURL=types.d.ts.map