@book000/twitterts 0.58.28 → 0.59.0

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 (59) hide show
  1. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  2. package/dist/generate-types/custom-types-generator.js +3 -0
  3. package/dist/generate-types/custom-types-generator.js.map +1 -1
  4. package/dist/models/responses/custom/custom-entity-video-info-object.d.ts +1 -1
  5. package/dist/models/responses/custom/custom-entity-video-info-object.d.ts.map +1 -1
  6. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +3551 -2634
  7. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -1
  8. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +1384 -611
  9. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  10. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +8210 -7495
  11. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  12. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +2225 -2073
  13. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  14. package/dist/models/responses/custom/custom-tweet-object.d.ts +8203 -7844
  15. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  16. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +2 -2
  17. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  18. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts +1307 -1372
  19. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts.map +1 -1
  20. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +10338 -9950
  21. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  22. package/dist/models/responses/endpoints.d.ts +7 -9
  23. package/dist/models/responses/endpoints.d.ts.map +1 -1
  24. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +533 -488
  25. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  26. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +4876 -4159
  27. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  28. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +8560 -7939
  29. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  30. package/dist/models/responses/graphql/get/likes-success.d.ts +1306 -1388
  31. package/dist/models/responses/graphql/get/likes-success.d.ts.map +1 -1
  32. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-error.d.ts +8 -0
  33. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-error.d.ts.map +1 -0
  34. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-error.js +4 -0
  35. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-error.js.map +1 -0
  36. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-success.d.ts +1195 -1048
  37. package/dist/models/responses/graphql/get/list-latest-tweets-timeline-success.d.ts.map +1 -1
  38. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts +11 -11
  39. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts.map +1 -1
  40. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +2661 -1865
  41. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  42. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +4289 -3025
  43. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  44. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts +97 -84
  45. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts.map +1 -1
  46. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +19 -17
  47. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
  48. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +6 -6
  49. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  50. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +16644 -15254
  51. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  52. package/dist/models/responses/graphql/get/viewer-success.d.ts +1 -1
  53. package/dist/models/responses/graphql/get/viewer-success.d.ts.map +1 -1
  54. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +6054 -5327
  55. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  56. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +5213 -4407
  57. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  58. package/dist/tsconfig.build.tsbuildinfo +1 -1
  59. package/package.json +1 -1
@@ -20,7 +20,7 @@ export interface CustomSearchTimelineEntry {
20
20
  rest_id: string;
21
21
  affiliates_highlighted_label: {
22
22
  label?: {
23
- url: {
23
+ url?: {
24
24
  url: string;
25
25
  urlType: string;
26
26
  };
@@ -29,7 +29,27 @@ export interface CustomSearchTimelineEntry {
29
29
  };
30
30
  description: string;
31
31
  userLabelType: string;
32
- userLabelDisplayType: string;
32
+ userLabelDisplayType?: string;
33
+ longDescription?: {
34
+ text: string;
35
+ entities: {
36
+ fromIndex: number;
37
+ toIndex: number;
38
+ ref: {
39
+ type: string;
40
+ screen_name: string;
41
+ mention_results: {
42
+ result: {
43
+ __typename: string;
44
+ legacy: {
45
+ screen_name: string;
46
+ };
47
+ rest_id: string;
48
+ };
49
+ };
50
+ };
51
+ }[];
52
+ };
33
53
  };
34
54
  };
35
55
  has_graduated_access: boolean;
@@ -137,27 +157,6 @@ export interface CustomSearchTimelineEntry {
137
157
  indices: number[];
138
158
  text: string;
139
159
  }[];
140
- symbols: {
141
- indices: number[];
142
- text: string;
143
- }[];
144
- timestamps?: {
145
- indices: number[];
146
- seconds: number;
147
- text: string;
148
- }[];
149
- urls: {
150
- display_url: string;
151
- expanded_url: string;
152
- url: string;
153
- indices: number[];
154
- }[];
155
- user_mentions: {
156
- id_str: string;
157
- name: string;
158
- screen_name: string;
159
- indices: number[];
160
- }[];
161
160
  media?: {
162
161
  display_url: string;
163
162
  expanded_url: string;
@@ -252,7 +251,20 @@ export interface CustomSearchTimelineEntry {
252
251
  __typename: string;
253
252
  id: string;
254
253
  rest_id: string;
255
- affiliates_highlighted_label: {};
254
+ affiliates_highlighted_label: {
255
+ label?: {
256
+ url: {
257
+ url: string;
258
+ urlType: string;
259
+ };
260
+ badge: {
261
+ url: string;
262
+ };
263
+ description: string;
264
+ userLabelType: string;
265
+ userLabelDisplayType: string;
266
+ };
267
+ };
256
268
  has_graduated_access: boolean;
257
269
  is_blue_verified: boolean;
258
270
  profile_image_shape: string;
@@ -265,7 +277,12 @@ export interface CustomSearchTimelineEntry {
265
277
  description: string;
266
278
  entities: {
267
279
  description: {
268
- urls: unknown[];
280
+ urls: {
281
+ display_url: string;
282
+ expanded_url: string;
283
+ url: string;
284
+ indices: number[];
285
+ }[];
269
286
  };
270
287
  url?: {
271
288
  urls: {
@@ -289,7 +306,7 @@ export interface CustomSearchTimelineEntry {
289
306
  normal_followers_count: number;
290
307
  pinned_tweet_ids_str: string[];
291
308
  possibly_sensitive: boolean;
292
- profile_banner_url: string;
309
+ profile_banner_url?: string;
293
310
  profile_image_url_https: string;
294
311
  profile_interstitial_type: string;
295
312
  screen_name: string;
@@ -300,10 +317,24 @@ export interface CustomSearchTimelineEntry {
300
317
  want_retweets: boolean;
301
318
  withheld_in_countries: unknown[];
302
319
  blocking?: boolean;
320
+ verified_type?: string;
303
321
  };
322
+ professional?: {
323
+ rest_id: string;
324
+ professional_type: string;
325
+ category: {
326
+ id: number;
327
+ name: string;
328
+ icon_name: string;
329
+ }[];
330
+ };
331
+ super_follow_eligible?: boolean;
304
332
  };
305
333
  };
306
334
  };
335
+ title?: string;
336
+ description?: string;
337
+ embeddable?: boolean;
307
338
  };
308
339
  video_info?: {
309
340
  aspect_ratio: number[];
@@ -314,22 +345,32 @@ export interface CustomSearchTimelineEntry {
314
345
  url: string;
315
346
  }[];
316
347
  };
348
+ ext_alt_text?: string;
317
349
  source_status_id_str?: string;
318
350
  source_user_id_str?: string;
319
- ext_alt_text?: string;
351
+ }[];
352
+ symbols: {
353
+ indices: number[];
354
+ text: string;
355
+ }[];
356
+ timestamps?: {
357
+ indices: number[];
358
+ seconds: number;
359
+ text: string;
360
+ }[];
361
+ urls: {
362
+ display_url: string;
363
+ expanded_url: string;
364
+ url: string;
365
+ indices: number[];
366
+ }[];
367
+ user_mentions: {
368
+ id_str: string;
369
+ name: string;
370
+ screen_name: string;
371
+ indices: number[];
320
372
  }[];
321
373
  };
322
- favorite_count: number;
323
- favorited: boolean;
324
- full_text: string;
325
- is_quote_status: boolean;
326
- lang: string;
327
- quote_count: number;
328
- reply_count: number;
329
- retweet_count: number;
330
- retweeted: boolean;
331
- user_id_str: string;
332
- id_str: string;
333
374
  extended_entities?: {
334
375
  media: {
335
376
  display_url: string;
@@ -425,7 +466,20 @@ export interface CustomSearchTimelineEntry {
425
466
  __typename: string;
426
467
  id: string;
427
468
  rest_id: string;
428
- affiliates_highlighted_label: {};
469
+ affiliates_highlighted_label: {
470
+ label?: {
471
+ url: {
472
+ url: string;
473
+ urlType: string;
474
+ };
475
+ badge: {
476
+ url: string;
477
+ };
478
+ description: string;
479
+ userLabelType: string;
480
+ userLabelDisplayType: string;
481
+ };
482
+ };
429
483
  has_graduated_access: boolean;
430
484
  is_blue_verified: boolean;
431
485
  profile_image_shape: string;
@@ -438,7 +492,12 @@ export interface CustomSearchTimelineEntry {
438
492
  description: string;
439
493
  entities: {
440
494
  description: {
441
- urls: unknown[];
495
+ urls: {
496
+ display_url: string;
497
+ expanded_url: string;
498
+ url: string;
499
+ indices: number[];
500
+ }[];
442
501
  };
443
502
  url?: {
444
503
  urls: {
@@ -462,7 +521,7 @@ export interface CustomSearchTimelineEntry {
462
521
  normal_followers_count: number;
463
522
  pinned_tweet_ids_str: string[];
464
523
  possibly_sensitive: boolean;
465
- profile_banner_url: string;
524
+ profile_banner_url?: string;
466
525
  profile_image_url_https: string;
467
526
  profile_interstitial_type: string;
468
527
  screen_name: string;
@@ -473,10 +532,24 @@ export interface CustomSearchTimelineEntry {
473
532
  want_retweets: boolean;
474
533
  withheld_in_countries: unknown[];
475
534
  blocking?: boolean;
535
+ verified_type?: string;
536
+ };
537
+ professional?: {
538
+ rest_id: string;
539
+ professional_type: string;
540
+ category: {
541
+ id: number;
542
+ name: string;
543
+ icon_name: string;
544
+ }[];
476
545
  };
546
+ super_follow_eligible?: boolean;
477
547
  };
478
548
  };
479
549
  };
550
+ title?: string;
551
+ description?: string;
552
+ embeddable?: boolean;
480
553
  };
481
554
  video_info?: {
482
555
  aspect_ratio: number[];
@@ -487,22 +560,33 @@ export interface CustomSearchTimelineEntry {
487
560
  url: string;
488
561
  }[];
489
562
  };
563
+ ext_alt_text?: string;
490
564
  source_status_id_str?: string;
491
565
  source_user_id_str?: string;
492
- ext_alt_text?: string;
493
566
  }[];
494
567
  };
568
+ favorite_count: number;
569
+ favorited: boolean;
570
+ full_text: string;
571
+ is_quote_status: boolean;
572
+ lang: string;
495
573
  possibly_sensitive?: boolean;
496
574
  possibly_sensitive_editable?: boolean;
575
+ quote_count: number;
576
+ reply_count: number;
577
+ retweet_count: number;
578
+ retweeted: boolean;
579
+ user_id_str: string;
580
+ id_str: string;
581
+ in_reply_to_screen_name?: string;
582
+ in_reply_to_user_id_str?: string;
583
+ in_reply_to_status_id_str?: string;
497
584
  quoted_status_id_str?: string;
498
585
  quoted_status_permalink?: {
499
586
  url: string;
500
587
  expanded: string;
501
588
  display: string;
502
589
  };
503
- in_reply_to_screen_name?: string;
504
- in_reply_to_status_id_str?: string;
505
- in_reply_to_user_id_str?: string;
506
590
  place?: {
507
591
  bounding_box: {
508
592
  coordinates: number[][][];
@@ -532,102 +616,236 @@ export interface CustomSearchTimelineEntry {
532
616
  followers: boolean;
533
617
  };
534
618
  };
535
- unified_card?: {
536
- card_fetch_state: string;
537
- };
538
- quoted_status_result?: {
539
- result?: {
540
- __typename: string;
541
- rest_id?: string;
542
- core?: {
543
- user_results: {
544
- result: {
545
- __typename: string;
546
- id: string;
547
- rest_id: string;
548
- affiliates_highlighted_label: {};
549
- has_graduated_access: boolean;
550
- is_blue_verified: boolean;
551
- profile_image_shape: string;
552
- legacy: {
553
- can_dm: boolean;
554
- can_media_tag: boolean;
555
- created_at: string;
556
- default_profile: boolean;
557
- default_profile_image: boolean;
558
- description: string;
559
- entities: {
560
- description: {
561
- urls: {
562
- display_url: string;
563
- expanded_url: string;
564
- url: string;
565
- indices: number[];
566
- }[];
567
- };
568
- url?: {
569
- urls: {
570
- display_url: string;
571
- expanded_url: string;
572
- url: string;
573
- indices: number[];
574
- }[];
575
- };
619
+ card?: {
620
+ rest_id: string;
621
+ legacy: {
622
+ binding_values: {
623
+ key: string;
624
+ value: {
625
+ image_value?: {
626
+ height: number;
627
+ width: number;
628
+ url: string;
629
+ alt?: string;
630
+ };
631
+ type: string;
632
+ string_value?: string;
633
+ scribe_key?: string;
634
+ user_value?: {
635
+ id_str: string;
636
+ path: unknown[];
637
+ };
638
+ image_color_value?: {
639
+ palette: {
640
+ rgb: {
641
+ blue: number;
642
+ green: number;
643
+ red: number;
576
644
  };
577
- fast_followers_count: number;
578
- favourites_count: number;
579
- followers_count: number;
580
- friends_count: number;
581
- has_custom_timelines: boolean;
582
- is_translator: boolean;
583
- listed_count: number;
584
- location: string;
585
- media_count: number;
586
- name: string;
587
- normal_followers_count: number;
588
- pinned_tweet_ids_str: string[];
589
- possibly_sensitive: boolean;
590
- profile_banner_url?: string;
591
- profile_image_url_https: string;
592
- profile_interstitial_type: string;
593
- screen_name: string;
594
- statuses_count: number;
595
- translator_type: string;
596
- verified: boolean;
597
- want_retweets: boolean;
598
- withheld_in_countries: unknown[];
599
- url?: string;
600
- following?: boolean;
601
- };
602
- professional?: {
603
- rest_id: string;
604
- professional_type: string;
605
- category: {
606
- id: number;
607
- name: string;
608
- icon_name: string;
609
- }[];
610
- };
645
+ percentage: number;
646
+ }[];
647
+ };
648
+ boolean_value?: boolean;
649
+ };
650
+ }[];
651
+ card_platform: {
652
+ platform: {
653
+ audience: {
654
+ name: string;
655
+ };
656
+ device: {
657
+ name: string;
658
+ version: string;
611
659
  };
612
660
  };
613
661
  };
614
- unmention_data?: {};
615
- unified_card?: {
616
- card_fetch_state: string;
617
- };
618
- edit_control?: {
619
- edit_tweet_ids: string[];
620
- editable_until_msecs: string;
621
- is_edit_eligible: boolean;
622
- edits_remaining: string;
623
- };
624
- is_translatable?: boolean;
625
- views?: {
626
- count: string;
627
- state: string;
628
- };
629
- source?: string;
630
- legacy?: {
662
+ name: string;
663
+ url: string;
664
+ user_refs_results: {
665
+ result: {
666
+ __typename: string;
667
+ id?: string;
668
+ rest_id?: string;
669
+ affiliates_highlighted_label?: {
670
+ label?: {
671
+ url: {
672
+ url: string;
673
+ urlType: string;
674
+ };
675
+ badge: {
676
+ url: string;
677
+ };
678
+ description: string;
679
+ userLabelType: string;
680
+ userLabelDisplayType: string;
681
+ };
682
+ };
683
+ has_graduated_access?: boolean;
684
+ is_blue_verified?: boolean;
685
+ profile_image_shape?: string;
686
+ legacy?: {
687
+ can_dm: boolean;
688
+ can_media_tag: boolean;
689
+ created_at: string;
690
+ default_profile: boolean;
691
+ default_profile_image: boolean;
692
+ description: string;
693
+ entities: {
694
+ description: {
695
+ urls: {
696
+ display_url: string;
697
+ expanded_url: string;
698
+ url: string;
699
+ indices: number[];
700
+ }[];
701
+ };
702
+ url?: {
703
+ urls: {
704
+ display_url?: string;
705
+ expanded_url?: string;
706
+ url: string;
707
+ indices: number[];
708
+ }[];
709
+ };
710
+ };
711
+ fast_followers_count: number;
712
+ favourites_count: number;
713
+ followers_count: number;
714
+ friends_count: number;
715
+ has_custom_timelines: boolean;
716
+ is_translator: boolean;
717
+ listed_count: number;
718
+ location: string;
719
+ media_count: number;
720
+ name: string;
721
+ normal_followers_count: number;
722
+ pinned_tweet_ids_str: string[];
723
+ possibly_sensitive: boolean;
724
+ profile_banner_url?: string;
725
+ profile_image_url_https: string;
726
+ profile_interstitial_type: string;
727
+ screen_name: string;
728
+ statuses_count: number;
729
+ translator_type: string;
730
+ url?: string;
731
+ verified: boolean;
732
+ want_retweets: boolean;
733
+ withheld_in_countries: unknown[];
734
+ verified_type?: string;
735
+ blocking?: boolean;
736
+ protected?: boolean;
737
+ following?: boolean;
738
+ };
739
+ professional?: {
740
+ rest_id: string;
741
+ professional_type: string;
742
+ category: {
743
+ id: number;
744
+ name: string;
745
+ icon_name: string;
746
+ }[];
747
+ };
748
+ super_follow_eligible?: boolean;
749
+ message?: string;
750
+ reason?: string;
751
+ };
752
+ }[];
753
+ };
754
+ };
755
+ unified_card?: {
756
+ card_fetch_state: string;
757
+ };
758
+ quoted_status_result?: {
759
+ result?: {
760
+ __typename: string;
761
+ rest_id?: string;
762
+ core?: {
763
+ user_results: {
764
+ result: {
765
+ __typename: string;
766
+ id: string;
767
+ rest_id: string;
768
+ affiliates_highlighted_label: {};
769
+ has_graduated_access: boolean;
770
+ is_blue_verified: boolean;
771
+ profile_image_shape: string;
772
+ legacy: {
773
+ can_dm: boolean;
774
+ can_media_tag: boolean;
775
+ created_at: string;
776
+ default_profile: boolean;
777
+ default_profile_image: boolean;
778
+ description: string;
779
+ entities: {
780
+ description: {
781
+ urls: {
782
+ display_url: string;
783
+ expanded_url: string;
784
+ url: string;
785
+ indices: number[];
786
+ }[];
787
+ };
788
+ url?: {
789
+ urls: {
790
+ display_url: string;
791
+ expanded_url: string;
792
+ url: string;
793
+ indices: number[];
794
+ }[];
795
+ };
796
+ };
797
+ fast_followers_count: number;
798
+ favourites_count: number;
799
+ followers_count: number;
800
+ friends_count: number;
801
+ has_custom_timelines: boolean;
802
+ is_translator: boolean;
803
+ listed_count: number;
804
+ location: string;
805
+ media_count: number;
806
+ name: string;
807
+ normal_followers_count: number;
808
+ pinned_tweet_ids_str: string[];
809
+ possibly_sensitive: boolean;
810
+ profile_banner_url?: string;
811
+ profile_image_url_https: string;
812
+ profile_interstitial_type: string;
813
+ screen_name: string;
814
+ statuses_count: number;
815
+ translator_type: string;
816
+ verified: boolean;
817
+ want_retweets: boolean;
818
+ withheld_in_countries: unknown[];
819
+ url?: string;
820
+ following?: boolean;
821
+ verified_type?: string;
822
+ };
823
+ professional?: {
824
+ rest_id: string;
825
+ professional_type: string;
826
+ category: {
827
+ id: number;
828
+ name: string;
829
+ icon_name: string;
830
+ }[];
831
+ };
832
+ };
833
+ };
834
+ };
835
+ unmention_data?: {};
836
+ edit_control?: {
837
+ edit_tweet_ids: string[];
838
+ editable_until_msecs: string;
839
+ is_edit_eligible: boolean;
840
+ edits_remaining: string;
841
+ };
842
+ is_translatable?: boolean;
843
+ views?: {
844
+ count: string;
845
+ state: string;
846
+ };
847
+ source?: string;
848
+ legacy?: {
631
849
  bookmark_count: number;
632
850
  bookmarked: boolean;
633
851
  created_at: string;
@@ -726,16 +944,70 @@ export interface CustomSearchTimelineEntry {
726
944
  };
727
945
  additional_media_info?: {
728
946
  monetizable: boolean;
947
+ source_user?: {
948
+ user_results: {
949
+ result: {
950
+ __typename: string;
951
+ id: string;
952
+ rest_id: string;
953
+ affiliates_highlighted_label: {};
954
+ has_graduated_access: boolean;
955
+ is_blue_verified: boolean;
956
+ profile_image_shape: string;
957
+ legacy: {
958
+ can_dm: boolean;
959
+ can_media_tag: boolean;
960
+ created_at: string;
961
+ default_profile: boolean;
962
+ default_profile_image: boolean;
963
+ description: string;
964
+ entities: {
965
+ description: {
966
+ urls: unknown[];
967
+ };
968
+ };
969
+ fast_followers_count: number;
970
+ favourites_count: number;
971
+ followers_count: number;
972
+ friends_count: number;
973
+ has_custom_timelines: boolean;
974
+ is_translator: boolean;
975
+ listed_count: number;
976
+ location: string;
977
+ media_count: number;
978
+ name: string;
979
+ normal_followers_count: number;
980
+ pinned_tweet_ids_str: string[];
981
+ possibly_sensitive: boolean;
982
+ profile_banner_url: string;
983
+ profile_image_url_https: string;
984
+ profile_interstitial_type: string;
985
+ screen_name: string;
986
+ statuses_count: number;
987
+ translator_type: string;
988
+ verified: boolean;
989
+ want_retweets: boolean;
990
+ withheld_in_countries: unknown[];
991
+ blocking?: boolean;
992
+ };
993
+ };
994
+ };
995
+ };
996
+ title?: string;
997
+ description?: string;
998
+ embeddable?: boolean;
729
999
  };
730
1000
  video_info?: {
731
1001
  aspect_ratio: number[];
732
1002
  duration_millis?: number;
733
1003
  variants: {
734
- bitrate?: number;
735
1004
  content_type: string;
736
1005
  url: string;
1006
+ bitrate?: number;
737
1007
  }[];
738
1008
  };
1009
+ source_status_id_str?: string;
1010
+ source_user_id_str?: string;
739
1011
  ext_alt_text?: string;
740
1012
  }[];
741
1013
  symbols: unknown[];
@@ -842,16 +1114,70 @@ export interface CustomSearchTimelineEntry {
842
1114
  };
843
1115
  additional_media_info?: {
844
1116
  monetizable: boolean;
1117
+ source_user?: {
1118
+ user_results: {
1119
+ result: {
1120
+ __typename: string;
1121
+ id: string;
1122
+ rest_id: string;
1123
+ affiliates_highlighted_label: {};
1124
+ has_graduated_access: boolean;
1125
+ is_blue_verified: boolean;
1126
+ profile_image_shape: string;
1127
+ legacy: {
1128
+ can_dm: boolean;
1129
+ can_media_tag: boolean;
1130
+ created_at: string;
1131
+ default_profile: boolean;
1132
+ default_profile_image: boolean;
1133
+ description: string;
1134
+ entities: {
1135
+ description: {
1136
+ urls: unknown[];
1137
+ };
1138
+ };
1139
+ fast_followers_count: number;
1140
+ favourites_count: number;
1141
+ followers_count: number;
1142
+ friends_count: number;
1143
+ has_custom_timelines: boolean;
1144
+ is_translator: boolean;
1145
+ listed_count: number;
1146
+ location: string;
1147
+ media_count: number;
1148
+ name: string;
1149
+ normal_followers_count: number;
1150
+ pinned_tweet_ids_str: string[];
1151
+ possibly_sensitive: boolean;
1152
+ profile_banner_url: string;
1153
+ profile_image_url_https: string;
1154
+ profile_interstitial_type: string;
1155
+ screen_name: string;
1156
+ statuses_count: number;
1157
+ translator_type: string;
1158
+ verified: boolean;
1159
+ want_retweets: boolean;
1160
+ withheld_in_countries: unknown[];
1161
+ blocking?: boolean;
1162
+ };
1163
+ };
1164
+ };
1165
+ };
1166
+ title?: string;
1167
+ description?: string;
1168
+ embeddable?: boolean;
845
1169
  };
846
1170
  video_info?: {
847
1171
  aspect_ratio: number[];
848
1172
  duration_millis?: number;
849
1173
  variants: {
850
- bitrate?: number;
851
1174
  content_type: string;
852
1175
  url: string;
1176
+ bitrate?: number;
853
1177
  }[];
854
1178
  };
1179
+ source_status_id_str?: string;
1180
+ source_user_id_str?: string;
855
1181
  ext_alt_text?: string;
856
1182
  }[];
857
1183
  };
@@ -891,41 +1217,6 @@ export interface CustomSearchTimelineEntry {
891
1217
  url: string;
892
1218
  };
893
1219
  };
894
- quotedRefResult?: {
895
- result?: {
896
- __typename: string;
897
- rest_id: string;
898
- };
899
- };
900
- note_tweet?: {
901
- is_expandable: boolean;
902
- note_tweet_results: {
903
- result: {
904
- id: string;
905
- text: string;
906
- entity_set: {
907
- hashtags: {
908
- indices: number[];
909
- text: string;
910
- }[];
911
- symbols: unknown[];
912
- timestamps?: unknown[];
913
- urls: {
914
- display_url: string;
915
- expanded_url: string;
916
- url: string;
917
- indices: number[];
918
- }[];
919
- user_mentions: {
920
- id_str: string;
921
- name: string;
922
- screen_name: string;
923
- indices: number[];
924
- }[];
925
- };
926
- };
927
- };
928
- };
929
1220
  card?: {
930
1221
  rest_id: string;
931
1222
  legacy: {
@@ -1047,26 +1338,78 @@ export interface CustomSearchTimelineEntry {
1047
1338
  }[];
1048
1339
  };
1049
1340
  };
1050
- tweet?: {
1051
- rest_id: string;
1052
- core: {
1053
- user_results: {
1054
- result: {
1055
- __typename: string;
1056
- id: string;
1057
- rest_id: string;
1058
- affiliates_highlighted_label: {};
1059
- has_graduated_access: boolean;
1060
- is_blue_verified: boolean;
1061
- profile_image_shape: string;
1062
- legacy: {
1063
- can_dm: boolean;
1064
- can_media_tag: boolean;
1065
- created_at: string;
1066
- default_profile: boolean;
1067
- default_profile_image: boolean;
1068
- description: string;
1069
- entities: {
1341
+ unified_card?: {
1342
+ card_fetch_state: string;
1343
+ };
1344
+ quotedRefResult?: {
1345
+ result?: {
1346
+ __typename: string;
1347
+ rest_id: string;
1348
+ };
1349
+ };
1350
+ note_tweet?: {
1351
+ is_expandable: boolean;
1352
+ note_tweet_results: {
1353
+ result: {
1354
+ id: string;
1355
+ text: string;
1356
+ entity_set: {
1357
+ hashtags: {
1358
+ indices: number[];
1359
+ text: string;
1360
+ }[];
1361
+ symbols: unknown[];
1362
+ timestamps?: {
1363
+ indices: number[];
1364
+ seconds: number;
1365
+ text: string;
1366
+ }[];
1367
+ urls: {
1368
+ display_url: string;
1369
+ expanded_url: string;
1370
+ url: string;
1371
+ indices: number[];
1372
+ }[];
1373
+ user_mentions: {
1374
+ id_str: string;
1375
+ name: string;
1376
+ screen_name: string;
1377
+ indices: number[];
1378
+ }[];
1379
+ };
1380
+ richtext?: {
1381
+ richtext_tags: {
1382
+ from_index: number;
1383
+ to_index: number;
1384
+ richtext_types: string[];
1385
+ }[];
1386
+ };
1387
+ media?: {
1388
+ inline_media: unknown[];
1389
+ };
1390
+ };
1391
+ };
1392
+ };
1393
+ tweet?: {
1394
+ rest_id: string;
1395
+ core: {
1396
+ user_results: {
1397
+ result: {
1398
+ __typename: string;
1399
+ id: string;
1400
+ rest_id: string;
1401
+ affiliates_highlighted_label: {};
1402
+ has_graduated_access: boolean;
1403
+ is_blue_verified: boolean;
1404
+ profile_image_shape: string;
1405
+ legacy: {
1406
+ can_dm: boolean;
1407
+ can_media_tag: boolean;
1408
+ created_at: string;
1409
+ default_profile: boolean;
1410
+ default_profile_image: boolean;
1411
+ description: string;
1412
+ entities: {
1070
1413
  description: {
1071
1414
  urls: unknown[];
1072
1415
  };
@@ -1123,17 +1466,6 @@ export interface CustomSearchTimelineEntry {
1123
1466
  bookmark_count: number;
1124
1467
  bookmarked: boolean;
1125
1468
  created_at: string;
1126
- conversation_control: {
1127
- policy: string;
1128
- conversation_owner_results: {
1129
- result: {
1130
- __typename: string;
1131
- legacy: {
1132
- screen_name: string;
1133
- };
1134
- };
1135
- };
1136
- };
1137
1469
  conversation_id_str: string;
1138
1470
  display_text_range: number[];
1139
1471
  entities: {
@@ -1150,10 +1482,54 @@ export interface CustomSearchTimelineEntry {
1150
1482
  media_url_https: string;
1151
1483
  type: string;
1152
1484
  url: string;
1485
+ additional_media_info?: {
1486
+ monetizable: boolean;
1487
+ };
1153
1488
  ext_media_availability: {
1154
1489
  status: string;
1155
1490
  };
1156
- features: {
1491
+ sizes: {
1492
+ large: {
1493
+ h: number;
1494
+ w: number;
1495
+ resize: string;
1496
+ };
1497
+ medium: {
1498
+ h: number;
1499
+ w: number;
1500
+ resize: string;
1501
+ };
1502
+ small: {
1503
+ h: number;
1504
+ w: number;
1505
+ resize: string;
1506
+ };
1507
+ thumb: {
1508
+ h: number;
1509
+ w: number;
1510
+ resize: string;
1511
+ };
1512
+ };
1513
+ original_info: {
1514
+ height: number;
1515
+ width: number;
1516
+ focus_rects: {
1517
+ x: number;
1518
+ y: number;
1519
+ w: number;
1520
+ h: number;
1521
+ }[];
1522
+ };
1523
+ video_info?: {
1524
+ aspect_ratio: number[];
1525
+ duration_millis: number;
1526
+ variants: {
1527
+ bitrate?: number;
1528
+ content_type: string;
1529
+ url: string;
1530
+ }[];
1531
+ };
1532
+ features?: {
1157
1533
  large: {
1158
1534
  faces: {
1159
1535
  x: number;
@@ -1187,6 +1563,33 @@ export interface CustomSearchTimelineEntry {
1187
1563
  }[];
1188
1564
  };
1189
1565
  };
1566
+ }[];
1567
+ symbols: unknown[];
1568
+ timestamps?: unknown[];
1569
+ urls: unknown[];
1570
+ user_mentions: {
1571
+ id_str: string;
1572
+ name: string;
1573
+ screen_name: string;
1574
+ indices: number[];
1575
+ }[];
1576
+ };
1577
+ extended_entities: {
1578
+ media: {
1579
+ display_url: string;
1580
+ expanded_url: string;
1581
+ id_str: string;
1582
+ indices: number[];
1583
+ media_key: string;
1584
+ media_url_https: string;
1585
+ type: string;
1586
+ url: string;
1587
+ additional_media_info?: {
1588
+ monetizable: boolean;
1589
+ };
1590
+ ext_media_availability: {
1591
+ status: string;
1592
+ };
1190
1593
  sizes: {
1191
1594
  large: {
1192
1595
  h: number;
@@ -1219,26 +1622,16 @@ export interface CustomSearchTimelineEntry {
1219
1622
  h: number;
1220
1623
  }[];
1221
1624
  };
1222
- }[];
1223
- symbols: unknown[];
1224
- timestamps?: unknown[];
1225
- urls: unknown[];
1226
- user_mentions: unknown[];
1227
- };
1228
- extended_entities: {
1229
- media: {
1230
- display_url: string;
1231
- expanded_url: string;
1232
- id_str: string;
1233
- indices: number[];
1234
- media_key: string;
1235
- media_url_https: string;
1236
- type: string;
1237
- url: string;
1238
- ext_media_availability: {
1239
- status: string;
1625
+ video_info?: {
1626
+ aspect_ratio: number[];
1627
+ duration_millis: number;
1628
+ variants: {
1629
+ bitrate?: number;
1630
+ content_type: string;
1631
+ url: string;
1632
+ }[];
1240
1633
  };
1241
- features: {
1634
+ features?: {
1242
1635
  large: {
1243
1636
  faces: {
1244
1637
  x: number;
@@ -1272,38 +1665,6 @@ export interface CustomSearchTimelineEntry {
1272
1665
  }[];
1273
1666
  };
1274
1667
  };
1275
- sizes: {
1276
- large: {
1277
- h: number;
1278
- w: number;
1279
- resize: string;
1280
- };
1281
- medium: {
1282
- h: number;
1283
- w: number;
1284
- resize: string;
1285
- };
1286
- small: {
1287
- h: number;
1288
- w: number;
1289
- resize: string;
1290
- };
1291
- thumb: {
1292
- h: number;
1293
- w: number;
1294
- resize: string;
1295
- };
1296
- };
1297
- original_info: {
1298
- height: number;
1299
- width: number;
1300
- focus_rects: {
1301
- x: number;
1302
- y: number;
1303
- w: number;
1304
- h: number;
1305
- }[];
1306
- };
1307
1668
  }[];
1308
1669
  };
1309
1670
  favorite_count: number;
@@ -1320,12 +1681,23 @@ export interface CustomSearchTimelineEntry {
1320
1681
  retweeted: boolean;
1321
1682
  user_id_str: string;
1322
1683
  id_str: string;
1684
+ conversation_control?: {
1685
+ policy: string;
1686
+ conversation_owner_results: {
1687
+ result: {
1688
+ __typename: string;
1689
+ legacy: {
1690
+ screen_name: string;
1691
+ };
1692
+ };
1693
+ };
1694
+ };
1323
1695
  };
1324
1696
  };
1325
1697
  limitedActionResults?: {
1326
1698
  limited_actions: {
1327
1699
  action: string;
1328
- prompt: {
1700
+ prompt?: {
1329
1701
  __typename: string;
1330
1702
  cta_type: string;
1331
1703
  headline: {
@@ -1341,146 +1713,17 @@ export interface CustomSearchTimelineEntry {
1341
1713
  };
1342
1714
  };
1343
1715
  };
1344
- card?: {
1716
+ previous_counts?: {
1717
+ bookmark_count: number;
1718
+ favorite_count: number;
1719
+ quote_count: number;
1720
+ reply_count: number;
1721
+ retweet_count: number;
1722
+ };
1723
+ tweet?: {
1345
1724
  rest_id: string;
1346
- legacy: {
1347
- binding_values: {
1348
- key: string;
1349
- value: {
1350
- image_value?: {
1351
- height: number;
1352
- width: number;
1353
- url: string;
1354
- alt?: string;
1355
- };
1356
- type: string;
1357
- string_value?: string;
1358
- scribe_key?: string;
1359
- image_color_value?: {
1360
- palette: {
1361
- rgb: {
1362
- blue: number;
1363
- green: number;
1364
- red: number;
1365
- };
1366
- percentage: number;
1367
- }[];
1368
- };
1369
- user_value?: {
1370
- id_str: string;
1371
- path: unknown[];
1372
- };
1373
- boolean_value?: boolean;
1374
- };
1375
- }[];
1376
- card_platform: {
1377
- platform: {
1378
- audience: {
1379
- name: string;
1380
- };
1381
- device: {
1382
- name: string;
1383
- version: string;
1384
- };
1385
- };
1386
- };
1387
- name: string;
1388
- url: string;
1389
- user_refs_results: {
1390
- result: {
1391
- __typename: string;
1392
- id?: string;
1393
- rest_id?: string;
1394
- affiliates_highlighted_label?: {
1395
- label?: {
1396
- url: {
1397
- url: string;
1398
- urlType: string;
1399
- };
1400
- badge: {
1401
- url: string;
1402
- };
1403
- description: string;
1404
- userLabelType: string;
1405
- userLabelDisplayType: string;
1406
- };
1407
- };
1408
- has_graduated_access?: boolean;
1409
- is_blue_verified?: boolean;
1410
- profile_image_shape?: string;
1411
- legacy?: {
1412
- blocking?: boolean;
1413
- can_dm: boolean;
1414
- can_media_tag: boolean;
1415
- created_at: string;
1416
- default_profile: boolean;
1417
- default_profile_image: boolean;
1418
- description: string;
1419
- entities: {
1420
- description: {
1421
- urls: {
1422
- display_url: string;
1423
- expanded_url: string;
1424
- url: string;
1425
- indices: number[];
1426
- }[];
1427
- };
1428
- url?: {
1429
- urls: {
1430
- display_url?: string;
1431
- expanded_url?: string;
1432
- url: string;
1433
- indices: number[];
1434
- }[];
1435
- };
1436
- };
1437
- fast_followers_count: number;
1438
- favourites_count: number;
1439
- followers_count: number;
1440
- friends_count: number;
1441
- has_custom_timelines: boolean;
1442
- is_translator: boolean;
1443
- listed_count: number;
1444
- location: string;
1445
- media_count: number;
1446
- name: string;
1447
- normal_followers_count: number;
1448
- pinned_tweet_ids_str: string[];
1449
- possibly_sensitive: boolean;
1450
- profile_banner_url?: string;
1451
- profile_image_url_https: string;
1452
- profile_interstitial_type: string;
1453
- screen_name: string;
1454
- statuses_count: number;
1455
- translator_type: string;
1456
- url?: string;
1457
- verified: boolean;
1458
- verified_type?: string;
1459
- want_retweets: boolean;
1460
- withheld_in_countries: unknown[];
1461
- protected?: boolean;
1462
- following?: boolean;
1463
- };
1464
- professional?: {
1465
- rest_id: string;
1466
- professional_type: string;
1467
- category: {
1468
- id: number;
1469
- name: string;
1470
- icon_name: string;
1471
- }[];
1472
- };
1473
- super_follow_eligible?: boolean;
1474
- message?: string;
1475
- reason?: string;
1476
- };
1477
- }[];
1478
- };
1479
- };
1480
- tweet?: {
1481
- rest_id: string;
1482
- core: {
1483
- user_results: {
1725
+ core: {
1726
+ user_results: {
1484
1727
  result: {
1485
1728
  __typename: string;
1486
1729
  id: string;
@@ -1527,6 +1770,7 @@ export interface CustomSearchTimelineEntry {
1527
1770
  normal_followers_count: number;
1528
1771
  pinned_tweet_ids_str: string[];
1529
1772
  possibly_sensitive: boolean;
1773
+ profile_banner_url?: string;
1530
1774
  profile_image_url_https: string;
1531
1775
  profile_interstitial_type: string;
1532
1776
  screen_name: string;
@@ -1535,7 +1779,6 @@ export interface CustomSearchTimelineEntry {
1535
1779
  verified: boolean;
1536
1780
  want_retweets: boolean;
1537
1781
  withheld_in_countries: unknown[];
1538
- profile_banner_url?: string;
1539
1782
  url?: string;
1540
1783
  verified_type?: string;
1541
1784
  };
@@ -1551,167 +1794,341 @@ export interface CustomSearchTimelineEntry {
1551
1794
  };
1552
1795
  };
1553
1796
  };
1554
- card?: {
1555
- rest_id: string;
1556
- legacy: {
1557
- binding_values: {
1558
- key: string;
1559
- value: {
1560
- string_value?: string;
1561
- type: string;
1562
- scribe_key?: string;
1563
- user_value?: {
1564
- id_str: string;
1565
- path: unknown[];
1566
- };
1567
- image_value?: {
1568
- height: number;
1569
- width: number;
1570
- url: string;
1571
- alt?: string;
1797
+ unmention_data: {};
1798
+ unified_card?: {
1799
+ card_fetch_state: string;
1800
+ };
1801
+ edit_control: {
1802
+ edit_tweet_ids: string[];
1803
+ editable_until_msecs: string;
1804
+ is_edit_eligible: boolean;
1805
+ edits_remaining: string;
1806
+ };
1807
+ is_translatable: boolean;
1808
+ views: {
1809
+ count?: string;
1810
+ state: string;
1811
+ };
1812
+ source: string;
1813
+ author_community_relationship?: {
1814
+ community_results: {
1815
+ result: {
1816
+ __typename: string;
1817
+ id_str: string;
1818
+ name: string;
1819
+ description: string;
1820
+ created_at: number;
1821
+ default_theme: string;
1822
+ custom_theme: string;
1823
+ question?: string;
1824
+ actions: {
1825
+ delete_action_result: {
1826
+ __typename: string;
1827
+ reason: string;
1572
1828
  };
1573
- image_color_value?: {
1574
- palette: {
1575
- rgb: {
1576
- blue: number;
1577
- green: number;
1578
- red: number;
1579
- };
1580
- percentage: number;
1581
- }[];
1829
+ join_action_result: {
1830
+ __typename: string;
1831
+ reason?: string;
1832
+ message?: string;
1582
1833
  };
1583
- };
1584
- }[];
1585
- card_platform: {
1586
- platform: {
1587
- audience: {
1588
- name: string;
1834
+ leave_action_result: {
1835
+ __typename: string;
1836
+ reason: string;
1837
+ message: string;
1589
1838
  };
1590
- device: {
1591
- name: string;
1592
- version: string;
1839
+ pin_action_result: {
1840
+ __typename: string;
1593
1841
  };
1594
1842
  };
1595
- };
1596
- name: string;
1597
- url: string;
1598
- user_refs_results: {
1599
- result: {
1600
- __typename: string;
1601
- id: string;
1602
- rest_id: string;
1603
- affiliates_highlighted_label: {
1604
- label?: {
1605
- url: {
1606
- url: string;
1607
- urlType: string;
1608
- };
1609
- badge: {
1610
- url: string;
1611
- };
1843
+ admin_results: {
1844
+ result: {
1845
+ __typename: string;
1846
+ id: string;
1847
+ rest_id: string;
1848
+ affiliates_highlighted_label: {};
1849
+ has_graduated_access: boolean;
1850
+ is_blue_verified: boolean;
1851
+ profile_image_shape: string;
1852
+ legacy: {
1853
+ can_dm: boolean;
1854
+ can_media_tag: boolean;
1855
+ created_at: string;
1856
+ default_profile: boolean;
1857
+ default_profile_image: boolean;
1612
1858
  description: string;
1613
- userLabelType: string;
1614
- userLabelDisplayType: string;
1859
+ entities: {
1860
+ description: {
1861
+ urls: {
1862
+ display_url: string;
1863
+ expanded_url: string;
1864
+ url: string;
1865
+ indices: number[];
1866
+ }[];
1867
+ };
1868
+ };
1869
+ fast_followers_count: number;
1870
+ favourites_count: number;
1871
+ followers_count: number;
1872
+ friends_count: number;
1873
+ has_custom_timelines: boolean;
1874
+ is_translator: boolean;
1875
+ listed_count: number;
1876
+ location: string;
1877
+ media_count: number;
1878
+ name: string;
1879
+ normal_followers_count: number;
1880
+ pinned_tweet_ids_str: string[];
1881
+ possibly_sensitive: boolean;
1882
+ profile_banner_url: string;
1883
+ profile_image_url_https: string;
1884
+ profile_interstitial_type: string;
1885
+ screen_name: string;
1886
+ statuses_count: number;
1887
+ translator_type: string;
1888
+ verified: boolean;
1889
+ want_retweets: boolean;
1890
+ withheld_in_countries: unknown[];
1615
1891
  };
1616
1892
  };
1617
- has_graduated_access: boolean;
1618
- is_blue_verified: boolean;
1619
- profile_image_shape: string;
1620
- legacy: {
1621
- blocking?: boolean;
1622
- can_dm: boolean;
1623
- can_media_tag: boolean;
1624
- created_at: string;
1625
- default_profile: boolean;
1626
- default_profile_image: boolean;
1627
- description: string;
1628
- entities: {
1629
- description: {
1630
- urls: {
1631
- display_url: string;
1632
- expanded_url: string;
1633
- url: string;
1634
- indices: number[];
1635
- }[];
1636
- };
1637
- url?: {
1638
- urls: {
1639
- display_url: string;
1640
- expanded_url: string;
1641
- url: string;
1642
- indices: number[];
1643
- }[];
1893
+ };
1894
+ creator_results: {
1895
+ result: {
1896
+ __typename: string;
1897
+ id: string;
1898
+ rest_id: string;
1899
+ affiliates_highlighted_label: {};
1900
+ has_graduated_access: boolean;
1901
+ is_blue_verified: boolean;
1902
+ profile_image_shape: string;
1903
+ legacy: {
1904
+ can_dm: boolean;
1905
+ can_media_tag: boolean;
1906
+ created_at: string;
1907
+ default_profile: boolean;
1908
+ default_profile_image: boolean;
1909
+ description: string;
1910
+ entities: {
1911
+ description: {
1912
+ urls: {
1913
+ display_url: string;
1914
+ expanded_url: string;
1915
+ url: string;
1916
+ indices: number[];
1917
+ }[];
1918
+ };
1644
1919
  };
1920
+ fast_followers_count: number;
1921
+ favourites_count: number;
1922
+ followers_count: number;
1923
+ friends_count: number;
1924
+ has_custom_timelines: boolean;
1925
+ is_translator: boolean;
1926
+ listed_count: number;
1927
+ location: string;
1928
+ media_count: number;
1929
+ name: string;
1930
+ normal_followers_count: number;
1931
+ pinned_tweet_ids_str: string[];
1932
+ possibly_sensitive: boolean;
1933
+ profile_banner_url: string;
1934
+ profile_image_url_https: string;
1935
+ profile_interstitial_type: string;
1936
+ screen_name: string;
1937
+ statuses_count: number;
1938
+ translator_type: string;
1939
+ verified: boolean;
1940
+ want_retweets: boolean;
1941
+ withheld_in_countries: unknown[];
1645
1942
  };
1646
- fast_followers_count: number;
1647
- favourites_count: number;
1648
- followers_count: number;
1649
- friends_count: number;
1650
- has_custom_timelines: boolean;
1651
- is_translator: boolean;
1652
- listed_count: number;
1653
- location: string;
1654
- media_count: number;
1655
- name: string;
1656
- normal_followers_count: number;
1657
- pinned_tweet_ids_str: unknown[];
1658
- possibly_sensitive: boolean;
1659
- profile_banner_url: string;
1660
- profile_image_url_https: string;
1661
- profile_interstitial_type: string;
1662
- screen_name: string;
1663
- statuses_count: number;
1664
- translator_type: string;
1665
- url?: string;
1666
- verified: boolean;
1667
- verified_type?: string;
1668
- want_retweets: boolean;
1669
- withheld_in_countries: unknown[];
1670
1943
  };
1671
- professional?: {
1944
+ };
1945
+ invites_result: {
1946
+ __typename: string;
1947
+ reason: string;
1948
+ message: string;
1949
+ };
1950
+ join_policy: string;
1951
+ invites_policy: string;
1952
+ is_pinned: boolean;
1953
+ members_facepile_results: {
1954
+ result: {
1955
+ __typename: string;
1956
+ id: string;
1672
1957
  rest_id: string;
1673
- professional_type: string;
1674
- category: {
1675
- id: number;
1958
+ affiliates_highlighted_label: {};
1959
+ has_graduated_access: boolean;
1960
+ is_blue_verified: boolean;
1961
+ profile_image_shape: string;
1962
+ legacy: {
1963
+ can_dm: boolean;
1964
+ can_media_tag: boolean;
1965
+ created_at: string;
1966
+ default_profile: boolean;
1967
+ default_profile_image: boolean;
1968
+ description: string;
1969
+ entities: {
1970
+ description: {
1971
+ urls: {
1972
+ display_url: string;
1973
+ expanded_url: string;
1974
+ url: string;
1975
+ indices: number[];
1976
+ }[];
1977
+ };
1978
+ url?: {
1979
+ urls: {
1980
+ display_url: string;
1981
+ expanded_url: string;
1982
+ url: string;
1983
+ indices: number[];
1984
+ }[];
1985
+ };
1986
+ };
1987
+ fast_followers_count: number;
1988
+ favourites_count: number;
1989
+ followers_count: number;
1990
+ friends_count: number;
1991
+ has_custom_timelines: boolean;
1992
+ is_translator: boolean;
1993
+ listed_count: number;
1994
+ location: string;
1995
+ media_count: number;
1676
1996
  name: string;
1677
- icon_name: string;
1678
- }[];
1997
+ normal_followers_count: number;
1998
+ pinned_tweet_ids_str: string[];
1999
+ possibly_sensitive: boolean;
2000
+ profile_banner_url?: string;
2001
+ profile_image_url_https: string;
2002
+ profile_interstitial_type: string;
2003
+ screen_name: string;
2004
+ statuses_count: number;
2005
+ translator_type: string;
2006
+ verified: boolean;
2007
+ want_retweets: boolean;
2008
+ withheld_in_countries: unknown[];
2009
+ url?: string;
2010
+ };
2011
+ professional?: {
2012
+ rest_id: string;
2013
+ professional_type: string;
2014
+ category: {
2015
+ id: number;
2016
+ name: string;
2017
+ icon_name: string;
2018
+ }[];
2019
+ };
2020
+ };
2021
+ }[];
2022
+ moderator_count: number;
2023
+ member_count: number;
2024
+ role: string;
2025
+ rules: {
2026
+ rest_id: string;
2027
+ name: string;
2028
+ description?: string;
2029
+ }[];
2030
+ custom_banner_media: {
2031
+ media_info: {
2032
+ color_info: {
2033
+ palette: {
2034
+ rgb: {
2035
+ red: number;
2036
+ green: number;
2037
+ blue: number;
2038
+ };
2039
+ percentage: number;
2040
+ }[];
2041
+ };
2042
+ original_img_url: string;
2043
+ original_img_width: number;
2044
+ original_img_height: number;
2045
+ salient_rect: {
2046
+ left: number;
2047
+ top: number;
2048
+ width: number;
2049
+ height: number;
2050
+ };
2051
+ };
2052
+ };
2053
+ default_banner_media: {
2054
+ media_info: {
2055
+ color_info: {
2056
+ palette: {
2057
+ rgb: {
2058
+ red: number;
2059
+ green: number;
2060
+ blue: number;
2061
+ };
2062
+ percentage: number;
2063
+ }[];
2064
+ };
2065
+ original_img_url: string;
2066
+ original_img_width: number;
2067
+ original_img_height: number;
2068
+ };
2069
+ };
2070
+ viewer_relationship: {
2071
+ moderation_state: {
2072
+ __typename: string;
2073
+ };
2074
+ };
2075
+ join_requests_result: {
2076
+ __typename: string;
2077
+ };
2078
+ };
2079
+ };
2080
+ role: string;
2081
+ user_results: {
2082
+ result: {
2083
+ __typename: string;
2084
+ id: string;
2085
+ rest_id: string;
2086
+ affiliates_highlighted_label: {};
2087
+ has_graduated_access: boolean;
2088
+ is_blue_verified: boolean;
2089
+ profile_image_shape: string;
2090
+ legacy: {
2091
+ can_dm: boolean;
2092
+ can_media_tag: boolean;
2093
+ created_at: string;
2094
+ default_profile: boolean;
2095
+ default_profile_image: boolean;
2096
+ description: string;
2097
+ entities: {
2098
+ description: {
2099
+ urls: unknown[];
2100
+ };
1679
2101
  };
2102
+ fast_followers_count: number;
2103
+ favourites_count: number;
2104
+ followers_count: number;
2105
+ friends_count: number;
2106
+ has_custom_timelines: boolean;
2107
+ is_translator: boolean;
2108
+ listed_count: number;
2109
+ location: string;
2110
+ media_count: number;
2111
+ name: string;
2112
+ normal_followers_count: number;
2113
+ pinned_tweet_ids_str: string[];
2114
+ possibly_sensitive: boolean;
2115
+ profile_banner_url: string;
2116
+ profile_image_url_https: string;
2117
+ profile_interstitial_type: string;
2118
+ screen_name: string;
2119
+ statuses_count: number;
2120
+ translator_type: string;
2121
+ verified: boolean;
2122
+ want_retweets: boolean;
2123
+ withheld_in_countries: unknown[];
1680
2124
  };
1681
- }[];
2125
+ };
1682
2126
  };
1683
2127
  };
1684
- unmention_data: {};
1685
- unified_card?: {
1686
- card_fetch_state: string;
1687
- };
1688
- edit_control: {
1689
- edit_tweet_ids: string[];
1690
- editable_until_msecs: string;
1691
- is_edit_eligible: boolean;
1692
- edits_remaining: string;
1693
- };
1694
- is_translatable: boolean;
1695
- views: {
1696
- state: string;
1697
- count?: string;
1698
- };
1699
- source: string;
1700
2128
  legacy: {
1701
2129
  bookmark_count: number;
1702
2130
  bookmarked: boolean;
1703
2131
  created_at: string;
1704
- conversation_control: {
1705
- policy: string;
1706
- conversation_owner_results: {
1707
- result: {
1708
- __typename: string;
1709
- legacy: {
1710
- screen_name: string;
1711
- };
1712
- };
1713
- };
1714
- };
1715
2132
  conversation_id_str: string;
1716
2133
  display_text_range: number[];
1717
2134
  entities: {
@@ -1719,23 +2136,6 @@ export interface CustomSearchTimelineEntry {
1719
2136
  indices: number[];
1720
2137
  text: string;
1721
2138
  }[];
1722
- symbols: {
1723
- indices: number[];
1724
- text: string;
1725
- }[];
1726
- timestamps?: unknown[];
1727
- urls: {
1728
- display_url: string;
1729
- expanded_url: string;
1730
- url: string;
1731
- indices: number[];
1732
- }[];
1733
- user_mentions: {
1734
- id_str: string;
1735
- name: string;
1736
- screen_name: string;
1737
- indices: number[];
1738
- }[];
1739
2139
  media?: {
1740
2140
  display_url: string;
1741
2141
  expanded_url: string;
@@ -1814,11 +2214,9 @@ export interface CustomSearchTimelineEntry {
1814
2214
  h: number;
1815
2215
  }[];
1816
2216
  };
1817
- source_status_id_str?: string;
1818
- source_user_id_str?: string;
1819
2217
  additional_media_info?: {
1820
2218
  monetizable: boolean;
1821
- source_user: {
2219
+ source_user?: {
1822
2220
  user_results: {
1823
2221
  result: {
1824
2222
  __typename: string;
@@ -1876,22 +2274,27 @@ export interface CustomSearchTimelineEntry {
1876
2274
  url: string;
1877
2275
  }[];
1878
2276
  };
2277
+ source_status_id_str?: string;
2278
+ source_user_id_str?: string;
2279
+ }[];
2280
+ symbols: {
2281
+ indices: number[];
2282
+ text: string;
2283
+ }[];
2284
+ timestamps?: unknown[];
2285
+ urls: {
2286
+ display_url: string;
2287
+ expanded_url: string;
2288
+ url: string;
2289
+ indices: number[];
2290
+ }[];
2291
+ user_mentions: {
2292
+ id_str: string;
2293
+ name: string;
2294
+ screen_name: string;
2295
+ indices: number[];
1879
2296
  }[];
1880
2297
  };
1881
- favorite_count: number;
1882
- favorited: boolean;
1883
- full_text: string;
1884
- is_quote_status: boolean;
1885
- lang: string;
1886
- limited_actions?: string;
1887
- possibly_sensitive?: boolean;
1888
- possibly_sensitive_editable?: boolean;
1889
- quote_count: number;
1890
- reply_count: number;
1891
- retweet_count: number;
1892
- retweeted: boolean;
1893
- user_id_str: string;
1894
- id_str: string;
1895
2298
  extended_entities?: {
1896
2299
  media: {
1897
2300
  display_url: string;
@@ -1971,11 +2374,9 @@ export interface CustomSearchTimelineEntry {
1971
2374
  h: number;
1972
2375
  }[];
1973
2376
  };
1974
- source_status_id_str?: string;
1975
- source_user_id_str?: string;
1976
2377
  additional_media_info?: {
1977
2378
  monetizable: boolean;
1978
- source_user: {
2379
+ source_user?: {
1979
2380
  user_results: {
1980
2381
  result: {
1981
2382
  __typename: string;
@@ -2023,34 +2424,393 @@ export interface CustomSearchTimelineEntry {
2023
2424
  };
2024
2425
  };
2025
2426
  };
2026
- };
2027
- video_info?: {
2028
- aspect_ratio: number[];
2029
- duration_millis: number;
2030
- variants: {
2031
- bitrate?: number;
2032
- content_type: string;
2033
- url: string;
2034
- }[];
2427
+ };
2428
+ video_info?: {
2429
+ aspect_ratio: number[];
2430
+ duration_millis: number;
2431
+ variants: {
2432
+ bitrate?: number;
2433
+ content_type: string;
2434
+ url: string;
2435
+ }[];
2436
+ };
2437
+ source_status_id_str?: string;
2438
+ source_user_id_str?: string;
2439
+ }[];
2440
+ };
2441
+ favorite_count: number;
2442
+ favorited: boolean;
2443
+ full_text: string;
2444
+ in_reply_to_screen_name?: string;
2445
+ in_reply_to_status_id_str?: string;
2446
+ in_reply_to_user_id_str?: string;
2447
+ is_quote_status: boolean;
2448
+ lang: string;
2449
+ limited_actions?: string;
2450
+ possibly_sensitive?: boolean;
2451
+ possibly_sensitive_editable?: boolean;
2452
+ quote_count: number;
2453
+ reply_count: number;
2454
+ retweet_count: number;
2455
+ retweeted: boolean;
2456
+ user_id_str: string;
2457
+ id_str: string;
2458
+ conversation_control?: {
2459
+ policy: string;
2460
+ conversation_owner_results: {
2461
+ result: {
2462
+ __typename: string;
2463
+ legacy: {
2464
+ screen_name: string;
2465
+ };
2466
+ };
2467
+ };
2468
+ };
2469
+ quoted_status_id_str?: string;
2470
+ quoted_status_permalink?: {
2471
+ url: string;
2472
+ expanded: string;
2473
+ display: string;
2474
+ };
2475
+ scopes?: {
2476
+ followers: boolean;
2477
+ };
2478
+ };
2479
+ card?: {
2480
+ rest_id: string;
2481
+ legacy: {
2482
+ binding_values: {
2483
+ key: string;
2484
+ value: {
2485
+ image_value?: {
2486
+ height: number;
2487
+ width: number;
2488
+ url: string;
2489
+ alt?: string;
2490
+ };
2491
+ type: string;
2492
+ string_value?: string;
2493
+ scribe_key?: string;
2494
+ user_value?: {
2495
+ id_str: string;
2496
+ path: unknown[];
2497
+ };
2498
+ image_color_value?: {
2499
+ palette: {
2500
+ rgb: {
2501
+ blue: number;
2502
+ green: number;
2503
+ red: number;
2504
+ };
2505
+ percentage: number;
2506
+ }[];
2507
+ };
2508
+ };
2509
+ }[];
2510
+ card_platform: {
2511
+ platform: {
2512
+ audience: {
2513
+ name: string;
2514
+ };
2515
+ device: {
2516
+ name: string;
2517
+ version: string;
2518
+ };
2519
+ };
2520
+ };
2521
+ name: string;
2522
+ url: string;
2523
+ user_refs_results: {
2524
+ result: {
2525
+ __typename: string;
2526
+ id: string;
2527
+ rest_id: string;
2528
+ affiliates_highlighted_label: {
2529
+ label?: {
2530
+ url: {
2531
+ url: string;
2532
+ urlType: string;
2533
+ };
2534
+ badge: {
2535
+ url: string;
2536
+ };
2537
+ description: string;
2538
+ userLabelType: string;
2539
+ userLabelDisplayType: string;
2540
+ };
2541
+ };
2542
+ has_graduated_access: boolean;
2543
+ is_blue_verified: boolean;
2544
+ profile_image_shape: string;
2545
+ legacy: {
2546
+ blocking?: boolean;
2547
+ can_dm: boolean;
2548
+ can_media_tag: boolean;
2549
+ created_at: string;
2550
+ default_profile: boolean;
2551
+ default_profile_image: boolean;
2552
+ description: string;
2553
+ entities: {
2554
+ description: {
2555
+ urls: {
2556
+ display_url: string;
2557
+ expanded_url: string;
2558
+ url: string;
2559
+ indices: number[];
2560
+ }[];
2561
+ };
2562
+ url?: {
2563
+ urls: {
2564
+ display_url: string;
2565
+ expanded_url: string;
2566
+ url: string;
2567
+ indices: number[];
2568
+ }[];
2569
+ };
2570
+ };
2571
+ fast_followers_count: number;
2572
+ favourites_count: number;
2573
+ followers_count: number;
2574
+ friends_count: number;
2575
+ has_custom_timelines: boolean;
2576
+ is_translator: boolean;
2577
+ listed_count: number;
2578
+ location: string;
2579
+ media_count: number;
2580
+ name: string;
2581
+ normal_followers_count: number;
2582
+ pinned_tweet_ids_str: unknown[];
2583
+ possibly_sensitive: boolean;
2584
+ profile_banner_url: string;
2585
+ profile_image_url_https: string;
2586
+ profile_interstitial_type: string;
2587
+ screen_name: string;
2588
+ statuses_count: number;
2589
+ translator_type: string;
2590
+ url?: string;
2591
+ verified: boolean;
2592
+ verified_type?: string;
2593
+ want_retweets: boolean;
2594
+ withheld_in_countries: unknown[];
2595
+ };
2596
+ professional?: {
2597
+ rest_id: string;
2598
+ professional_type: string;
2599
+ category: {
2600
+ id: number;
2601
+ name: string;
2602
+ icon_name: string;
2603
+ }[];
2604
+ };
2035
2605
  };
2036
2606
  }[];
2037
2607
  };
2038
- in_reply_to_screen_name?: string;
2039
- in_reply_to_user_id_str?: string;
2040
- scopes?: {
2041
- followers: boolean;
2042
- };
2043
- quoted_status_id_str?: string;
2044
- quoted_status_permalink?: {
2045
- url: string;
2046
- expanded: string;
2047
- display: string;
2048
- };
2049
2608
  };
2050
2609
  quoted_status_result?: {
2051
2610
  result: {
2052
2611
  __typename: string;
2053
- tweet: {
2612
+ rest_id?: string;
2613
+ core?: {
2614
+ user_results: {
2615
+ result: {
2616
+ __typename: string;
2617
+ id: string;
2618
+ rest_id: string;
2619
+ affiliates_highlighted_label: {};
2620
+ has_graduated_access: boolean;
2621
+ is_blue_verified: boolean;
2622
+ profile_image_shape: string;
2623
+ legacy: {
2624
+ can_dm: boolean;
2625
+ can_media_tag: boolean;
2626
+ created_at: string;
2627
+ default_profile: boolean;
2628
+ default_profile_image: boolean;
2629
+ description: string;
2630
+ entities: {
2631
+ description: {
2632
+ urls: unknown[];
2633
+ };
2634
+ };
2635
+ fast_followers_count: number;
2636
+ favourites_count: number;
2637
+ followers_count: number;
2638
+ friends_count: number;
2639
+ has_custom_timelines: boolean;
2640
+ is_translator: boolean;
2641
+ listed_count: number;
2642
+ location: string;
2643
+ media_count: number;
2644
+ name: string;
2645
+ normal_followers_count: number;
2646
+ pinned_tweet_ids_str: unknown[];
2647
+ possibly_sensitive: boolean;
2648
+ profile_banner_url: string;
2649
+ profile_image_url_https: string;
2650
+ profile_interstitial_type: string;
2651
+ screen_name: string;
2652
+ statuses_count: number;
2653
+ translator_type: string;
2654
+ verified: boolean;
2655
+ want_retweets: boolean;
2656
+ withheld_in_countries: unknown[];
2657
+ };
2658
+ };
2659
+ };
2660
+ };
2661
+ unmention_data?: {};
2662
+ edit_control?: {
2663
+ edit_tweet_ids: string[];
2664
+ editable_until_msecs: string;
2665
+ is_edit_eligible: boolean;
2666
+ edits_remaining: string;
2667
+ };
2668
+ is_translatable?: boolean;
2669
+ views?: {
2670
+ count: string;
2671
+ state: string;
2672
+ };
2673
+ source?: string;
2674
+ legacy?: {
2675
+ bookmark_count: number;
2676
+ bookmarked: boolean;
2677
+ created_at: string;
2678
+ conversation_id_str: string;
2679
+ display_text_range: number[];
2680
+ entities: {
2681
+ hashtags: {
2682
+ indices: number[];
2683
+ text: string;
2684
+ }[];
2685
+ media: {
2686
+ display_url: string;
2687
+ expanded_url: string;
2688
+ id_str: string;
2689
+ indices: number[];
2690
+ media_key: string;
2691
+ media_url_https: string;
2692
+ type: string;
2693
+ url: string;
2694
+ additional_media_info: {
2695
+ monetizable: boolean;
2696
+ };
2697
+ ext_media_availability: {
2698
+ status: string;
2699
+ };
2700
+ sizes: {
2701
+ large: {
2702
+ h: number;
2703
+ w: number;
2704
+ resize: string;
2705
+ };
2706
+ medium: {
2707
+ h: number;
2708
+ w: number;
2709
+ resize: string;
2710
+ };
2711
+ small: {
2712
+ h: number;
2713
+ w: number;
2714
+ resize: string;
2715
+ };
2716
+ thumb: {
2717
+ h: number;
2718
+ w: number;
2719
+ resize: string;
2720
+ };
2721
+ };
2722
+ original_info: {
2723
+ height: number;
2724
+ width: number;
2725
+ focus_rects: unknown[];
2726
+ };
2727
+ video_info: {
2728
+ aspect_ratio: number[];
2729
+ duration_millis: number;
2730
+ variants: {
2731
+ bitrate?: number;
2732
+ content_type: string;
2733
+ url: string;
2734
+ }[];
2735
+ };
2736
+ }[];
2737
+ symbols: unknown[];
2738
+ timestamps: unknown[];
2739
+ urls: unknown[];
2740
+ user_mentions: unknown[];
2741
+ };
2742
+ extended_entities: {
2743
+ media: {
2744
+ display_url: string;
2745
+ expanded_url: string;
2746
+ id_str: string;
2747
+ indices: number[];
2748
+ media_key: string;
2749
+ media_url_https: string;
2750
+ type: string;
2751
+ url: string;
2752
+ additional_media_info: {
2753
+ monetizable: boolean;
2754
+ };
2755
+ ext_media_availability: {
2756
+ status: string;
2757
+ };
2758
+ sizes: {
2759
+ large: {
2760
+ h: number;
2761
+ w: number;
2762
+ resize: string;
2763
+ };
2764
+ medium: {
2765
+ h: number;
2766
+ w: number;
2767
+ resize: string;
2768
+ };
2769
+ small: {
2770
+ h: number;
2771
+ w: number;
2772
+ resize: string;
2773
+ };
2774
+ thumb: {
2775
+ h: number;
2776
+ w: number;
2777
+ resize: string;
2778
+ };
2779
+ };
2780
+ original_info: {
2781
+ height: number;
2782
+ width: number;
2783
+ focus_rects: unknown[];
2784
+ };
2785
+ video_info: {
2786
+ aspect_ratio: number[];
2787
+ duration_millis: number;
2788
+ variants: {
2789
+ bitrate?: number;
2790
+ content_type: string;
2791
+ url: string;
2792
+ }[];
2793
+ };
2794
+ }[];
2795
+ };
2796
+ favorite_count: number;
2797
+ favorited: boolean;
2798
+ full_text: string;
2799
+ in_reply_to_screen_name: string;
2800
+ in_reply_to_status_id_str: string;
2801
+ in_reply_to_user_id_str: string;
2802
+ is_quote_status: boolean;
2803
+ lang: string;
2804
+ possibly_sensitive: boolean;
2805
+ possibly_sensitive_editable: boolean;
2806
+ quote_count: number;
2807
+ reply_count: number;
2808
+ retweet_count: number;
2809
+ retweeted: boolean;
2810
+ user_id_str: string;
2811
+ id_str: string;
2812
+ };
2813
+ tweet?: {
2054
2814
  rest_id: string;
2055
2815
  core: {
2056
2816
  user_results: {
@@ -2073,6 +2833,14 @@ export interface CustomSearchTimelineEntry {
2073
2833
  description: {
2074
2834
  urls: unknown[];
2075
2835
  };
2836
+ url?: {
2837
+ urls: {
2838
+ display_url: string;
2839
+ expanded_url: string;
2840
+ url: string;
2841
+ indices: number[];
2842
+ }[];
2843
+ };
2076
2844
  };
2077
2845
  fast_followers_count: number;
2078
2846
  favourites_count: number;
@@ -2093,6 +2861,7 @@ export interface CustomSearchTimelineEntry {
2093
2861
  screen_name: string;
2094
2862
  statuses_count: number;
2095
2863
  translator_type: string;
2864
+ url?: string;
2096
2865
  verified: boolean;
2097
2866
  want_retweets: boolean;
2098
2867
  withheld_in_countries: unknown[];
@@ -2131,6 +2900,10 @@ export interface CustomSearchTimelineEntry {
2131
2900
  conversation_id_str: string;
2132
2901
  display_text_range: number[];
2133
2902
  entities: {
2903
+ hashtags: {
2904
+ indices: number[];
2905
+ text: string;
2906
+ }[];
2134
2907
  media: {
2135
2908
  display_url: string;
2136
2909
  expanded_url: string;
@@ -2210,13 +2983,10 @@ export interface CustomSearchTimelineEntry {
2210
2983
  }[];
2211
2984
  };
2212
2985
  }[];
2213
- user_mentions: unknown[];
2214
- urls: unknown[];
2215
- hashtags: {
2216
- indices: number[];
2217
- text: string;
2218
- }[];
2219
2986
  symbols: unknown[];
2987
+ timestamps?: unknown[];
2988
+ urls: unknown[];
2989
+ user_mentions: unknown[];
2220
2990
  };
2221
2991
  extended_entities: {
2222
2992
  media: {
@@ -2315,7 +3085,7 @@ export interface CustomSearchTimelineEntry {
2315
3085
  id_str: string;
2316
3086
  };
2317
3087
  };
2318
- limitedActionResults: {
3088
+ limitedActionResults?: {
2319
3089
  limited_actions: {
2320
3090
  action: string;
2321
3091
  prompt: {
@@ -2338,7 +3108,7 @@ export interface CustomSearchTimelineEntry {
2338
3108
  limitedActionResults?: {
2339
3109
  limited_actions: {
2340
3110
  action: string;
2341
- prompt: {
3111
+ prompt?: {
2342
3112
  __typename: string;
2343
3113
  cta_type: string;
2344
3114
  headline: {
@@ -2352,13 +3122,6 @@ export interface CustomSearchTimelineEntry {
2352
3122
  };
2353
3123
  }[];
2354
3124
  };
2355
- previous_counts?: {
2356
- bookmark_count: number;
2357
- favorite_count: number;
2358
- quote_count: number;
2359
- reply_count: number;
2360
- retweet_count: number;
2361
- };
2362
3125
  note_tweet?: {
2363
3126
  is_expandable: boolean;
2364
3127
  note_tweet_results: {
@@ -2383,6 +3146,7 @@ export interface CustomSearchTimelineEntry {
2383
3146
  screen_name: string;
2384
3147
  indices: number[];
2385
3148
  }[];
3149
+ timestamps?: unknown[];
2386
3150
  };
2387
3151
  richtext?: {
2388
3152
  richtext_tags: {
@@ -2414,6 +3178,15 @@ export interface CustomSearchTimelineEntry {
2414
3178
  endIndex: number;
2415
3179
  }[];
2416
3180
  };
3181
+ socialContext?: {
3182
+ type: string;
3183
+ contextType: string;
3184
+ text: string;
3185
+ landingUrl: {
3186
+ url: string;
3187
+ urlType: string;
3188
+ };
3189
+ };
2417
3190
  promotedMetadata?: {
2418
3191
  advertiser_results: {
2419
3192
  result: {