@book000/twitterts 0.10.7 → 0.11.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 (58) hide show
  1. package/dist/generate-types.js +72 -9
  2. package/dist/generate-types.js.map +1 -1
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +3 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +24 -3
  8. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  9. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +1718 -2
  10. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  11. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +2824 -0
  12. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -0
  13. package/dist/models/responses/custom/custom-user-tweet-entry.js +4 -0
  14. package/dist/models/responses/custom/custom-user-tweet-entry.js.map +1 -0
  15. package/dist/models/responses/endpoints.d.ts +5 -2
  16. package/dist/models/responses/endpoints.d.ts.map +1 -1
  17. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +178 -0
  18. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -0
  19. package/dist/models/responses/graphql/get/audio-space-by-id-success.js +4 -0
  20. package/dist/models/responses/graphql/get/audio-space-by-id-success.js.map +1 -0
  21. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +78 -5
  22. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  23. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +24 -3
  24. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  25. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +41 -2
  26. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  27. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +1557 -105
  28. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  29. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +29 -5
  30. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  31. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +241 -21
  32. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  33. package/dist/options.d.ts +10 -0
  34. package/dist/options.d.ts.map +1 -1
  35. package/dist/options.js.map +1 -1
  36. package/dist/parser/parser.test.d.ts +2 -0
  37. package/dist/parser/parser.test.d.ts.map +1 -0
  38. package/dist/parser/parser.test.js +46 -0
  39. package/dist/parser/parser.test.js.map +1 -0
  40. package/dist/parser/search-timeline.d.ts.map +1 -1
  41. package/dist/parser/search-timeline.js +9 -6
  42. package/dist/parser/search-timeline.js.map +1 -1
  43. package/dist/parser/user-tweets.d.ts +20 -0
  44. package/dist/parser/user-tweets.d.ts.map +1 -0
  45. package/dist/parser/user-tweets.js +59 -0
  46. package/dist/parser/user-tweets.js.map +1 -0
  47. package/dist/scraper.d.ts.map +1 -1
  48. package/dist/scraper.js +1 -0
  49. package/dist/scraper.js.map +1 -1
  50. package/dist/tsconfig.build.tsbuildinfo +1 -1
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/dist/twitter.d.ts +8 -1
  53. package/dist/twitter.d.ts.map +1 -1
  54. package/dist/twitter.js +47 -1
  55. package/dist/twitter.js.map +1 -1
  56. package/dist/twitter.test.js +7 -0
  57. package/dist/twitter.test.js.map +1 -1
  58. package/package.json +5 -1
@@ -31,7 +31,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
31
31
  __typename: string;
32
32
  id: string;
33
33
  rest_id: string;
34
- affiliates_highlighted_label: {};
34
+ affiliates_highlighted_label: {
35
+ label?: {
36
+ url: {
37
+ url: string;
38
+ urlType: string;
39
+ };
40
+ badge: {
41
+ url: string;
42
+ };
43
+ description: string;
44
+ userLabelType: string;
45
+ userLabelDisplayType: string;
46
+ };
47
+ };
35
48
  has_graduated_access: boolean;
36
49
  is_blue_verified: boolean;
37
50
  profile_image_shape: string;
@@ -46,7 +59,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
46
59
  description: {
47
60
  urls: unknown[];
48
61
  };
49
- url: {
62
+ url?: {
50
63
  urls: {
51
64
  display_url: string;
52
65
  expanded_url: string;
@@ -74,11 +87,21 @@ export interface GraphQLGetUserTweetsSuccessResponse {
74
87
  screen_name: string;
75
88
  statuses_count: number;
76
89
  translator_type: string;
77
- url: string;
90
+ url?: string;
78
91
  verified: boolean;
79
92
  want_retweets: boolean;
80
93
  withheld_in_countries: unknown[];
81
94
  };
95
+ professional?: {
96
+ rest_id: string;
97
+ professional_type: string;
98
+ category: {
99
+ id: number;
100
+ name: string;
101
+ icon_name: string;
102
+ }[];
103
+ };
104
+ super_follow_eligible?: boolean;
82
105
  };
83
106
  };
84
107
  };
@@ -156,7 +179,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
156
179
  description: string;
157
180
  entities: {
158
181
  description: {
159
- urls: unknown[];
182
+ urls: {
183
+ display_url: string;
184
+ expanded_url: string;
185
+ url: string;
186
+ indices: number[];
187
+ }[];
160
188
  };
161
189
  url?: {
162
190
  urls: {
@@ -192,6 +220,15 @@ export interface GraphQLGetUserTweetsSuccessResponse {
192
220
  url?: string;
193
221
  verified_type?: string;
194
222
  };
223
+ professional?: {
224
+ rest_id: string;
225
+ professional_type: string;
226
+ category: {
227
+ id: number;
228
+ name: string;
229
+ icon_name: string;
230
+ }[];
231
+ };
195
232
  };
196
233
  }[];
197
234
  };
@@ -222,7 +259,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
222
259
  conversation_id_str: string;
223
260
  display_text_range: number[];
224
261
  entities: {
225
- user_mentions: unknown[];
262
+ user_mentions: {
263
+ id_str: string;
264
+ name: string;
265
+ screen_name: string;
266
+ indices: number[];
267
+ }[];
226
268
  urls: {
227
269
  display_url: string;
228
270
  expanded_url: string;
@@ -241,16 +283,36 @@ export interface GraphQLGetUserTweetsSuccessResponse {
241
283
  url: string;
242
284
  features: {
243
285
  large: {
244
- faces: unknown[];
286
+ faces: {
287
+ x: number;
288
+ y: number;
289
+ h: number;
290
+ w: number;
291
+ }[];
245
292
  };
246
293
  medium: {
247
- faces: unknown[];
294
+ faces: {
295
+ x: number;
296
+ y: number;
297
+ h: number;
298
+ w: number;
299
+ }[];
248
300
  };
249
301
  small: {
250
- faces: unknown[];
302
+ faces: {
303
+ x: number;
304
+ y: number;
305
+ h: number;
306
+ w: number;
307
+ }[];
251
308
  };
252
309
  orig: {
253
- faces: unknown[];
310
+ faces: {
311
+ x: number;
312
+ y: number;
313
+ h: number;
314
+ w: number;
315
+ }[];
254
316
  };
255
317
  };
256
318
  sizes: {
@@ -318,16 +380,36 @@ export interface GraphQLGetUserTweetsSuccessResponse {
318
380
  };
319
381
  features: {
320
382
  large: {
321
- faces: unknown[];
383
+ faces: {
384
+ x: number;
385
+ y: number;
386
+ h: number;
387
+ w: number;
388
+ }[];
322
389
  };
323
390
  medium: {
324
- faces: unknown[];
391
+ faces: {
392
+ x: number;
393
+ y: number;
394
+ h: number;
395
+ w: number;
396
+ }[];
325
397
  };
326
398
  small: {
327
- faces: unknown[];
399
+ faces: {
400
+ x: number;
401
+ y: number;
402
+ h: number;
403
+ w: number;
404
+ }[];
328
405
  };
329
406
  orig: {
330
- faces: unknown[];
407
+ faces: {
408
+ x: number;
409
+ y: number;
410
+ h: number;
411
+ w: number;
412
+ }[];
331
413
  };
332
414
  };
333
415
  sizes: {
@@ -364,10 +446,214 @@ export interface GraphQLGetUserTweetsSuccessResponse {
364
446
  };
365
447
  }[];
366
448
  };
449
+ quoted_status_id_str?: string;
450
+ quoted_status_permalink?: {
451
+ url: string;
452
+ expanded: string;
453
+ display: string;
454
+ };
367
455
  };
368
456
  quick_promote_eligibility: {
369
457
  eligibility: string;
370
458
  };
459
+ quoted_status_result?: {
460
+ result: {
461
+ __typename: string;
462
+ rest_id: string;
463
+ core: {
464
+ user_results: {
465
+ result: {
466
+ __typename: string;
467
+ id: string;
468
+ rest_id: string;
469
+ affiliates_highlighted_label: {};
470
+ has_graduated_access: boolean;
471
+ is_blue_verified: boolean;
472
+ profile_image_shape: string;
473
+ legacy: {
474
+ can_dm: boolean;
475
+ can_media_tag: boolean;
476
+ created_at: string;
477
+ default_profile: boolean;
478
+ default_profile_image: boolean;
479
+ description: string;
480
+ entities: {
481
+ description: {
482
+ urls: unknown[];
483
+ };
484
+ url: {
485
+ urls: {
486
+ display_url: string;
487
+ expanded_url: string;
488
+ url: string;
489
+ indices: number[];
490
+ }[];
491
+ };
492
+ };
493
+ fast_followers_count: number;
494
+ favourites_count: number;
495
+ followers_count: number;
496
+ friends_count: number;
497
+ has_custom_timelines: boolean;
498
+ is_translator: boolean;
499
+ listed_count: number;
500
+ location: string;
501
+ media_count: number;
502
+ name: string;
503
+ normal_followers_count: number;
504
+ pinned_tweet_ids_str: string[];
505
+ possibly_sensitive: boolean;
506
+ profile_banner_url: string;
507
+ profile_image_url_https: string;
508
+ profile_interstitial_type: string;
509
+ screen_name: string;
510
+ statuses_count: number;
511
+ translator_type: string;
512
+ url: string;
513
+ verified: boolean;
514
+ want_retweets: boolean;
515
+ withheld_in_countries: unknown[];
516
+ };
517
+ };
518
+ };
519
+ };
520
+ edit_control: {
521
+ edit_tweet_ids: string[];
522
+ editable_until_msecs: string;
523
+ is_edit_eligible: boolean;
524
+ edits_remaining: string;
525
+ };
526
+ edit_perspective: {
527
+ favorited: boolean;
528
+ retweeted: boolean;
529
+ };
530
+ is_translatable: boolean;
531
+ views: {
532
+ state: string;
533
+ count?: string;
534
+ };
535
+ source: string;
536
+ legacy: {
537
+ bookmark_count: number;
538
+ bookmarked: boolean;
539
+ created_at: string;
540
+ conversation_id_str: string;
541
+ display_text_range: number[];
542
+ entities: {
543
+ user_mentions: unknown[];
544
+ urls: unknown[];
545
+ hashtags: unknown[];
546
+ symbols: unknown[];
547
+ media?: {
548
+ display_url: string;
549
+ expanded_url: string;
550
+ id_str: string;
551
+ indices: number[];
552
+ media_url_https: string;
553
+ type: string;
554
+ url: string;
555
+ features: {};
556
+ sizes: {
557
+ large: {
558
+ h: number;
559
+ w: number;
560
+ resize: string;
561
+ };
562
+ medium: {
563
+ h: number;
564
+ w: number;
565
+ resize: string;
566
+ };
567
+ small: {
568
+ h: number;
569
+ w: number;
570
+ resize: string;
571
+ };
572
+ thumb: {
573
+ h: number;
574
+ w: number;
575
+ resize: string;
576
+ };
577
+ };
578
+ original_info: {
579
+ height: number;
580
+ width: number;
581
+ };
582
+ }[];
583
+ };
584
+ favorite_count: number;
585
+ favorited: boolean;
586
+ full_text: string;
587
+ is_quote_status: boolean;
588
+ lang: string;
589
+ quote_count: number;
590
+ reply_count: number;
591
+ retweet_count: number;
592
+ retweeted: boolean;
593
+ user_id_str: string;
594
+ id_str: string;
595
+ extended_entities?: {
596
+ media: {
597
+ display_url: string;
598
+ expanded_url: string;
599
+ id_str: string;
600
+ indices: number[];
601
+ media_key: string;
602
+ media_url_https: string;
603
+ type: string;
604
+ url: string;
605
+ additional_media_info: {
606
+ monetizable: boolean;
607
+ };
608
+ mediaStats: {
609
+ viewCount: number;
610
+ };
611
+ ext_media_availability: {
612
+ status: string;
613
+ };
614
+ features: {};
615
+ sizes: {
616
+ large: {
617
+ h: number;
618
+ w: number;
619
+ resize: string;
620
+ };
621
+ medium: {
622
+ h: number;
623
+ w: number;
624
+ resize: string;
625
+ };
626
+ small: {
627
+ h: number;
628
+ w: number;
629
+ resize: string;
630
+ };
631
+ thumb: {
632
+ h: number;
633
+ w: number;
634
+ resize: string;
635
+ };
636
+ };
637
+ original_info: {
638
+ height: number;
639
+ width: number;
640
+ };
641
+ video_info: {
642
+ aspect_ratio: number[];
643
+ duration_millis: number;
644
+ variants: {
645
+ bitrate?: number;
646
+ content_type: string;
647
+ url: string;
648
+ }[];
649
+ };
650
+ }[];
651
+ };
652
+ possibly_sensitive?: boolean;
653
+ possibly_sensitive_editable?: boolean;
654
+ };
655
+ };
656
+ };
371
657
  };
372
658
  };
373
659
  tweetDisplayType?: string;
@@ -428,6 +714,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
428
714
  want_retweets: boolean;
429
715
  withheld_in_countries: unknown[];
430
716
  url?: string;
717
+ verified_type?: string;
431
718
  };
432
719
  professional?: {
433
720
  rest_id: string;
@@ -473,8 +760,10 @@ export interface GraphQLGetUserTweetsSuccessResponse {
473
760
  timelinesDetails: {
474
761
  injectionType: string;
475
762
  controllerData?: string;
763
+ sourceData?: string;
476
764
  };
477
765
  };
766
+ element?: string;
478
767
  };
479
768
  itemContent?: {
480
769
  itemType: string;
@@ -489,7 +778,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
489
778
  __typename: string;
490
779
  id: string;
491
780
  rest_id: string;
492
- affiliates_highlighted_label: {};
781
+ affiliates_highlighted_label: {
782
+ label?: {
783
+ url: {
784
+ url: string;
785
+ urlType: string;
786
+ };
787
+ badge: {
788
+ url: string;
789
+ };
790
+ description: string;
791
+ userLabelType: string;
792
+ userLabelDisplayType: string;
793
+ };
794
+ };
493
795
  has_graduated_access: boolean;
494
796
  is_blue_verified: boolean;
495
797
  profile_image_shape: string;
@@ -554,6 +856,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
554
856
  icon_name: string;
555
857
  }[];
556
858
  };
859
+ super_follow_eligible?: boolean;
557
860
  };
558
861
  };
559
862
  };
@@ -570,6 +873,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
570
873
  height: number;
571
874
  width: number;
572
875
  url: string;
876
+ alt?: string;
573
877
  };
574
878
  user_value?: {
575
879
  id_str: string;
@@ -585,6 +889,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
585
889
  percentage: number;
586
890
  }[];
587
891
  };
892
+ boolean_value?: boolean;
588
893
  };
589
894
  }[];
590
895
  card_platform: {
@@ -603,13 +908,26 @@ export interface GraphQLGetUserTweetsSuccessResponse {
603
908
  user_refs_results: {
604
909
  result: {
605
910
  __typename: string;
606
- id: string;
607
- rest_id: string;
608
- affiliates_highlighted_label: {};
609
- has_graduated_access: boolean;
610
- is_blue_verified: boolean;
611
- profile_image_shape: string;
612
- legacy: {
911
+ id?: string;
912
+ rest_id?: string;
913
+ affiliates_highlighted_label?: {
914
+ label?: {
915
+ url: {
916
+ url: string;
917
+ urlType: string;
918
+ };
919
+ badge: {
920
+ url: string;
921
+ };
922
+ description: string;
923
+ userLabelType: string;
924
+ userLabelDisplayType: string;
925
+ };
926
+ };
927
+ has_graduated_access?: boolean;
928
+ is_blue_verified?: boolean;
929
+ profile_image_shape?: string;
930
+ legacy?: {
613
931
  can_dm: boolean;
614
932
  can_media_tag: boolean;
615
933
  created_at: string;
@@ -668,6 +986,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
668
986
  icon_name: string;
669
987
  }[];
670
988
  };
989
+ unavailable_message?: {
990
+ rtl: boolean;
991
+ text: string;
992
+ entities: {
993
+ fromIndex: number;
994
+ toIndex: number;
995
+ ref: {
996
+ type: string;
997
+ url: string;
998
+ urlType: string;
999
+ };
1000
+ }[];
1001
+ };
1002
+ reason?: string;
671
1003
  };
672
1004
  }[];
673
1005
  };
@@ -821,7 +1153,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
821
1153
  rest_id: string;
822
1154
  affiliates_highlighted_label: {
823
1155
  label?: {
824
- url: {
1156
+ url?: {
825
1157
  url: string;
826
1158
  urlType: string;
827
1159
  };
@@ -830,7 +1162,27 @@ export interface GraphQLGetUserTweetsSuccessResponse {
830
1162
  };
831
1163
  description: string;
832
1164
  userLabelType: string;
833
- userLabelDisplayType: string;
1165
+ userLabelDisplayType?: string;
1166
+ longDescription?: {
1167
+ text: string;
1168
+ entities: {
1169
+ fromIndex: number;
1170
+ toIndex: number;
1171
+ ref: {
1172
+ type: string;
1173
+ screen_name: string;
1174
+ mention_results: {
1175
+ result: {
1176
+ __typename: string;
1177
+ legacy: {
1178
+ screen_name: string;
1179
+ };
1180
+ rest_id: string;
1181
+ };
1182
+ };
1183
+ };
1184
+ }[];
1185
+ };
834
1186
  };
835
1187
  };
836
1188
  has_graduated_access: boolean;
@@ -909,6 +1261,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
909
1261
  height: number;
910
1262
  width: number;
911
1263
  url: string;
1264
+ alt?: string;
912
1265
  };
913
1266
  type: string;
914
1267
  string_value?: string;
@@ -927,6 +1280,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
927
1280
  percentage: number;
928
1281
  }[];
929
1282
  };
1283
+ boolean_value?: boolean;
930
1284
  };
931
1285
  }[];
932
1286
  card_platform: {
@@ -947,7 +1301,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
947
1301
  __typename: string;
948
1302
  id: string;
949
1303
  rest_id: string;
950
- affiliates_highlighted_label: {};
1304
+ affiliates_highlighted_label: {
1305
+ label?: {
1306
+ url: {
1307
+ url: string;
1308
+ urlType: string;
1309
+ };
1310
+ badge: {
1311
+ url: string;
1312
+ };
1313
+ description: string;
1314
+ userLabelType: string;
1315
+ userLabelDisplayType: string;
1316
+ };
1317
+ };
951
1318
  has_graduated_access: boolean;
952
1319
  is_blue_verified: boolean;
953
1320
  profile_image_shape: string;
@@ -999,6 +1366,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
999
1366
  verified: boolean;
1000
1367
  want_retweets: boolean;
1001
1368
  withheld_in_countries: unknown[];
1369
+ verified_type?: string;
1002
1370
  };
1003
1371
  professional?: {
1004
1372
  rest_id: string;
@@ -1017,10 +1385,17 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1017
1385
  card_fetch_state: string;
1018
1386
  };
1019
1387
  edit_control: {
1020
- edit_tweet_ids: string[];
1021
- editable_until_msecs: string;
1022
- is_edit_eligible: boolean;
1023
- edits_remaining: string;
1388
+ edit_tweet_ids?: string[];
1389
+ editable_until_msecs?: string;
1390
+ is_edit_eligible?: boolean;
1391
+ edits_remaining?: string;
1392
+ initial_tweet_id?: string;
1393
+ edit_control_initial?: {
1394
+ edit_tweet_ids: string[];
1395
+ editable_until_msecs: string;
1396
+ is_edit_eligible: boolean;
1397
+ edits_remaining: string;
1398
+ };
1024
1399
  };
1025
1400
  edit_perspective: {
1026
1401
  favorited: boolean;
@@ -1313,6 +1688,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1313
1688
  };
1314
1689
  source_status_id_str?: string;
1315
1690
  source_user_id_str?: string;
1691
+ ext_alt_text?: string;
1316
1692
  }[];
1317
1693
  };
1318
1694
  in_reply_to_screen_name?: string;
@@ -1353,12 +1729,25 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1353
1729
  __typename: string;
1354
1730
  id: string;
1355
1731
  rest_id: string;
1356
- affiliates_highlighted_label: {};
1357
- has_graduated_access: boolean;
1358
- is_blue_verified: boolean;
1359
- profile_image_shape: string;
1360
- legacy: {
1361
- can_dm: boolean;
1732
+ affiliates_highlighted_label: {
1733
+ label?: {
1734
+ url: {
1735
+ url: string;
1736
+ urlType: string;
1737
+ };
1738
+ badge: {
1739
+ url: string;
1740
+ };
1741
+ description: string;
1742
+ userLabelType: string;
1743
+ userLabelDisplayType: string;
1744
+ };
1745
+ };
1746
+ has_graduated_access: boolean;
1747
+ is_blue_verified: boolean;
1748
+ profile_image_shape: string;
1749
+ legacy: {
1750
+ can_dm: boolean;
1362
1751
  can_media_tag: boolean;
1363
1752
  created_at: string;
1364
1753
  default_profile: boolean;
@@ -1407,14 +1796,31 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1407
1796
  url?: string;
1408
1797
  verified_type?: string;
1409
1798
  };
1799
+ professional?: {
1800
+ rest_id: string;
1801
+ professional_type: string;
1802
+ category: {
1803
+ id: number;
1804
+ name: string;
1805
+ icon_name: string;
1806
+ }[];
1807
+ };
1808
+ has_nft_avatar?: boolean;
1410
1809
  };
1411
1810
  };
1412
1811
  };
1413
1812
  edit_control?: {
1414
- edit_tweet_ids: string[];
1415
- editable_until_msecs: string;
1416
- is_edit_eligible: boolean;
1417
- edits_remaining: string;
1813
+ edit_tweet_ids?: string[];
1814
+ editable_until_msecs?: string;
1815
+ is_edit_eligible?: boolean;
1816
+ edits_remaining?: string;
1817
+ initial_tweet_id?: string;
1818
+ edit_control_initial?: {
1819
+ edit_tweet_ids: string[];
1820
+ editable_until_msecs: string;
1821
+ is_edit_eligible: boolean;
1822
+ edits_remaining: string;
1823
+ };
1418
1824
  };
1419
1825
  edit_perspective?: {
1420
1826
  favorited: boolean;
@@ -1474,6 +1880,14 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1474
1880
  w: number;
1475
1881
  }[];
1476
1882
  };
1883
+ all?: {
1884
+ tags: {
1885
+ user_id: string;
1886
+ name: string;
1887
+ screen_name: string;
1888
+ type: string;
1889
+ }[];
1890
+ };
1477
1891
  };
1478
1892
  sizes: {
1479
1893
  large: {
@@ -1578,6 +1992,14 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1578
1992
  w: number;
1579
1993
  }[];
1580
1994
  };
1995
+ all?: {
1996
+ tags: {
1997
+ user_id: string;
1998
+ name: string;
1999
+ screen_name: string;
2000
+ type: string;
2001
+ }[];
2002
+ };
1581
2003
  };
1582
2004
  sizes: {
1583
2005
  large: {
@@ -1656,6 +2078,9 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1656
2078
  place_type: string;
1657
2079
  url: string;
1658
2080
  };
2081
+ in_reply_to_screen_name?: string;
2082
+ in_reply_to_status_id_str?: string;
2083
+ in_reply_to_user_id_str?: string;
1659
2084
  };
1660
2085
  card?: {
1661
2086
  rest_id: string;
@@ -1667,6 +2092,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1667
2092
  height: number;
1668
2093
  width: number;
1669
2094
  url: string;
2095
+ alt?: string;
1670
2096
  };
1671
2097
  type: string;
1672
2098
  string_value?: string;
@@ -1820,6 +2246,257 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1820
2246
  };
1821
2247
  };
1822
2248
  };
2249
+ previous_counts?: {
2250
+ bookmark_count: number;
2251
+ favorite_count: number;
2252
+ quote_count: number;
2253
+ reply_count: number;
2254
+ retweet_count: number;
2255
+ };
2256
+ tweet?: {
2257
+ rest_id: string;
2258
+ core: {
2259
+ user_results: {
2260
+ result: {
2261
+ __typename: string;
2262
+ id: string;
2263
+ rest_id: string;
2264
+ affiliates_highlighted_label: {};
2265
+ has_graduated_access: boolean;
2266
+ is_blue_verified: boolean;
2267
+ profile_image_shape: string;
2268
+ legacy: {
2269
+ can_dm: boolean;
2270
+ can_media_tag: boolean;
2271
+ created_at: string;
2272
+ default_profile: boolean;
2273
+ default_profile_image: boolean;
2274
+ description: string;
2275
+ entities: {
2276
+ description: {
2277
+ urls: {
2278
+ display_url: string;
2279
+ expanded_url: string;
2280
+ url: string;
2281
+ indices: number[];
2282
+ }[];
2283
+ };
2284
+ };
2285
+ fast_followers_count: number;
2286
+ favourites_count: number;
2287
+ followers_count: number;
2288
+ friends_count: number;
2289
+ has_custom_timelines: boolean;
2290
+ is_translator: boolean;
2291
+ listed_count: number;
2292
+ location: string;
2293
+ media_count: number;
2294
+ name: string;
2295
+ normal_followers_count: number;
2296
+ pinned_tweet_ids_str: unknown[];
2297
+ possibly_sensitive: boolean;
2298
+ profile_banner_url: string;
2299
+ profile_image_url_https: string;
2300
+ profile_interstitial_type: string;
2301
+ screen_name: string;
2302
+ statuses_count: number;
2303
+ translator_type: string;
2304
+ verified: boolean;
2305
+ want_retweets: boolean;
2306
+ withheld_in_countries: unknown[];
2307
+ };
2308
+ super_follow_eligible: boolean;
2309
+ };
2310
+ };
2311
+ };
2312
+ edit_control: {
2313
+ edit_tweet_ids: string[];
2314
+ editable_until_msecs: string;
2315
+ is_edit_eligible: boolean;
2316
+ edits_remaining: string;
2317
+ };
2318
+ edit_perspective: {
2319
+ favorited: boolean;
2320
+ retweeted: boolean;
2321
+ };
2322
+ is_translatable: boolean;
2323
+ views: {
2324
+ count: string;
2325
+ state: string;
2326
+ };
2327
+ source: string;
2328
+ legacy: {
2329
+ bookmark_count: number;
2330
+ bookmarked: boolean;
2331
+ created_at: string;
2332
+ conversation_control: {
2333
+ policy: string;
2334
+ conversation_owner_results: {
2335
+ result: {
2336
+ __typename: string;
2337
+ legacy: {
2338
+ screen_name: string;
2339
+ };
2340
+ };
2341
+ };
2342
+ };
2343
+ conversation_id_str: string;
2344
+ display_text_range: number[];
2345
+ entities: {
2346
+ media: {
2347
+ display_url: string;
2348
+ expanded_url: string;
2349
+ id_str: string;
2350
+ indices: number[];
2351
+ media_url_https: string;
2352
+ type: string;
2353
+ url: string;
2354
+ features: {
2355
+ large: {
2356
+ faces: unknown[];
2357
+ };
2358
+ medium: {
2359
+ faces: unknown[];
2360
+ };
2361
+ small: {
2362
+ faces: unknown[];
2363
+ };
2364
+ orig: {
2365
+ faces: unknown[];
2366
+ };
2367
+ };
2368
+ sizes: {
2369
+ large: {
2370
+ h: number;
2371
+ w: number;
2372
+ resize: string;
2373
+ };
2374
+ medium: {
2375
+ h: number;
2376
+ w: number;
2377
+ resize: string;
2378
+ };
2379
+ small: {
2380
+ h: number;
2381
+ w: number;
2382
+ resize: string;
2383
+ };
2384
+ thumb: {
2385
+ h: number;
2386
+ w: number;
2387
+ resize: string;
2388
+ };
2389
+ };
2390
+ original_info: {
2391
+ height: number;
2392
+ width: number;
2393
+ focus_rects: {
2394
+ x: number;
2395
+ y: number;
2396
+ w: number;
2397
+ h: number;
2398
+ }[];
2399
+ };
2400
+ }[];
2401
+ user_mentions: unknown[];
2402
+ urls: unknown[];
2403
+ hashtags: unknown[];
2404
+ symbols: unknown[];
2405
+ };
2406
+ extended_entities: {
2407
+ media: {
2408
+ display_url: string;
2409
+ expanded_url: string;
2410
+ id_str: string;
2411
+ indices: number[];
2412
+ media_key: string;
2413
+ media_url_https: string;
2414
+ type: string;
2415
+ url: string;
2416
+ ext_media_availability: {
2417
+ status: string;
2418
+ };
2419
+ features: {
2420
+ large: {
2421
+ faces: unknown[];
2422
+ };
2423
+ medium: {
2424
+ faces: unknown[];
2425
+ };
2426
+ small: {
2427
+ faces: unknown[];
2428
+ };
2429
+ orig: {
2430
+ faces: unknown[];
2431
+ };
2432
+ };
2433
+ sizes: {
2434
+ large: {
2435
+ h: number;
2436
+ w: number;
2437
+ resize: string;
2438
+ };
2439
+ medium: {
2440
+ h: number;
2441
+ w: number;
2442
+ resize: string;
2443
+ };
2444
+ small: {
2445
+ h: number;
2446
+ w: number;
2447
+ resize: string;
2448
+ };
2449
+ thumb: {
2450
+ h: number;
2451
+ w: number;
2452
+ resize: string;
2453
+ };
2454
+ };
2455
+ original_info: {
2456
+ height: number;
2457
+ width: number;
2458
+ focus_rects: {
2459
+ x: number;
2460
+ y: number;
2461
+ w: number;
2462
+ h: number;
2463
+ }[];
2464
+ };
2465
+ }[];
2466
+ };
2467
+ favorite_count: number;
2468
+ favorited: boolean;
2469
+ full_text: string;
2470
+ is_quote_status: boolean;
2471
+ lang: string;
2472
+ limited_actions: string;
2473
+ possibly_sensitive: boolean;
2474
+ possibly_sensitive_editable: boolean;
2475
+ quote_count: number;
2476
+ reply_count: number;
2477
+ retweet_count: number;
2478
+ retweeted: boolean;
2479
+ user_id_str: string;
2480
+ id_str: string;
2481
+ };
2482
+ };
2483
+ limitedActionResults?: {
2484
+ limited_actions: {
2485
+ action: string;
2486
+ prompt: {
2487
+ __typename: string;
2488
+ cta_type: string;
2489
+ headline: {
2490
+ text: string;
2491
+ entities: unknown[];
2492
+ };
2493
+ subtext: {
2494
+ text: string;
2495
+ entities: unknown[];
2496
+ };
2497
+ };
2498
+ }[];
2499
+ };
1823
2500
  };
1824
2501
  };
1825
2502
  note_tweet?: {
@@ -1860,6 +2537,13 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1860
2537
  };
1861
2538
  };
1862
2539
  };
2540
+ previous_counts?: {
2541
+ bookmark_count: number;
2542
+ favorite_count: number;
2543
+ quote_count: number;
2544
+ reply_count: number;
2545
+ retweet_count: number;
2546
+ };
1863
2547
  };
1864
2548
  };
1865
2549
  extended_entities?: {
@@ -1945,13 +2629,26 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1945
2629
  };
1946
2630
  additional_media_info?: {
1947
2631
  monetizable: boolean;
1948
- source_user: {
2632
+ source_user?: {
1949
2633
  user_results: {
1950
2634
  result: {
1951
2635
  __typename: string;
1952
2636
  id: string;
1953
2637
  rest_id: string;
1954
- affiliates_highlighted_label: {};
2638
+ affiliates_highlighted_label: {
2639
+ label?: {
2640
+ url: {
2641
+ url: string;
2642
+ urlType: string;
2643
+ };
2644
+ badge: {
2645
+ url: string;
2646
+ };
2647
+ description: string;
2648
+ userLabelType: string;
2649
+ userLabelDisplayType: string;
2650
+ };
2651
+ };
1955
2652
  has_graduated_access: boolean;
1956
2653
  is_blue_verified: boolean;
1957
2654
  profile_image_shape: string;
@@ -1964,7 +2661,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
1964
2661
  description: string;
1965
2662
  entities: {
1966
2663
  description: {
1967
- urls: unknown[];
2664
+ urls: {
2665
+ display_url: string;
2666
+ expanded_url: string;
2667
+ url: string;
2668
+ indices: number[];
2669
+ }[];
1968
2670
  };
1969
2671
  url?: {
1970
2672
  urls: {
@@ -2012,6 +2714,14 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2012
2714
  };
2013
2715
  };
2014
2716
  };
2717
+ title?: string;
2718
+ description?: string;
2719
+ call_to_actions?: {
2720
+ watch_now: {
2721
+ url: string;
2722
+ };
2723
+ };
2724
+ embeddable?: boolean;
2015
2725
  };
2016
2726
  mediaStats?: {
2017
2727
  viewCount: number;
@@ -2048,7 +2758,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2048
2758
  __typename: string;
2049
2759
  id: string;
2050
2760
  rest_id: string;
2051
- affiliates_highlighted_label: {};
2761
+ affiliates_highlighted_label: {
2762
+ label?: {
2763
+ url: {
2764
+ url: string;
2765
+ urlType: string;
2766
+ };
2767
+ badge: {
2768
+ url: string;
2769
+ };
2770
+ description: string;
2771
+ userLabelType: string;
2772
+ userLabelDisplayType: string;
2773
+ };
2774
+ };
2052
2775
  has_graduated_access: boolean;
2053
2776
  is_blue_verified: boolean;
2054
2777
  profile_image_shape: string;
@@ -2112,6 +2835,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2112
2835
  icon_name: string;
2113
2836
  }[];
2114
2837
  };
2838
+ super_follow_eligible?: boolean;
2115
2839
  };
2116
2840
  };
2117
2841
  };
@@ -2239,7 +2963,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2239
2963
  bookmark_count: number;
2240
2964
  bookmarked: boolean;
2241
2965
  created_at: string;
2242
- conversation_control: {
2966
+ conversation_control?: {
2243
2967
  policy: string;
2244
2968
  conversation_owner_results: {
2245
2969
  result: {
@@ -2259,7 +2983,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2259
2983
  screen_name: string;
2260
2984
  indices: number[];
2261
2985
  }[];
2262
- urls: unknown[];
2986
+ urls: {
2987
+ display_url: string;
2988
+ expanded_url: string;
2989
+ url: string;
2990
+ indices: number[];
2991
+ }[];
2263
2992
  hashtags: {
2264
2993
  indices: number[];
2265
2994
  text: string;
@@ -2329,7 +3058,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2329
3058
  media_count: number;
2330
3059
  name: string;
2331
3060
  normal_followers_count: number;
2332
- pinned_tweet_ids_str: unknown[];
3061
+ pinned_tweet_ids_str: string[];
2333
3062
  possibly_sensitive: boolean;
2334
3063
  profile_banner_url: string;
2335
3064
  profile_image_url_https: string;
@@ -2341,6 +3070,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2341
3070
  verified: boolean;
2342
3071
  want_retweets: boolean;
2343
3072
  withheld_in_countries: unknown[];
3073
+ verified_type?: string;
3074
+ };
3075
+ professional?: {
3076
+ rest_id: string;
3077
+ professional_type: string;
3078
+ category: unknown[];
2344
3079
  };
2345
3080
  };
2346
3081
  };
@@ -2357,7 +3092,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2357
3092
  };
2358
3093
  is_translatable: boolean;
2359
3094
  views: {
2360
- count: string;
3095
+ count?: string;
2361
3096
  state: string;
2362
3097
  };
2363
3098
  source: string;
@@ -2365,7 +3100,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2365
3100
  bookmark_count: number;
2366
3101
  bookmarked: boolean;
2367
3102
  created_at: string;
2368
- conversation_control: {
3103
+ conversation_control?: {
2369
3104
  policy: string;
2370
3105
  conversation_owner_results: {
2371
3106
  result: {
@@ -2380,64 +3115,595 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2380
3115
  display_text_range: number[];
2381
3116
  entities: {
2382
3117
  user_mentions: unknown[];
2383
- urls: unknown[];
3118
+ urls: {
3119
+ display_url: string;
3120
+ expanded_url: string;
3121
+ url: string;
3122
+ indices: number[];
3123
+ }[];
2384
3124
  hashtags: unknown[];
2385
3125
  symbols: unknown[];
2386
- };
2387
- favorite_count: number;
2388
- favorited: boolean;
2389
- full_text: string;
2390
- is_quote_status: boolean;
2391
- lang: string;
2392
- limited_actions: string;
2393
- quote_count: number;
2394
- reply_count: number;
2395
- retweet_count: number;
2396
- retweeted: boolean;
2397
- user_id_str: string;
2398
- id_str: string;
2399
- };
2400
- };
2401
- limitedActionResults: {
2402
- limited_actions: {
2403
- action: string;
2404
- prompt: {
2405
- __typename: string;
2406
- cta_type: string;
2407
- headline: {
2408
- text: string;
2409
- entities: unknown[];
2410
- };
2411
- subtext: {
2412
- text: string;
2413
- entities: unknown[];
2414
- };
2415
- };
2416
- }[];
3126
+ media?: {
3127
+ display_url: string;
3128
+ expanded_url: string;
3129
+ id_str: string;
3130
+ indices: number[];
3131
+ media_url_https: string;
3132
+ type: string;
3133
+ url: string;
3134
+ features: {
3135
+ large: {
3136
+ faces: unknown[];
3137
+ };
3138
+ medium: {
3139
+ faces: unknown[];
3140
+ };
3141
+ small: {
3142
+ faces: unknown[];
3143
+ };
3144
+ orig: {
3145
+ faces: unknown[];
3146
+ };
3147
+ };
3148
+ sizes: {
3149
+ large: {
3150
+ h: number;
3151
+ w: number;
3152
+ resize: string;
3153
+ };
3154
+ medium: {
3155
+ h: number;
3156
+ w: number;
3157
+ resize: string;
3158
+ };
3159
+ small: {
3160
+ h: number;
3161
+ w: number;
3162
+ resize: string;
3163
+ };
3164
+ thumb: {
3165
+ h: number;
3166
+ w: number;
3167
+ resize: string;
3168
+ };
3169
+ };
3170
+ original_info: {
3171
+ height: number;
3172
+ width: number;
3173
+ focus_rects: {
3174
+ x: number;
3175
+ y: number;
3176
+ w: number;
3177
+ h: number;
3178
+ }[];
3179
+ };
3180
+ }[];
3181
+ };
3182
+ favorite_count: number;
3183
+ favorited: boolean;
3184
+ full_text: string;
3185
+ is_quote_status: boolean;
3186
+ lang: string;
3187
+ limited_actions: string;
3188
+ quote_count: number;
3189
+ reply_count: number;
3190
+ retweet_count: number;
3191
+ retweeted: boolean;
3192
+ user_id_str: string;
3193
+ id_str: string;
3194
+ extended_entities?: {
3195
+ media: {
3196
+ display_url: string;
3197
+ expanded_url: string;
3198
+ id_str: string;
3199
+ indices: number[];
3200
+ media_key: string;
3201
+ media_url_https: string;
3202
+ type: string;
3203
+ url: string;
3204
+ ext_media_availability: {
3205
+ status: string;
3206
+ };
3207
+ features: {
3208
+ large: {
3209
+ faces: unknown[];
3210
+ };
3211
+ medium: {
3212
+ faces: unknown[];
3213
+ };
3214
+ small: {
3215
+ faces: unknown[];
3216
+ };
3217
+ orig: {
3218
+ faces: unknown[];
3219
+ };
3220
+ };
3221
+ sizes: {
3222
+ large: {
3223
+ h: number;
3224
+ w: number;
3225
+ resize: string;
3226
+ };
3227
+ medium: {
3228
+ h: number;
3229
+ w: number;
3230
+ resize: string;
3231
+ };
3232
+ small: {
3233
+ h: number;
3234
+ w: number;
3235
+ resize: string;
3236
+ };
3237
+ thumb: {
3238
+ h: number;
3239
+ w: number;
3240
+ resize: string;
3241
+ };
3242
+ };
3243
+ original_info: {
3244
+ height: number;
3245
+ width: number;
3246
+ focus_rects: {
3247
+ x: number;
3248
+ y: number;
3249
+ w: number;
3250
+ h: number;
3251
+ }[];
3252
+ };
3253
+ }[];
3254
+ };
3255
+ possibly_sensitive?: boolean;
3256
+ possibly_sensitive_editable?: boolean;
3257
+ };
3258
+ note_tweet?: {
3259
+ is_expandable: boolean;
3260
+ note_tweet_results: {
3261
+ result: {
3262
+ id: string;
3263
+ text: string;
3264
+ entity_set: {
3265
+ user_mentions: unknown[];
3266
+ urls: {
3267
+ display_url: string;
3268
+ expanded_url: string;
3269
+ url: string;
3270
+ indices: number[];
3271
+ }[];
3272
+ hashtags: unknown[];
3273
+ symbols: unknown[];
3274
+ };
3275
+ richtext: {
3276
+ richtext_tags: {
3277
+ from_index: number;
3278
+ to_index: number;
3279
+ richtext_types: string[];
3280
+ }[];
3281
+ };
3282
+ media: {
3283
+ inline_media: {
3284
+ media_id: string;
3285
+ index: number;
3286
+ }[];
3287
+ };
3288
+ };
3289
+ };
3290
+ };
3291
+ };
3292
+ limitedActionResults: {
3293
+ limited_actions: {
3294
+ action: string;
3295
+ prompt?: {
3296
+ __typename: string;
3297
+ cta_type: string;
3298
+ headline: {
3299
+ text: string;
3300
+ entities: unknown[];
3301
+ };
3302
+ subtext: {
3303
+ text: string;
3304
+ entities: unknown[];
3305
+ };
3306
+ };
3307
+ }[];
3308
+ };
3309
+ };
3310
+ };
3311
+ };
3312
+ quick_promote_eligibility: {
3313
+ eligibility: string;
3314
+ };
3315
+ };
3316
+ limitedActionResults?: {
3317
+ limited_actions: {
3318
+ action: string;
3319
+ prompt?: {
3320
+ __typename: string;
3321
+ cta_type: string;
3322
+ headline: {
3323
+ text: string;
3324
+ entities: unknown[];
3325
+ };
3326
+ subtext: {
3327
+ text: string;
3328
+ entities: unknown[];
3329
+ };
3330
+ };
3331
+ }[];
3332
+ };
3333
+ quoted_status_result?: {
3334
+ result: {
3335
+ __typename: string;
3336
+ rest_id?: string;
3337
+ core?: {
3338
+ user_results: {
3339
+ result: {
3340
+ __typename: string;
3341
+ id: string;
3342
+ rest_id: string;
3343
+ affiliates_highlighted_label: {
3344
+ label?: {
3345
+ url: {
3346
+ url: string;
3347
+ urlType: string;
3348
+ };
3349
+ badge: {
3350
+ url: string;
3351
+ };
3352
+ description: string;
3353
+ userLabelType: string;
3354
+ userLabelDisplayType: string;
3355
+ };
3356
+ };
3357
+ has_graduated_access: boolean;
3358
+ is_blue_verified: boolean;
3359
+ profile_image_shape: string;
3360
+ legacy: {
3361
+ can_dm: boolean;
3362
+ can_media_tag: boolean;
3363
+ created_at: string;
3364
+ default_profile: boolean;
3365
+ default_profile_image: boolean;
3366
+ description: string;
3367
+ entities: {
3368
+ description: {
3369
+ urls: {
3370
+ display_url: string;
3371
+ expanded_url: string;
3372
+ url: string;
3373
+ indices: number[];
3374
+ }[];
3375
+ };
3376
+ url?: {
3377
+ urls: {
3378
+ display_url: string;
3379
+ expanded_url: string;
3380
+ url: string;
3381
+ indices: number[];
3382
+ }[];
3383
+ };
3384
+ };
3385
+ fast_followers_count: number;
3386
+ favourites_count: number;
3387
+ followers_count: number;
3388
+ friends_count: number;
3389
+ has_custom_timelines: boolean;
3390
+ is_translator: boolean;
3391
+ listed_count: number;
3392
+ location: string;
3393
+ media_count: number;
3394
+ name: string;
3395
+ normal_followers_count: number;
3396
+ pinned_tweet_ids_str: string[];
3397
+ possibly_sensitive: boolean;
3398
+ profile_image_url_https: string;
3399
+ profile_interstitial_type: string;
3400
+ screen_name: string;
3401
+ statuses_count: number;
3402
+ translator_type: string;
3403
+ url?: string;
3404
+ verified: boolean;
3405
+ want_retweets: boolean;
3406
+ withheld_in_countries: unknown[];
3407
+ profile_banner_url?: string;
3408
+ verified_type?: string;
3409
+ };
3410
+ professional?: {
3411
+ rest_id: string;
3412
+ professional_type: string;
3413
+ category: {
3414
+ id: number;
3415
+ name: string;
3416
+ icon_name: string;
3417
+ }[];
3418
+ };
3419
+ super_follow_eligible?: boolean;
3420
+ };
3421
+ };
3422
+ };
3423
+ edit_control?: {
3424
+ edit_tweet_ids: string[];
3425
+ editable_until_msecs: string;
3426
+ is_edit_eligible: boolean;
3427
+ edits_remaining: string;
3428
+ };
3429
+ edit_perspective?: {
3430
+ favorited: boolean;
3431
+ retweeted: boolean;
3432
+ };
3433
+ is_translatable?: boolean;
3434
+ views?: {
3435
+ count: string;
3436
+ state: string;
3437
+ };
3438
+ source?: string;
3439
+ quotedRefResult?: {
3440
+ result: {
3441
+ __typename: string;
3442
+ rest_id?: string;
3443
+ tweet?: {
3444
+ rest_id: string;
3445
+ };
3446
+ };
3447
+ };
3448
+ legacy?: {
3449
+ bookmark_count: number;
3450
+ bookmarked: boolean;
3451
+ created_at: string;
3452
+ conversation_id_str: string;
3453
+ display_text_range: number[];
3454
+ entities: {
3455
+ user_mentions: {
3456
+ id_str: string;
3457
+ name: string;
3458
+ screen_name: string;
3459
+ indices: number[];
3460
+ }[];
3461
+ urls: {
3462
+ display_url: string;
3463
+ expanded_url: string;
3464
+ url: string;
3465
+ indices: number[];
3466
+ }[];
3467
+ hashtags: unknown[];
3468
+ symbols: unknown[];
3469
+ media?: {
3470
+ display_url: string;
3471
+ expanded_url: string;
3472
+ id_str: string;
3473
+ indices: number[];
3474
+ media_url_https: string;
3475
+ type: string;
3476
+ url: string;
3477
+ features: {
3478
+ large?: {
3479
+ faces: {
3480
+ x: number;
3481
+ y: number;
3482
+ h: number;
3483
+ w: number;
3484
+ }[];
3485
+ };
3486
+ medium?: {
3487
+ faces: {
3488
+ x: number;
3489
+ y: number;
3490
+ h: number;
3491
+ w: number;
3492
+ }[];
3493
+ };
3494
+ small?: {
3495
+ faces: {
3496
+ x: number;
3497
+ y: number;
3498
+ h: number;
3499
+ w: number;
3500
+ }[];
3501
+ };
3502
+ orig?: {
3503
+ faces: {
3504
+ x: number;
3505
+ y: number;
3506
+ h: number;
3507
+ w: number;
3508
+ }[];
3509
+ };
3510
+ };
3511
+ sizes: {
3512
+ large: {
3513
+ h: number;
3514
+ w: number;
3515
+ resize: string;
3516
+ };
3517
+ medium: {
3518
+ h: number;
3519
+ w: number;
3520
+ resize: string;
3521
+ };
3522
+ small: {
3523
+ h: number;
3524
+ w: number;
3525
+ resize: string;
3526
+ };
3527
+ thumb: {
3528
+ h: number;
3529
+ w: number;
3530
+ resize: string;
3531
+ };
3532
+ };
3533
+ original_info: {
3534
+ height: number;
3535
+ width: number;
3536
+ focus_rects?: {
3537
+ x: number;
3538
+ y: number;
3539
+ w: number;
3540
+ h: number;
3541
+ }[];
3542
+ };
3543
+ }[];
3544
+ };
3545
+ favorite_count: number;
3546
+ favorited: boolean;
3547
+ full_text: string;
3548
+ is_quote_status: boolean;
3549
+ lang: string;
3550
+ quote_count: number;
3551
+ quoted_status_id_str?: string;
3552
+ quoted_status_permalink?: {
3553
+ url: string;
3554
+ expanded: string;
3555
+ display: string;
3556
+ };
3557
+ reply_count: number;
3558
+ retweet_count: number;
3559
+ retweeted: boolean;
3560
+ user_id_str: string;
3561
+ id_str: string;
3562
+ extended_entities?: {
3563
+ media: {
3564
+ display_url: string;
3565
+ expanded_url: string;
3566
+ id_str: string;
3567
+ indices: number[];
3568
+ media_key: string;
3569
+ media_url_https: string;
3570
+ type: string;
3571
+ url: string;
3572
+ additional_media_info?: {
3573
+ monetizable: boolean;
3574
+ title?: string;
3575
+ description?: string;
3576
+ embeddable?: boolean;
3577
+ };
3578
+ mediaStats?: {
3579
+ viewCount: number;
3580
+ };
3581
+ ext_media_availability: {
3582
+ status: string;
3583
+ };
3584
+ features: {
3585
+ large?: {
3586
+ faces: {
3587
+ x: number;
3588
+ y: number;
3589
+ h: number;
3590
+ w: number;
3591
+ }[];
3592
+ };
3593
+ medium?: {
3594
+ faces: {
3595
+ x: number;
3596
+ y: number;
3597
+ h: number;
3598
+ w: number;
3599
+ }[];
3600
+ };
3601
+ small?: {
3602
+ faces: {
3603
+ x: number;
3604
+ y: number;
3605
+ h: number;
3606
+ w: number;
3607
+ }[];
3608
+ };
3609
+ orig?: {
3610
+ faces: {
3611
+ x: number;
3612
+ y: number;
3613
+ h: number;
3614
+ w: number;
3615
+ }[];
3616
+ };
3617
+ };
3618
+ sizes: {
3619
+ large: {
3620
+ h: number;
3621
+ w: number;
3622
+ resize: string;
3623
+ };
3624
+ medium: {
3625
+ h: number;
3626
+ w: number;
3627
+ resize: string;
3628
+ };
3629
+ small: {
3630
+ h: number;
3631
+ w: number;
3632
+ resize: string;
3633
+ };
3634
+ thumb: {
3635
+ h: number;
3636
+ w: number;
3637
+ resize: string;
3638
+ };
3639
+ };
3640
+ original_info: {
3641
+ height: number;
3642
+ width: number;
3643
+ focus_rects?: {
3644
+ x: number;
3645
+ y: number;
3646
+ w: number;
3647
+ h: number;
3648
+ }[];
3649
+ };
3650
+ video_info?: {
3651
+ aspect_ratio: number[];
3652
+ duration_millis: number;
3653
+ variants: {
3654
+ bitrate?: number;
3655
+ content_type: string;
3656
+ url: string;
3657
+ }[];
3658
+ };
3659
+ }[];
3660
+ };
3661
+ possibly_sensitive?: boolean;
3662
+ possibly_sensitive_editable?: boolean;
3663
+ };
3664
+ note_tweet?: {
3665
+ is_expandable: boolean;
3666
+ note_tweet_results: {
3667
+ result: {
3668
+ id: string;
3669
+ text: string;
3670
+ entity_set: {
3671
+ user_mentions: {
3672
+ id_str: string;
3673
+ name: string;
3674
+ screen_name: string;
3675
+ indices: number[];
3676
+ }[];
3677
+ urls: unknown[];
3678
+ hashtags: unknown[];
3679
+ symbols: unknown[];
3680
+ };
3681
+ richtext: {
3682
+ richtext_tags: unknown[];
3683
+ };
3684
+ media: {
3685
+ inline_media: unknown[];
3686
+ };
2417
3687
  };
2418
3688
  };
2419
3689
  };
2420
- };
2421
- quick_promote_eligibility: {
2422
- eligibility: string;
2423
- };
2424
- };
2425
- limitedActionResults?: {
2426
- limited_actions: {
2427
- action: string;
2428
- prompt: {
3690
+ tombstone?: {
2429
3691
  __typename: string;
2430
- cta_type: string;
2431
- headline: {
2432
- text: string;
2433
- entities: unknown[];
2434
- };
2435
- subtext: {
3692
+ text: {
3693
+ rtl: boolean;
2436
3694
  text: string;
2437
- entities: unknown[];
3695
+ entities: {
3696
+ fromIndex: number;
3697
+ toIndex: number;
3698
+ ref: {
3699
+ type: string;
3700
+ url: string;
3701
+ urlType: string;
3702
+ };
3703
+ }[];
2438
3704
  };
2439
3705
  };
2440
- }[];
3706
+ };
2441
3707
  };
2442
3708
  };
2443
3709
  };
@@ -2448,7 +3714,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2448
3714
  __typename: string;
2449
3715
  id: string;
2450
3716
  rest_id: string;
2451
- affiliates_highlighted_label: {};
3717
+ affiliates_highlighted_label: {
3718
+ label?: {
3719
+ url: {
3720
+ url: string;
3721
+ urlType: string;
3722
+ };
3723
+ badge: {
3724
+ url: string;
3725
+ };
3726
+ description: string;
3727
+ userLabelType: string;
3728
+ userLabelDisplayType: string;
3729
+ };
3730
+ };
2452
3731
  has_graduated_access: boolean;
2453
3732
  is_blue_verified: boolean;
2454
3733
  profile_image_shape: string;
@@ -2468,7 +3747,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2468
3747
  indices: number[];
2469
3748
  }[];
2470
3749
  };
2471
- url: {
3750
+ url?: {
2472
3751
  urls: {
2473
3752
  display_url: string;
2474
3753
  expanded_url: string;
@@ -2496,7 +3775,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2496
3775
  screen_name: string;
2497
3776
  statuses_count: number;
2498
3777
  translator_type: string;
2499
- url: string;
3778
+ url?: string;
2500
3779
  verified: boolean;
2501
3780
  verified_type?: string;
2502
3781
  want_retweets: boolean;
@@ -2525,6 +3804,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2525
3804
  value: string;
2526
3805
  }[];
2527
3806
  };
3807
+ impressionString?: string;
2528
3808
  };
2529
3809
  };
2530
3810
  header?: {
@@ -2564,7 +3844,20 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2564
3844
  __typename: string;
2565
3845
  id: string;
2566
3846
  rest_id: string;
2567
- affiliates_highlighted_label: {};
3847
+ affiliates_highlighted_label: {
3848
+ label?: {
3849
+ url: {
3850
+ url: string;
3851
+ urlType: string;
3852
+ };
3853
+ badge: {
3854
+ url: string;
3855
+ };
3856
+ description: string;
3857
+ userLabelType: string;
3858
+ userLabelDisplayType: string;
3859
+ };
3860
+ };
2568
3861
  has_graduated_access: boolean;
2569
3862
  is_blue_verified: boolean;
2570
3863
  profile_image_shape: string;
@@ -2579,7 +3872,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2579
3872
  description: {
2580
3873
  urls: unknown[];
2581
3874
  };
2582
- url: {
3875
+ url?: {
2583
3876
  urls: {
2584
3877
  display_url: string;
2585
3878
  expanded_url: string;
@@ -2607,11 +3900,21 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2607
3900
  screen_name: string;
2608
3901
  statuses_count: number;
2609
3902
  translator_type: string;
2610
- url: string;
3903
+ url?: string;
2611
3904
  verified: boolean;
2612
3905
  want_retweets: boolean;
2613
3906
  withheld_in_countries: unknown[];
2614
3907
  };
3908
+ professional?: {
3909
+ rest_id: string;
3910
+ professional_type: string;
3911
+ category: {
3912
+ id: number;
3913
+ name: string;
3914
+ icon_name: string;
3915
+ }[];
3916
+ };
3917
+ super_follow_eligible?: boolean;
2615
3918
  };
2616
3919
  };
2617
3920
  };
@@ -2628,6 +3931,7 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2628
3931
  is_translatable: boolean;
2629
3932
  views: {
2630
3933
  state: string;
3934
+ count?: string;
2631
3935
  };
2632
3936
  source: string;
2633
3937
  legacy: {
@@ -2638,7 +3942,12 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2638
3942
  display_text_range: number[];
2639
3943
  entities: {
2640
3944
  user_mentions: unknown[];
2641
- urls: unknown[];
3945
+ urls: {
3946
+ display_url: string;
3947
+ expanded_url: string;
3948
+ url: string;
3949
+ indices: number[];
3950
+ }[];
2642
3951
  hashtags: unknown[];
2643
3952
  symbols: unknown[];
2644
3953
  };
@@ -2653,10 +3962,147 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2653
3962
  retweeted: boolean;
2654
3963
  user_id_str: string;
2655
3964
  id_str: string;
3965
+ possibly_sensitive?: boolean;
3966
+ possibly_sensitive_editable?: boolean;
3967
+ quoted_status_id_str?: string;
3968
+ quoted_status_permalink?: {
3969
+ url: string;
3970
+ expanded: string;
3971
+ display: string;
3972
+ };
2656
3973
  };
2657
3974
  quick_promote_eligibility: {
2658
3975
  eligibility: string;
2659
3976
  };
3977
+ quoted_status_result?: {
3978
+ result: {
3979
+ __typename: string;
3980
+ rest_id: string;
3981
+ core: {
3982
+ user_results: {
3983
+ result: {
3984
+ __typename: string;
3985
+ id: string;
3986
+ rest_id: string;
3987
+ affiliates_highlighted_label: {
3988
+ label: {
3989
+ url: {
3990
+ url: string;
3991
+ urlType: string;
3992
+ };
3993
+ badge: {
3994
+ url: string;
3995
+ };
3996
+ description: string;
3997
+ userLabelType: string;
3998
+ userLabelDisplayType: string;
3999
+ };
4000
+ };
4001
+ has_graduated_access: boolean;
4002
+ is_blue_verified: boolean;
4003
+ profile_image_shape: string;
4004
+ legacy: {
4005
+ can_dm: boolean;
4006
+ can_media_tag: boolean;
4007
+ created_at: string;
4008
+ default_profile: boolean;
4009
+ default_profile_image: boolean;
4010
+ description: string;
4011
+ entities: {
4012
+ description: {
4013
+ urls: {
4014
+ display_url: string;
4015
+ expanded_url: string;
4016
+ url: string;
4017
+ indices: number[];
4018
+ }[];
4019
+ };
4020
+ url: {
4021
+ urls: {
4022
+ display_url: string;
4023
+ expanded_url: string;
4024
+ url: string;
4025
+ indices: number[];
4026
+ }[];
4027
+ };
4028
+ };
4029
+ fast_followers_count: number;
4030
+ favourites_count: number;
4031
+ followers_count: number;
4032
+ friends_count: number;
4033
+ has_custom_timelines: boolean;
4034
+ is_translator: boolean;
4035
+ listed_count: number;
4036
+ location: string;
4037
+ media_count: number;
4038
+ name: string;
4039
+ normal_followers_count: number;
4040
+ pinned_tweet_ids_str: unknown[];
4041
+ possibly_sensitive: boolean;
4042
+ profile_banner_url: string;
4043
+ profile_image_url_https: string;
4044
+ profile_interstitial_type: string;
4045
+ screen_name: string;
4046
+ statuses_count: number;
4047
+ translator_type: string;
4048
+ url: string;
4049
+ verified: boolean;
4050
+ verified_type: string;
4051
+ want_retweets: boolean;
4052
+ withheld_in_countries: unknown[];
4053
+ };
4054
+ };
4055
+ };
4056
+ };
4057
+ edit_control: {
4058
+ edit_tweet_ids: string[];
4059
+ editable_until_msecs: string;
4060
+ is_edit_eligible: boolean;
4061
+ edits_remaining: string;
4062
+ };
4063
+ edit_perspective: {
4064
+ favorited: boolean;
4065
+ retweeted: boolean;
4066
+ };
4067
+ is_translatable: boolean;
4068
+ views: {
4069
+ count: string;
4070
+ state: string;
4071
+ };
4072
+ source: string;
4073
+ legacy: {
4074
+ bookmark_count: number;
4075
+ bookmarked: boolean;
4076
+ created_at: string;
4077
+ conversation_id_str: string;
4078
+ display_text_range: number[];
4079
+ entities: {
4080
+ user_mentions: unknown[];
4081
+ urls: {
4082
+ display_url: string;
4083
+ expanded_url: string;
4084
+ url: string;
4085
+ indices: number[];
4086
+ }[];
4087
+ hashtags: unknown[];
4088
+ symbols: unknown[];
4089
+ };
4090
+ favorite_count: number;
4091
+ favorited: boolean;
4092
+ full_text: string;
4093
+ is_quote_status: boolean;
4094
+ lang: string;
4095
+ possibly_sensitive: boolean;
4096
+ possibly_sensitive_editable: boolean;
4097
+ quote_count: number;
4098
+ reply_count: number;
4099
+ retweet_count: number;
4100
+ retweeted: boolean;
4101
+ user_id_str: string;
4102
+ id_str: string;
4103
+ };
4104
+ };
4105
+ };
2660
4106
  };
2661
4107
  };
2662
4108
  tweetDisplayType: string;
@@ -2668,19 +4114,25 @@ export interface GraphQLGetUserTweetsSuccessResponse {
2668
4114
  };
2669
4115
  clientEventInfo: {
2670
4116
  component: string;
2671
- details: {
4117
+ details?: {
2672
4118
  timelinesDetails: {
2673
4119
  injectionType: string;
2674
4120
  };
2675
4121
  };
4122
+ element?: string;
2676
4123
  };
2677
4124
  };
2678
4125
  };
2679
4126
  }[];
2680
- responseObjects: {
4127
+ responseObjects?: {
2681
4128
  feedbackActions: unknown[];
2682
4129
  immediateReactions: unknown[];
2683
4130
  };
4131
+ metadata?: {
4132
+ scribeConfig: {
4133
+ page: string;
4134
+ };
4135
+ };
2684
4136
  };
2685
4137
  };
2686
4138
  };