@book000/twitterts 0.40.0 → 0.41.1

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 (45) hide show
  1. package/dist/generate-types/custom-types-generator.d.ts +8 -1
  2. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  3. package/dist/generate-types/custom-types-generator.js +31 -18
  4. package/dist/generate-types/custom-types-generator.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +5164 -0
  10. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -0
  11. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.js +4 -0
  12. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.js.map +1 -0
  13. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +157 -157
  14. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  15. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +1077 -809
  16. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  17. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +33 -33
  18. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  19. package/dist/models/responses/custom/custom-tweet-object.d.ts +271 -10
  20. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  21. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +154 -154
  22. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  23. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +373 -14
  24. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  25. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +48 -8
  26. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  27. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +157 -157
  28. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  29. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +2 -2
  30. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  31. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +1215 -1215
  32. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  33. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +428 -14
  34. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  35. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +236 -236
  36. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  37. package/dist/parser/home-timeline-parser.d.ts +2 -2
  38. package/dist/parser/home-timeline-parser.d.ts.map +1 -1
  39. package/dist/parser/home-timeline-parser.js.map +1 -1
  40. package/dist/tsconfig.build.tsbuildinfo +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/twitter.d.ts.map +1 -1
  43. package/dist/twitter.js +6 -1
  44. package/dist/twitter.js.map +1 -1
  45. package/package.json +1 -1
@@ -53,6 +53,8 @@ export interface CustomTimelineTweetEntry {
53
53
  is_blue_verified: boolean;
54
54
  profile_image_shape: string;
55
55
  legacy: {
56
+ followed_by?: boolean;
57
+ following?: boolean;
56
58
  can_dm: boolean;
57
59
  can_media_tag: boolean;
58
60
  created_at: string;
@@ -96,13 +98,11 @@ export interface CustomTimelineTweetEntry {
96
98
  screen_name: string;
97
99
  statuses_count: number;
98
100
  translator_type: string;
99
- url?: string;
100
101
  verified: boolean;
101
102
  want_retweets: boolean;
102
103
  withheld_in_countries: unknown[];
103
- following?: boolean;
104
+ url?: string;
104
105
  verified_type?: string;
105
- followed_by?: boolean;
106
106
  needs_phone_verification?: boolean;
107
107
  };
108
108
  professional?: {
@@ -132,10 +132,14 @@ export interface CustomTimelineTweetEntry {
132
132
  edits_remaining: string;
133
133
  };
134
134
  };
135
+ edit_perspective?: {
136
+ favorited: boolean;
137
+ retweeted: boolean;
138
+ };
135
139
  is_translatable?: boolean;
136
140
  views?: {
137
- count?: string;
138
141
  state: string;
142
+ count?: string;
139
143
  };
140
144
  source?: string;
141
145
  legacy?: {
@@ -263,6 +267,83 @@ export interface CustomTimelineTweetEntry {
263
267
  source_user_id_str?: string;
264
268
  type: string;
265
269
  url: string;
270
+ ext_media_availability: {
271
+ status: string;
272
+ };
273
+ features: {
274
+ large?: {
275
+ faces: {
276
+ x: number;
277
+ y: number;
278
+ h: number;
279
+ w: number;
280
+ }[];
281
+ };
282
+ medium?: {
283
+ faces: {
284
+ x: number;
285
+ y: number;
286
+ h: number;
287
+ w: number;
288
+ }[];
289
+ };
290
+ small?: {
291
+ faces: {
292
+ x: number;
293
+ y: number;
294
+ h: number;
295
+ w: number;
296
+ }[];
297
+ };
298
+ orig?: {
299
+ faces: {
300
+ x: number;
301
+ y: number;
302
+ h: number;
303
+ w: number;
304
+ }[];
305
+ };
306
+ all?: {
307
+ tags: {
308
+ user_id: string;
309
+ name: string;
310
+ screen_name: string;
311
+ type: string;
312
+ }[];
313
+ };
314
+ };
315
+ sizes: {
316
+ large: {
317
+ h: number;
318
+ w: number;
319
+ resize: string;
320
+ };
321
+ medium: {
322
+ h: number;
323
+ w: number;
324
+ resize: string;
325
+ };
326
+ small: {
327
+ h: number;
328
+ w: number;
329
+ resize: string;
330
+ };
331
+ thumb: {
332
+ h: number;
333
+ w: number;
334
+ resize: string;
335
+ };
336
+ };
337
+ original_info: {
338
+ height: number;
339
+ width: number;
340
+ focus_rects?: {
341
+ x: number;
342
+ y: number;
343
+ w: number;
344
+ h: number;
345
+ }[];
346
+ };
266
347
  additional_media_info?: {
267
348
  monetizable: boolean;
268
349
  source_user?: {
@@ -332,10 +413,10 @@ export interface CustomTimelineTweetEntry {
332
413
  screen_name: string;
333
414
  statuses_count: number;
334
415
  translator_type: string;
416
+ url?: string;
335
417
  verified: boolean;
336
418
  want_retweets: boolean;
337
419
  withheld_in_countries: unknown[];
338
- url?: string;
339
420
  verified_type?: string;
340
421
  };
341
422
  professional?: {
@@ -367,90 +448,13 @@ export interface CustomTimelineTweetEntry {
367
448
  mediaStats?: {
368
449
  viewCount: number;
369
450
  };
370
- ext_media_availability: {
371
- status: string;
372
- };
373
- features: {
374
- large?: {
375
- faces: {
376
- x: number;
377
- y: number;
378
- h: number;
379
- w: number;
380
- }[];
381
- };
382
- medium?: {
383
- faces: {
384
- x: number;
385
- y: number;
386
- h: number;
387
- w: number;
388
- }[];
389
- };
390
- small?: {
391
- faces: {
392
- x: number;
393
- y: number;
394
- h: number;
395
- w: number;
396
- }[];
397
- };
398
- orig?: {
399
- faces: {
400
- x: number;
401
- y: number;
402
- h: number;
403
- w: number;
404
- }[];
405
- };
406
- all?: {
407
- tags: {
408
- user_id: string;
409
- name: string;
410
- screen_name: string;
411
- type: string;
412
- }[];
413
- };
414
- };
415
- sizes: {
416
- large: {
417
- h: number;
418
- w: number;
419
- resize: string;
420
- };
421
- medium: {
422
- h: number;
423
- w: number;
424
- resize: string;
425
- };
426
- small: {
427
- h: number;
428
- w: number;
429
- resize: string;
430
- };
431
- thumb: {
432
- h: number;
433
- w: number;
434
- resize: string;
435
- };
436
- };
437
- original_info: {
438
- height: number;
439
- width: number;
440
- focus_rects?: {
441
- x: number;
442
- y: number;
443
- w: number;
444
- h: number;
445
- }[];
446
- };
447
451
  video_info?: {
448
452
  aspect_ratio: number[];
449
453
  duration_millis?: number;
450
454
  variants: {
451
- bitrate?: number;
452
455
  content_type: string;
453
456
  url: string;
457
+ bitrate?: number;
454
458
  }[];
455
459
  };
456
460
  ext_alt_text?: string;
@@ -481,10 +485,16 @@ export interface CustomTimelineTweetEntry {
481
485
  rest_id: string;
482
486
  affiliates_highlighted_label: {
483
487
  label?: {
488
+ url?: {
489
+ url: string;
490
+ urlType: string;
491
+ };
484
492
  badge: {
485
493
  url: string;
486
494
  };
487
495
  description: string;
496
+ userLabelType: string;
497
+ userLabelDisplayType?: string;
488
498
  longDescription?: {
489
499
  text: string;
490
500
  entities: {
@@ -496,22 +506,16 @@ export interface CustomTimelineTweetEntry {
496
506
  mention_results: {
497
507
  result: {
498
508
  __typename: string;
499
- reason?: string;
500
509
  legacy?: {
501
510
  screen_name: string;
502
511
  };
503
512
  rest_id?: string;
513
+ reason?: string;
504
514
  };
505
515
  };
506
516
  };
507
517
  }[];
508
518
  };
509
- userLabelType: string;
510
- url?: {
511
- url: string;
512
- urlType: string;
513
- };
514
- userLabelDisplayType?: string;
515
519
  };
516
520
  };
517
521
  has_graduated_access: boolean;
@@ -595,6 +599,10 @@ export interface CustomTimelineTweetEntry {
595
599
  edits_remaining: string;
596
600
  };
597
601
  };
602
+ edit_perspective?: {
603
+ favorited: boolean;
604
+ retweeted: boolean;
605
+ };
598
606
  is_translatable: boolean;
599
607
  views: {
600
608
  count?: string;
@@ -803,6 +811,14 @@ export interface CustomTimelineTweetEntry {
803
811
  };
804
812
  additional_media_info?: {
805
813
  monetizable: boolean;
814
+ title?: string;
815
+ description?: string;
816
+ call_to_actions?: {
817
+ watch_now: {
818
+ url: string;
819
+ };
820
+ };
821
+ embeddable?: boolean;
806
822
  source_user?: {
807
823
  user_results: {
808
824
  result: {
@@ -871,14 +887,6 @@ export interface CustomTimelineTweetEntry {
871
887
  };
872
888
  };
873
889
  };
874
- title?: string;
875
- description?: string;
876
- call_to_actions?: {
877
- watch_now: {
878
- url: string;
879
- };
880
- };
881
- embeddable?: boolean;
882
890
  };
883
891
  mediaStats?: {
884
892
  viewCount: number;
@@ -887,14 +895,14 @@ export interface CustomTimelineTweetEntry {
887
895
  aspect_ratio: number[];
888
896
  duration_millis?: number;
889
897
  variants: {
890
- bitrate?: number;
891
898
  content_type: string;
892
899
  url: string;
900
+ bitrate?: number;
893
901
  }[];
894
902
  };
903
+ ext_alt_text?: string;
895
904
  source_status_id_str?: string;
896
905
  source_user_id_str?: string;
897
- ext_alt_text?: string;
898
906
  }[];
899
907
  };
900
908
  favorite_count: number;
@@ -920,54 +928,219 @@ export interface CustomTimelineTweetEntry {
920
928
  followers: boolean;
921
929
  };
922
930
  };
923
- quoted_status_result?: {
924
- result: {
925
- __typename: string;
926
- rest_id?: string;
927
- core?: {
928
- user_results: {
929
- result: {
930
- __typename: string;
931
- id: string;
932
- rest_id: string;
933
- affiliates_highlighted_label: {
934
- label?: {
935
- badge: {
936
- url: string;
937
- };
938
- description: string;
939
- longDescription: {
940
- text: string;
941
- entities: {
942
- fromIndex: number;
943
- toIndex: number;
944
- ref: {
945
- type: string;
946
- screen_name: string;
947
- mention_results: {
948
- result: {
949
- __typename: string;
950
- legacy: {
951
- screen_name: string;
952
- };
953
- rest_id: string;
954
- };
955
- };
956
- };
957
- }[];
958
- };
959
- userLabelType: string;
960
- };
961
- };
962
- has_graduated_access: boolean;
963
- is_blue_verified: boolean;
964
- profile_image_shape: string;
965
- legacy: {
966
- followed_by?: boolean;
967
- following?: boolean;
968
- can_dm: boolean;
969
- can_media_tag: boolean;
970
- created_at: string;
931
+ card?: {
932
+ rest_id: string;
933
+ legacy: {
934
+ binding_values: {
935
+ key: string;
936
+ value: {
937
+ string_value?: string;
938
+ type: string;
939
+ scribe_key?: string;
940
+ image_value?: {
941
+ height: number;
942
+ width: number;
943
+ url: string;
944
+ };
945
+ image_color_value?: {
946
+ palette: {
947
+ rgb: {
948
+ blue: number;
949
+ green: number;
950
+ red: number;
951
+ };
952
+ percentage: number;
953
+ }[];
954
+ };
955
+ user_value?: {
956
+ id_str: string;
957
+ path: unknown[];
958
+ };
959
+ boolean_value?: boolean;
960
+ };
961
+ }[];
962
+ card_platform: {
963
+ platform: {
964
+ audience: {
965
+ name: string;
966
+ };
967
+ device: {
968
+ name: string;
969
+ version: string;
970
+ };
971
+ };
972
+ };
973
+ name: string;
974
+ url: string;
975
+ user_refs_results: {
976
+ result: {
977
+ __typename: string;
978
+ id: string;
979
+ rest_id: string;
980
+ affiliates_highlighted_label: {};
981
+ has_graduated_access: boolean;
982
+ is_blue_verified: boolean;
983
+ profile_image_shape: string;
984
+ legacy: {
985
+ can_dm: boolean;
986
+ can_media_tag: boolean;
987
+ created_at: string;
988
+ default_profile: boolean;
989
+ default_profile_image: boolean;
990
+ description: string;
991
+ entities: {
992
+ description: {
993
+ urls: {
994
+ display_url: string;
995
+ expanded_url: string;
996
+ url: string;
997
+ indices: number[];
998
+ }[];
999
+ };
1000
+ url: {
1001
+ urls: {
1002
+ display_url: string;
1003
+ expanded_url: string;
1004
+ url: string;
1005
+ indices: number[];
1006
+ }[];
1007
+ };
1008
+ };
1009
+ fast_followers_count: number;
1010
+ favourites_count: number;
1011
+ followers_count: number;
1012
+ friends_count: number;
1013
+ has_custom_timelines: boolean;
1014
+ is_translator: boolean;
1015
+ listed_count: number;
1016
+ location: string;
1017
+ media_count: number;
1018
+ name: string;
1019
+ normal_followers_count: number;
1020
+ pinned_tweet_ids_str: string[];
1021
+ possibly_sensitive: boolean;
1022
+ profile_banner_url: string;
1023
+ profile_image_url_https: string;
1024
+ profile_interstitial_type: string;
1025
+ screen_name: string;
1026
+ statuses_count: number;
1027
+ translator_type: string;
1028
+ url: string;
1029
+ verified: boolean;
1030
+ want_retweets: boolean;
1031
+ withheld_in_countries: unknown[];
1032
+ verified_type?: string;
1033
+ };
1034
+ professional?: {
1035
+ rest_id: string;
1036
+ professional_type: string;
1037
+ category: {
1038
+ id: number;
1039
+ name: string;
1040
+ icon_name: string;
1041
+ }[];
1042
+ };
1043
+ };
1044
+ }[];
1045
+ };
1046
+ };
1047
+ unified_card?: {
1048
+ card_fetch_state: string;
1049
+ };
1050
+ note_tweet?: {
1051
+ is_expandable: boolean;
1052
+ note_tweet_results: {
1053
+ result: {
1054
+ id: string;
1055
+ text: string;
1056
+ entity_set: {
1057
+ user_mentions: {
1058
+ id_str: string;
1059
+ name: string;
1060
+ screen_name: string;
1061
+ indices: number[];
1062
+ }[];
1063
+ urls: {
1064
+ display_url: string;
1065
+ expanded_url: string;
1066
+ url: string;
1067
+ indices: number[];
1068
+ }[];
1069
+ hashtags: {
1070
+ indices: number[];
1071
+ text: string;
1072
+ }[];
1073
+ symbols: {
1074
+ indices: number[];
1075
+ text: string;
1076
+ }[];
1077
+ };
1078
+ richtext?: {
1079
+ richtext_tags: {
1080
+ from_index: number;
1081
+ to_index: number;
1082
+ richtext_types: string[];
1083
+ }[];
1084
+ };
1085
+ media?: {
1086
+ inline_media: unknown[];
1087
+ };
1088
+ };
1089
+ };
1090
+ };
1091
+ previous_counts?: {
1092
+ bookmark_count: number;
1093
+ favorite_count: number;
1094
+ quote_count: number;
1095
+ reply_count: number;
1096
+ retweet_count: number;
1097
+ };
1098
+ quoted_status_result?: {
1099
+ result: {
1100
+ __typename: string;
1101
+ rest_id?: string;
1102
+ core?: {
1103
+ user_results: {
1104
+ result: {
1105
+ __typename: string;
1106
+ id: string;
1107
+ rest_id: string;
1108
+ affiliates_highlighted_label: {
1109
+ label?: {
1110
+ badge: {
1111
+ url: string;
1112
+ };
1113
+ description: string;
1114
+ longDescription: {
1115
+ text: string;
1116
+ entities: {
1117
+ fromIndex: number;
1118
+ toIndex: number;
1119
+ ref: {
1120
+ type: string;
1121
+ screen_name: string;
1122
+ mention_results: {
1123
+ result: {
1124
+ __typename: string;
1125
+ legacy: {
1126
+ screen_name: string;
1127
+ };
1128
+ rest_id: string;
1129
+ };
1130
+ };
1131
+ };
1132
+ }[];
1133
+ };
1134
+ userLabelType: string;
1135
+ };
1136
+ };
1137
+ has_graduated_access: boolean;
1138
+ is_blue_verified: boolean;
1139
+ profile_image_shape: string;
1140
+ legacy: {
1141
+ can_dm: boolean;
1142
+ can_media_tag: boolean;
1143
+ created_at: string;
971
1144
  default_profile: boolean;
972
1145
  default_profile_image: boolean;
973
1146
  description: string;
@@ -1002,16 +1175,18 @@ export interface CustomTimelineTweetEntry {
1002
1175
  normal_followers_count: number;
1003
1176
  pinned_tweet_ids_str: string[];
1004
1177
  possibly_sensitive: boolean;
1005
- profile_banner_url?: string;
1006
1178
  profile_image_url_https: string;
1007
1179
  profile_interstitial_type: string;
1008
1180
  screen_name: string;
1009
1181
  statuses_count: number;
1010
1182
  translator_type: string;
1011
- url?: string;
1012
1183
  verified: boolean;
1013
1184
  want_retweets: boolean;
1014
1185
  withheld_in_countries: unknown[];
1186
+ profile_banner_url?: string;
1187
+ url?: string;
1188
+ followed_by?: boolean;
1189
+ following?: boolean;
1015
1190
  };
1016
1191
  professional?: {
1017
1192
  rest_id: string;
@@ -1038,6 +1213,10 @@ export interface CustomTimelineTweetEntry {
1038
1213
  edits_remaining: string;
1039
1214
  };
1040
1215
  };
1216
+ edit_perspective?: {
1217
+ favorited: boolean;
1218
+ retweeted: boolean;
1219
+ };
1041
1220
  is_translatable?: boolean;
1042
1221
  views?: {
1043
1222
  count: string;
@@ -1223,29 +1402,26 @@ export interface CustomTimelineTweetEntry {
1223
1402
  h: number;
1224
1403
  }[];
1225
1404
  };
1405
+ additional_media_info?: {
1406
+ monetizable: boolean;
1407
+ };
1408
+ mediaStats?: {
1409
+ viewCount: number;
1410
+ };
1226
1411
  video_info?: {
1227
1412
  aspect_ratio: number[];
1413
+ duration_millis?: number;
1228
1414
  variants: {
1229
1415
  bitrate?: number;
1230
1416
  content_type: string;
1231
1417
  url: string;
1232
1418
  }[];
1233
- duration_millis?: number;
1234
- };
1235
- additional_media_info?: {
1236
- monetizable: boolean;
1237
- };
1238
- mediaStats?: {
1239
- viewCount: number;
1240
1419
  };
1241
1420
  }[];
1242
1421
  };
1243
1422
  favorite_count: number;
1244
1423
  favorited: boolean;
1245
1424
  full_text: string;
1246
- in_reply_to_screen_name?: string;
1247
- in_reply_to_status_id_str?: string;
1248
- in_reply_to_user_id_str?: string;
1249
1425
  is_quote_status: boolean;
1250
1426
  lang: string;
1251
1427
  possibly_sensitive?: boolean;
@@ -1262,16 +1438,9 @@ export interface CustomTimelineTweetEntry {
1262
1438
  expanded: string;
1263
1439
  display: string;
1264
1440
  };
1265
- };
1266
- quotedRefResult?: {
1267
- result: {
1268
- __typename: string;
1269
- rest_id: string;
1270
- };
1271
- };
1272
- edit_perspective?: {
1273
- favorited: boolean;
1274
- retweeted: boolean;
1441
+ in_reply_to_screen_name?: string;
1442
+ in_reply_to_status_id_str?: string;
1443
+ in_reply_to_user_id_str?: string;
1275
1444
  };
1276
1445
  tweet?: {
1277
1446
  rest_id: string;
@@ -1334,7 +1503,7 @@ export interface CustomTimelineTweetEntry {
1334
1503
  want_retweets: boolean;
1335
1504
  withheld_in_countries: unknown[];
1336
1505
  };
1337
- professional: {
1506
+ professional?: {
1338
1507
  rest_id: string;
1339
1508
  professional_type: string;
1340
1509
  category: unknown[];
@@ -1348,7 +1517,7 @@ export interface CustomTimelineTweetEntry {
1348
1517
  is_edit_eligible: boolean;
1349
1518
  edits_remaining: string;
1350
1519
  };
1351
- edit_perspective: {
1520
+ edit_perspective?: {
1352
1521
  favorited: boolean;
1353
1522
  retweeted: boolean;
1354
1523
  };
@@ -1376,7 +1545,7 @@ export interface CustomTimelineTweetEntry {
1376
1545
  conversation_id_str: string;
1377
1546
  display_text_range: number[];
1378
1547
  entities: {
1379
- media: {
1548
+ media?: {
1380
1549
  display_url: string;
1381
1550
  expanded_url: string;
1382
1551
  id_str: string;
@@ -1464,7 +1633,7 @@ export interface CustomTimelineTweetEntry {
1464
1633
  }[];
1465
1634
  symbols: unknown[];
1466
1635
  };
1467
- extended_entities: {
1636
+ extended_entities?: {
1468
1637
  media: {
1469
1638
  display_url: string;
1470
1639
  expanded_url: string;
@@ -1551,14 +1720,26 @@ export interface CustomTimelineTweetEntry {
1551
1720
  is_quote_status: boolean;
1552
1721
  lang: string;
1553
1722
  limited_actions: string;
1554
- possibly_sensitive: boolean;
1555
- possibly_sensitive_editable: boolean;
1723
+ possibly_sensitive?: boolean;
1724
+ possibly_sensitive_editable?: boolean;
1556
1725
  quote_count: number;
1557
1726
  reply_count: number;
1558
1727
  retweet_count: number;
1559
1728
  retweeted: boolean;
1560
1729
  user_id_str: string;
1561
1730
  id_str: string;
1731
+ quoted_status_id_str?: string;
1732
+ quoted_status_permalink?: {
1733
+ url: string;
1734
+ expanded: string;
1735
+ display: string;
1736
+ };
1737
+ };
1738
+ quotedRefResult?: {
1739
+ result: {
1740
+ __typename: string;
1741
+ rest_id: string;
1742
+ };
1562
1743
  };
1563
1744
  };
1564
1745
  limitedActionResults?: {
@@ -1612,6 +1793,12 @@ export interface CustomTimelineTweetEntry {
1612
1793
  };
1613
1794
  };
1614
1795
  };
1796
+ quotedRefResult?: {
1797
+ result: {
1798
+ __typename: string;
1799
+ rest_id: string;
1800
+ };
1801
+ };
1615
1802
  previous_counts?: {
1616
1803
  bookmark_count: number;
1617
1804
  favorite_count: number;
@@ -1702,7 +1889,7 @@ export interface CustomTimelineTweetEntry {
1702
1889
  media_count: number;
1703
1890
  name: string;
1704
1891
  normal_followers_count: number;
1705
- pinned_tweet_ids_str: unknown[];
1892
+ pinned_tweet_ids_str: string[];
1706
1893
  possibly_sensitive: boolean;
1707
1894
  profile_banner_url: string;
1708
1895
  profile_image_url_https: string;
@@ -1716,6 +1903,15 @@ export interface CustomTimelineTweetEntry {
1716
1903
  want_retweets: boolean;
1717
1904
  withheld_in_countries: unknown[];
1718
1905
  };
1906
+ professional?: {
1907
+ rest_id: string;
1908
+ professional_type: string;
1909
+ category: {
1910
+ id: number;
1911
+ name: string;
1912
+ icon_name: string;
1913
+ }[];
1914
+ };
1719
1915
  };
1720
1916
  }[];
1721
1917
  };
@@ -1725,177 +1921,6 @@ export interface CustomTimelineTweetEntry {
1725
1921
  };
1726
1922
  };
1727
1923
  };
1728
- card?: {
1729
- rest_id: string;
1730
- legacy: {
1731
- binding_values: {
1732
- key: string;
1733
- value: {
1734
- image_value?: {
1735
- height: number;
1736
- width: number;
1737
- url: string;
1738
- };
1739
- type: string;
1740
- string_value?: string;
1741
- scribe_key?: string;
1742
- user_value?: {
1743
- id_str: string;
1744
- path: unknown[];
1745
- };
1746
- image_color_value?: {
1747
- palette: {
1748
- rgb: {
1749
- blue: number;
1750
- green: number;
1751
- red: number;
1752
- };
1753
- percentage: number;
1754
- }[];
1755
- };
1756
- boolean_value?: boolean;
1757
- };
1758
- }[];
1759
- card_platform: {
1760
- platform: {
1761
- audience: {
1762
- name: string;
1763
- };
1764
- device: {
1765
- name: string;
1766
- version: string;
1767
- };
1768
- };
1769
- };
1770
- name: string;
1771
- url: string;
1772
- user_refs_results: {
1773
- result: {
1774
- __typename: string;
1775
- id: string;
1776
- rest_id: string;
1777
- affiliates_highlighted_label: {};
1778
- has_graduated_access: boolean;
1779
- is_blue_verified: boolean;
1780
- profile_image_shape: string;
1781
- legacy: {
1782
- can_dm: boolean;
1783
- can_media_tag: boolean;
1784
- created_at: string;
1785
- default_profile: boolean;
1786
- default_profile_image: boolean;
1787
- description: string;
1788
- entities: {
1789
- description: {
1790
- urls: {
1791
- display_url: string;
1792
- expanded_url: string;
1793
- url: string;
1794
- indices: number[];
1795
- }[];
1796
- };
1797
- url: {
1798
- urls: {
1799
- display_url: string;
1800
- expanded_url: string;
1801
- url: string;
1802
- indices: number[];
1803
- }[];
1804
- };
1805
- };
1806
- fast_followers_count: number;
1807
- favourites_count: number;
1808
- followers_count: number;
1809
- friends_count: number;
1810
- has_custom_timelines: boolean;
1811
- is_translator: boolean;
1812
- listed_count: number;
1813
- location: string;
1814
- media_count: number;
1815
- name: string;
1816
- normal_followers_count: number;
1817
- pinned_tweet_ids_str: string[];
1818
- possibly_sensitive: boolean;
1819
- profile_banner_url: string;
1820
- profile_image_url_https: string;
1821
- profile_interstitial_type: string;
1822
- screen_name: string;
1823
- statuses_count: number;
1824
- translator_type: string;
1825
- url: string;
1826
- verified: boolean;
1827
- verified_type?: string;
1828
- want_retweets: boolean;
1829
- withheld_in_countries: unknown[];
1830
- };
1831
- professional?: {
1832
- rest_id: string;
1833
- professional_type: string;
1834
- category: {
1835
- id: number;
1836
- name: string;
1837
- icon_name: string;
1838
- }[];
1839
- };
1840
- };
1841
- }[];
1842
- };
1843
- };
1844
- unified_card?: {
1845
- card_fetch_state: string;
1846
- };
1847
- note_tweet?: {
1848
- is_expandable: boolean;
1849
- note_tweet_results: {
1850
- result: {
1851
- id: string;
1852
- text: string;
1853
- entity_set: {
1854
- user_mentions: {
1855
- id_str: string;
1856
- name: string;
1857
- screen_name: string;
1858
- indices: number[];
1859
- }[];
1860
- urls: {
1861
- display_url: string;
1862
- expanded_url: string;
1863
- url: string;
1864
- indices: number[];
1865
- }[];
1866
- hashtags: {
1867
- indices: number[];
1868
- text: string;
1869
- }[];
1870
- symbols: {
1871
- indices: number[];
1872
- text: string;
1873
- }[];
1874
- };
1875
- richtext?: {
1876
- richtext_tags: {
1877
- from_index: number;
1878
- to_index: number;
1879
- richtext_types: string[];
1880
- }[];
1881
- };
1882
- media?: {
1883
- inline_media: unknown[];
1884
- };
1885
- };
1886
- };
1887
- };
1888
- edit_perspective?: {
1889
- favorited: boolean;
1890
- retweeted: boolean;
1891
- };
1892
- previous_counts?: {
1893
- bookmark_count: number;
1894
- favorite_count: number;
1895
- quote_count: number;
1896
- reply_count: number;
1897
- retweet_count: number;
1898
- };
1899
1924
  };
1900
1925
  };
1901
1926
  scopes?: {
@@ -1941,10 +1966,6 @@ export interface CustomTimelineTweetEntry {
1941
1966
  url: string;
1942
1967
  alt?: string;
1943
1968
  };
1944
- user_value?: {
1945
- id_str: string;
1946
- path: unknown[];
1947
- };
1948
1969
  image_color_value?: {
1949
1970
  palette: {
1950
1971
  rgb: {
@@ -1955,6 +1976,10 @@ export interface CustomTimelineTweetEntry {
1955
1976
  percentage: number;
1956
1977
  }[];
1957
1978
  };
1979
+ user_value?: {
1980
+ id_str: string;
1981
+ path: unknown[];
1982
+ };
1958
1983
  boolean_value?: boolean;
1959
1984
  };
1960
1985
  }[];
@@ -2039,9 +2064,9 @@ export interface CustomTimelineTweetEntry {
2039
2064
  translator_type: string;
2040
2065
  url?: string;
2041
2066
  verified: boolean;
2042
- verified_type?: string;
2043
2067
  want_retweets: boolean;
2044
2068
  withheld_in_countries: unknown[];
2069
+ verified_type?: string;
2045
2070
  protected?: boolean;
2046
2071
  };
2047
2072
  professional?: {
@@ -2156,6 +2181,10 @@ export interface CustomTimelineTweetEntry {
2156
2181
  is_edit_eligible: boolean;
2157
2182
  edits_remaining: string;
2158
2183
  };
2184
+ edit_perspective?: {
2185
+ favorited: boolean;
2186
+ retweeted: boolean;
2187
+ };
2159
2188
  is_translatable: boolean;
2160
2189
  views: {
2161
2190
  count?: string;
@@ -2169,6 +2198,23 @@ export interface CustomTimelineTweetEntry {
2169
2198
  conversation_id_str: string;
2170
2199
  display_text_range: number[];
2171
2200
  entities: {
2201
+ user_mentions: {
2202
+ id_str: string;
2203
+ name: string;
2204
+ screen_name: string;
2205
+ indices: number[];
2206
+ }[];
2207
+ urls: {
2208
+ display_url: string;
2209
+ expanded_url: string;
2210
+ url: string;
2211
+ indices: number[];
2212
+ }[];
2213
+ hashtags: {
2214
+ indices: number[];
2215
+ text: string;
2216
+ }[];
2217
+ symbols: unknown[];
2172
2218
  media?: {
2173
2219
  display_url: string;
2174
2220
  expanded_url: string;
@@ -2254,24 +2300,18 @@ export interface CustomTimelineTweetEntry {
2254
2300
  source_status_id_str?: string;
2255
2301
  source_user_id_str?: string;
2256
2302
  }[];
2257
- user_mentions: {
2258
- id_str: string;
2259
- name: string;
2260
- screen_name: string;
2261
- indices: number[];
2262
- }[];
2263
- urls: {
2264
- display_url: string;
2265
- expanded_url: string;
2266
- url: string;
2267
- indices: number[];
2268
- }[];
2269
- hashtags: {
2270
- indices: number[];
2271
- text: string;
2272
- }[];
2273
- symbols: unknown[];
2274
2303
  };
2304
+ favorite_count: number;
2305
+ favorited: boolean;
2306
+ full_text: string;
2307
+ is_quote_status: boolean;
2308
+ lang: string;
2309
+ quote_count: number;
2310
+ reply_count: number;
2311
+ retweet_count: number;
2312
+ retweeted: boolean;
2313
+ user_id_str: string;
2314
+ id_str: string;
2275
2315
  extended_entities?: {
2276
2316
  media: {
2277
2317
  display_url: string;
@@ -2282,6 +2322,12 @@ export interface CustomTimelineTweetEntry {
2282
2322
  media_url_https: string;
2283
2323
  type: string;
2284
2324
  url: string;
2325
+ additional_media_info?: {
2326
+ monetizable: boolean;
2327
+ };
2328
+ mediaStats?: {
2329
+ viewCount: number;
2330
+ };
2285
2331
  ext_media_availability: {
2286
2332
  status: string;
2287
2333
  };
@@ -2359,39 +2405,22 @@ export interface CustomTimelineTweetEntry {
2359
2405
  h: number;
2360
2406
  }[];
2361
2407
  };
2362
- source_status_id_str?: string;
2363
- source_user_id_str?: string;
2364
- additional_media_info?: {
2365
- monetizable: boolean;
2366
- };
2367
- mediaStats?: {
2368
- viewCount: number;
2369
- };
2370
2408
  video_info?: {
2371
2409
  aspect_ratio: number[];
2372
2410
  duration_millis?: number;
2373
2411
  variants: {
2412
+ bitrate?: number;
2374
2413
  content_type: string;
2375
2414
  url: string;
2376
- bitrate?: number;
2377
2415
  }[];
2378
2416
  };
2379
2417
  ext_alt_text?: string;
2418
+ source_status_id_str?: string;
2419
+ source_user_id_str?: string;
2380
2420
  }[];
2381
2421
  };
2382
- favorite_count: number;
2383
- favorited: boolean;
2384
- full_text: string;
2385
- is_quote_status: boolean;
2386
- lang: string;
2387
2422
  possibly_sensitive?: boolean;
2388
2423
  possibly_sensitive_editable?: boolean;
2389
- quote_count: number;
2390
- reply_count: number;
2391
- retweet_count: number;
2392
- retweeted: boolean;
2393
- user_id_str: string;
2394
- id_str: string;
2395
2424
  quoted_status_id_str?: string;
2396
2425
  quoted_status_permalink?: {
2397
2426
  url: string;
@@ -2426,14 +2455,14 @@ export interface CustomTimelineTweetEntry {
2426
2455
  binding_values: {
2427
2456
  key: string;
2428
2457
  value: {
2458
+ string_value?: string;
2459
+ type: string;
2460
+ scribe_key?: string;
2429
2461
  image_value?: {
2430
2462
  height: number;
2431
2463
  width: number;
2432
2464
  url: string;
2433
2465
  };
2434
- type: string;
2435
- string_value?: string;
2436
- scribe_key?: string;
2437
2466
  user_value?: {
2438
2467
  id_str: string;
2439
2468
  path: unknown[];
@@ -2481,7 +2510,12 @@ export interface CustomTimelineTweetEntry {
2481
2510
  description: string;
2482
2511
  entities: {
2483
2512
  description: {
2484
- urls: unknown[];
2513
+ urls: {
2514
+ display_url: string;
2515
+ expanded_url: string;
2516
+ url: string;
2517
+ indices: number[];
2518
+ }[];
2485
2519
  };
2486
2520
  url: {
2487
2521
  urls: {
@@ -2503,7 +2537,7 @@ export interface CustomTimelineTweetEntry {
2503
2537
  media_count: number;
2504
2538
  name: string;
2505
2539
  normal_followers_count: number;
2506
- pinned_tweet_ids_str: unknown[];
2540
+ pinned_tweet_ids_str: string[];
2507
2541
  possibly_sensitive: boolean;
2508
2542
  profile_banner_url: string;
2509
2543
  profile_image_url_https: string;
@@ -2530,7 +2564,12 @@ export interface CustomTimelineTweetEntry {
2530
2564
  id: string;
2531
2565
  text: string;
2532
2566
  entity_set: {
2533
- user_mentions: unknown[];
2567
+ user_mentions: {
2568
+ id_str: string;
2569
+ name: string;
2570
+ screen_name: string;
2571
+ indices: number[];
2572
+ }[];
2534
2573
  urls: {
2535
2574
  display_url: string;
2536
2575
  expanded_url: string;
@@ -2543,19 +2582,15 @@ export interface CustomTimelineTweetEntry {
2543
2582
  }[];
2544
2583
  symbols: unknown[];
2545
2584
  };
2546
- richtext: {
2585
+ richtext?: {
2547
2586
  richtext_tags: unknown[];
2548
2587
  };
2549
- media: {
2588
+ media?: {
2550
2589
  inline_media: unknown[];
2551
2590
  };
2552
2591
  };
2553
2592
  };
2554
2593
  };
2555
- edit_perspective?: {
2556
- favorited: boolean;
2557
- retweeted: boolean;
2558
- };
2559
2594
  };
2560
2595
  };
2561
2596
  tweet?: {
@@ -2584,6 +2619,8 @@ export interface CustomTimelineTweetEntry {
2584
2619
  is_blue_verified: boolean;
2585
2620
  profile_image_shape: string;
2586
2621
  legacy: {
2622
+ followed_by?: boolean;
2623
+ following?: boolean;
2587
2624
  can_dm: boolean;
2588
2625
  can_media_tag: boolean;
2589
2626
  created_at: string;
@@ -2627,13 +2664,11 @@ export interface CustomTimelineTweetEntry {
2627
2664
  screen_name: string;
2628
2665
  statuses_count: number;
2629
2666
  translator_type: string;
2630
- url?: string;
2631
2667
  verified: boolean;
2632
- verified_type?: string;
2633
2668
  want_retweets: boolean;
2634
2669
  withheld_in_countries: unknown[];
2635
- followed_by?: boolean;
2636
- following?: boolean;
2670
+ url?: string;
2671
+ verified_type?: string;
2637
2672
  };
2638
2673
  professional?: {
2639
2674
  rest_id: string;
@@ -2647,110 +2682,6 @@ export interface CustomTimelineTweetEntry {
2647
2682
  };
2648
2683
  };
2649
2684
  };
2650
- card?: {
2651
- rest_id: string;
2652
- legacy: {
2653
- binding_values: {
2654
- key: string;
2655
- value: {
2656
- string_value?: string;
2657
- type: string;
2658
- scribe_key?: string;
2659
- image_value?: {
2660
- height: number;
2661
- width: number;
2662
- url: string;
2663
- };
2664
- user_value?: {
2665
- id_str: string;
2666
- path: unknown[];
2667
- };
2668
- image_color_value?: {
2669
- palette: {
2670
- rgb: {
2671
- blue: number;
2672
- green: number;
2673
- red: number;
2674
- };
2675
- percentage: number;
2676
- }[];
2677
- };
2678
- };
2679
- }[];
2680
- card_platform: {
2681
- platform: {
2682
- audience: {
2683
- name: string;
2684
- };
2685
- device: {
2686
- name: string;
2687
- version: string;
2688
- };
2689
- };
2690
- };
2691
- name: string;
2692
- url: string;
2693
- user_refs_results: {
2694
- result: {
2695
- __typename: string;
2696
- id: string;
2697
- rest_id: string;
2698
- affiliates_highlighted_label: {};
2699
- has_graduated_access: boolean;
2700
- is_blue_verified: boolean;
2701
- profile_image_shape: string;
2702
- legacy: {
2703
- can_dm: boolean;
2704
- can_media_tag: boolean;
2705
- created_at: string;
2706
- default_profile: boolean;
2707
- default_profile_image: boolean;
2708
- description: string;
2709
- entities: {
2710
- description: {
2711
- urls: unknown[];
2712
- };
2713
- url: {
2714
- urls: {
2715
- display_url: string;
2716
- expanded_url: string;
2717
- url: string;
2718
- indices: number[];
2719
- }[];
2720
- };
2721
- };
2722
- fast_followers_count: number;
2723
- favourites_count: number;
2724
- followers_count: number;
2725
- friends_count: number;
2726
- has_custom_timelines: boolean;
2727
- is_translator: boolean;
2728
- listed_count: number;
2729
- location: string;
2730
- media_count: number;
2731
- name: string;
2732
- normal_followers_count: number;
2733
- pinned_tweet_ids_str: unknown[];
2734
- possibly_sensitive: boolean;
2735
- profile_banner_url: string;
2736
- profile_image_url_https: string;
2737
- profile_interstitial_type: string;
2738
- screen_name: string;
2739
- statuses_count: number;
2740
- translator_type: string;
2741
- url: string;
2742
- verified: boolean;
2743
- verified_type: string;
2744
- want_retweets: boolean;
2745
- withheld_in_countries: unknown[];
2746
- };
2747
- };
2748
- }[];
2749
- };
2750
- };
2751
- unified_card?: {
2752
- card_fetch_state: string;
2753
- };
2754
2685
  edit_control: {
2755
2686
  edit_tweet_ids?: string[];
2756
2687
  editable_until_msecs?: string;
@@ -2764,10 +2695,14 @@ export interface CustomTimelineTweetEntry {
2764
2695
  edits_remaining: string;
2765
2696
  };
2766
2697
  };
2698
+ edit_perspective?: {
2699
+ favorited: boolean;
2700
+ retweeted: boolean;
2701
+ };
2767
2702
  is_translatable: boolean;
2768
2703
  views: {
2769
- count?: string;
2770
2704
  state: string;
2705
+ count?: string;
2771
2706
  };
2772
2707
  source: string;
2773
2708
  legacy: {
@@ -2895,24 +2830,14 @@ export interface CustomTimelineTweetEntry {
2895
2830
  reply_count: number;
2896
2831
  retweet_count: number;
2897
2832
  retweeted: boolean;
2898
- scopes?: {
2899
- followers: boolean;
2900
- };
2901
2833
  user_id_str: string;
2902
2834
  id_str: string;
2903
- extended_entities?: {
2904
- media: {
2905
- display_url: string;
2906
- expanded_url: string;
2907
- id_str: string;
2908
- indices: number[];
2909
- media_key: string;
2910
- media_url_https: string;
2911
- type: string;
2912
- url: string;
2913
- additional_media_info?: {
2914
- monetizable: boolean;
2915
- source_user?: {
2835
+ retweeted_status_result?: {
2836
+ result: {
2837
+ __typename: string;
2838
+ tweet: {
2839
+ rest_id: string;
2840
+ core: {
2916
2841
  user_results: {
2917
2842
  result: {
2918
2843
  __typename: string;
@@ -2931,7 +2856,12 @@ export interface CustomTimelineTweetEntry {
2931
2856
  description: string;
2932
2857
  entities: {
2933
2858
  description: {
2934
- urls: unknown[];
2859
+ urls: {
2860
+ display_url: string;
2861
+ expanded_url: string;
2862
+ url: string;
2863
+ indices: number[];
2864
+ }[];
2935
2865
  };
2936
2866
  url?: {
2937
2867
  urls: {
@@ -2955,192 +2885,39 @@ export interface CustomTimelineTweetEntry {
2955
2885
  normal_followers_count: number;
2956
2886
  pinned_tweet_ids_str: string[];
2957
2887
  possibly_sensitive: boolean;
2888
+ profile_banner_url: string;
2958
2889
  profile_image_url_https: string;
2959
2890
  profile_interstitial_type: string;
2960
2891
  screen_name: string;
2961
2892
  statuses_count: number;
2962
2893
  translator_type: string;
2894
+ url?: string;
2963
2895
  verified: boolean;
2964
2896
  want_retweets: boolean;
2965
2897
  withheld_in_countries: unknown[];
2966
- profile_banner_url?: string;
2967
- url?: string;
2898
+ };
2899
+ professional?: {
2900
+ rest_id: string;
2901
+ professional_type: string;
2902
+ category: unknown[];
2968
2903
  };
2969
2904
  };
2970
2905
  };
2971
2906
  };
2972
- };
2973
- mediaStats?: {
2974
- viewCount: number;
2975
- };
2976
- ext_media_availability: {
2977
- status: string;
2978
- };
2979
- features: {
2980
- large?: {
2981
- faces: {
2982
- x: number;
2983
- y: number;
2984
- h: number;
2985
- w: number;
2986
- }[];
2987
- };
2988
- medium?: {
2989
- faces: {
2990
- x: number;
2991
- y: number;
2992
- h: number;
2993
- w: number;
2994
- }[];
2907
+ edit_control: {
2908
+ edit_tweet_ids: string[];
2909
+ editable_until_msecs: string;
2910
+ is_edit_eligible: boolean;
2911
+ edits_remaining: string;
2995
2912
  };
2996
- small?: {
2997
- faces: {
2998
- x: number;
2999
- y: number;
3000
- h: number;
3001
- w: number;
3002
- }[];
2913
+ edit_perspective?: {
2914
+ favorited: boolean;
2915
+ retweeted: boolean;
3003
2916
  };
3004
- orig?: {
3005
- faces: {
3006
- x: number;
3007
- y: number;
3008
- h: number;
3009
- w: number;
3010
- }[];
3011
- };
3012
- };
3013
- sizes: {
3014
- large: {
3015
- h: number;
3016
- w: number;
3017
- resize: string;
3018
- };
3019
- medium: {
3020
- h: number;
3021
- w: number;
3022
- resize: string;
3023
- };
3024
- small: {
3025
- h: number;
3026
- w: number;
3027
- resize: string;
3028
- };
3029
- thumb: {
3030
- h: number;
3031
- w: number;
3032
- resize: string;
3033
- };
3034
- };
3035
- original_info: {
3036
- height: number;
3037
- width: number;
3038
- focus_rects?: {
3039
- x: number;
3040
- y: number;
3041
- w: number;
3042
- h: number;
3043
- }[];
3044
- };
3045
- video_info?: {
3046
- aspect_ratio: number[];
3047
- duration_millis: number;
3048
- variants: {
3049
- content_type: string;
3050
- url: string;
3051
- bitrate?: number;
3052
- }[];
3053
- };
3054
- source_status_id_str?: string;
3055
- source_user_id_str?: string;
3056
- }[];
3057
- };
3058
- retweeted_status_result?: {
3059
- result: {
3060
- __typename: string;
3061
- tweet: {
3062
- rest_id: string;
3063
- core: {
3064
- user_results: {
3065
- result: {
3066
- __typename: string;
3067
- id: string;
3068
- rest_id: string;
3069
- affiliates_highlighted_label: {};
3070
- has_graduated_access: boolean;
3071
- is_blue_verified: boolean;
3072
- profile_image_shape: string;
3073
- legacy: {
3074
- can_dm: boolean;
3075
- can_media_tag: boolean;
3076
- created_at: string;
3077
- default_profile: boolean;
3078
- default_profile_image: boolean;
3079
- description: string;
3080
- entities: {
3081
- description: {
3082
- urls: {
3083
- display_url: string;
3084
- expanded_url: string;
3085
- url: string;
3086
- indices: number[];
3087
- }[];
3088
- };
3089
- url?: {
3090
- urls: {
3091
- display_url: string;
3092
- expanded_url: string;
3093
- url: string;
3094
- indices: number[];
3095
- }[];
3096
- };
3097
- };
3098
- fast_followers_count: number;
3099
- favourites_count: number;
3100
- followers_count: number;
3101
- friends_count: number;
3102
- has_custom_timelines: boolean;
3103
- is_translator: boolean;
3104
- listed_count: number;
3105
- location: string;
3106
- media_count: number;
3107
- name: string;
3108
- normal_followers_count: number;
3109
- pinned_tweet_ids_str: string[];
3110
- possibly_sensitive: boolean;
3111
- profile_banner_url: string;
3112
- profile_image_url_https: string;
3113
- profile_interstitial_type: string;
3114
- screen_name: string;
3115
- statuses_count: number;
3116
- translator_type: string;
3117
- url?: string;
3118
- verified: boolean;
3119
- want_retweets: boolean;
3120
- withheld_in_countries: unknown[];
3121
- };
3122
- professional?: {
3123
- rest_id: string;
3124
- professional_type: string;
3125
- category: unknown[];
3126
- };
3127
- };
3128
- };
3129
- };
3130
- edit_control: {
3131
- edit_tweet_ids: string[];
3132
- editable_until_msecs: string;
3133
- is_edit_eligible: boolean;
3134
- edits_remaining: string;
3135
- };
3136
- edit_perspective?: {
3137
- favorited: boolean;
3138
- retweeted: boolean;
3139
- };
3140
- is_translatable: boolean;
3141
- views: {
3142
- count: string;
3143
- state: string;
2917
+ is_translatable: boolean;
2918
+ views: {
2919
+ count: string;
2920
+ state: string;
3144
2921
  };
3145
2922
  source: string;
3146
2923
  legacy: {
@@ -3264,12 +3041,6 @@ export interface CustomTimelineTweetEntry {
3264
3041
  media_url_https: string;
3265
3042
  type: string;
3266
3043
  url: string;
3267
- additional_media_info?: {
3268
- monetizable: boolean;
3269
- };
3270
- mediaStats?: {
3271
- viewCount: number;
3272
- };
3273
3044
  ext_media_availability: {
3274
3045
  status: string;
3275
3046
  };
@@ -3339,6 +3110,12 @@ export interface CustomTimelineTweetEntry {
3339
3110
  h: number;
3340
3111
  }[];
3341
3112
  };
3113
+ additional_media_info?: {
3114
+ monetizable: boolean;
3115
+ };
3116
+ mediaStats?: {
3117
+ viewCount: number;
3118
+ };
3342
3119
  video_info?: {
3343
3120
  aspect_ratio: number[];
3344
3121
  duration_millis: number;
@@ -3364,38 +3141,526 @@ export interface CustomTimelineTweetEntry {
3364
3141
  retweeted: boolean;
3365
3142
  user_id_str: string;
3366
3143
  id_str: string;
3144
+ quoted_status_id_str?: string;
3145
+ quoted_status_permalink?: {
3146
+ url: string;
3147
+ expanded: string;
3148
+ display: string;
3149
+ };
3150
+ };
3151
+ quoted_status_result?: {
3152
+ result: {
3153
+ __typename: string;
3154
+ rest_id: string;
3155
+ core: {
3156
+ user_results: {
3157
+ result: {
3158
+ __typename: string;
3159
+ id: string;
3160
+ rest_id: string;
3161
+ affiliates_highlighted_label: {};
3162
+ has_graduated_access: boolean;
3163
+ is_blue_verified: boolean;
3164
+ profile_image_shape: string;
3165
+ legacy: {
3166
+ can_dm: boolean;
3167
+ can_media_tag: boolean;
3168
+ created_at: string;
3169
+ default_profile: boolean;
3170
+ default_profile_image: boolean;
3171
+ description: string;
3172
+ entities: {
3173
+ description: {
3174
+ urls: unknown[];
3175
+ };
3176
+ url: {
3177
+ urls: {
3178
+ display_url: string;
3179
+ expanded_url: string;
3180
+ url: string;
3181
+ indices: number[];
3182
+ }[];
3183
+ };
3184
+ };
3185
+ fast_followers_count: number;
3186
+ favourites_count: number;
3187
+ followers_count: number;
3188
+ friends_count: number;
3189
+ has_custom_timelines: boolean;
3190
+ is_translator: boolean;
3191
+ listed_count: number;
3192
+ location: string;
3193
+ media_count: number;
3194
+ name: string;
3195
+ normal_followers_count: number;
3196
+ pinned_tweet_ids_str: string[];
3197
+ possibly_sensitive: boolean;
3198
+ profile_banner_url: string;
3199
+ profile_image_url_https: string;
3200
+ profile_interstitial_type: string;
3201
+ screen_name: string;
3202
+ statuses_count: number;
3203
+ translator_type: string;
3204
+ url: string;
3205
+ verified: boolean;
3206
+ want_retweets: boolean;
3207
+ withheld_in_countries: unknown[];
3208
+ };
3209
+ };
3210
+ };
3211
+ };
3212
+ edit_control: {
3213
+ edit_tweet_ids: string[];
3214
+ editable_until_msecs: string;
3215
+ is_edit_eligible: boolean;
3216
+ edits_remaining: string;
3217
+ };
3218
+ is_translatable: boolean;
3219
+ views: {
3220
+ count: string;
3221
+ state: string;
3222
+ };
3223
+ source: string;
3224
+ legacy: {
3225
+ bookmark_count: number;
3226
+ bookmarked: boolean;
3227
+ created_at: string;
3228
+ conversation_id_str: string;
3229
+ display_text_range: number[];
3230
+ entities: {
3231
+ media: {
3232
+ display_url: string;
3233
+ expanded_url: string;
3234
+ id_str: string;
3235
+ indices: number[];
3236
+ media_url_https: string;
3237
+ type: string;
3238
+ url: string;
3239
+ features: {
3240
+ large: {
3241
+ faces: unknown[];
3242
+ };
3243
+ medium: {
3244
+ faces: unknown[];
3245
+ };
3246
+ small: {
3247
+ faces: unknown[];
3248
+ };
3249
+ orig: {
3250
+ faces: unknown[];
3251
+ };
3252
+ };
3253
+ sizes: {
3254
+ large: {
3255
+ h: number;
3256
+ w: number;
3257
+ resize: string;
3258
+ };
3259
+ medium: {
3260
+ h: number;
3261
+ w: number;
3262
+ resize: string;
3263
+ };
3264
+ small: {
3265
+ h: number;
3266
+ w: number;
3267
+ resize: string;
3268
+ };
3269
+ thumb: {
3270
+ h: number;
3271
+ w: number;
3272
+ resize: string;
3273
+ };
3274
+ };
3275
+ original_info: {
3276
+ height: number;
3277
+ width: number;
3278
+ focus_rects: {
3279
+ x: number;
3280
+ y: number;
3281
+ w: number;
3282
+ h: number;
3283
+ }[];
3284
+ };
3285
+ }[];
3286
+ user_mentions: {
3287
+ id_str: string;
3288
+ name: string;
3289
+ screen_name: string;
3290
+ indices: number[];
3291
+ }[];
3292
+ urls: unknown[];
3293
+ hashtags: {
3294
+ indices: number[];
3295
+ text: string;
3296
+ }[];
3297
+ symbols: unknown[];
3298
+ };
3299
+ extended_entities: {
3300
+ media: {
3301
+ display_url: string;
3302
+ expanded_url: string;
3303
+ id_str: string;
3304
+ indices: number[];
3305
+ media_key: string;
3306
+ media_url_https: string;
3307
+ type: string;
3308
+ url: string;
3309
+ ext_media_availability: {
3310
+ status: string;
3311
+ };
3312
+ features: {
3313
+ large: {
3314
+ faces: unknown[];
3315
+ };
3316
+ medium: {
3317
+ faces: unknown[];
3318
+ };
3319
+ small: {
3320
+ faces: unknown[];
3321
+ };
3322
+ orig: {
3323
+ faces: unknown[];
3324
+ };
3325
+ };
3326
+ sizes: {
3327
+ large: {
3328
+ h: number;
3329
+ w: number;
3330
+ resize: string;
3331
+ };
3332
+ medium: {
3333
+ h: number;
3334
+ w: number;
3335
+ resize: string;
3336
+ };
3337
+ small: {
3338
+ h: number;
3339
+ w: number;
3340
+ resize: string;
3341
+ };
3342
+ thumb: {
3343
+ h: number;
3344
+ w: number;
3345
+ resize: string;
3346
+ };
3347
+ };
3348
+ original_info: {
3349
+ height: number;
3350
+ width: number;
3351
+ focus_rects: {
3352
+ x: number;
3353
+ y: number;
3354
+ w: number;
3355
+ h: number;
3356
+ }[];
3357
+ };
3358
+ }[];
3359
+ };
3360
+ favorite_count: number;
3361
+ favorited: boolean;
3362
+ full_text: string;
3363
+ is_quote_status: boolean;
3364
+ lang: string;
3365
+ possibly_sensitive: boolean;
3366
+ possibly_sensitive_editable: boolean;
3367
+ quote_count: number;
3368
+ reply_count: number;
3369
+ retweet_count: number;
3370
+ retweeted: boolean;
3371
+ user_id_str: string;
3372
+ id_str: string;
3373
+ };
3374
+ };
3375
+ };
3376
+ };
3377
+ limitedActionResults: {
3378
+ limited_actions: {
3379
+ action: string;
3380
+ prompt: {
3381
+ __typename: string;
3382
+ cta_type: string;
3383
+ headline: {
3384
+ text: string;
3385
+ entities: unknown[];
3386
+ };
3387
+ subtext: {
3388
+ text: string;
3389
+ entities: unknown[];
3390
+ };
3391
+ };
3392
+ }[];
3393
+ };
3394
+ };
3395
+ };
3396
+ scopes?: {
3397
+ followers: boolean;
3398
+ };
3399
+ extended_entities?: {
3400
+ media: {
3401
+ display_url: string;
3402
+ expanded_url: string;
3403
+ id_str: string;
3404
+ indices: number[];
3405
+ media_key: string;
3406
+ media_url_https: string;
3407
+ type: string;
3408
+ url: string;
3409
+ ext_media_availability: {
3410
+ status: string;
3411
+ };
3412
+ features: {
3413
+ large?: {
3414
+ faces: {
3415
+ x: number;
3416
+ y: number;
3417
+ h: number;
3418
+ w: number;
3419
+ }[];
3420
+ };
3421
+ medium?: {
3422
+ faces: {
3423
+ x: number;
3424
+ y: number;
3425
+ h: number;
3426
+ w: number;
3427
+ }[];
3428
+ };
3429
+ small?: {
3430
+ faces: {
3431
+ x: number;
3432
+ y: number;
3433
+ h: number;
3434
+ w: number;
3435
+ }[];
3436
+ };
3437
+ orig?: {
3438
+ faces: {
3439
+ x: number;
3440
+ y: number;
3441
+ h: number;
3442
+ w: number;
3443
+ }[];
3444
+ };
3445
+ };
3446
+ sizes: {
3447
+ large: {
3448
+ h: number;
3449
+ w: number;
3450
+ resize: string;
3451
+ };
3452
+ medium: {
3453
+ h: number;
3454
+ w: number;
3455
+ resize: string;
3456
+ };
3457
+ small: {
3458
+ h: number;
3459
+ w: number;
3460
+ resize: string;
3461
+ };
3462
+ thumb: {
3463
+ h: number;
3464
+ w: number;
3465
+ resize: string;
3466
+ };
3467
+ };
3468
+ original_info: {
3469
+ height: number;
3470
+ width: number;
3471
+ focus_rects?: {
3472
+ x: number;
3473
+ y: number;
3474
+ w: number;
3475
+ h: number;
3476
+ }[];
3477
+ };
3478
+ additional_media_info?: {
3479
+ monetizable: boolean;
3480
+ source_user?: {
3481
+ user_results: {
3482
+ result: {
3483
+ __typename: string;
3484
+ id: string;
3485
+ rest_id: string;
3486
+ affiliates_highlighted_label: {};
3487
+ has_graduated_access: boolean;
3488
+ is_blue_verified: boolean;
3489
+ profile_image_shape: string;
3490
+ legacy: {
3491
+ can_dm: boolean;
3492
+ can_media_tag: boolean;
3493
+ created_at: string;
3494
+ default_profile: boolean;
3495
+ default_profile_image: boolean;
3496
+ description: string;
3497
+ entities: {
3498
+ description: {
3499
+ urls: unknown[];
3500
+ };
3501
+ url?: {
3502
+ urls: {
3503
+ display_url: string;
3504
+ expanded_url: string;
3505
+ url: string;
3506
+ indices: number[];
3507
+ }[];
3508
+ };
3509
+ };
3510
+ fast_followers_count: number;
3511
+ favourites_count: number;
3512
+ followers_count: number;
3513
+ friends_count: number;
3514
+ has_custom_timelines: boolean;
3515
+ is_translator: boolean;
3516
+ listed_count: number;
3517
+ location: string;
3518
+ media_count: number;
3519
+ name: string;
3520
+ normal_followers_count: number;
3521
+ pinned_tweet_ids_str: string[];
3522
+ possibly_sensitive: boolean;
3523
+ profile_banner_url?: string;
3524
+ profile_image_url_https: string;
3525
+ profile_interstitial_type: string;
3526
+ screen_name: string;
3527
+ statuses_count: number;
3528
+ translator_type: string;
3529
+ url?: string;
3530
+ verified: boolean;
3531
+ want_retweets: boolean;
3532
+ withheld_in_countries: unknown[];
3533
+ };
3534
+ };
3535
+ };
3536
+ };
3537
+ };
3538
+ mediaStats?: {
3539
+ viewCount: number;
3540
+ };
3541
+ video_info?: {
3542
+ aspect_ratio: number[];
3543
+ duration_millis: number;
3544
+ variants: {
3545
+ bitrate?: number;
3546
+ content_type: string;
3547
+ url: string;
3548
+ }[];
3549
+ };
3550
+ source_status_id_str?: string;
3551
+ source_user_id_str?: string;
3552
+ }[];
3553
+ };
3554
+ quoted_status_id_str?: string;
3555
+ quoted_status_permalink?: {
3556
+ url: string;
3557
+ expanded: string;
3558
+ display: string;
3559
+ };
3560
+ };
3561
+ card?: {
3562
+ rest_id: string;
3563
+ legacy: {
3564
+ binding_values: {
3565
+ key: string;
3566
+ value: {
3567
+ string_value?: string;
3568
+ type: string;
3569
+ scribe_key?: string;
3570
+ image_value?: {
3571
+ height: number;
3572
+ width: number;
3573
+ url: string;
3574
+ };
3575
+ user_value?: {
3576
+ id_str: string;
3577
+ path: unknown[];
3578
+ };
3579
+ image_color_value?: {
3580
+ palette: {
3581
+ rgb: {
3582
+ blue: number;
3583
+ green: number;
3584
+ red: number;
3585
+ };
3586
+ percentage: number;
3587
+ }[];
3367
3588
  };
3368
3589
  };
3369
- limitedActionResults: {
3370
- limited_actions: {
3371
- action: string;
3372
- prompt: {
3373
- __typename: string;
3374
- cta_type: string;
3375
- headline: {
3376
- text: string;
3377
- entities: unknown[];
3590
+ }[];
3591
+ card_platform: {
3592
+ platform: {
3593
+ audience: {
3594
+ name: string;
3595
+ };
3596
+ device: {
3597
+ name: string;
3598
+ version: string;
3599
+ };
3600
+ };
3601
+ };
3602
+ name: string;
3603
+ url: string;
3604
+ user_refs_results: {
3605
+ result: {
3606
+ __typename: string;
3607
+ id: string;
3608
+ rest_id: string;
3609
+ affiliates_highlighted_label: {};
3610
+ has_graduated_access: boolean;
3611
+ is_blue_verified: boolean;
3612
+ profile_image_shape: string;
3613
+ legacy: {
3614
+ can_dm: boolean;
3615
+ can_media_tag: boolean;
3616
+ created_at: string;
3617
+ default_profile: boolean;
3618
+ default_profile_image: boolean;
3619
+ description: string;
3620
+ entities: {
3621
+ description: {
3622
+ urls: unknown[];
3378
3623
  };
3379
- subtext: {
3380
- text: string;
3381
- entities: unknown[];
3624
+ url: {
3625
+ urls: {
3626
+ display_url: string;
3627
+ expanded_url: string;
3628
+ url: string;
3629
+ indices: number[];
3630
+ }[];
3382
3631
  };
3383
3632
  };
3384
- }[];
3633
+ fast_followers_count: number;
3634
+ favourites_count: number;
3635
+ followers_count: number;
3636
+ friends_count: number;
3637
+ has_custom_timelines: boolean;
3638
+ is_translator: boolean;
3639
+ listed_count: number;
3640
+ location: string;
3641
+ media_count: number;
3642
+ name: string;
3643
+ normal_followers_count: number;
3644
+ pinned_tweet_ids_str: unknown[];
3645
+ possibly_sensitive: boolean;
3646
+ profile_banner_url: string;
3647
+ profile_image_url_https: string;
3648
+ profile_interstitial_type: string;
3649
+ screen_name: string;
3650
+ statuses_count: number;
3651
+ translator_type: string;
3652
+ url: string;
3653
+ verified: boolean;
3654
+ verified_type: string;
3655
+ want_retweets: boolean;
3656
+ withheld_in_countries: unknown[];
3657
+ };
3385
3658
  };
3386
- };
3659
+ }[];
3387
3660
  };
3388
3661
  };
3389
- edit_perspective?: {
3390
- favorited: boolean;
3391
- retweeted: boolean;
3392
- };
3393
- previous_counts?: {
3394
- bookmark_count: number;
3395
- favorite_count: number;
3396
- quote_count: number;
3397
- reply_count: number;
3398
- retweet_count: number;
3662
+ unified_card?: {
3663
+ card_fetch_state: string;
3399
3664
  };
3400
3665
  note_tweet?: {
3401
3666
  is_expandable: boolean;
@@ -3431,6 +3696,13 @@ export interface CustomTimelineTweetEntry {
3431
3696
  };
3432
3697
  };
3433
3698
  };
3699
+ previous_counts?: {
3700
+ bookmark_count: number;
3701
+ favorite_count: number;
3702
+ quote_count: number;
3703
+ reply_count: number;
3704
+ retweet_count: number;
3705
+ };
3434
3706
  };
3435
3707
  limitedActionResults?: {
3436
3708
  limited_actions: {
@@ -3449,6 +3721,44 @@ export interface CustomTimelineTweetEntry {
3449
3721
  };
3450
3722
  }[];
3451
3723
  };
3724
+ birdwatch_pivot?: {
3725
+ callToAction: {
3726
+ prompt: string;
3727
+ title: string;
3728
+ destinationUrl: string;
3729
+ };
3730
+ destinationUrl: string;
3731
+ footer: {
3732
+ text: string;
3733
+ entities: {
3734
+ fromIndex: number;
3735
+ toIndex: number;
3736
+ ref: {
3737
+ type: string;
3738
+ url: string;
3739
+ urlType: string;
3740
+ };
3741
+ }[];
3742
+ };
3743
+ note: {
3744
+ rest_id: string;
3745
+ };
3746
+ subtitle: {
3747
+ text: string;
3748
+ entities: {
3749
+ fromIndex: number;
3750
+ toIndex: number;
3751
+ ref: {
3752
+ type: string;
3753
+ url: string;
3754
+ urlType: string;
3755
+ };
3756
+ }[];
3757
+ };
3758
+ title: string;
3759
+ shorttitle: string;
3760
+ iconType: string;
3761
+ };
3452
3762
  previous_counts?: {
3453
3763
  bookmark_count: number;
3454
3764
  favorite_count: number;
@@ -3494,77 +3804,9 @@ export interface CustomTimelineTweetEntry {
3494
3804
  };
3495
3805
  };
3496
3806
  };
3497
- edit_perspective?: {
3498
- favorited: boolean;
3499
- retweeted: boolean;
3500
- };
3501
- birdwatch_pivot?: {
3502
- callToAction: {
3503
- prompt: string;
3504
- title: string;
3505
- destinationUrl: string;
3506
- };
3507
- destinationUrl: string;
3508
- footer: {
3509
- text: string;
3510
- entities: {
3511
- fromIndex: number;
3512
- toIndex: number;
3513
- ref: {
3514
- type: string;
3515
- url: string;
3516
- urlType: string;
3517
- };
3518
- }[];
3519
- };
3520
- note: {
3521
- rest_id: string;
3522
- };
3523
- subtitle: {
3524
- text: string;
3525
- entities: {
3526
- fromIndex: number;
3527
- toIndex: number;
3528
- ref: {
3529
- type: string;
3530
- url: string;
3531
- urlType: string;
3532
- };
3533
- }[];
3534
- };
3535
- title: string;
3536
- shorttitle: string;
3537
- iconType: string;
3538
- };
3539
3807
  };
3540
3808
  };
3541
3809
  tweetDisplayType: string;
3542
- socialContext?: {
3543
- type: string;
3544
- contextType?: string;
3545
- text?: string;
3546
- landingUrl?: {
3547
- url: string;
3548
- urlType: string;
3549
- urtEndpointOptions?: {
3550
- title: string;
3551
- requestParams: {
3552
- key: string;
3553
- value: string;
3554
- }[];
3555
- };
3556
- };
3557
- topic?: {
3558
- description: string;
3559
- following: boolean;
3560
- icon_url: string;
3561
- id: string;
3562
- topic_id: string;
3563
- name: string;
3564
- not_interested: boolean;
3565
- };
3566
- functionalityType?: string;
3567
- };
3568
3810
  promotedMetadata?: {
3569
3811
  advertiser_results: {
3570
3812
  result: {
@@ -3674,11 +3916,6 @@ export interface CustomTimelineTweetEntry {
3674
3916
  }[];
3675
3917
  impressionId: string;
3676
3918
  impressionString: string;
3677
- promotedTrendName?: string;
3678
- promotedTrendQueryTerm?: string;
3679
- promotedTrend?: {
3680
- rest_id: string;
3681
- };
3682
3919
  clickTrackingInfo?: {
3683
3920
  urlParams: {
3684
3921
  key: string;
@@ -3687,7 +3924,13 @@ export interface CustomTimelineTweetEntry {
3687
3924
  urlOverride?: string;
3688
3925
  urlOverrideType?: string;
3689
3926
  };
3927
+ promotedTrendName?: string;
3928
+ promotedTrendQueryTerm?: string;
3929
+ promotedTrend?: {
3930
+ rest_id: string;
3931
+ };
3690
3932
  adMetadataContainer?: {
3933
+ unifiedCardOverride?: string;
3691
3934
  dynamicCardContent?: {
3692
3935
  card_type: string;
3693
3936
  layout: {
@@ -3781,7 +4024,6 @@ export interface CustomTimelineTweetEntry {
3781
4024
  display_options: {};
3782
4025
  card_fetch_state: string;
3783
4026
  };
3784
- unifiedCardOverride?: string;
3785
4027
  remove_promoted_attribution_for_preroll?: boolean;
3786
4028
  };
3787
4029
  };
@@ -3890,21 +4132,47 @@ export interface CustomTimelineTweetEntry {
3890
4132
  prerollId: string;
3891
4133
  };
3892
4134
  };
3893
- };
3894
- feedbackInfo?: {
3895
- feedbackKeys: string[];
3896
- feedbackMetadata: string;
4135
+ socialContext?: {
4136
+ type: string;
4137
+ contextType?: string;
4138
+ text?: string;
4139
+ landingUrl?: {
4140
+ url: string;
4141
+ urlType: string;
4142
+ urtEndpointOptions?: {
4143
+ title: string;
4144
+ requestParams: {
4145
+ key: string;
4146
+ value: string;
4147
+ }[];
4148
+ };
4149
+ };
4150
+ topic?: {
4151
+ description: string;
4152
+ following: boolean;
4153
+ icon_url: string;
4154
+ id: string;
4155
+ topic_id: string;
4156
+ name: string;
4157
+ not_interested: boolean;
4158
+ };
4159
+ functionalityType?: string;
4160
+ };
3897
4161
  };
3898
4162
  clientEventInfo: {
3899
4163
  component: string;
3900
4164
  element: string;
3901
- entityToken?: string;
3902
4165
  details: {
3903
4166
  timelinesDetails: {
3904
4167
  injectionType: string;
3905
4168
  controllerData: string;
3906
4169
  };
3907
4170
  };
4171
+ entityToken?: string;
4172
+ };
4173
+ feedbackInfo?: {
4174
+ feedbackKeys: string[];
4175
+ feedbackMetadata: string;
3908
4176
  };
3909
4177
  };
3910
4178
  }