rettiwt-api 1.2.0 → 1.3.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 (160) hide show
  1. package/dist/enums/Errors.d.ts +2 -1
  2. package/dist/enums/Errors.js +1 -0
  3. package/dist/enums/Errors.js.map +1 -1
  4. package/dist/graphql/queries/RootQuery.js.map +1 -1
  5. package/dist/graphql/resolvers/TweetResolver.d.ts +5 -5
  6. package/dist/graphql/resolvers/TweetResolver.js +4 -4
  7. package/dist/graphql/resolvers/TweetResolver.js.map +1 -1
  8. package/dist/graphql/types/UserTypes.js.map +1 -1
  9. package/dist/index.d.ts +5 -3
  10. package/dist/index.js +7 -5
  11. package/dist/index.js.map +1 -1
  12. package/dist/models/args/TweetListArgs.js +2 -2
  13. package/dist/models/args/TweetListArgs.js.map +1 -1
  14. package/dist/models/args/UserListArgs.js +2 -2
  15. package/dist/models/args/UserListArgs.js.map +1 -1
  16. package/dist/models/data/Tweet.d.ts +3 -3
  17. package/dist/models/data/Tweet.js.map +1 -1
  18. package/dist/models/data/User.d.ts +2 -2
  19. package/dist/models/data/User.js.map +1 -1
  20. package/dist/services/data/TweetService.d.ts +2 -2
  21. package/dist/services/data/TweetService.js +8 -9
  22. package/dist/services/data/TweetService.js.map +1 -1
  23. package/dist/services/data/UserService.js +12 -22
  24. package/dist/services/data/UserService.js.map +1 -1
  25. package/dist/services/helper/Headers.js +20 -20
  26. package/dist/services/helper/Headers.js.map +1 -1
  27. package/dist/services/helper/extractors/Tweets.d.ts +5 -14
  28. package/dist/services/helper/extractors/Tweets.js +25 -89
  29. package/dist/services/helper/extractors/Tweets.js.map +1 -1
  30. package/dist/services/helper/extractors/Users.d.ts +4 -13
  31. package/dist/services/helper/extractors/Users.js +1 -53
  32. package/dist/services/helper/extractors/Users.js.map +1 -1
  33. package/dist/services/util/FetcherService.d.ts +3 -3
  34. package/dist/services/util/FetcherService.js +10 -22
  35. package/dist/services/util/FetcherService.js.map +1 -1
  36. package/dist/types/Args.d.ts +0 -27
  37. package/dist/types/Args.js +0 -1
  38. package/dist/types/Args.js.map +1 -1
  39. package/docs/assets/search.js +1 -1
  40. package/docs/classes/AccountService.html +17 -17
  41. package/docs/classes/AuthCookie.html +7 -7
  42. package/docs/classes/AuthService.html +7 -7
  43. package/docs/classes/CacheService.html +7 -7
  44. package/docs/classes/Cursor.html +3 -3
  45. package/docs/classes/CursoredData.html +4 -4
  46. package/docs/classes/DataValidationError.html +24 -23
  47. package/docs/classes/FetcherService.html +15 -15
  48. package/docs/classes/Tweet.html +16 -16
  49. package/docs/classes/TweetEntities.html +8 -8
  50. package/docs/classes/TweetFilter.html +58 -56
  51. package/docs/classes/TweetListArgs.html +4 -4
  52. package/docs/classes/TweetService.html +15 -15
  53. package/docs/classes/User.html +18 -18
  54. package/docs/classes/UserListArgs.html +4 -4
  55. package/docs/classes/UserService.html +15 -15
  56. package/docs/enums/HttpMethods.html +3 -3
  57. package/docs/functions/Rettiwt.html +5 -4
  58. package/docs/index.html +4 -3
  59. package/docs/interfaces/IAuthCookie.html +5 -5
  60. package/docs/interfaces/ICursor.html +2 -2
  61. package/docs/interfaces/ICursoredData.html +3 -3
  62. package/docs/interfaces/IDataContext.html +4 -4
  63. package/docs/interfaces/IDataValidationError.html +109 -0
  64. package/docs/interfaces/IListArgs.html +3 -3
  65. package/docs/interfaces/ITweet.html +13 -13
  66. package/docs/interfaces/ITweetEntities.html +5 -5
  67. package/docs/interfaces/ITweetFilter.html +42 -42
  68. package/docs/interfaces/IUser.html +15 -15
  69. package/docs/modules.html +8 -6
  70. package/package.json +3 -2
  71. package/src/enums/Errors.ts +2 -1
  72. package/src/graphql/queries/RootQuery.ts +1 -1
  73. package/src/graphql/resolvers/TweetResolver.ts +12 -59
  74. package/src/graphql/types/UserTypes.ts +1 -1
  75. package/src/index.ts +5 -3
  76. package/src/models/args/TweetListArgs.ts +2 -2
  77. package/src/models/args/UserListArgs.ts +1 -1
  78. package/src/models/data/Tweet.ts +3 -3
  79. package/src/models/data/User.ts +2 -2
  80. package/src/services/data/TweetService.ts +25 -22
  81. package/src/services/data/UserService.ts +38 -42
  82. package/src/services/helper/Headers.ts +32 -32
  83. package/src/services/helper/Parser.ts +2 -2
  84. package/src/services/helper/extractors/Tweets.ts +35 -97
  85. package/src/services/helper/extractors/Users.ts +11 -62
  86. package/src/services/util/FetcherService.ts +13 -20
  87. package/src/types/Args.ts +0 -37
  88. package/Dockerfile +0 -9
  89. package/dist/models/args/TweetFilter.d.ts +0 -65
  90. package/dist/models/args/TweetFilter.js +0 -121
  91. package/dist/models/args/TweetFilter.js.map +0 -1
  92. package/dist/models/errors/DataValidationError.d.ts +0 -20
  93. package/dist/models/errors/DataValidationError.js +0 -23
  94. package/dist/models/errors/DataValidationError.js.map +0 -1
  95. package/dist/twitter/Url.d.ts +0 -22
  96. package/dist/twitter/Url.js +0 -32
  97. package/dist/twitter/Url.js.map +0 -1
  98. package/dist/twitter/enums/Resources.d.ts +0 -15
  99. package/dist/twitter/enums/Resources.js +0 -21
  100. package/dist/twitter/enums/Resources.js.map +0 -1
  101. package/dist/twitter/params/Query.d.ts +0 -67
  102. package/dist/twitter/params/Query.js +0 -64
  103. package/dist/twitter/params/Query.js.map +0 -1
  104. package/dist/twitter/payloads/Args.d.ts +0 -16
  105. package/dist/twitter/payloads/Args.js +0 -16
  106. package/dist/twitter/payloads/Args.js.map +0 -1
  107. package/dist/twitter/payloads/Features.d.ts +0 -28
  108. package/dist/twitter/payloads/Features.js +0 -37
  109. package/dist/twitter/payloads/Features.js.map +0 -1
  110. package/dist/twitter/payloads/Variables.d.ts +0 -41
  111. package/dist/twitter/payloads/Variables.js +0 -64
  112. package/dist/twitter/payloads/Variables.js.map +0 -1
  113. package/dist/twitter/types/request/Query.d.ts +0 -86
  114. package/dist/twitter/types/request/Query.js +0 -4
  115. package/dist/twitter/types/request/Query.js.map +0 -1
  116. package/dist/twitter/types/tweet/Favouriters.d.ts +0 -164
  117. package/dist/twitter/types/tweet/Favouriters.js +0 -3
  118. package/dist/twitter/types/tweet/Favouriters.js.map +0 -1
  119. package/dist/twitter/types/tweet/Retweeters.d.ts +0 -171
  120. package/dist/twitter/types/tweet/Retweeters.js +0 -3
  121. package/dist/twitter/types/tweet/Retweeters.js.map +0 -1
  122. package/dist/twitter/types/tweet/Tweet.d.ts +0 -746
  123. package/dist/twitter/types/tweet/Tweet.js +0 -3
  124. package/dist/twitter/types/tweet/Tweet.js.map +0 -1
  125. package/dist/twitter/types/tweet/Tweets.d.ts +0 -386
  126. package/dist/twitter/types/tweet/Tweets.js +0 -3
  127. package/dist/twitter/types/tweet/Tweets.js.map +0 -1
  128. package/dist/twitter/types/user/Followers.d.ts +0 -176
  129. package/dist/twitter/types/user/Followers.js +0 -3
  130. package/dist/twitter/types/user/Followers.js.map +0 -1
  131. package/dist/twitter/types/user/Following.d.ts +0 -176
  132. package/dist/twitter/types/user/Following.js +0 -3
  133. package/dist/twitter/types/user/Following.js.map +0 -1
  134. package/dist/twitter/types/user/Likes.d.ts +0 -1059
  135. package/dist/twitter/types/user/Likes.js +0 -3
  136. package/dist/twitter/types/user/Likes.js.map +0 -1
  137. package/dist/twitter/types/user/Tweets.d.ts +0 -1512
  138. package/dist/twitter/types/user/Tweets.js +0 -3
  139. package/dist/twitter/types/user/Tweets.js.map +0 -1
  140. package/dist/twitter/types/user/User.d.ts +0 -117
  141. package/dist/twitter/types/user/User.js +0 -3
  142. package/dist/twitter/types/user/User.js.map +0 -1
  143. package/src/models/args/TweetFilter.ts +0 -140
  144. package/src/models/errors/DataValidationError.ts +0 -29
  145. package/src/twitter/Url.ts +0 -37
  146. package/src/twitter/enums/Resources.ts +0 -15
  147. package/src/twitter/params/Query.ts +0 -100
  148. package/src/twitter/payloads/Args.ts +0 -21
  149. package/src/twitter/payloads/Features.ts +0 -33
  150. package/src/twitter/payloads/Variables.ts +0 -73
  151. package/src/twitter/types/request/Query.ts +0 -91
  152. package/src/twitter/types/tweet/Favouriters.ts +0 -193
  153. package/src/twitter/types/tweet/Retweeters.ts +0 -201
  154. package/src/twitter/types/tweet/Tweet.ts +0 -882
  155. package/src/twitter/types/tweet/Tweets.ts +0 -444
  156. package/src/twitter/types/user/Followers.ts +0 -208
  157. package/src/twitter/types/user/Following.ts +0 -208
  158. package/src/twitter/types/user/Likes.ts +0 -1247
  159. package/src/twitter/types/user/Tweets.ts +0 -1747
  160. package/src/twitter/types/user/User.ts +0 -135
@@ -1,1747 +0,0 @@
1
- export default interface Root {
2
- errors: Error[]
3
- data: Data
4
- }
5
-
6
- export interface Error {
7
- message: string
8
- locations: Location[]
9
- path: any[]
10
- extensions: Extensions
11
- code: number
12
- kind: string
13
- name: string
14
- source: string
15
- retry_after: number
16
- tracing: Tracing2
17
- }
18
-
19
- export interface Location {
20
- line: number
21
- column: number
22
- }
23
-
24
- export interface Extensions {
25
- name: string
26
- source: string
27
- retry_after: number
28
- code: number
29
- kind: string
30
- tracing: Tracing
31
- }
32
-
33
- export interface Tracing {
34
- trace_id: string
35
- }
36
-
37
- export interface Tracing2 {
38
- trace_id: string
39
- }
40
-
41
- export interface Data {
42
- user: User
43
- }
44
-
45
- export interface User {
46
- result: Result
47
- }
48
-
49
- export interface Result {
50
- __typename: string
51
- timeline_v2: TimelineV2
52
- }
53
-
54
- export interface TimelineV2 {
55
- timeline: Timeline
56
- }
57
-
58
- export interface Timeline {
59
- instructions: Instruction[]
60
- responseObjects: ResponseObjects
61
- }
62
-
63
- export interface Instruction {
64
- type: string
65
- entries: Entry[]
66
- }
67
-
68
- export interface Entry {
69
- entryId: string
70
- sortIndex: string
71
- content: Content
72
- }
73
-
74
- export interface Content {
75
- entryType: string
76
- __typename: string
77
- itemContent?: ItemContent
78
- items?: Item[]
79
- metadata?: Metadata
80
- displayType?: string
81
- clientEventInfo?: ClientEventInfo2
82
- value?: string
83
- cursorType?: string
84
- stopOnEmptyResponse?: boolean
85
- }
86
-
87
- export interface ItemContent {
88
- itemType: string
89
- __typename: string
90
- tweet_results: TweetResults
91
- tweetDisplayType: string
92
- }
93
-
94
- export interface TweetResults {
95
- result: Result2
96
- }
97
-
98
- export interface Result2 {
99
- __typename: string
100
- rest_id: string
101
- core: Core
102
- unmention_data: UnmentionData
103
- edit_control: EditControl
104
- edit_perspective: EditPerspective
105
- is_translatable: boolean
106
- views: Views
107
- source: string
108
- legacy: Legacy2
109
- quick_promote_eligibility: QuickPromoteEligibility
110
- card?: Card2
111
- unified_card?: UnifiedCard2
112
- quoted_status_result?: QuotedStatusResult
113
- }
114
-
115
- export interface Core {
116
- user_results: UserResults
117
- }
118
-
119
- export interface UserResults {
120
- result: Result3
121
- }
122
-
123
- export interface Result3 {
124
- __typename: string
125
- id: string
126
- rest_id: string
127
- has_graduated_access: boolean
128
- is_blue_verified: boolean
129
- profile_image_shape: string
130
- legacy: Legacy
131
- super_follow_eligible: boolean
132
- verified_phone_status: boolean
133
- }
134
-
135
- export interface Legacy {
136
- following: boolean
137
- can_dm: boolean
138
- can_media_tag: boolean
139
- created_at: string
140
- default_profile: boolean
141
- default_profile_image: boolean
142
- description: string
143
- entities: Entities
144
- fast_followers_count: number
145
- favourites_count: number
146
- followers_count: number
147
- friends_count: number
148
- has_custom_timelines: boolean
149
- is_translator: boolean
150
- listed_count: number
151
- location: string
152
- media_count: number
153
- name: string
154
- normal_followers_count: number
155
- pinned_tweet_ids_str: any[]
156
- possibly_sensitive: boolean
157
- profile_banner_url: string
158
- profile_image_url_https: string
159
- profile_interstitial_type: string
160
- screen_name: string
161
- statuses_count: number
162
- translator_type: string
163
- verified: boolean
164
- want_retweets: boolean
165
- withheld_in_countries: any[]
166
- }
167
-
168
- export interface Entities {
169
- description: Description
170
- }
171
-
172
- export interface Description {
173
- urls: any[]
174
- }
175
-
176
- export interface UnmentionData { }
177
-
178
- export interface EditControl {
179
- edit_tweet_ids: string[]
180
- editable_until_msecs: string
181
- is_edit_eligible: boolean
182
- edits_remaining: string
183
- }
184
-
185
- export interface EditPerspective {
186
- favorited: boolean
187
- retweeted: boolean
188
- }
189
-
190
- export interface Views {
191
- count: string
192
- state: string
193
- }
194
-
195
- export interface Legacy2 {
196
- bookmark_count: number
197
- bookmarked: boolean
198
- created_at: string
199
- conversation_id_str: string
200
- display_text_range: number[]
201
- entities: Entities2
202
- favorite_count: number
203
- favorited: boolean
204
- full_text: string
205
- is_quote_status: boolean
206
- lang: string
207
- quote_count: number
208
- reply_count: number
209
- retweet_count: number
210
- retweeted: boolean
211
- user_id_str: string
212
- id_str: string
213
- retweeted_status_result?: RetweetedStatusResult
214
- possibly_sensitive?: boolean
215
- possibly_sensitive_editable?: boolean
216
- extended_entities?: ExtendedEntities2
217
- quoted_status_id_str?: string
218
- quoted_status_permalink?: QuotedStatusPermalink
219
- }
220
-
221
- export interface Entities2 {
222
- user_mentions: UserMention[]
223
- urls: Url[]
224
- hashtags: Hashtag[]
225
- symbols: any[]
226
- media?: Medum[]
227
- }
228
-
229
- export interface UserMention {
230
- id_str: string
231
- name: string
232
- screen_name: string
233
- indices: number[]
234
- }
235
-
236
- export interface Url {
237
- display_url: string
238
- expanded_url: string
239
- url: string
240
- indices: number[]
241
- }
242
-
243
- export interface Hashtag {
244
- indices: number[]
245
- text: string
246
- }
247
-
248
- export interface Medum {
249
- display_url: string
250
- expanded_url: string
251
- id_str: string
252
- indices: number[]
253
- media_url_https: string
254
- type: string
255
- url: string
256
- sizes: Sizes
257
- original_info: OriginalInfo
258
- source_status_id_str?: string
259
- source_user_id_str?: string
260
- }
261
-
262
- export interface Sizes {
263
- large: Large
264
- medium: Medium
265
- small: Small
266
- thumb: Thumb
267
- }
268
-
269
- export interface Large {
270
- h: number
271
- w: number
272
- resize: string
273
- }
274
-
275
- export interface Medium {
276
- h: number
277
- w: number
278
- resize: string
279
- }
280
-
281
- export interface Small {
282
- h: number
283
- w: number
284
- resize: string
285
- }
286
-
287
- export interface Thumb {
288
- h: number
289
- w: number
290
- resize: string
291
- }
292
-
293
- export interface OriginalInfo {
294
- height: number
295
- width: number
296
- focus_rects?: FocusRect[]
297
- }
298
-
299
- export interface FocusRect {
300
- x: number
301
- y: number
302
- w: number
303
- h: number
304
- }
305
-
306
- export interface RetweetedStatusResult {
307
- result: Result4
308
- }
309
-
310
- export interface Result4 {
311
- __typename: string
312
- rest_id: string
313
- core: Core2
314
- unmention_data: UnmentionData2
315
- edit_control: EditControl2
316
- edit_perspective: EditPerspective2
317
- is_translatable: boolean
318
- views: Views2
319
- source: string
320
- note_tweet?: NoteTweet
321
- legacy: Legacy4
322
- card?: Card
323
- unified_card?: UnifiedCard
324
- }
325
-
326
- export interface Core2 {
327
- user_results: UserResults2
328
- }
329
-
330
- export interface UserResults2 {
331
- result: Result5
332
- }
333
-
334
- export interface Result5 {
335
- __typename: string
336
- id: string
337
- rest_id: string
338
- affiliates_highlighted_label: AffiliatesHighlightedLabel
339
- has_graduated_access: boolean
340
- is_blue_verified: boolean
341
- profile_image_shape: string
342
- legacy: Legacy3
343
- professional?: Professional
344
- verified_phone_status: boolean
345
- super_follow_eligible?: boolean
346
- }
347
-
348
- export interface AffiliatesHighlightedLabel {
349
- label?: Label
350
- }
351
-
352
- export interface Label {
353
- url: Url2
354
- badge: Badge
355
- description: string
356
- userLabelType: string
357
- userLabelDisplayType: string
358
- }
359
-
360
- export interface Url2 {
361
- url: string
362
- urlType: string
363
- }
364
-
365
- export interface Badge {
366
- url: string
367
- }
368
-
369
- export interface Legacy3 {
370
- can_dm: boolean
371
- can_media_tag: boolean
372
- created_at: string
373
- default_profile: boolean
374
- default_profile_image: boolean
375
- description: string
376
- entities: Entities3
377
- fast_followers_count: number
378
- favourites_count: number
379
- followers_count: number
380
- friends_count: number
381
- has_custom_timelines: boolean
382
- is_translator: boolean
383
- listed_count: number
384
- location: string
385
- media_count: number
386
- name: string
387
- normal_followers_count: number
388
- pinned_tweet_ids_str: string[]
389
- possibly_sensitive: boolean
390
- profile_banner_url: string
391
- profile_image_url_https: string
392
- profile_interstitial_type: string
393
- screen_name: string
394
- statuses_count: number
395
- translator_type: string
396
- url?: string
397
- verified: boolean
398
- want_retweets: boolean
399
- withheld_in_countries: any[]
400
- following?: boolean
401
- verified_type?: string
402
- }
403
-
404
- export interface Entities3 {
405
- description: Description2
406
- url?: Url4
407
- }
408
-
409
- export interface Description2 {
410
- urls: Url3[]
411
- }
412
-
413
- export interface Url3 {
414
- display_url: string
415
- expanded_url: string
416
- url: string
417
- indices: number[]
418
- }
419
-
420
- export interface Url4 {
421
- urls: Url5[]
422
- }
423
-
424
- export interface Url5 {
425
- display_url: string
426
- expanded_url: string
427
- url: string
428
- indices: number[]
429
- }
430
-
431
- export interface Professional {
432
- rest_id: string
433
- professional_type: string
434
- category: Category[]
435
- }
436
-
437
- export interface Category {
438
- id: number
439
- name: string
440
- icon_name: string
441
- }
442
-
443
- export interface UnmentionData2 { }
444
-
445
- export interface EditControl2 {
446
- edit_tweet_ids: string[]
447
- editable_until_msecs: string
448
- is_edit_eligible: boolean
449
- edits_remaining: string
450
- }
451
-
452
- export interface EditPerspective2 {
453
- favorited: boolean
454
- retweeted: boolean
455
- }
456
-
457
- export interface Views2 {
458
- count: string
459
- state: string
460
- }
461
-
462
- export interface NoteTweet {
463
- is_expandable: boolean
464
- note_tweet_results: NoteTweetResults
465
- }
466
-
467
- export interface NoteTweetResults {
468
- result: Result6
469
- }
470
-
471
- export interface Result6 {
472
- id: string
473
- text: string
474
- entity_set: EntitySet
475
- richtext: Richtext
476
- }
477
-
478
- export interface EntitySet {
479
- user_mentions: any[]
480
- urls: any[]
481
- hashtags: any[]
482
- symbols: any[]
483
- }
484
-
485
- export interface Richtext {
486
- richtext_tags: RichtextTag[]
487
- }
488
-
489
- export interface RichtextTag {
490
- from_index: number
491
- to_index: number
492
- richtext_types: string[]
493
- }
494
-
495
- export interface Legacy4 {
496
- bookmark_count: number
497
- bookmarked: boolean
498
- created_at: string
499
- conversation_id_str: string
500
- display_text_range: number[]
501
- entities: Entities4
502
- favorite_count: number
503
- favorited: boolean
504
- full_text: string
505
- is_quote_status: boolean
506
- lang: string
507
- quote_count: number
508
- reply_count: number
509
- retweet_count: number
510
- retweeted: boolean
511
- user_id_str: string
512
- id_str: string
513
- possibly_sensitive?: boolean
514
- possibly_sensitive_editable?: boolean
515
- extended_entities?: ExtendedEntities
516
- self_thread?: SelfThread
517
- in_reply_to_screen_name?: string
518
- in_reply_to_status_id_str?: string
519
- in_reply_to_user_id_str?: string
520
- }
521
-
522
- export interface Entities4 {
523
- user_mentions: UserMention2[]
524
- urls: Url6[]
525
- hashtags: Hashtag2[]
526
- symbols: any[]
527
- media?: Medum2[]
528
- }
529
-
530
- export interface UserMention2 {
531
- id_str: string
532
- name: string
533
- screen_name: string
534
- indices: number[]
535
- }
536
-
537
- export interface Url6 {
538
- display_url: string
539
- expanded_url: string
540
- url: string
541
- indices: number[]
542
- }
543
-
544
- export interface Hashtag2 {
545
- indices: number[]
546
- text: string
547
- }
548
-
549
- export interface Medum2 {
550
- display_url: string
551
- expanded_url: string
552
- id_str: string
553
- indices: number[]
554
- media_url_https: string
555
- type: string
556
- url: string
557
- sizes: Sizes2
558
- original_info: OriginalInfo2
559
- }
560
-
561
- export interface Sizes2 {
562
- large: Large2
563
- medium: Medium2
564
- small: Small2
565
- thumb: Thumb2
566
- }
567
-
568
- export interface Large2 {
569
- h: number
570
- w: number
571
- resize: string
572
- }
573
-
574
- export interface Medium2 {
575
- h: number
576
- w: number
577
- resize: string
578
- }
579
-
580
- export interface Small2 {
581
- h: number
582
- w: number
583
- resize: string
584
- }
585
-
586
- export interface Thumb2 {
587
- h: number
588
- w: number
589
- resize: string
590
- }
591
-
592
- export interface OriginalInfo2 {
593
- height: number
594
- width: number
595
- focus_rects?: FocusRect2[]
596
- }
597
-
598
- export interface FocusRect2 {
599
- x: number
600
- y: number
601
- w: number
602
- h: number
603
- }
604
-
605
- export interface ExtendedEntities {
606
- media: Medum3[]
607
- }
608
-
609
- export interface Medum3 {
610
- display_url: string
611
- expanded_url: string
612
- id_str: string
613
- indices: number[]
614
- media_key: string
615
- media_url_https: string
616
- type: string
617
- url: string
618
- ext_media_availability: ExtMediaAvailability
619
- sizes: Sizes3
620
- original_info: OriginalInfo3
621
- additional_media_info?: AdditionalMediaInfo
622
- mediaStats?: MediaStats
623
- video_info?: VideoInfo
624
- }
625
-
626
- export interface ExtMediaAvailability {
627
- status: string
628
- }
629
-
630
- export interface Sizes3 {
631
- large: Large3
632
- medium: Medium3
633
- small: Small3
634
- thumb: Thumb3
635
- }
636
-
637
- export interface Large3 {
638
- h: number
639
- w: number
640
- resize: string
641
- }
642
-
643
- export interface Medium3 {
644
- h: number
645
- w: number
646
- resize: string
647
- }
648
-
649
- export interface Small3 {
650
- h: number
651
- w: number
652
- resize: string
653
- }
654
-
655
- export interface Thumb3 {
656
- h: number
657
- w: number
658
- resize: string
659
- }
660
-
661
- export interface OriginalInfo3 {
662
- height: number
663
- width: number
664
- focus_rects?: FocusRect3[]
665
- }
666
-
667
- export interface FocusRect3 {
668
- x: number
669
- y: number
670
- w: number
671
- h: number
672
- }
673
-
674
- export interface AdditionalMediaInfo {
675
- monetizable: boolean
676
- title?: string
677
- description?: string
678
- embeddable?: boolean
679
- }
680
-
681
- export interface MediaStats {
682
- viewCount: number
683
- }
684
-
685
- export interface VideoInfo {
686
- aspect_ratio: number[]
687
- duration_millis: number
688
- variants: Variant[]
689
- }
690
-
691
- export interface Variant {
692
- bitrate?: number
693
- content_type: string
694
- url: string
695
- }
696
-
697
- export interface SelfThread {
698
- id_str: string
699
- }
700
-
701
- export interface Card {
702
- rest_id: string
703
- legacy: Legacy5
704
- }
705
-
706
- export interface Legacy5 {
707
- binding_values: BindingValue[]
708
- card_platform: CardPlatform
709
- name: string
710
- url: string
711
- user_refs_results: UserRefsResult[]
712
- }
713
-
714
- export interface BindingValue {
715
- key: string
716
- value: Value
717
- }
718
-
719
- export interface Value {
720
- string_value?: string
721
- type: string
722
- scribe_key?: string
723
- user_value?: UserValue
724
- image_value?: ImageValue
725
- boolean_value?: boolean
726
- image_color_value?: ImageColorValue
727
- }
728
-
729
- export interface UserValue {
730
- id_str: string
731
- path: any[]
732
- }
733
-
734
- export interface ImageValue {
735
- height: number
736
- width: number
737
- url: string
738
- }
739
-
740
- export interface ImageColorValue {
741
- palette: Palette[]
742
- }
743
-
744
- export interface Palette {
745
- rgb: Rgb
746
- percentage: number
747
- }
748
-
749
- export interface Rgb {
750
- blue: number
751
- green: number
752
- red: number
753
- }
754
-
755
- export interface CardPlatform {
756
- platform: Platform
757
- }
758
-
759
- export interface Platform {
760
- audience: Audience
761
- device: Device
762
- }
763
-
764
- export interface Audience {
765
- name: string
766
- }
767
-
768
- export interface Device {
769
- name: string
770
- version: string
771
- }
772
-
773
- export interface UserRefsResult {
774
- result: Result7
775
- }
776
-
777
- export interface Result7 {
778
- __typename: string
779
- id: string
780
- rest_id: string
781
- affiliates_highlighted_label: AffiliatesHighlightedLabel2
782
- has_graduated_access: boolean
783
- is_blue_verified: boolean
784
- profile_image_shape: string
785
- legacy: Legacy6
786
- verified_phone_status: boolean
787
- }
788
-
789
- export interface AffiliatesHighlightedLabel2 { }
790
-
791
- export interface Legacy6 {
792
- following: boolean
793
- can_dm: boolean
794
- can_media_tag: boolean
795
- created_at: string
796
- default_profile: boolean
797
- default_profile_image: boolean
798
- description: string
799
- entities: Entities5
800
- fast_followers_count: number
801
- favourites_count: number
802
- followers_count: number
803
- friends_count: number
804
- has_custom_timelines: boolean
805
- is_translator: boolean
806
- listed_count: number
807
- location: string
808
- media_count: number
809
- name: string
810
- normal_followers_count: number
811
- pinned_tweet_ids_str: string[]
812
- possibly_sensitive: boolean
813
- profile_banner_url: string
814
- profile_image_url_https: string
815
- profile_interstitial_type: string
816
- screen_name: string
817
- statuses_count: number
818
- translator_type: string
819
- url: string
820
- verified: boolean
821
- verified_type: string
822
- want_retweets: boolean
823
- withheld_in_countries: any[]
824
- }
825
-
826
- export interface Entities5 {
827
- description: Description3
828
- url: Url8
829
- }
830
-
831
- export interface Description3 {
832
- urls: Url7[]
833
- }
834
-
835
- export interface Url7 {
836
- display_url: string
837
- expanded_url: string
838
- url: string
839
- indices: number[]
840
- }
841
-
842
- export interface Url8 {
843
- urls: Url9[]
844
- }
845
-
846
- export interface Url9 {
847
- display_url: string
848
- expanded_url: string
849
- url: string
850
- indices: number[]
851
- }
852
-
853
- export interface UnifiedCard {
854
- card_fetch_state: string
855
- }
856
-
857
- export interface ExtendedEntities2 {
858
- media: Medum4[]
859
- }
860
-
861
- export interface Medum4 {
862
- display_url: string
863
- expanded_url: string
864
- id_str: string
865
- indices: number[]
866
- media_key: string
867
- media_url_https: string
868
- type: string
869
- url: string
870
- ext_media_availability: ExtMediaAvailability2
871
- sizes: Sizes4
872
- original_info: OriginalInfo4
873
- source_status_id_str?: string
874
- source_user_id_str?: string
875
- additional_media_info?: AdditionalMediaInfo2
876
- mediaStats?: MediaStats2
877
- video_info?: VideoInfo2
878
- }
879
-
880
- export interface ExtMediaAvailability2 {
881
- status: string
882
- }
883
-
884
- export interface Sizes4 {
885
- large: Large4
886
- medium: Medium4
887
- small: Small4
888
- thumb: Thumb4
889
- }
890
-
891
- export interface Large4 {
892
- h: number
893
- w: number
894
- resize: string
895
- }
896
-
897
- export interface Medium4 {
898
- h: number
899
- w: number
900
- resize: string
901
- }
902
-
903
- export interface Small4 {
904
- h: number
905
- w: number
906
- resize: string
907
- }
908
-
909
- export interface Thumb4 {
910
- h: number
911
- w: number
912
- resize: string
913
- }
914
-
915
- export interface OriginalInfo4 {
916
- height: number
917
- width: number
918
- focus_rects?: FocusRect4[]
919
- }
920
-
921
- export interface FocusRect4 {
922
- x: number
923
- y: number
924
- w: number
925
- h: number
926
- }
927
-
928
- export interface AdditionalMediaInfo2 {
929
- monetizable: boolean
930
- source_user: SourceUser
931
- title?: string
932
- description?: string
933
- embeddable?: boolean
934
- }
935
-
936
- export interface SourceUser {
937
- user_results: UserResults3
938
- }
939
-
940
- export interface UserResults3 {
941
- result: Result8
942
- }
943
-
944
- export interface Result8 {
945
- __typename: string
946
- id: string
947
- rest_id: string
948
- affiliates_highlighted_label: AffiliatesHighlightedLabel3
949
- has_graduated_access: boolean
950
- is_blue_verified: boolean
951
- profile_image_shape: string
952
- legacy: Legacy7
953
- professional?: Professional2
954
- verified_phone_status: boolean
955
- }
956
-
957
- export interface AffiliatesHighlightedLabel3 { }
958
-
959
- export interface Legacy7 {
960
- following: boolean
961
- can_dm: boolean
962
- can_media_tag: boolean
963
- created_at: string
964
- default_profile: boolean
965
- default_profile_image: boolean
966
- description: string
967
- entities: Entities6
968
- fast_followers_count: number
969
- favourites_count: number
970
- followers_count: number
971
- friends_count: number
972
- has_custom_timelines: boolean
973
- is_translator: boolean
974
- listed_count: number
975
- location: string
976
- media_count: number
977
- name: string
978
- normal_followers_count: number
979
- pinned_tweet_ids_str: string[]
980
- possibly_sensitive: boolean
981
- profile_banner_url: string
982
- profile_image_url_https: string
983
- profile_interstitial_type: string
984
- screen_name: string
985
- statuses_count: number
986
- translator_type: string
987
- url: string
988
- verified: boolean
989
- verified_type: string
990
- want_retweets: boolean
991
- withheld_in_countries: any[]
992
- }
993
-
994
- export interface Entities6 {
995
- description: Description4
996
- url: Url10
997
- }
998
-
999
- export interface Description4 {
1000
- urls: any[]
1001
- }
1002
-
1003
- export interface Url10 {
1004
- urls: Url11[]
1005
- }
1006
-
1007
- export interface Url11 {
1008
- display_url: string
1009
- expanded_url: string
1010
- url: string
1011
- indices: number[]
1012
- }
1013
-
1014
- export interface Professional2 {
1015
- rest_id: string
1016
- professional_type: string
1017
- category: any[]
1018
- }
1019
-
1020
- export interface MediaStats2 {
1021
- viewCount: number
1022
- }
1023
-
1024
- export interface VideoInfo2 {
1025
- aspect_ratio: number[]
1026
- duration_millis: number
1027
- variants: Variant2[]
1028
- }
1029
-
1030
- export interface Variant2 {
1031
- bitrate?: number
1032
- content_type: string
1033
- url: string
1034
- }
1035
-
1036
- export interface QuotedStatusPermalink {
1037
- url: string
1038
- expanded: string
1039
- display: string
1040
- }
1041
-
1042
- export interface QuickPromoteEligibility {
1043
- eligibility: string
1044
- }
1045
-
1046
- export interface Card2 {
1047
- rest_id: string
1048
- legacy: Legacy8
1049
- }
1050
-
1051
- export interface Legacy8 {
1052
- binding_values: BindingValue2[]
1053
- card_platform: CardPlatform2
1054
- name: string
1055
- url: string
1056
- user_refs_results: UserRefsResult2[]
1057
- }
1058
-
1059
- export interface BindingValue2 {
1060
- key: string
1061
- value: Value2
1062
- }
1063
-
1064
- export interface Value2 {
1065
- string_value?: string
1066
- type: string
1067
- scribe_key?: string
1068
- user_value?: UserValue2
1069
- image_value?: ImageValue2
1070
- boolean_value?: boolean
1071
- image_color_value?: ImageColorValue2
1072
- }
1073
-
1074
- export interface UserValue2 {
1075
- id_str: string
1076
- path: any[]
1077
- }
1078
-
1079
- export interface ImageValue2 {
1080
- height: number
1081
- width: number
1082
- url: string
1083
- }
1084
-
1085
- export interface ImageColorValue2 {
1086
- palette: Palette2[]
1087
- }
1088
-
1089
- export interface Palette2 {
1090
- rgb: Rgb2
1091
- percentage: number
1092
- }
1093
-
1094
- export interface Rgb2 {
1095
- blue: number
1096
- green: number
1097
- red: number
1098
- }
1099
-
1100
- export interface CardPlatform2 {
1101
- platform: Platform2
1102
- }
1103
-
1104
- export interface Platform2 {
1105
- audience: Audience2
1106
- device: Device2
1107
- }
1108
-
1109
- export interface Audience2 {
1110
- name: string
1111
- }
1112
-
1113
- export interface Device2 {
1114
- name: string
1115
- version: string
1116
- }
1117
-
1118
- export interface UserRefsResult2 {
1119
- result: Result9
1120
- }
1121
-
1122
- export interface Result9 {
1123
- __typename: string
1124
- id: string
1125
- rest_id: string
1126
- affiliates_highlighted_label: AffiliatesHighlightedLabel4
1127
- has_graduated_access: boolean
1128
- is_blue_verified: boolean
1129
- profile_image_shape: string
1130
- legacy: Legacy9
1131
- verified_phone_status: boolean
1132
- }
1133
-
1134
- export interface AffiliatesHighlightedLabel4 { }
1135
-
1136
- export interface Legacy9 {
1137
- following: boolean
1138
- can_dm: boolean
1139
- can_media_tag: boolean
1140
- created_at: string
1141
- default_profile: boolean
1142
- default_profile_image: boolean
1143
- description: string
1144
- entities: Entities7
1145
- fast_followers_count: number
1146
- favourites_count: number
1147
- followers_count: number
1148
- friends_count: number
1149
- has_custom_timelines: boolean
1150
- is_translator: boolean
1151
- listed_count: number
1152
- location: string
1153
- media_count: number
1154
- name: string
1155
- normal_followers_count: number
1156
- pinned_tweet_ids_str: string[]
1157
- possibly_sensitive: boolean
1158
- profile_banner_url: string
1159
- profile_image_url_https: string
1160
- profile_interstitial_type: string
1161
- screen_name: string
1162
- statuses_count: number
1163
- translator_type: string
1164
- url: string
1165
- verified: boolean
1166
- verified_type: string
1167
- want_retweets: boolean
1168
- withheld_in_countries: any[]
1169
- }
1170
-
1171
- export interface Entities7 {
1172
- description: Description5
1173
- url: Url13
1174
- }
1175
-
1176
- export interface Description5 {
1177
- urls: Url12[]
1178
- }
1179
-
1180
- export interface Url12 {
1181
- display_url: string
1182
- expanded_url: string
1183
- url: string
1184
- indices: number[]
1185
- }
1186
-
1187
- export interface Url13 {
1188
- urls: Url14[]
1189
- }
1190
-
1191
- export interface Url14 {
1192
- display_url: string
1193
- expanded_url: string
1194
- url: string
1195
- indices: number[]
1196
- }
1197
-
1198
- export interface UnifiedCard2 {
1199
- card_fetch_state: string
1200
- }
1201
-
1202
- export interface QuotedStatusResult {
1203
- result: Result10
1204
- }
1205
-
1206
- export interface Result10 {
1207
- __typename: string
1208
- rest_id: string
1209
- core: Core3
1210
- unmention_data: UnmentionData3
1211
- edit_control: EditControl3
1212
- edit_perspective: EditPerspective3
1213
- is_translatable: boolean
1214
- views: Views3
1215
- source: string
1216
- legacy: Legacy11
1217
- }
1218
-
1219
- export interface Core3 {
1220
- user_results: UserResults4
1221
- }
1222
-
1223
- export interface UserResults4 {
1224
- result: Result11
1225
- }
1226
-
1227
- export interface Result11 {
1228
- __typename: string
1229
- id: string
1230
- rest_id: string
1231
- affiliates_highlighted_label: AffiliatesHighlightedLabel5
1232
- has_graduated_access: boolean
1233
- is_blue_verified: boolean
1234
- profile_image_shape: string
1235
- legacy: Legacy10
1236
- verified_phone_status: boolean
1237
- professional?: Professional3
1238
- super_follow_eligible?: boolean
1239
- }
1240
-
1241
- export interface AffiliatesHighlightedLabel5 { }
1242
-
1243
- export interface Legacy10 {
1244
- following?: boolean
1245
- can_dm: boolean
1246
- can_media_tag: boolean
1247
- created_at: string
1248
- default_profile: boolean
1249
- default_profile_image: boolean
1250
- description: string
1251
- entities: Entities8
1252
- fast_followers_count: number
1253
- favourites_count: number
1254
- followers_count: number
1255
- friends_count: number
1256
- has_custom_timelines: boolean
1257
- is_translator: boolean
1258
- listed_count: number
1259
- location: string
1260
- media_count: number
1261
- name: string
1262
- normal_followers_count: number
1263
- pinned_tweet_ids_str: string[]
1264
- possibly_sensitive: boolean
1265
- profile_banner_url: string
1266
- profile_image_url_https: string
1267
- profile_interstitial_type: string
1268
- screen_name: string
1269
- statuses_count: number
1270
- translator_type: string
1271
- url: string
1272
- verified: boolean
1273
- verified_type?: string
1274
- want_retweets: boolean
1275
- withheld_in_countries: any[]
1276
- }
1277
-
1278
- export interface Entities8 {
1279
- description: Description6
1280
- url: Url15
1281
- }
1282
-
1283
- export interface Description6 {
1284
- urls: any[]
1285
- }
1286
-
1287
- export interface Url15 {
1288
- urls: Url16[]
1289
- }
1290
-
1291
- export interface Url16 {
1292
- display_url: string
1293
- expanded_url: string
1294
- url: string
1295
- indices: number[]
1296
- }
1297
-
1298
- export interface Professional3 {
1299
- rest_id: string
1300
- professional_type: string
1301
- category: Category2[]
1302
- }
1303
-
1304
- export interface Category2 {
1305
- id: number
1306
- name: string
1307
- icon_name: string
1308
- }
1309
-
1310
- export interface UnmentionData3 { }
1311
-
1312
- export interface EditControl3 {
1313
- edit_tweet_ids: string[]
1314
- editable_until_msecs: string
1315
- is_edit_eligible: boolean
1316
- edits_remaining: string
1317
- }
1318
-
1319
- export interface EditPerspective3 {
1320
- favorited: boolean
1321
- retweeted: boolean
1322
- }
1323
-
1324
- export interface Views3 {
1325
- count: string
1326
- state: string
1327
- }
1328
-
1329
- export interface Legacy11 {
1330
- bookmark_count: number
1331
- bookmarked: boolean
1332
- created_at: string
1333
- conversation_id_str: string
1334
- display_text_range: number[]
1335
- entities: Entities9
1336
- extended_entities?: ExtendedEntities3
1337
- favorite_count: number
1338
- favorited: boolean
1339
- full_text: string
1340
- is_quote_status: boolean
1341
- lang: string
1342
- possibly_sensitive?: boolean
1343
- possibly_sensitive_editable?: boolean
1344
- quote_count: number
1345
- reply_count: number
1346
- retweet_count: number
1347
- retweeted: boolean
1348
- user_id_str: string
1349
- id_str: string
1350
- self_thread?: SelfThread2
1351
- }
1352
-
1353
- export interface Entities9 {
1354
- media?: Medum5[]
1355
- user_mentions: UserMention3[]
1356
- urls: Url17[]
1357
- hashtags: any[]
1358
- symbols: any[]
1359
- }
1360
-
1361
- export interface Medum5 {
1362
- display_url: string
1363
- expanded_url: string
1364
- id_str: string
1365
- indices: number[]
1366
- media_url_https: string
1367
- type: string
1368
- url: string
1369
- sizes: Sizes5
1370
- original_info: OriginalInfo5
1371
- }
1372
-
1373
- export interface Sizes5 {
1374
- large: Large5
1375
- medium: Medium5
1376
- small: Small5
1377
- thumb: Thumb5
1378
- }
1379
-
1380
- export interface Large5 {
1381
- h: number
1382
- w: number
1383
- resize: string
1384
- }
1385
-
1386
- export interface Medium5 {
1387
- h: number
1388
- w: number
1389
- resize: string
1390
- }
1391
-
1392
- export interface Small5 {
1393
- h: number
1394
- w: number
1395
- resize: string
1396
- }
1397
-
1398
- export interface Thumb5 {
1399
- h: number
1400
- w: number
1401
- resize: string
1402
- }
1403
-
1404
- export interface OriginalInfo5 {
1405
- height: number
1406
- width: number
1407
- focus_rects?: FocusRect5[]
1408
- }
1409
-
1410
- export interface FocusRect5 {
1411
- x: number
1412
- y: number
1413
- w: number
1414
- h: number
1415
- }
1416
-
1417
- export interface UserMention3 {
1418
- id_str: string
1419
- name: string
1420
- screen_name: string
1421
- indices: number[]
1422
- }
1423
-
1424
- export interface Url17 {
1425
- display_url: string
1426
- expanded_url: string
1427
- url: string
1428
- indices: number[]
1429
- }
1430
-
1431
- export interface ExtendedEntities3 {
1432
- media: Medum6[]
1433
- }
1434
-
1435
- export interface Medum6 {
1436
- display_url: string
1437
- expanded_url: string
1438
- id_str: string
1439
- indices: number[]
1440
- media_key: string
1441
- media_url_https: string
1442
- type: string
1443
- url: string
1444
- ext_media_availability: ExtMediaAvailability3
1445
- sizes: Sizes6
1446
- original_info: OriginalInfo6
1447
- additional_media_info?: AdditionalMediaInfo3
1448
- mediaStats?: MediaStats3
1449
- video_info?: VideoInfo3
1450
- }
1451
-
1452
- export interface ExtMediaAvailability3 {
1453
- status: string
1454
- }
1455
-
1456
- export interface Sizes6 {
1457
- large: Large6
1458
- medium: Medium6
1459
- small: Small6
1460
- thumb: Thumb6
1461
- }
1462
-
1463
- export interface Large6 {
1464
- h: number
1465
- w: number
1466
- resize: string
1467
- }
1468
-
1469
- export interface Medium6 {
1470
- h: number
1471
- w: number
1472
- resize: string
1473
- }
1474
-
1475
- export interface Small6 {
1476
- h: number
1477
- w: number
1478
- resize: string
1479
- }
1480
-
1481
- export interface Thumb6 {
1482
- h: number
1483
- w: number
1484
- resize: string
1485
- }
1486
-
1487
- export interface OriginalInfo6 {
1488
- height: number
1489
- width: number
1490
- focus_rects?: FocusRect6[]
1491
- }
1492
-
1493
- export interface FocusRect6 {
1494
- x: number
1495
- y: number
1496
- w: number
1497
- h: number
1498
- }
1499
-
1500
- export interface AdditionalMediaInfo3 {
1501
- monetizable: boolean
1502
- }
1503
-
1504
- export interface MediaStats3 {
1505
- viewCount: number
1506
- }
1507
-
1508
- export interface VideoInfo3 {
1509
- aspect_ratio: number[]
1510
- duration_millis: number
1511
- variants: Variant3[]
1512
- }
1513
-
1514
- export interface Variant3 {
1515
- bitrate?: number
1516
- content_type: string
1517
- url: string
1518
- }
1519
-
1520
- export interface SelfThread2 {
1521
- id_str: string
1522
- }
1523
-
1524
- export interface Item {
1525
- entryId: string
1526
- dispensable: boolean
1527
- item: Item2
1528
- }
1529
-
1530
- export interface Item2 {
1531
- itemContent: ItemContent2
1532
- clientEventInfo: ClientEventInfo
1533
- }
1534
-
1535
- export interface ItemContent2 {
1536
- itemType: string
1537
- __typename: string
1538
- tweet_results: TweetResults2
1539
- tweetDisplayType: string
1540
- }
1541
-
1542
- export interface TweetResults2 {
1543
- result: Result12
1544
- }
1545
-
1546
- export interface Result12 {
1547
- __typename: string
1548
- rest_id: string
1549
- core: Core4
1550
- unmention_data: UnmentionData4
1551
- edit_control: EditControl4
1552
- edit_perspective: EditPerspective4
1553
- is_translatable: boolean
1554
- views: Views4
1555
- source: string
1556
- legacy: Legacy13
1557
- quick_promote_eligibility: QuickPromoteEligibility2
1558
- note_tweet?: NoteTweet2
1559
- }
1560
-
1561
- export interface Core4 {
1562
- user_results: UserResults5
1563
- }
1564
-
1565
- export interface UserResults5 {
1566
- result: Result13
1567
- }
1568
-
1569
- export interface Result13 {
1570
- __typename: string
1571
- id: string
1572
- rest_id: string
1573
- has_graduated_access: boolean
1574
- is_blue_verified: boolean
1575
- profile_image_shape: string
1576
- legacy: Legacy12
1577
- super_follow_eligible: boolean
1578
- verified_phone_status: boolean
1579
- }
1580
-
1581
- export interface Legacy12 {
1582
- following: boolean
1583
- can_dm: boolean
1584
- can_media_tag: boolean
1585
- created_at: string
1586
- default_profile: boolean
1587
- default_profile_image: boolean
1588
- description: string
1589
- entities: Entities10
1590
- fast_followers_count: number
1591
- favourites_count: number
1592
- followers_count: number
1593
- friends_count: number
1594
- has_custom_timelines: boolean
1595
- is_translator: boolean
1596
- listed_count: number
1597
- location: string
1598
- media_count: number
1599
- name: string
1600
- normal_followers_count: number
1601
- pinned_tweet_ids_str: any[]
1602
- possibly_sensitive: boolean
1603
- profile_banner_url: string
1604
- profile_image_url_https: string
1605
- profile_interstitial_type: string
1606
- screen_name: string
1607
- statuses_count: number
1608
- translator_type: string
1609
- verified: boolean
1610
- want_retweets: boolean
1611
- withheld_in_countries: any[]
1612
- }
1613
-
1614
- export interface Entities10 {
1615
- description: Description7
1616
- }
1617
-
1618
- export interface Description7 {
1619
- urls: any[]
1620
- }
1621
-
1622
- export interface UnmentionData4 { }
1623
-
1624
- export interface EditControl4 {
1625
- edit_tweet_ids: string[]
1626
- editable_until_msecs: string
1627
- is_edit_eligible: boolean
1628
- edits_remaining: string
1629
- }
1630
-
1631
- export interface EditPerspective4 {
1632
- favorited: boolean
1633
- retweeted: boolean
1634
- }
1635
-
1636
- export interface Views4 {
1637
- count: string
1638
- state: string
1639
- }
1640
-
1641
- export interface Legacy13 {
1642
- bookmark_count: number
1643
- bookmarked: boolean
1644
- created_at: string
1645
- conversation_id_str: string
1646
- display_text_range: number[]
1647
- entities: Entities11
1648
- favorite_count: number
1649
- favorited: boolean
1650
- full_text: string
1651
- is_quote_status: boolean
1652
- lang: string
1653
- quote_count: number
1654
- reply_count: number
1655
- retweet_count: number
1656
- retweeted: boolean
1657
- user_id_str: string
1658
- id_str: string
1659
- self_thread: SelfThread3
1660
- in_reply_to_screen_name?: string
1661
- in_reply_to_status_id_str?: string
1662
- in_reply_to_user_id_str?: string
1663
- }
1664
-
1665
- export interface Entities11 {
1666
- user_mentions: any[]
1667
- urls: any[]
1668
- hashtags: Hashtag3[]
1669
- symbols: any[]
1670
- }
1671
-
1672
- export interface Hashtag3 {
1673
- indices: number[]
1674
- text: string
1675
- }
1676
-
1677
- export interface SelfThread3 {
1678
- id_str: string
1679
- }
1680
-
1681
- export interface QuickPromoteEligibility2 {
1682
- eligibility: string
1683
- }
1684
-
1685
- export interface NoteTweet2 {
1686
- is_expandable: boolean
1687
- note_tweet_results: NoteTweetResults2
1688
- }
1689
-
1690
- export interface NoteTweetResults2 {
1691
- result: Result14
1692
- }
1693
-
1694
- export interface Result14 {
1695
- id: string
1696
- text: string
1697
- entity_set: EntitySet2
1698
- }
1699
-
1700
- export interface EntitySet2 {
1701
- user_mentions: any[]
1702
- urls: any[]
1703
- hashtags: any[]
1704
- symbols: any[]
1705
- }
1706
-
1707
- export interface ClientEventInfo {
1708
- component: string
1709
- details: Details
1710
- }
1711
-
1712
- export interface Details {
1713
- timelinesDetails: TimelinesDetails
1714
- }
1715
-
1716
- export interface TimelinesDetails {
1717
- injectionType: string
1718
- controllerData: string
1719
- }
1720
-
1721
- export interface Metadata {
1722
- conversationMetadata: ConversationMetadata
1723
- }
1724
-
1725
- export interface ConversationMetadata {
1726
- allTweetIds: string[]
1727
- enableDeduplication: boolean
1728
- }
1729
-
1730
- export interface ClientEventInfo2 {
1731
- component: string
1732
- details: Details2
1733
- }
1734
-
1735
- export interface Details2 {
1736
- timelinesDetails: TimelinesDetails2
1737
- }
1738
-
1739
- export interface TimelinesDetails2 {
1740
- injectionType: string
1741
- controllerData: string
1742
- }
1743
-
1744
- export interface ResponseObjects {
1745
- feedbackActions: any[]
1746
- immediateReactions: any[]
1747
- }