@tapline/client 0.2.10 → 0.2.12

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 (54) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/client.d.ts +2 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +3 -0
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +2 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +4 -1
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/brave_search/client.d.ts +47 -0
  11. package/dist/cjs/services/brave_search/client.d.ts.map +1 -0
  12. package/dist/cjs/services/brave_search/client.js +96 -0
  13. package/dist/cjs/services/brave_search/client.js.map +1 -0
  14. package/dist/cjs/services/brave_search/index.d.ts +3 -0
  15. package/dist/cjs/services/brave_search/index.d.ts.map +1 -0
  16. package/dist/cjs/services/brave_search/index.js +22 -0
  17. package/dist/cjs/services/brave_search/index.js.map +1 -0
  18. package/dist/cjs/services/brave_search/types.d.ts +3197 -0
  19. package/dist/cjs/services/brave_search/types.d.ts.map +1 -0
  20. package/dist/cjs/services/brave_search/types.js +4 -0
  21. package/dist/cjs/services/brave_search/types.js.map +1 -0
  22. package/dist/cjs/services/tiktok/client.d.ts +15 -21
  23. package/dist/cjs/services/tiktok/client.d.ts.map +1 -1
  24. package/dist/cjs/services/tiktok/client.js +14 -26
  25. package/dist/cjs/services/tiktok/client.js.map +1 -1
  26. package/dist/cjs/services/tiktok/types.d.ts +10 -315
  27. package/dist/cjs/services/tiktok/types.d.ts.map +1 -1
  28. package/dist/client.d.ts +2 -0
  29. package/dist/client.d.ts.map +1 -1
  30. package/dist/client.js +3 -0
  31. package/dist/client.js.map +1 -1
  32. package/dist/index.d.ts +2 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +2 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/services/brave_search/client.d.ts +47 -0
  37. package/dist/services/brave_search/client.d.ts.map +1 -0
  38. package/dist/services/brave_search/client.js +92 -0
  39. package/dist/services/brave_search/client.js.map +1 -0
  40. package/dist/services/brave_search/index.d.ts +3 -0
  41. package/dist/services/brave_search/index.d.ts.map +1 -0
  42. package/dist/services/brave_search/index.js +4 -0
  43. package/dist/services/brave_search/index.js.map +1 -0
  44. package/dist/services/brave_search/types.d.ts +3197 -0
  45. package/dist/services/brave_search/types.d.ts.map +1 -0
  46. package/dist/services/brave_search/types.js +3 -0
  47. package/dist/services/brave_search/types.js.map +1 -0
  48. package/dist/services/tiktok/client.d.ts +15 -21
  49. package/dist/services/tiktok/client.d.ts.map +1 -1
  50. package/dist/services/tiktok/client.js +14 -26
  51. package/dist/services/tiktok/client.js.map +1 -1
  52. package/dist/services/tiktok/types.d.ts +10 -315
  53. package/dist/services/tiktok/types.d.ts.map +1 -1
  54. package/package.json +5 -2
@@ -30,7 +30,7 @@ export interface GetCommentRepliesParams {
30
30
  export interface GetCommentsParams {
31
31
  /** The `cursor` from the previous page. Omit it for the first page. */
32
32
  cursor?: number | null;
33
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
33
+ /** Set to `true` to return fewer fields per item. */
34
34
  trim?: boolean | null;
35
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
36
  url: string;
@@ -41,7 +41,7 @@ export interface GetFollowersParams {
41
41
  handle?: string | null;
42
42
  /** The `min_time` from the previous page. Omit it for the first page. */
43
43
  min_time?: number | null;
44
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
44
+ /** Set to `true` to return fewer fields per item. */
45
45
  trim?: boolean | null;
46
46
  /** The numeric TikTok user id (`user.id` from `/v1/tiktok/profile`). Send `handle` or `user_id`, not both. */
47
47
  user_id?: string | null;
@@ -52,12 +52,12 @@ export interface GetFollowingParams {
52
52
  handle: string;
53
53
  /** The `min_time` from the previous page. Omit it for the first page. */
54
54
  min_time?: number | null;
55
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
55
+ /** Set to `true` to return fewer fields per item. */
56
56
  trim?: boolean | null;
57
57
  }
58
58
  export type GetFollowingResponse = TikTokFollowingResponse | TikTokTrimmedFollowingResponse;
59
59
  export interface GetProfileParams {
60
- /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
60
+ /** Ignored. Every request fetches a fresh response and is charged. */
61
61
  cache_max_age?: GetProfileParamsCacheMaxAge | null;
62
62
  /** The TikTok handle, with or without a leading @. Send `handle` or `user_id`, not both. */
63
63
  handle?: string | null;
@@ -74,7 +74,7 @@ export interface GetProfileVideosParams {
74
74
  region?: string | null;
75
75
  /** `latest` (default) or `popular`, most viewed first. */
76
76
  sort_by?: GetProfileVideosParamsSortBy | null;
77
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
77
+ /** Set to `true` to return fewer fields per item. */
78
78
  trim?: boolean | null;
79
79
  /** The numeric TikTok user id (`user.id` from `/v1/tiktok/profile`). Send `handle` or `user_id`, not both. */
80
80
  user_id?: string | null;
@@ -102,24 +102,24 @@ export interface GetTranscriptParams {
102
102
  language?: string | null;
103
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
104
  url: string;
105
- /** Accepted for Scrape Creators compatibility. It has no effect: only captions TikTok already has are returned. */
105
+ /** Ignored. Only captions already available from TikTok are returned. */
106
106
  use_ai_as_fallback?: boolean | null;
107
107
  }
108
108
  export interface GetTrendingFeedParams {
109
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
110
  region: string;
111
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
111
+ /** Set to `true` to return fewer fields per item. */
112
112
  trim?: boolean | null;
113
113
  }
114
114
  export type GetTrendingFeedResponse = TikTokTrendingFeedResponse | TikTokTrimmedTrendingFeedResponse;
115
115
  export interface GetVideoParams {
116
- /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
116
+ /** Ignored. Every request fetches a fresh response and is charged. */
117
117
  cache_max_age?: GetVideoParamsCacheMaxAge | null;
118
118
  /** Set to `true` to add `transcript`, the video's WEBVTT captions, or `null` when it has none. */
119
119
  get_transcript?: boolean | null;
120
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
121
  region?: string | null;
122
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
122
+ /** Set to `true` to return fewer fields per item. */
123
123
  trim?: boolean | null;
124
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
125
  url: string;
@@ -134,184 +134,10 @@ export interface SearchHashtagParams {
134
134
  hashtag: string;
135
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
136
  region?: string | null;
137
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
137
+ /** Set to `true` to return fewer fields per item. */
138
138
  trim?: boolean | null;
139
139
  }
140
140
  export type SearchHashtagResponse = TikTokHashtagSearchResponse | TikTokTrimmedHashtagSearchResponse;
141
- export interface SearchKeywordParams {
142
- /** The `cursor` from the previous page of the same search. It expires 30 minutes after it is issued. Omit it for the first page. */
143
- cursor?: number | null;
144
- /** Only videos posted within this window. Omit it for any time. */
145
- date_posted?: SearchKeywordParamsDatePosted | null;
146
- /** What to search TikTok for. */
147
- query: string;
148
- /** Two-letter country code TikTok searches from, `US` by default. Supported: `AR`, `AT`, `AU`, `BD`, `BR`, `CA`, `CH`, `CL`, `DE`, `ES`, `FR`, `GB`, `IE`, `IT`, `JP`, `NL`, `PL`, `PT`, `SE`, `SG`, `TR`, `US`, `ZA`. */
149
- region?: string | null;
150
- /** `relevance` (default), `most-liked`, or `date-posted`, newest first. */
151
- sort_by?: SearchKeywordParamsSortBy | null;
152
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
153
- trim?: boolean | null;
154
- }
155
- export type SearchKeywordParamsDatePosted = "yesterday" | "this-week" | "this-month" | "last-3-months" | "last-6-months" | "all-time";
156
- export type SearchKeywordParamsSortBy = "relevance" | "most-liked" | "date-posted";
157
- export type SearchKeywordResponse = TikTokKeywordSearchResponse | TikTokTrimmedKeywordSearchResponse;
158
- export interface SearchTopParams {
159
- /** The `cursor` from the previous page of the same search. It expires 30 minutes after it is issued. Omit it for the first page. */
160
- cursor?: number | null;
161
- /** Only videos posted within this window. Omit it for any time. */
162
- publish_time?: SearchTopParamsPublishTime | null;
163
- /** What to search TikTok for. */
164
- query: string;
165
- /** Two-letter country code TikTok searches from, `US` by default. Supported: `AR`, `AT`, `AU`, `BD`, `BR`, `CA`, `CH`, `CL`, `DE`, `ES`, `FR`, `GB`, `IE`, `IT`, `JP`, `NL`, `PL`, `PT`, `SE`, `SG`, `TR`, `US`, `ZA`. */
166
- region?: string | null;
167
- /** `relevance` (default), `most-liked`, or `date-posted`, newest first. */
168
- sort_by?: SearchTopParamsSortBy | null;
169
- }
170
- export type SearchTopParamsPublishTime = "yesterday" | "this-week" | "this-month" | "last-3-months" | "last-6-months" | "all-time";
171
- export type SearchTopParamsSortBy = "relevance" | "most-liked" | "date-posted";
172
- export interface SearchUsersParams {
173
- /** The `cursor` from the previous page of the same search. It expires 30 minutes after it is issued. Omit it for the first page. */
174
- cursor?: number | null;
175
- /** What to search TikTok for. */
176
- query: string;
177
- /** Two-letter country code TikTok searches from, `US` by default. Supported: `AR`, `AT`, `AU`, `BD`, `BR`, `CA`, `CH`, `CL`, `DE`, `ES`, `FR`, `GB`, `IE`, `IT`, `JP`, `NL`, `PL`, `PT`, `SE`, `SG`, `TR`, `US`, `ZA`. */
178
- region?: string | null;
179
- /** Set to `true` for the trimmed answer Scrape Creators returns: fewer keys per item. */
180
- trim?: boolean | null;
181
- }
182
- export type SearchUsersResponse = TikTokUserSearchResponse | TikTokTrimmedUserSearchResponse;
183
- export interface TikTokAppAweme {
184
- add_yours_recommendation?: Record<string, string>;
185
- added_sound_music_info?: TikTokAppAwemeAddedSoundMusicInfo;
186
- aigc_info?: TikTokAppAwemeAigcInfo;
187
- anchors: TikTokAppAwemeAnchors[] | null;
188
- animated_image_info?: TikTokAppAwemeAnimatedImageInfo;
189
- author: TikTokAppAwemeAuthor;
190
- author_user_id: number | string;
191
- aweme_acl?: TikTokAppAwemeAwemeAcl;
192
- aweme_id: string;
193
- aweme_type?: number | string;
194
- banners?: TikTokAppAwemeBanners[] | null;
195
- batch_index?: number | string;
196
- behind_the_song_music_ids?: string | null;
197
- behind_the_song_video_music_ids?: string | null;
198
- bodydance_score?: number | string;
199
- bottom_products?: string | null;
200
- branded_content_accounts?: string | null;
201
- cha_list?: TikTokAppAwemeChaList[] | null;
202
- challenge_position?: string | null;
203
- cmt_swt?: boolean;
204
- collect_stat?: number | string;
205
- comment_config?: TikTokAppAwemeCommentConfig;
206
- comment_topbar_info?: string | null;
207
- commerce_config_data?: string | null;
208
- commerce_info: TikTokAppAwemeCommerceInfo;
209
- content_desc?: string;
210
- content_desc_extra?: TikTokAppAwemeContentDescExtra[];
211
- content_original_type?: number | string;
212
- content_size_type?: number | string;
213
- content_type?: string;
214
- cover_labels?: string | null;
215
- create_time: number | string;
216
- desc: string;
217
- desc_language?: string;
218
- disable_search_trending_bar?: boolean;
219
- distance?: string;
220
- distribute_type?: number | string;
221
- ecosystem_perception_enhancement?: string | null;
222
- follow_up_first_item_id?: string;
223
- follow_up_item_id_groups?: string;
224
- follow_up_publish_from_id?: number | string;
225
- geofencing?: string | null;
226
- geofencing_regions?: string | null;
227
- green_screen_materials?: string | null;
228
- group_id?: string;
229
- has_danmaku?: boolean;
230
- has_vs_entry?: boolean;
231
- hybrid_label?: string | null;
232
- image_infos?: string | null;
233
- image_post_info?: TikTokAppAwemeImagePostInfo;
234
- interact_permission?: TikTokAppAwemeInteractPermission;
235
- interaction_stickers?: TikTokAppAwemeInteractionStickers[] | null;
236
- is_ad?: boolean;
237
- is_ads?: boolean;
238
- is_description_translatable?: boolean;
239
- is_hash_tag?: number | string;
240
- is_pgcshow?: boolean;
241
- is_relieve?: boolean;
242
- is_text_sticker_translatable?: boolean;
243
- is_top?: number | string;
244
- is_vr?: boolean;
245
- item_comment_settings: number | string;
246
- item_distribute_source?: string;
247
- item_duet?: number | string;
248
- item_react?: number | string;
249
- item_source_category?: number | string;
250
- label_top?: TikTokAppAwemeLabelTop;
251
- label_top_text?: string | null;
252
- log_info?: TikTokAppAwemeLogInfo;
253
- long_video?: string | null;
254
- main_arch_common?: string;
255
- mask_infos?: TikTokAppAwemeMaskInfo[];
256
- misc_info?: string;
257
- muf_comment_info_v2?: string | null;
258
- music?: TikTokAppAwemeMusic;
259
- music_begin_time_in_ms?: number | string;
260
- music_end_time_in_ms?: number | string;
261
- music_selected_from?: string;
262
- music_title_style?: number | string;
263
- music_volume?: string;
264
- need_vs_entry?: boolean;
265
- nickname_position?: string | null;
266
- operator_boost_info?: string | null;
267
- origin_comment_ids?: string | null;
268
- origin_volume?: string;
269
- original_client_text?: TikTokAppAwemeOriginalClientText;
270
- picked_users?: Record<string, unknown>[] | null;
271
- playlist_blocked?: boolean;
272
- playlist_info?: TikTokAppAwemePlaylistInfo;
273
- poi_data?: TikTokAppAwemePoiData;
274
- position?: string | null;
275
- prevent_download?: boolean;
276
- products_info?: string | null;
277
- question_list?: string | null;
278
- rate?: number | string;
279
- reference_tts_voice_ids?: string | string[] | null;
280
- reference_voice_filter_ids?: string | string[] | null;
281
- region: string;
282
- right_products?: string | null;
283
- risk_infos?: TikTokAppAwemeRiskInfos;
284
- search_highlight?: TikTokAppAwemeSearchHighlight[] | null;
285
- share_info: TikTokAppAwemeShareInfo;
286
- share_url?: string;
287
- shoot_tab_name?: string;
288
- smart_search_info?: TikTokAppAwemeSmartSearchInfo;
289
- sort_label?: string;
290
- sound_exemption?: number | string;
291
- standard_component_info?: TikTokAppAwemeStandardComponentInfo;
292
- statistics: TikTokAppAwemeStatistics;
293
- status?: TikTokAppAwemeStatus;
294
- sticker_detail?: TikTokAppAwemeStickerDetail;
295
- stickers?: string;
296
- suggest_words?: TikTokAppAwemeSuggestWords;
297
- support_danmaku?: boolean;
298
- survey_info?: string | null;
299
- tako_bubble_info?: TikTokAppAwemeTakoBubbleInfo;
300
- text_extra?: TikTokAppAwemeTextExtra[];
301
- text_sticker_major_lang?: string;
302
- ttec_suggest_words?: TikTokAppAwemeTtecSuggestWords;
303
- tts_voice_ids?: string | string[] | null;
304
- uniqid_position?: string | null;
305
- user_digged?: number | string;
306
- video: TikTokAppAwemeVideo;
307
- video_control?: TikTokAppAwemeVideoControl;
308
- video_labels?: string[];
309
- video_text?: string[];
310
- visual_search_info?: TikTokAppAwemeVisualSearchInfo;
311
- voice_filter_ids?: string | string[] | null;
312
- with_promotional_music?: boolean;
313
- with_survey?: boolean;
314
- }
315
141
  export interface TikTokAppAwemeAddedSoundMusicInfo {
316
142
  album: string;
317
143
  allow_offline_music_to_detail_page?: boolean;
@@ -2525,14 +2351,6 @@ export interface TikTokImagePostInfo {
2525
2351
  images: TikTokImagePostImage[];
2526
2352
  title: string;
2527
2353
  }
2528
- export interface TikTokKeywordSearchItem {
2529
- aweme_info: TikTokVideoAweme;
2530
- }
2531
- export interface TikTokKeywordSearchResponse {
2532
- cursor: number | string;
2533
- has_more: number | string;
2534
- search_item_list: TikTokKeywordSearchItem[];
2535
- }
2536
2354
  export interface TikTokOriginalLanguageInfo {
2537
2355
  lang: string;
2538
2356
  language_code: string;
@@ -2611,34 +2429,6 @@ export interface TikTokTextExtra {
2611
2429
  type: number | string;
2612
2430
  user_id?: string;
2613
2431
  }
2614
- export interface TikTokTopItem {
2615
- author: TikTokAppAwemeAuthor;
2616
- content_type: string;
2617
- create_time: string;
2618
- desc: string;
2619
- desc_language?: string;
2620
- id: string;
2621
- images?: string[];
2622
- is_ad: boolean;
2623
- is_top: number | string;
2624
- music?: TikTokTopItemMusic;
2625
- region: string;
2626
- statistics: TikTokAppAwemeStatistics;
2627
- url: string;
2628
- video: TikTokAppAwemeVideo;
2629
- }
2630
- export interface TikTokTopItemMusic {
2631
- author: string;
2632
- duration: number | string;
2633
- id: number | string;
2634
- matched_song?: TikTokAppAwemeMusicMatchedSong;
2635
- play_url: string;
2636
- title: string;
2637
- }
2638
- export interface TikTokTopSearchResponse {
2639
- cursor: number | string;
2640
- items: TikTokTopItem[];
2641
- }
2642
2432
  export interface TikTokTranscriptResponse {
2643
2433
  id: string;
2644
2434
  transcript: string;
@@ -2725,10 +2515,6 @@ export interface TikTokTrimmedHashtagSearchResponse {
2725
2515
  aweme_list: TikTokTrimmedAweme[];
2726
2516
  cursor: number | string;
2727
2517
  }
2728
- export interface TikTokTrimmedKeywordSearchResponse {
2729
- cursor: number | string;
2730
- search_item_list: TikTokTrimmedSearchAweme[];
2731
- }
2732
2518
  export interface TikTokTrimmedProfileVideosResponse {
2733
2519
  aweme_list: TikTokTrimmedAweme[];
2734
2520
  has_more: number | string;
@@ -2744,28 +2530,6 @@ export interface TikTokTrimmedRelationUser {
2744
2530
  uid: string;
2745
2531
  unique_id: string;
2746
2532
  }
2747
- export interface TikTokTrimmedSearchAweme {
2748
- author: TikTokAppAwemeAuthor;
2749
- aweme_id: string;
2750
- create_time: number | string;
2751
- create_time_utc: string;
2752
- desc: string;
2753
- desc_language?: string;
2754
- is_ad: boolean;
2755
- region: string;
2756
- statistics: TikTokAppAwemeStatistics;
2757
- url: string;
2758
- video: TikTokAppAwemeVideo;
2759
- }
2760
- export interface TikTokTrimmedSearchUser {
2761
- avatar_medium: TikTokAppAwemeAuthorAvatarMedium;
2762
- follower_count?: number | string;
2763
- following_count?: number | string;
2764
- nickname: string;
2765
- sec_uid?: string;
2766
- uid: string;
2767
- unique_id: string;
2768
- }
2769
2533
  export interface TikTokTrimmedTrendingFeedResponse {
2770
2534
  aweme_list: TikTokTrimmedTrendingItem[];
2771
2535
  }
@@ -2781,10 +2545,6 @@ export interface TikTokTrimmedTrendingItem {
2781
2545
  url: string;
2782
2546
  video: TikTokTrendingVideo;
2783
2547
  }
2784
- export interface TikTokTrimmedUserSearchResponse {
2785
- cursor: number | string;
2786
- users: TikTokTrimmedSearchUser[];
2787
- }
2788
2548
  export interface TikTokTrimmedVideoAweme {
2789
2549
  author: TikTokAppAwemeAuthor;
2790
2550
  aweme_id: string;
@@ -2905,71 +2665,6 @@ export interface TikTokUserInfoUserProfileTab {
2905
2665
  showPlayListTab: boolean;
2906
2666
  showQuestionTab: boolean;
2907
2667
  }
2908
- export interface TikTokUserSearchAnswerGlobalDoodleConfig {
2909
- ab_params?: TikTokUserSearchAnswerGlobalDoodleConfigAbParams;
2910
- display_filter_bar?: number | string;
2911
- feedback_survey?: TikTokUserSearchAnswerGlobalDoodleConfigFeedbackSurvey[];
2912
- feel_good?: TikTokUserSearchAnswerGlobalDoodleConfigFeelGood;
2913
- hide_results?: boolean;
2914
- hit_dolphin?: boolean;
2915
- hit_shark?: boolean;
2916
- keyword?: string;
2917
- new_source?: string;
2918
- search_channel?: string;
2919
- tns_search_result?: string;
2920
- }
2921
- export interface TikTokUserSearchAnswerGlobalDoodleConfigAbParams {
2922
- user_relation_ship?: string;
2923
- }
2924
- export interface TikTokUserSearchAnswerGlobalDoodleConfigFeedbackSurvey {
2925
- feedback_type?: string;
2926
- long_stress_info?: string | null;
2927
- multiple_choices?: TikTokUserSearchAnswerGlobalDoodleConfigFeedbackSurveyMultipleChoices[];
2928
- send_us_multiple_choices?: string | null;
2929
- }
2930
- export interface TikTokUserSearchAnswerGlobalDoodleConfigFeedbackSurveyMultipleChoices {
2931
- key?: string;
2932
- value?: string;
2933
- }
2934
- export interface TikTokUserSearchAnswerGlobalDoodleConfigFeelGood {
2935
- extra?: string;
2936
- token?: string;
2937
- token_type?: string;
2938
- }
2939
- export interface TikTokUserSearchEntry {
2940
- challenges: Record<string, string>[] | null;
2941
- effects: Record<string, string>[] | null;
2942
- items: TikTokAppAweme[] | null;
2943
- mix_list: Record<string, string>[] | null;
2944
- musics: Record<string, string>[] | null;
2945
- position: (Record<string, number | string>)[] | null;
2946
- uniqid_position: (Record<string, number | string>)[] | null;
2947
- user_info: TikTokAppAwemeAuthor;
2948
- }
2949
- export interface TikTokUserSearchExtra {
2950
- api_debug_info?: string | null;
2951
- fatal_item_ids?: string[];
2952
- logid: string;
2953
- now: number | string;
2954
- search_request_id?: string;
2955
- server_stream_time?: number | string;
2956
- }
2957
- export interface TikTokUserSearchResponse {
2958
- challenge_list?: Record<string, string>[] | null;
2959
- cursor: number | string;
2960
- extra?: TikTokUserSearchExtra;
2961
- feedback_type?: string;
2962
- global_doodle_config?: TikTokUserSearchAnswerGlobalDoodleConfig;
2963
- has_more: number | string;
2964
- input_keyword?: string;
2965
- log_pb?: Record<string, string>;
2966
- music_list?: Record<string, string>[] | null;
2967
- qc?: string;
2968
- rid: string;
2969
- status_code: number | string;
2970
- type: number | string;
2971
- user_list: TikTokUserSearchEntry[];
2972
- }
2973
2668
  export interface TikTokVideoAweme {
2974
2669
  ad_aweme_source?: number | string;
2975
2670
  add_yours_info?: TikTokVideoAwemeAddYoursInfo;