rettiwt-api 1.1.5 → 1.1.7
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.
- package/dist/graphql/enums/Errors.d.ts +1 -0
- package/dist/graphql/enums/Errors.js +1 -0
- package/dist/graphql/enums/Errors.js.map +1 -1
- package/dist/graphql/resolvers/UserResolver.d.ts +9 -0
- package/dist/graphql/resolvers/UserResolver.js +61 -0
- package/dist/graphql/resolvers/UserResolver.js.map +1 -1
- package/dist/graphql/types/UserTypes.js +1 -1
- package/dist/graphql/types/UserTypes.js.map +1 -1
- package/dist/requests/payloads/Variables.d.ts +23 -0
- package/dist/requests/payloads/Variables.js +24 -0
- package/dist/requests/payloads/Variables.js.map +1 -0
- package/dist/services/data/TweetService.d.ts +1 -1
- package/dist/services/data/TweetService.js +1 -1
- package/dist/services/data/TweetService.js.map +1 -1
- package/dist/services/data/UserService.d.ts +15 -0
- package/dist/services/data/UserService.js +33 -0
- package/dist/services/data/UserService.js.map +1 -1
- package/dist/services/helper/extractors/Users.d.ts +6 -0
- package/dist/services/helper/extractors/Users.js +53 -1
- package/dist/services/helper/extractors/Users.js.map +1 -1
- package/dist/services/helper/urls/Users.d.ts +8 -1
- package/dist/services/helper/urls/Users.js +12 -2
- package/dist/services/helper/urls/Users.js.map +1 -1
- package/dist/types/Query.d.ts +80 -0
- package/dist/types/Query.js +3 -0
- package/dist/types/Query.js.map +1 -0
- package/dist/types/raw/data/tweet/Favouriters.d.ts +164 -0
- package/dist/types/raw/data/tweet/Favouriters.js +3 -0
- package/dist/types/raw/data/tweet/Favouriters.js.map +1 -0
- package/dist/types/raw/data/tweet/Retweeters.d.ts +171 -0
- package/dist/types/raw/data/tweet/Retweeters.js +3 -0
- package/dist/types/raw/data/tweet/Retweeters.js.map +1 -0
- package/dist/types/raw/data/tweet/Tweet.d.ts +746 -0
- package/dist/types/raw/data/tweet/Tweet.js +3 -0
- package/dist/types/raw/data/tweet/Tweet.js.map +1 -0
- package/dist/types/raw/data/tweet/Tweets.d.ts +386 -0
- package/dist/types/raw/data/tweet/Tweets.js +3 -0
- package/dist/types/raw/data/tweet/Tweets.js.map +1 -0
- package/dist/types/raw/data/user/Followers.d.ts +176 -0
- package/dist/types/raw/data/user/Followers.js +3 -0
- package/dist/types/raw/data/user/Followers.js.map +1 -0
- package/dist/types/raw/data/user/Following.d.ts +176 -0
- package/dist/types/raw/data/user/Following.js +3 -0
- package/dist/types/raw/data/user/Following.js.map +1 -0
- package/dist/types/raw/data/user/Likes.d.ts +1059 -0
- package/dist/types/raw/data/user/Likes.js +3 -0
- package/dist/types/raw/data/user/Likes.js.map +1 -0
- package/dist/types/raw/data/user/User.d.ts +117 -0
- package/dist/types/raw/data/user/User.js +3 -0
- package/dist/types/raw/data/user/User.js.map +1 -0
- package/dist/types/raw/query/tweet/Details.d.ts +80 -0
- package/dist/types/raw/query/tweet/Details.js +5 -0
- package/dist/types/raw/query/tweet/Details.js.map +1 -0
- package/dist/types/raw/query/tweet/Engagements.d.ts +29 -0
- package/dist/types/raw/query/tweet/Engagements.js +3 -0
- package/dist/types/raw/query/tweet/Engagements.js.map +1 -0
- package/dist/types/raw/query/tweet/Likes.d.ts +29 -0
- package/dist/types/raw/query/tweet/Likes.js +3 -0
- package/dist/types/raw/query/tweet/Likes.js.map +1 -0
- package/dist/types/raw/query/tweet/Retweets.d.ts +29 -0
- package/dist/types/raw/query/tweet/Retweets.js +3 -0
- package/dist/types/raw/query/tweet/Retweets.js.map +1 -0
- package/dist/types/raw/query/tweet/Search.d.ts +40 -0
- package/dist/types/raw/query/tweet/Search.js +3 -0
- package/dist/types/raw/query/tweet/Search.js.map +1 -0
- package/dist/types/raw/query/tweet/TweetLike.d.ts +29 -0
- package/dist/types/raw/query/tweet/TweetLike.js +3 -0
- package/dist/types/raw/query/tweet/TweetLike.js.map +1 -0
- package/dist/types/raw/query/tweet/TweetLikes.d.ts +29 -0
- package/dist/types/raw/query/tweet/TweetLikes.js +3 -0
- package/dist/types/raw/query/tweet/TweetLikes.js.map +1 -0
- package/dist/types/raw/query/tweet/TweetRetweets.d.ts +0 -0
- package/dist/types/raw/query/tweet/TweetRetweets.js +2 -0
- package/dist/types/raw/query/tweet/TweetRetweets.js.map +1 -0
- package/dist/types/raw/query/user/Details.d.ts +34 -0
- package/dist/types/raw/query/user/Details.js +3 -0
- package/dist/types/raw/query/user/Details.js.map +1 -0
- package/dist/types/raw/user/Tweets.d.ts +668 -1584
- package/dist/types/raw/user/User.js.map +1 -1
- package/package.json +2 -2
- package/src/graphql/enums/Errors.ts +1 -0
- package/src/graphql/resolvers/UserResolver.ts +58 -1
- package/src/graphql/types/UserTypes.ts +3 -3
- package/src/services/data/TweetService.ts +5 -5
- package/src/services/data/UserService.ts +34 -0
- package/src/services/helper/extractors/Users.ts +55 -0
- package/src/services/helper/urls/Users.ts +39 -23
- package/src/types/raw/user/Tweets.ts +1747 -0
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -64
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1280
- package/docs/classes/AccountService.html +0 -303
- package/docs/classes/AuthCookie.html +0 -146
- package/docs/classes/AuthService.html +0 -147
- package/docs/classes/CacheService.html +0 -157
- package/docs/classes/Cursor.html +0 -102
- package/docs/classes/CursoredData.html +0 -126
- package/docs/classes/DataValidationError.html +0 -119
- package/docs/classes/FetcherService.html +0 -225
- package/docs/classes/Tweet.html +0 -210
- package/docs/classes/TweetEntities.html +0 -128
- package/docs/classes/TweetFilter.html +0 -204
- package/docs/classes/TweetListArgs.html +0 -118
- package/docs/classes/TweetService.html +0 -313
- package/docs/classes/User.html +0 -230
- package/docs/classes/UserListArgs.html +0 -118
- package/docs/classes/UserService.html +0 -315
- package/docs/enums/HttpMethods.html +0 -74
- package/docs/functions/Rettiwt.html +0 -99
- package/docs/index.html +0 -161
- package/docs/interfaces/IAuthCookie.html +0 -104
- package/docs/interfaces/ICursor.html +0 -77
- package/docs/interfaces/ICursoredData.html +0 -93
- package/docs/interfaces/IDataContext.html +0 -91
- package/docs/interfaces/IListArgs.html +0 -87
- package/docs/interfaces/ITweet.html +0 -176
- package/docs/interfaces/ITweetEntities.html +0 -104
- package/docs/interfaces/ITweetFilter.html +0 -158
- package/docs/interfaces/IUser.html +0 -194
- package/docs/modules.html +0 -109
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
export default interface Root {
|
|
2
|
+
errors: Error[];
|
|
2
3
|
data: Data;
|
|
3
4
|
}
|
|
5
|
+
export interface Error {
|
|
6
|
+
message: string;
|
|
7
|
+
locations: Location[];
|
|
8
|
+
path: any[];
|
|
9
|
+
extensions: Extensions;
|
|
10
|
+
code: number;
|
|
11
|
+
kind: string;
|
|
12
|
+
name: string;
|
|
13
|
+
source: string;
|
|
14
|
+
retry_after: number;
|
|
15
|
+
tracing: Tracing2;
|
|
16
|
+
}
|
|
17
|
+
export interface Location {
|
|
18
|
+
line: number;
|
|
19
|
+
column: number;
|
|
20
|
+
}
|
|
21
|
+
export interface Extensions {
|
|
22
|
+
name: string;
|
|
23
|
+
source: string;
|
|
24
|
+
retry_after: number;
|
|
25
|
+
code: number;
|
|
26
|
+
kind: string;
|
|
27
|
+
tracing: Tracing;
|
|
28
|
+
}
|
|
29
|
+
export interface Tracing {
|
|
30
|
+
trace_id: string;
|
|
31
|
+
}
|
|
32
|
+
export interface Tracing2 {
|
|
33
|
+
trace_id: string;
|
|
34
|
+
}
|
|
4
35
|
export interface Data {
|
|
5
36
|
user: User;
|
|
6
37
|
}
|
|
@@ -58,8 +89,11 @@ export interface Result2 {
|
|
|
58
89
|
is_translatable: boolean;
|
|
59
90
|
views: Views;
|
|
60
91
|
source: string;
|
|
92
|
+
legacy: Legacy2;
|
|
93
|
+
quick_promote_eligibility: QuickPromoteEligibility;
|
|
94
|
+
card?: Card2;
|
|
95
|
+
unified_card?: UnifiedCard2;
|
|
61
96
|
quoted_status_result?: QuotedStatusResult;
|
|
62
|
-
legacy: Legacy4;
|
|
63
97
|
}
|
|
64
98
|
export interface Core {
|
|
65
99
|
user_results: UserResults;
|
|
@@ -71,21 +105,15 @@ export interface Result3 {
|
|
|
71
105
|
__typename: string;
|
|
72
106
|
id: string;
|
|
73
107
|
rest_id: string;
|
|
74
|
-
affiliates_highlighted_label: AffiliatesHighlightedLabel;
|
|
75
108
|
has_graduated_access: boolean;
|
|
76
|
-
has_nft_avatar: boolean;
|
|
77
109
|
is_blue_verified: boolean;
|
|
110
|
+
profile_image_shape: string;
|
|
78
111
|
legacy: Legacy;
|
|
79
112
|
super_follow_eligible: boolean;
|
|
80
|
-
super_followed_by: boolean;
|
|
81
|
-
super_following: boolean;
|
|
82
113
|
verified_phone_status: boolean;
|
|
83
114
|
}
|
|
84
|
-
export interface AffiliatesHighlightedLabel {
|
|
85
|
-
}
|
|
86
115
|
export interface Legacy {
|
|
87
|
-
|
|
88
|
-
blocking: boolean;
|
|
116
|
+
following: boolean;
|
|
89
117
|
can_dm: boolean;
|
|
90
118
|
can_media_tag: boolean;
|
|
91
119
|
created_at: string;
|
|
@@ -95,28 +123,20 @@ export interface Legacy {
|
|
|
95
123
|
entities: Entities;
|
|
96
124
|
fast_followers_count: number;
|
|
97
125
|
favourites_count: number;
|
|
98
|
-
follow_request_sent: boolean;
|
|
99
|
-
followed_by: boolean;
|
|
100
126
|
followers_count: number;
|
|
101
|
-
following: boolean;
|
|
102
127
|
friends_count: number;
|
|
103
128
|
has_custom_timelines: boolean;
|
|
104
129
|
is_translator: boolean;
|
|
105
130
|
listed_count: number;
|
|
106
131
|
location: string;
|
|
107
132
|
media_count: number;
|
|
108
|
-
muting: boolean;
|
|
109
133
|
name: string;
|
|
110
134
|
normal_followers_count: number;
|
|
111
|
-
notifications: boolean;
|
|
112
135
|
pinned_tweet_ids_str: any[];
|
|
113
136
|
possibly_sensitive: boolean;
|
|
114
|
-
profile_banner_extensions: ProfileBannerExtensions;
|
|
115
137
|
profile_banner_url: string;
|
|
116
|
-
profile_image_extensions: ProfileImageExtensions;
|
|
117
138
|
profile_image_url_https: string;
|
|
118
139
|
profile_interstitial_type: string;
|
|
119
|
-
protected: boolean;
|
|
120
140
|
screen_name: string;
|
|
121
141
|
statuses_count: number;
|
|
122
142
|
translator_type: string;
|
|
@@ -130,48 +150,6 @@ export interface Entities {
|
|
|
130
150
|
export interface Description {
|
|
131
151
|
urls: any[];
|
|
132
152
|
}
|
|
133
|
-
export interface ProfileBannerExtensions {
|
|
134
|
-
mediaColor: MediaColor;
|
|
135
|
-
}
|
|
136
|
-
export interface MediaColor {
|
|
137
|
-
r: R;
|
|
138
|
-
}
|
|
139
|
-
export interface R {
|
|
140
|
-
ok: Ok;
|
|
141
|
-
}
|
|
142
|
-
export interface Ok {
|
|
143
|
-
palette: Palette[];
|
|
144
|
-
}
|
|
145
|
-
export interface Palette {
|
|
146
|
-
percentage: number;
|
|
147
|
-
rgb: Rgb;
|
|
148
|
-
}
|
|
149
|
-
export interface Rgb {
|
|
150
|
-
blue: number;
|
|
151
|
-
green: number;
|
|
152
|
-
red: number;
|
|
153
|
-
}
|
|
154
|
-
export interface ProfileImageExtensions {
|
|
155
|
-
mediaColor: MediaColor2;
|
|
156
|
-
}
|
|
157
|
-
export interface MediaColor2 {
|
|
158
|
-
r: R2;
|
|
159
|
-
}
|
|
160
|
-
export interface R2 {
|
|
161
|
-
ok: Ok2;
|
|
162
|
-
}
|
|
163
|
-
export interface Ok2 {
|
|
164
|
-
palette: Palette2[];
|
|
165
|
-
}
|
|
166
|
-
export interface Palette2 {
|
|
167
|
-
percentage: number;
|
|
168
|
-
rgb: Rgb2;
|
|
169
|
-
}
|
|
170
|
-
export interface Rgb2 {
|
|
171
|
-
blue: number;
|
|
172
|
-
green: number;
|
|
173
|
-
red: number;
|
|
174
|
-
}
|
|
175
153
|
export interface UnmentionData {
|
|
176
154
|
}
|
|
177
155
|
export interface EditControl {
|
|
@@ -188,7 +166,105 @@ export interface Views {
|
|
|
188
166
|
count: string;
|
|
189
167
|
state: string;
|
|
190
168
|
}
|
|
191
|
-
export interface
|
|
169
|
+
export interface Legacy2 {
|
|
170
|
+
bookmark_count: number;
|
|
171
|
+
bookmarked: boolean;
|
|
172
|
+
created_at: string;
|
|
173
|
+
conversation_id_str: string;
|
|
174
|
+
display_text_range: number[];
|
|
175
|
+
entities: Entities2;
|
|
176
|
+
favorite_count: number;
|
|
177
|
+
favorited: boolean;
|
|
178
|
+
full_text: string;
|
|
179
|
+
is_quote_status: boolean;
|
|
180
|
+
lang: string;
|
|
181
|
+
quote_count: number;
|
|
182
|
+
reply_count: number;
|
|
183
|
+
retweet_count: number;
|
|
184
|
+
retweeted: boolean;
|
|
185
|
+
user_id_str: string;
|
|
186
|
+
id_str: string;
|
|
187
|
+
retweeted_status_result?: RetweetedStatusResult;
|
|
188
|
+
possibly_sensitive?: boolean;
|
|
189
|
+
possibly_sensitive_editable?: boolean;
|
|
190
|
+
extended_entities?: ExtendedEntities2;
|
|
191
|
+
quoted_status_id_str?: string;
|
|
192
|
+
quoted_status_permalink?: QuotedStatusPermalink;
|
|
193
|
+
}
|
|
194
|
+
export interface Entities2 {
|
|
195
|
+
user_mentions: UserMention[];
|
|
196
|
+
urls: Url[];
|
|
197
|
+
hashtags: Hashtag[];
|
|
198
|
+
symbols: any[];
|
|
199
|
+
media?: Medum[];
|
|
200
|
+
}
|
|
201
|
+
export interface UserMention {
|
|
202
|
+
id_str: string;
|
|
203
|
+
name: string;
|
|
204
|
+
screen_name: string;
|
|
205
|
+
indices: number[];
|
|
206
|
+
}
|
|
207
|
+
export interface Url {
|
|
208
|
+
display_url: string;
|
|
209
|
+
expanded_url: string;
|
|
210
|
+
url: string;
|
|
211
|
+
indices: number[];
|
|
212
|
+
}
|
|
213
|
+
export interface Hashtag {
|
|
214
|
+
indices: number[];
|
|
215
|
+
text: string;
|
|
216
|
+
}
|
|
217
|
+
export interface Medum {
|
|
218
|
+
display_url: string;
|
|
219
|
+
expanded_url: string;
|
|
220
|
+
id_str: string;
|
|
221
|
+
indices: number[];
|
|
222
|
+
media_url_https: string;
|
|
223
|
+
type: string;
|
|
224
|
+
url: string;
|
|
225
|
+
sizes: Sizes;
|
|
226
|
+
original_info: OriginalInfo;
|
|
227
|
+
source_status_id_str?: string;
|
|
228
|
+
source_user_id_str?: string;
|
|
229
|
+
}
|
|
230
|
+
export interface Sizes {
|
|
231
|
+
large: Large;
|
|
232
|
+
medium: Medium;
|
|
233
|
+
small: Small;
|
|
234
|
+
thumb: Thumb;
|
|
235
|
+
}
|
|
236
|
+
export interface Large {
|
|
237
|
+
h: number;
|
|
238
|
+
w: number;
|
|
239
|
+
resize: string;
|
|
240
|
+
}
|
|
241
|
+
export interface Medium {
|
|
242
|
+
h: number;
|
|
243
|
+
w: number;
|
|
244
|
+
resize: string;
|
|
245
|
+
}
|
|
246
|
+
export interface Small {
|
|
247
|
+
h: number;
|
|
248
|
+
w: number;
|
|
249
|
+
resize: string;
|
|
250
|
+
}
|
|
251
|
+
export interface Thumb {
|
|
252
|
+
h: number;
|
|
253
|
+
w: number;
|
|
254
|
+
resize: string;
|
|
255
|
+
}
|
|
256
|
+
export interface OriginalInfo {
|
|
257
|
+
height: number;
|
|
258
|
+
width: number;
|
|
259
|
+
focus_rects?: FocusRect[];
|
|
260
|
+
}
|
|
261
|
+
export interface FocusRect {
|
|
262
|
+
x: number;
|
|
263
|
+
y: number;
|
|
264
|
+
w: number;
|
|
265
|
+
h: number;
|
|
266
|
+
}
|
|
267
|
+
export interface RetweetedStatusResult {
|
|
192
268
|
result: Result4;
|
|
193
269
|
}
|
|
194
270
|
export interface Result4 {
|
|
@@ -201,7 +277,10 @@ export interface Result4 {
|
|
|
201
277
|
is_translatable: boolean;
|
|
202
278
|
views: Views2;
|
|
203
279
|
source: string;
|
|
204
|
-
|
|
280
|
+
note_tweet?: NoteTweet;
|
|
281
|
+
legacy: Legacy4;
|
|
282
|
+
card?: Card;
|
|
283
|
+
unified_card?: UnifiedCard;
|
|
205
284
|
}
|
|
206
285
|
export interface Core2 {
|
|
207
286
|
user_results: UserResults2;
|
|
@@ -213,117 +292,97 @@ export interface Result5 {
|
|
|
213
292
|
__typename: string;
|
|
214
293
|
id: string;
|
|
215
294
|
rest_id: string;
|
|
216
|
-
affiliates_highlighted_label:
|
|
295
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel;
|
|
217
296
|
has_graduated_access: boolean;
|
|
218
|
-
has_nft_avatar: boolean;
|
|
219
297
|
is_blue_verified: boolean;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
super_following: boolean;
|
|
298
|
+
profile_image_shape: string;
|
|
299
|
+
legacy: Legacy3;
|
|
300
|
+
professional?: Professional;
|
|
224
301
|
verified_phone_status: boolean;
|
|
302
|
+
super_follow_eligible?: boolean;
|
|
225
303
|
}
|
|
226
|
-
export interface
|
|
304
|
+
export interface AffiliatesHighlightedLabel {
|
|
305
|
+
label?: Label;
|
|
227
306
|
}
|
|
228
|
-
export interface
|
|
229
|
-
|
|
230
|
-
|
|
307
|
+
export interface Label {
|
|
308
|
+
url: Url2;
|
|
309
|
+
badge: Badge;
|
|
310
|
+
description: string;
|
|
311
|
+
userLabelType: string;
|
|
312
|
+
userLabelDisplayType: string;
|
|
313
|
+
}
|
|
314
|
+
export interface Url2 {
|
|
315
|
+
url: string;
|
|
316
|
+
urlType: string;
|
|
317
|
+
}
|
|
318
|
+
export interface Badge {
|
|
319
|
+
url: string;
|
|
320
|
+
}
|
|
321
|
+
export interface Legacy3 {
|
|
231
322
|
can_dm: boolean;
|
|
232
323
|
can_media_tag: boolean;
|
|
233
324
|
created_at: string;
|
|
234
325
|
default_profile: boolean;
|
|
235
326
|
default_profile_image: boolean;
|
|
236
327
|
description: string;
|
|
237
|
-
entities:
|
|
328
|
+
entities: Entities3;
|
|
238
329
|
fast_followers_count: number;
|
|
239
330
|
favourites_count: number;
|
|
240
|
-
follow_request_sent: boolean;
|
|
241
|
-
followed_by: boolean;
|
|
242
331
|
followers_count: number;
|
|
243
|
-
following: boolean;
|
|
244
332
|
friends_count: number;
|
|
245
333
|
has_custom_timelines: boolean;
|
|
246
334
|
is_translator: boolean;
|
|
247
335
|
listed_count: number;
|
|
248
336
|
location: string;
|
|
249
337
|
media_count: number;
|
|
250
|
-
muting: boolean;
|
|
251
338
|
name: string;
|
|
252
339
|
normal_followers_count: number;
|
|
253
|
-
notifications: boolean;
|
|
254
340
|
pinned_tweet_ids_str: string[];
|
|
255
341
|
possibly_sensitive: boolean;
|
|
256
|
-
profile_banner_extensions: ProfileBannerExtensions2;
|
|
257
342
|
profile_banner_url: string;
|
|
258
|
-
profile_image_extensions: ProfileImageExtensions2;
|
|
259
343
|
profile_image_url_https: string;
|
|
260
344
|
profile_interstitial_type: string;
|
|
261
|
-
protected: boolean;
|
|
262
345
|
screen_name: string;
|
|
263
346
|
statuses_count: number;
|
|
264
347
|
translator_type: string;
|
|
265
|
-
url
|
|
348
|
+
url?: string;
|
|
266
349
|
verified: boolean;
|
|
267
350
|
want_retweets: boolean;
|
|
268
351
|
withheld_in_countries: any[];
|
|
352
|
+
following?: boolean;
|
|
353
|
+
verified_type?: string;
|
|
269
354
|
}
|
|
270
|
-
export interface
|
|
355
|
+
export interface Entities3 {
|
|
271
356
|
description: Description2;
|
|
272
|
-
url
|
|
357
|
+
url?: Url4;
|
|
273
358
|
}
|
|
274
359
|
export interface Description2 {
|
|
275
|
-
urls:
|
|
276
|
-
}
|
|
277
|
-
export interface Url {
|
|
278
|
-
urls: Url2[];
|
|
360
|
+
urls: Url3[];
|
|
279
361
|
}
|
|
280
|
-
export interface
|
|
362
|
+
export interface Url3 {
|
|
281
363
|
display_url: string;
|
|
282
364
|
expanded_url: string;
|
|
283
365
|
url: string;
|
|
284
366
|
indices: number[];
|
|
285
367
|
}
|
|
286
|
-
export interface
|
|
287
|
-
|
|
288
|
-
}
|
|
289
|
-
export interface MediaColor3 {
|
|
290
|
-
r: R3;
|
|
291
|
-
}
|
|
292
|
-
export interface R3 {
|
|
293
|
-
ok: Ok3;
|
|
294
|
-
}
|
|
295
|
-
export interface Ok3 {
|
|
296
|
-
palette: Palette3[];
|
|
297
|
-
}
|
|
298
|
-
export interface Palette3 {
|
|
299
|
-
percentage: number;
|
|
300
|
-
rgb: Rgb3;
|
|
301
|
-
}
|
|
302
|
-
export interface Rgb3 {
|
|
303
|
-
blue: number;
|
|
304
|
-
green: number;
|
|
305
|
-
red: number;
|
|
306
|
-
}
|
|
307
|
-
export interface ProfileImageExtensions2 {
|
|
308
|
-
mediaColor: MediaColor4;
|
|
309
|
-
}
|
|
310
|
-
export interface MediaColor4 {
|
|
311
|
-
r: R4;
|
|
312
|
-
}
|
|
313
|
-
export interface R4 {
|
|
314
|
-
ok: Ok4;
|
|
368
|
+
export interface Url4 {
|
|
369
|
+
urls: Url5[];
|
|
315
370
|
}
|
|
316
|
-
export interface
|
|
317
|
-
|
|
371
|
+
export interface Url5 {
|
|
372
|
+
display_url: string;
|
|
373
|
+
expanded_url: string;
|
|
374
|
+
url: string;
|
|
375
|
+
indices: number[];
|
|
318
376
|
}
|
|
319
|
-
export interface
|
|
320
|
-
|
|
321
|
-
|
|
377
|
+
export interface Professional {
|
|
378
|
+
rest_id: string;
|
|
379
|
+
professional_type: string;
|
|
380
|
+
category: Category[];
|
|
322
381
|
}
|
|
323
|
-
export interface
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
382
|
+
export interface Category {
|
|
383
|
+
id: number;
|
|
384
|
+
name: string;
|
|
385
|
+
icon_name: string;
|
|
327
386
|
}
|
|
328
387
|
export interface UnmentionData2 {
|
|
329
388
|
}
|
|
@@ -341,34 +400,83 @@ export interface Views2 {
|
|
|
341
400
|
count: string;
|
|
342
401
|
state: string;
|
|
343
402
|
}
|
|
344
|
-
export interface
|
|
403
|
+
export interface NoteTweet {
|
|
404
|
+
is_expandable: boolean;
|
|
405
|
+
note_tweet_results: NoteTweetResults;
|
|
406
|
+
}
|
|
407
|
+
export interface NoteTweetResults {
|
|
408
|
+
result: Result6;
|
|
409
|
+
}
|
|
410
|
+
export interface Result6 {
|
|
411
|
+
id: string;
|
|
412
|
+
text: string;
|
|
413
|
+
entity_set: EntitySet;
|
|
414
|
+
richtext: Richtext;
|
|
415
|
+
}
|
|
416
|
+
export interface EntitySet {
|
|
417
|
+
user_mentions: any[];
|
|
418
|
+
urls: any[];
|
|
419
|
+
hashtags: any[];
|
|
420
|
+
symbols: any[];
|
|
421
|
+
}
|
|
422
|
+
export interface Richtext {
|
|
423
|
+
richtext_tags: RichtextTag[];
|
|
424
|
+
}
|
|
425
|
+
export interface RichtextTag {
|
|
426
|
+
from_index: number;
|
|
427
|
+
to_index: number;
|
|
428
|
+
richtext_types: string[];
|
|
429
|
+
}
|
|
430
|
+
export interface Legacy4 {
|
|
431
|
+
bookmark_count: number;
|
|
432
|
+
bookmarked: boolean;
|
|
345
433
|
created_at: string;
|
|
346
434
|
conversation_id_str: string;
|
|
347
435
|
display_text_range: number[];
|
|
348
|
-
entities:
|
|
349
|
-
extended_entities: ExtendedEntities;
|
|
436
|
+
entities: Entities4;
|
|
350
437
|
favorite_count: number;
|
|
351
438
|
favorited: boolean;
|
|
352
439
|
full_text: string;
|
|
353
440
|
is_quote_status: boolean;
|
|
354
441
|
lang: string;
|
|
355
|
-
possibly_sensitive: boolean;
|
|
356
|
-
possibly_sensitive_editable: boolean;
|
|
357
442
|
quote_count: number;
|
|
358
443
|
reply_count: number;
|
|
359
444
|
retweet_count: number;
|
|
360
445
|
retweeted: boolean;
|
|
361
446
|
user_id_str: string;
|
|
362
447
|
id_str: string;
|
|
448
|
+
possibly_sensitive?: boolean;
|
|
449
|
+
possibly_sensitive_editable?: boolean;
|
|
450
|
+
extended_entities?: ExtendedEntities;
|
|
451
|
+
self_thread?: SelfThread;
|
|
452
|
+
in_reply_to_screen_name?: string;
|
|
453
|
+
in_reply_to_status_id_str?: string;
|
|
454
|
+
in_reply_to_user_id_str?: string;
|
|
363
455
|
}
|
|
364
|
-
export interface
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
hashtags: any[];
|
|
456
|
+
export interface Entities4 {
|
|
457
|
+
user_mentions: UserMention2[];
|
|
458
|
+
urls: Url6[];
|
|
459
|
+
hashtags: Hashtag2[];
|
|
369
460
|
symbols: any[];
|
|
461
|
+
media?: Medum2[];
|
|
370
462
|
}
|
|
371
|
-
export interface
|
|
463
|
+
export interface UserMention2 {
|
|
464
|
+
id_str: string;
|
|
465
|
+
name: string;
|
|
466
|
+
screen_name: string;
|
|
467
|
+
indices: number[];
|
|
468
|
+
}
|
|
469
|
+
export interface Url6 {
|
|
470
|
+
display_url: string;
|
|
471
|
+
expanded_url: string;
|
|
472
|
+
url: string;
|
|
473
|
+
indices: number[];
|
|
474
|
+
}
|
|
475
|
+
export interface Hashtag2 {
|
|
476
|
+
indices: number[];
|
|
477
|
+
text: string;
|
|
478
|
+
}
|
|
479
|
+
export interface Medum2 {
|
|
372
480
|
display_url: string;
|
|
373
481
|
expanded_url: string;
|
|
374
482
|
id_str: string;
|
|
@@ -376,57 +484,14 @@ export interface Medum {
|
|
|
376
484
|
media_url_https: string;
|
|
377
485
|
type: string;
|
|
378
486
|
url: string;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
original_info: OriginalInfo;
|
|
382
|
-
}
|
|
383
|
-
export interface Features {
|
|
384
|
-
large: Large;
|
|
385
|
-
medium: Medium;
|
|
386
|
-
small: Small;
|
|
387
|
-
orig: Orig;
|
|
388
|
-
}
|
|
389
|
-
export interface Large {
|
|
390
|
-
faces: Face[];
|
|
391
|
-
}
|
|
392
|
-
export interface Face {
|
|
393
|
-
x: number;
|
|
394
|
-
y: number;
|
|
395
|
-
h: number;
|
|
396
|
-
w: number;
|
|
397
|
-
}
|
|
398
|
-
export interface Medium {
|
|
399
|
-
faces: Face2[];
|
|
400
|
-
}
|
|
401
|
-
export interface Face2 {
|
|
402
|
-
x: number;
|
|
403
|
-
y: number;
|
|
404
|
-
h: number;
|
|
405
|
-
w: number;
|
|
406
|
-
}
|
|
407
|
-
export interface Small {
|
|
408
|
-
faces: Face3[];
|
|
409
|
-
}
|
|
410
|
-
export interface Face3 {
|
|
411
|
-
x: number;
|
|
412
|
-
y: number;
|
|
413
|
-
h: number;
|
|
414
|
-
w: number;
|
|
415
|
-
}
|
|
416
|
-
export interface Orig {
|
|
417
|
-
faces: Face4[];
|
|
418
|
-
}
|
|
419
|
-
export interface Face4 {
|
|
420
|
-
x: number;
|
|
421
|
-
y: number;
|
|
422
|
-
h: number;
|
|
423
|
-
w: number;
|
|
487
|
+
sizes: Sizes2;
|
|
488
|
+
original_info: OriginalInfo2;
|
|
424
489
|
}
|
|
425
|
-
export interface
|
|
490
|
+
export interface Sizes2 {
|
|
426
491
|
large: Large2;
|
|
427
492
|
medium: Medium2;
|
|
428
493
|
small: Small2;
|
|
429
|
-
thumb:
|
|
494
|
+
thumb: Thumb2;
|
|
430
495
|
}
|
|
431
496
|
export interface Large2 {
|
|
432
497
|
h: number;
|
|
@@ -443,32 +508,26 @@ export interface Small2 {
|
|
|
443
508
|
w: number;
|
|
444
509
|
resize: string;
|
|
445
510
|
}
|
|
446
|
-
export interface
|
|
511
|
+
export interface Thumb2 {
|
|
447
512
|
h: number;
|
|
448
513
|
w: number;
|
|
449
514
|
resize: string;
|
|
450
515
|
}
|
|
451
|
-
export interface
|
|
516
|
+
export interface OriginalInfo2 {
|
|
452
517
|
height: number;
|
|
453
518
|
width: number;
|
|
454
|
-
focus_rects
|
|
519
|
+
focus_rects?: FocusRect2[];
|
|
455
520
|
}
|
|
456
|
-
export interface
|
|
521
|
+
export interface FocusRect2 {
|
|
457
522
|
x: number;
|
|
458
523
|
y: number;
|
|
459
524
|
w: number;
|
|
460
525
|
h: number;
|
|
461
526
|
}
|
|
462
|
-
export interface UserMention {
|
|
463
|
-
id_str: string;
|
|
464
|
-
name: string;
|
|
465
|
-
screen_name: string;
|
|
466
|
-
indices: number[];
|
|
467
|
-
}
|
|
468
527
|
export interface ExtendedEntities {
|
|
469
|
-
media:
|
|
528
|
+
media: Medum3[];
|
|
470
529
|
}
|
|
471
|
-
export interface
|
|
530
|
+
export interface Medum3 {
|
|
472
531
|
display_url: string;
|
|
473
532
|
expanded_url: string;
|
|
474
533
|
id_str: string;
|
|
@@ -477,184 +536,152 @@ export interface Medum2 {
|
|
|
477
536
|
media_url_https: string;
|
|
478
537
|
type: string;
|
|
479
538
|
url: string;
|
|
480
|
-
ext_media_color: ExtMediaColor;
|
|
481
539
|
ext_media_availability: ExtMediaAvailability;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
palette: Palette5[];
|
|
488
|
-
}
|
|
489
|
-
export interface Palette5 {
|
|
490
|
-
percentage: number;
|
|
491
|
-
rgb: Rgb5;
|
|
492
|
-
}
|
|
493
|
-
export interface Rgb5 {
|
|
494
|
-
blue: number;
|
|
495
|
-
green: number;
|
|
496
|
-
red: number;
|
|
540
|
+
sizes: Sizes3;
|
|
541
|
+
original_info: OriginalInfo3;
|
|
542
|
+
additional_media_info?: AdditionalMediaInfo;
|
|
543
|
+
mediaStats?: MediaStats;
|
|
544
|
+
video_info?: VideoInfo;
|
|
497
545
|
}
|
|
498
546
|
export interface ExtMediaAvailability {
|
|
499
547
|
status: string;
|
|
500
548
|
}
|
|
501
|
-
export interface
|
|
549
|
+
export interface Sizes3 {
|
|
502
550
|
large: Large3;
|
|
503
551
|
medium: Medium3;
|
|
504
552
|
small: Small3;
|
|
505
|
-
|
|
553
|
+
thumb: Thumb3;
|
|
506
554
|
}
|
|
507
555
|
export interface Large3 {
|
|
508
|
-
faces: Face5[];
|
|
509
|
-
}
|
|
510
|
-
export interface Face5 {
|
|
511
|
-
x: number;
|
|
512
|
-
y: number;
|
|
513
|
-
h: number;
|
|
514
|
-
w: number;
|
|
515
|
-
}
|
|
516
|
-
export interface Medium3 {
|
|
517
|
-
faces: Face6[];
|
|
518
|
-
}
|
|
519
|
-
export interface Face6 {
|
|
520
|
-
x: number;
|
|
521
|
-
y: number;
|
|
522
|
-
h: number;
|
|
523
|
-
w: number;
|
|
524
|
-
}
|
|
525
|
-
export interface Small3 {
|
|
526
|
-
faces: Face7[];
|
|
527
|
-
}
|
|
528
|
-
export interface Face7 {
|
|
529
|
-
x: number;
|
|
530
|
-
y: number;
|
|
531
|
-
h: number;
|
|
532
|
-
w: number;
|
|
533
|
-
}
|
|
534
|
-
export interface Orig2 {
|
|
535
|
-
faces: Face8[];
|
|
536
|
-
}
|
|
537
|
-
export interface Face8 {
|
|
538
|
-
x: number;
|
|
539
|
-
y: number;
|
|
540
|
-
h: number;
|
|
541
|
-
w: number;
|
|
542
|
-
}
|
|
543
|
-
export interface Sizes2 {
|
|
544
|
-
large: Large4;
|
|
545
|
-
medium: Medium4;
|
|
546
|
-
small: Small4;
|
|
547
|
-
thumb: Thumb2;
|
|
548
|
-
}
|
|
549
|
-
export interface Large4 {
|
|
550
556
|
h: number;
|
|
551
557
|
w: number;
|
|
552
558
|
resize: string;
|
|
553
559
|
}
|
|
554
|
-
export interface
|
|
560
|
+
export interface Medium3 {
|
|
555
561
|
h: number;
|
|
556
562
|
w: number;
|
|
557
563
|
resize: string;
|
|
558
564
|
}
|
|
559
|
-
export interface
|
|
565
|
+
export interface Small3 {
|
|
560
566
|
h: number;
|
|
561
567
|
w: number;
|
|
562
568
|
resize: string;
|
|
563
569
|
}
|
|
564
|
-
export interface
|
|
570
|
+
export interface Thumb3 {
|
|
565
571
|
h: number;
|
|
566
572
|
w: number;
|
|
567
573
|
resize: string;
|
|
568
574
|
}
|
|
569
|
-
export interface
|
|
575
|
+
export interface OriginalInfo3 {
|
|
570
576
|
height: number;
|
|
571
577
|
width: number;
|
|
572
|
-
focus_rects
|
|
578
|
+
focus_rects?: FocusRect3[];
|
|
573
579
|
}
|
|
574
|
-
export interface
|
|
580
|
+
export interface FocusRect3 {
|
|
575
581
|
x: number;
|
|
576
582
|
y: number;
|
|
577
583
|
w: number;
|
|
578
584
|
h: number;
|
|
579
585
|
}
|
|
580
|
-
export interface
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
favorite_count: number;
|
|
586
|
-
favorited: boolean;
|
|
587
|
-
full_text: string;
|
|
588
|
-
is_quote_status: boolean;
|
|
589
|
-
lang: string;
|
|
590
|
-
quote_count: number;
|
|
591
|
-
quoted_status_id_str?: string;
|
|
592
|
-
quoted_status_permalink?: QuotedStatusPermalink;
|
|
593
|
-
reply_count: number;
|
|
594
|
-
retweet_count: number;
|
|
595
|
-
retweeted: boolean;
|
|
596
|
-
user_id_str: string;
|
|
597
|
-
id_str: string;
|
|
598
|
-
retweeted_status_result?: RetweetedStatusResult;
|
|
586
|
+
export interface AdditionalMediaInfo {
|
|
587
|
+
monetizable: boolean;
|
|
588
|
+
title?: string;
|
|
589
|
+
description?: string;
|
|
590
|
+
embeddable?: boolean;
|
|
599
591
|
}
|
|
600
|
-
export interface
|
|
601
|
-
|
|
602
|
-
urls: any[];
|
|
603
|
-
hashtags: any[];
|
|
604
|
-
symbols: any[];
|
|
592
|
+
export interface MediaStats {
|
|
593
|
+
viewCount: number;
|
|
605
594
|
}
|
|
606
|
-
export interface
|
|
595
|
+
export interface VideoInfo {
|
|
596
|
+
aspect_ratio: number[];
|
|
597
|
+
duration_millis: number;
|
|
598
|
+
variants: Variant[];
|
|
599
|
+
}
|
|
600
|
+
export interface Variant {
|
|
601
|
+
bitrate?: number;
|
|
602
|
+
content_type: string;
|
|
603
|
+
url: string;
|
|
604
|
+
}
|
|
605
|
+
export interface SelfThread {
|
|
607
606
|
id_str: string;
|
|
607
|
+
}
|
|
608
|
+
export interface Card {
|
|
609
|
+
rest_id: string;
|
|
610
|
+
legacy: Legacy5;
|
|
611
|
+
}
|
|
612
|
+
export interface Legacy5 {
|
|
613
|
+
binding_values: BindingValue[];
|
|
614
|
+
card_platform: CardPlatform;
|
|
608
615
|
name: string;
|
|
609
|
-
|
|
610
|
-
|
|
616
|
+
url: string;
|
|
617
|
+
user_refs_results: UserRefsResult[];
|
|
611
618
|
}
|
|
612
|
-
export interface
|
|
619
|
+
export interface BindingValue {
|
|
620
|
+
key: string;
|
|
621
|
+
value: Value;
|
|
622
|
+
}
|
|
623
|
+
export interface Value {
|
|
624
|
+
string_value?: string;
|
|
625
|
+
type: string;
|
|
626
|
+
scribe_key?: string;
|
|
627
|
+
user_value?: UserValue;
|
|
628
|
+
image_value?: ImageValue;
|
|
629
|
+
boolean_value?: boolean;
|
|
630
|
+
image_color_value?: ImageColorValue;
|
|
631
|
+
}
|
|
632
|
+
export interface UserValue {
|
|
633
|
+
id_str: string;
|
|
634
|
+
path: any[];
|
|
635
|
+
}
|
|
636
|
+
export interface ImageValue {
|
|
637
|
+
height: number;
|
|
638
|
+
width: number;
|
|
613
639
|
url: string;
|
|
614
|
-
expanded: string;
|
|
615
|
-
display: string;
|
|
616
640
|
}
|
|
617
|
-
export interface
|
|
618
|
-
|
|
641
|
+
export interface ImageColorValue {
|
|
642
|
+
palette: Palette[];
|
|
619
643
|
}
|
|
620
|
-
export interface
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
core: Core3;
|
|
624
|
-
unmention_data: UnmentionData3;
|
|
625
|
-
edit_control: EditControl3;
|
|
626
|
-
edit_perspective: EditPerspective3;
|
|
627
|
-
is_translatable: boolean;
|
|
628
|
-
views: Views3;
|
|
629
|
-
source: string;
|
|
630
|
-
legacy: Legacy6;
|
|
644
|
+
export interface Palette {
|
|
645
|
+
rgb: Rgb;
|
|
646
|
+
percentage: number;
|
|
631
647
|
}
|
|
632
|
-
export interface
|
|
633
|
-
|
|
648
|
+
export interface Rgb {
|
|
649
|
+
blue: number;
|
|
650
|
+
green: number;
|
|
651
|
+
red: number;
|
|
634
652
|
}
|
|
635
|
-
export interface
|
|
653
|
+
export interface CardPlatform {
|
|
654
|
+
platform: Platform;
|
|
655
|
+
}
|
|
656
|
+
export interface Platform {
|
|
657
|
+
audience: Audience;
|
|
658
|
+
device: Device;
|
|
659
|
+
}
|
|
660
|
+
export interface Audience {
|
|
661
|
+
name: string;
|
|
662
|
+
}
|
|
663
|
+
export interface Device {
|
|
664
|
+
name: string;
|
|
665
|
+
version: string;
|
|
666
|
+
}
|
|
667
|
+
export interface UserRefsResult {
|
|
636
668
|
result: Result7;
|
|
637
669
|
}
|
|
638
670
|
export interface Result7 {
|
|
639
671
|
__typename: string;
|
|
640
672
|
id: string;
|
|
641
673
|
rest_id: string;
|
|
642
|
-
affiliates_highlighted_label:
|
|
674
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel2;
|
|
643
675
|
has_graduated_access: boolean;
|
|
644
|
-
has_nft_avatar: boolean;
|
|
645
676
|
is_blue_verified: boolean;
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
super_followed_by: boolean;
|
|
649
|
-
super_following: boolean;
|
|
677
|
+
profile_image_shape: string;
|
|
678
|
+
legacy: Legacy6;
|
|
650
679
|
verified_phone_status: boolean;
|
|
651
|
-
professional?: Professional;
|
|
652
680
|
}
|
|
653
|
-
export interface
|
|
681
|
+
export interface AffiliatesHighlightedLabel2 {
|
|
654
682
|
}
|
|
655
|
-
export interface
|
|
656
|
-
|
|
657
|
-
blocking: boolean;
|
|
683
|
+
export interface Legacy6 {
|
|
684
|
+
following: boolean;
|
|
658
685
|
can_dm: boolean;
|
|
659
686
|
can_media_tag: boolean;
|
|
660
687
|
created_at: string;
|
|
@@ -664,28 +691,20 @@ export interface Legacy5 {
|
|
|
664
691
|
entities: Entities5;
|
|
665
692
|
fast_followers_count: number;
|
|
666
693
|
favourites_count: number;
|
|
667
|
-
follow_request_sent: boolean;
|
|
668
|
-
followed_by: boolean;
|
|
669
694
|
followers_count: number;
|
|
670
|
-
following: boolean;
|
|
671
695
|
friends_count: number;
|
|
672
696
|
has_custom_timelines: boolean;
|
|
673
697
|
is_translator: boolean;
|
|
674
698
|
listed_count: number;
|
|
675
699
|
location: string;
|
|
676
700
|
media_count: number;
|
|
677
|
-
muting: boolean;
|
|
678
701
|
name: string;
|
|
679
702
|
normal_followers_count: number;
|
|
680
|
-
notifications: boolean;
|
|
681
703
|
pinned_tweet_ids_str: string[];
|
|
682
704
|
possibly_sensitive: boolean;
|
|
683
|
-
profile_banner_extensions: ProfileBannerExtensions3;
|
|
684
705
|
profile_banner_url: string;
|
|
685
|
-
profile_image_extensions: ProfileImageExtensions3;
|
|
686
706
|
profile_image_url_https: string;
|
|
687
707
|
profile_interstitial_type: string;
|
|
688
|
-
protected: boolean;
|
|
689
708
|
screen_name: string;
|
|
690
709
|
statuses_count: number;
|
|
691
710
|
translator_type: string;
|
|
@@ -697,186 +716,31 @@ export interface Legacy5 {
|
|
|
697
716
|
}
|
|
698
717
|
export interface Entities5 {
|
|
699
718
|
description: Description3;
|
|
700
|
-
url:
|
|
719
|
+
url: Url8;
|
|
701
720
|
}
|
|
702
721
|
export interface Description3 {
|
|
703
|
-
urls:
|
|
704
|
-
}
|
|
705
|
-
export interface Url3 {
|
|
706
|
-
urls: Url4[];
|
|
722
|
+
urls: Url7[];
|
|
707
723
|
}
|
|
708
|
-
export interface
|
|
724
|
+
export interface Url7 {
|
|
709
725
|
display_url: string;
|
|
710
726
|
expanded_url: string;
|
|
711
727
|
url: string;
|
|
712
728
|
indices: number[];
|
|
713
729
|
}
|
|
714
|
-
export interface
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
export interface MediaColor5 {
|
|
718
|
-
r: R5;
|
|
730
|
+
export interface Url8 {
|
|
731
|
+
urls: Url9[];
|
|
719
732
|
}
|
|
720
|
-
export interface
|
|
721
|
-
|
|
733
|
+
export interface Url9 {
|
|
734
|
+
display_url: string;
|
|
735
|
+
expanded_url: string;
|
|
736
|
+
url: string;
|
|
737
|
+
indices: number[];
|
|
722
738
|
}
|
|
723
|
-
export interface
|
|
724
|
-
|
|
739
|
+
export interface UnifiedCard {
|
|
740
|
+
card_fetch_state: string;
|
|
725
741
|
}
|
|
726
|
-
export interface
|
|
727
|
-
|
|
728
|
-
rgb: Rgb6;
|
|
729
|
-
}
|
|
730
|
-
export interface Rgb6 {
|
|
731
|
-
blue: number;
|
|
732
|
-
green: number;
|
|
733
|
-
red: number;
|
|
734
|
-
}
|
|
735
|
-
export interface ProfileImageExtensions3 {
|
|
736
|
-
mediaColor: MediaColor6;
|
|
737
|
-
}
|
|
738
|
-
export interface MediaColor6 {
|
|
739
|
-
r: R6;
|
|
740
|
-
}
|
|
741
|
-
export interface R6 {
|
|
742
|
-
ok: Ok6;
|
|
743
|
-
}
|
|
744
|
-
export interface Ok6 {
|
|
745
|
-
palette: Palette7[];
|
|
746
|
-
}
|
|
747
|
-
export interface Palette7 {
|
|
748
|
-
percentage: number;
|
|
749
|
-
rgb: Rgb7;
|
|
750
|
-
}
|
|
751
|
-
export interface Rgb7 {
|
|
752
|
-
blue: number;
|
|
753
|
-
green: number;
|
|
754
|
-
red: number;
|
|
755
|
-
}
|
|
756
|
-
export interface Professional {
|
|
757
|
-
rest_id: string;
|
|
758
|
-
professional_type: string;
|
|
759
|
-
category: any[];
|
|
760
|
-
}
|
|
761
|
-
export interface UnmentionData3 {
|
|
762
|
-
}
|
|
763
|
-
export interface EditControl3 {
|
|
764
|
-
edit_tweet_ids: string[];
|
|
765
|
-
editable_until_msecs: string;
|
|
766
|
-
is_edit_eligible: boolean;
|
|
767
|
-
edits_remaining: string;
|
|
768
|
-
}
|
|
769
|
-
export interface EditPerspective3 {
|
|
770
|
-
favorited: boolean;
|
|
771
|
-
retweeted: boolean;
|
|
772
|
-
}
|
|
773
|
-
export interface Views3 {
|
|
774
|
-
count: string;
|
|
775
|
-
state: string;
|
|
776
|
-
}
|
|
777
|
-
export interface Legacy6 {
|
|
778
|
-
created_at: string;
|
|
779
|
-
conversation_id_str: string;
|
|
780
|
-
display_text_range: number[];
|
|
781
|
-
entities: Entities6;
|
|
782
|
-
extended_entities: ExtendedEntities2;
|
|
783
|
-
favorite_count: number;
|
|
784
|
-
favorited: boolean;
|
|
785
|
-
full_text: string;
|
|
786
|
-
is_quote_status: boolean;
|
|
787
|
-
lang: string;
|
|
788
|
-
possibly_sensitive: boolean;
|
|
789
|
-
possibly_sensitive_editable: boolean;
|
|
790
|
-
quote_count: number;
|
|
791
|
-
reply_count: number;
|
|
792
|
-
retweet_count: number;
|
|
793
|
-
retweeted: boolean;
|
|
794
|
-
user_id_str: string;
|
|
795
|
-
id_str: string;
|
|
796
|
-
self_thread?: SelfThread;
|
|
797
|
-
}
|
|
798
|
-
export interface Entities6 {
|
|
799
|
-
media: Medum3[];
|
|
800
|
-
user_mentions: any[];
|
|
801
|
-
urls: Url5[];
|
|
802
|
-
hashtags: any[];
|
|
803
|
-
symbols: any[];
|
|
804
|
-
}
|
|
805
|
-
export interface Medum3 {
|
|
806
|
-
display_url: string;
|
|
807
|
-
expanded_url: string;
|
|
808
|
-
id_str: string;
|
|
809
|
-
indices: number[];
|
|
810
|
-
media_url_https: string;
|
|
811
|
-
type: string;
|
|
812
|
-
url: string;
|
|
813
|
-
features: Features3;
|
|
814
|
-
sizes: Sizes3;
|
|
815
|
-
original_info: OriginalInfo3;
|
|
816
|
-
}
|
|
817
|
-
export interface Features3 {
|
|
818
|
-
large?: Large5;
|
|
819
|
-
medium?: Medium5;
|
|
820
|
-
small?: Small5;
|
|
821
|
-
orig?: Orig3;
|
|
822
|
-
}
|
|
823
|
-
export interface Large5 {
|
|
824
|
-
faces: any[];
|
|
825
|
-
}
|
|
826
|
-
export interface Medium5 {
|
|
827
|
-
faces: any[];
|
|
828
|
-
}
|
|
829
|
-
export interface Small5 {
|
|
830
|
-
faces: any[];
|
|
831
|
-
}
|
|
832
|
-
export interface Orig3 {
|
|
833
|
-
faces: any[];
|
|
834
|
-
}
|
|
835
|
-
export interface Sizes3 {
|
|
836
|
-
large: Large6;
|
|
837
|
-
medium: Medium6;
|
|
838
|
-
small: Small6;
|
|
839
|
-
thumb: Thumb3;
|
|
840
|
-
}
|
|
841
|
-
export interface Large6 {
|
|
842
|
-
h: number;
|
|
843
|
-
w: number;
|
|
844
|
-
resize: string;
|
|
845
|
-
}
|
|
846
|
-
export interface Medium6 {
|
|
847
|
-
h: number;
|
|
848
|
-
w: number;
|
|
849
|
-
resize: string;
|
|
850
|
-
}
|
|
851
|
-
export interface Small6 {
|
|
852
|
-
h: number;
|
|
853
|
-
w: number;
|
|
854
|
-
resize: string;
|
|
855
|
-
}
|
|
856
|
-
export interface Thumb3 {
|
|
857
|
-
h: number;
|
|
858
|
-
w: number;
|
|
859
|
-
resize: string;
|
|
860
|
-
}
|
|
861
|
-
export interface OriginalInfo3 {
|
|
862
|
-
height: number;
|
|
863
|
-
width: number;
|
|
864
|
-
focus_rects?: FocusRect3[];
|
|
865
|
-
}
|
|
866
|
-
export interface FocusRect3 {
|
|
867
|
-
x: number;
|
|
868
|
-
y: number;
|
|
869
|
-
w: number;
|
|
870
|
-
h: number;
|
|
871
|
-
}
|
|
872
|
-
export interface Url5 {
|
|
873
|
-
display_url: string;
|
|
874
|
-
expanded_url: string;
|
|
875
|
-
url: string;
|
|
876
|
-
indices: number[];
|
|
877
|
-
}
|
|
878
|
-
export interface ExtendedEntities2 {
|
|
879
|
-
media: Medum4[];
|
|
742
|
+
export interface ExtendedEntities2 {
|
|
743
|
+
media: Medum4[];
|
|
880
744
|
}
|
|
881
745
|
export interface Medum4 {
|
|
882
746
|
display_url: string;
|
|
@@ -887,571 +751,50 @@ export interface Medum4 {
|
|
|
887
751
|
media_url_https: string;
|
|
888
752
|
type: string;
|
|
889
753
|
url: string;
|
|
890
|
-
additional_media_info?: AdditionalMediaInfo;
|
|
891
|
-
ext_media_color: ExtMediaColor2;
|
|
892
|
-
mediaStats?: MediaStats;
|
|
893
754
|
ext_media_availability: ExtMediaAvailability2;
|
|
894
|
-
features: Features4;
|
|
895
755
|
sizes: Sizes4;
|
|
896
756
|
original_info: OriginalInfo4;
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
export interface ExtMediaColor2 {
|
|
903
|
-
palette: Palette8[];
|
|
904
|
-
}
|
|
905
|
-
export interface Palette8 {
|
|
906
|
-
percentage: number;
|
|
907
|
-
rgb: Rgb8;
|
|
908
|
-
}
|
|
909
|
-
export interface Rgb8 {
|
|
910
|
-
blue: number;
|
|
911
|
-
green: number;
|
|
912
|
-
red: number;
|
|
913
|
-
}
|
|
914
|
-
export interface MediaStats {
|
|
915
|
-
viewCount: number;
|
|
757
|
+
source_status_id_str?: string;
|
|
758
|
+
source_user_id_str?: string;
|
|
759
|
+
additional_media_info?: AdditionalMediaInfo2;
|
|
760
|
+
mediaStats?: MediaStats2;
|
|
761
|
+
video_info?: VideoInfo2;
|
|
916
762
|
}
|
|
917
763
|
export interface ExtMediaAvailability2 {
|
|
918
764
|
status: string;
|
|
919
765
|
}
|
|
920
|
-
export interface Features4 {
|
|
921
|
-
large?: Large7;
|
|
922
|
-
medium?: Medium7;
|
|
923
|
-
small?: Small7;
|
|
924
|
-
orig?: Orig4;
|
|
925
|
-
}
|
|
926
|
-
export interface Large7 {
|
|
927
|
-
faces: any[];
|
|
928
|
-
}
|
|
929
|
-
export interface Medium7 {
|
|
930
|
-
faces: any[];
|
|
931
|
-
}
|
|
932
|
-
export interface Small7 {
|
|
933
|
-
faces: any[];
|
|
934
|
-
}
|
|
935
|
-
export interface Orig4 {
|
|
936
|
-
faces: any[];
|
|
937
|
-
}
|
|
938
766
|
export interface Sizes4 {
|
|
939
|
-
large:
|
|
940
|
-
medium:
|
|
941
|
-
small:
|
|
942
|
-
thumb: Thumb4;
|
|
943
|
-
}
|
|
944
|
-
export interface Large8 {
|
|
945
|
-
h: number;
|
|
946
|
-
w: number;
|
|
947
|
-
resize: string;
|
|
948
|
-
}
|
|
949
|
-
export interface Medium8 {
|
|
950
|
-
h: number;
|
|
951
|
-
w: number;
|
|
952
|
-
resize: string;
|
|
953
|
-
}
|
|
954
|
-
export interface Small8 {
|
|
955
|
-
h: number;
|
|
956
|
-
w: number;
|
|
957
|
-
resize: string;
|
|
958
|
-
}
|
|
959
|
-
export interface Thumb4 {
|
|
960
|
-
h: number;
|
|
961
|
-
w: number;
|
|
962
|
-
resize: string;
|
|
963
|
-
}
|
|
964
|
-
export interface OriginalInfo4 {
|
|
965
|
-
height: number;
|
|
966
|
-
width: number;
|
|
967
|
-
focus_rects?: FocusRect4[];
|
|
968
|
-
}
|
|
969
|
-
export interface FocusRect4 {
|
|
970
|
-
x: number;
|
|
971
|
-
y: number;
|
|
972
|
-
w: number;
|
|
973
|
-
h: number;
|
|
974
|
-
}
|
|
975
|
-
export interface VideoInfo {
|
|
976
|
-
aspect_ratio: number[];
|
|
977
|
-
duration_millis: number;
|
|
978
|
-
variants: Variant[];
|
|
979
|
-
}
|
|
980
|
-
export interface Variant {
|
|
981
|
-
bitrate?: number;
|
|
982
|
-
content_type: string;
|
|
983
|
-
url: string;
|
|
984
|
-
}
|
|
985
|
-
export interface SelfThread {
|
|
986
|
-
id_str: string;
|
|
987
|
-
}
|
|
988
|
-
export interface Item {
|
|
989
|
-
entryId: string;
|
|
990
|
-
dispensable: boolean;
|
|
991
|
-
item: Item2;
|
|
992
|
-
}
|
|
993
|
-
export interface Item2 {
|
|
994
|
-
itemContent: ItemContent2;
|
|
995
|
-
clientEventInfo: ClientEventInfo;
|
|
996
|
-
}
|
|
997
|
-
export interface ItemContent2 {
|
|
998
|
-
itemType: string;
|
|
999
|
-
__typename: string;
|
|
1000
|
-
tweet_results: TweetResults2;
|
|
1001
|
-
tweetDisplayType: string;
|
|
1002
|
-
}
|
|
1003
|
-
export interface TweetResults2 {
|
|
1004
|
-
result: Result8;
|
|
1005
|
-
}
|
|
1006
|
-
export interface Result8 {
|
|
1007
|
-
__typename: string;
|
|
1008
|
-
rest_id: string;
|
|
1009
|
-
core: Core4;
|
|
1010
|
-
unmention_data: UnmentionData4;
|
|
1011
|
-
edit_control: EditControl4;
|
|
1012
|
-
edit_perspective: EditPerspective4;
|
|
1013
|
-
is_translatable: boolean;
|
|
1014
|
-
views: Views4;
|
|
1015
|
-
source: string;
|
|
1016
|
-
legacy: Legacy8;
|
|
1017
|
-
card?: Card;
|
|
1018
|
-
unified_card?: UnifiedCard;
|
|
1019
|
-
quoted_status_result?: QuotedStatusResult2;
|
|
1020
|
-
previous_counts?: PreviousCounts;
|
|
1021
|
-
}
|
|
1022
|
-
export interface Core4 {
|
|
1023
|
-
user_results: UserResults4;
|
|
1024
|
-
}
|
|
1025
|
-
export interface UserResults4 {
|
|
1026
|
-
result: Result9;
|
|
1027
|
-
}
|
|
1028
|
-
export interface Result9 {
|
|
1029
|
-
__typename: string;
|
|
1030
|
-
id: string;
|
|
1031
|
-
rest_id: string;
|
|
1032
|
-
affiliates_highlighted_label: AffiliatesHighlightedLabel4;
|
|
1033
|
-
has_graduated_access: boolean;
|
|
1034
|
-
has_nft_avatar: boolean;
|
|
1035
|
-
is_blue_verified: boolean;
|
|
1036
|
-
legacy: Legacy7;
|
|
1037
|
-
professional?: Professional2;
|
|
1038
|
-
super_follow_eligible: boolean;
|
|
1039
|
-
super_followed_by: boolean;
|
|
1040
|
-
super_following: boolean;
|
|
1041
|
-
verified_phone_status: boolean;
|
|
1042
|
-
}
|
|
1043
|
-
export interface AffiliatesHighlightedLabel4 {
|
|
1044
|
-
}
|
|
1045
|
-
export interface Legacy7 {
|
|
1046
|
-
blocked_by: boolean;
|
|
1047
|
-
blocking: boolean;
|
|
1048
|
-
can_dm: boolean;
|
|
1049
|
-
can_media_tag: boolean;
|
|
1050
|
-
created_at: string;
|
|
1051
|
-
default_profile: boolean;
|
|
1052
|
-
default_profile_image: boolean;
|
|
1053
|
-
description: string;
|
|
1054
|
-
entities: Entities7;
|
|
1055
|
-
fast_followers_count: number;
|
|
1056
|
-
favourites_count: number;
|
|
1057
|
-
follow_request_sent: boolean;
|
|
1058
|
-
followed_by: boolean;
|
|
1059
|
-
followers_count: number;
|
|
1060
|
-
following: boolean;
|
|
1061
|
-
friends_count: number;
|
|
1062
|
-
has_custom_timelines: boolean;
|
|
1063
|
-
is_translator: boolean;
|
|
1064
|
-
listed_count: number;
|
|
1065
|
-
location: string;
|
|
1066
|
-
media_count: number;
|
|
1067
|
-
muting: boolean;
|
|
1068
|
-
name: string;
|
|
1069
|
-
normal_followers_count: number;
|
|
1070
|
-
notifications: boolean;
|
|
1071
|
-
pinned_tweet_ids_str: string[];
|
|
1072
|
-
possibly_sensitive: boolean;
|
|
1073
|
-
profile_banner_extensions?: ProfileBannerExtensions4;
|
|
1074
|
-
profile_banner_url?: string;
|
|
1075
|
-
profile_image_extensions: ProfileImageExtensions4;
|
|
1076
|
-
profile_image_url_https: string;
|
|
1077
|
-
profile_interstitial_type: string;
|
|
1078
|
-
protected: boolean;
|
|
1079
|
-
screen_name: string;
|
|
1080
|
-
statuses_count: number;
|
|
1081
|
-
translator_type: string;
|
|
1082
|
-
url?: string;
|
|
1083
|
-
verified: boolean;
|
|
1084
|
-
want_retweets: boolean;
|
|
1085
|
-
withheld_in_countries: any[];
|
|
1086
|
-
}
|
|
1087
|
-
export interface Entities7 {
|
|
1088
|
-
description: Description4;
|
|
1089
|
-
url?: Url7;
|
|
1090
|
-
}
|
|
1091
|
-
export interface Description4 {
|
|
1092
|
-
urls: Url6[];
|
|
1093
|
-
}
|
|
1094
|
-
export interface Url6 {
|
|
1095
|
-
display_url: string;
|
|
1096
|
-
expanded_url: string;
|
|
1097
|
-
url: string;
|
|
1098
|
-
indices: number[];
|
|
1099
|
-
}
|
|
1100
|
-
export interface Url7 {
|
|
1101
|
-
urls: Url8[];
|
|
1102
|
-
}
|
|
1103
|
-
export interface Url8 {
|
|
1104
|
-
display_url: string;
|
|
1105
|
-
expanded_url: string;
|
|
1106
|
-
url: string;
|
|
1107
|
-
indices: number[];
|
|
1108
|
-
}
|
|
1109
|
-
export interface ProfileBannerExtensions4 {
|
|
1110
|
-
mediaColor: MediaColor7;
|
|
1111
|
-
}
|
|
1112
|
-
export interface MediaColor7 {
|
|
1113
|
-
r: R7;
|
|
1114
|
-
}
|
|
1115
|
-
export interface R7 {
|
|
1116
|
-
ok: Ok7;
|
|
1117
|
-
}
|
|
1118
|
-
export interface Ok7 {
|
|
1119
|
-
palette: Palette9[];
|
|
1120
|
-
}
|
|
1121
|
-
export interface Palette9 {
|
|
1122
|
-
percentage: number;
|
|
1123
|
-
rgb: Rgb9;
|
|
1124
|
-
}
|
|
1125
|
-
export interface Rgb9 {
|
|
1126
|
-
blue: number;
|
|
1127
|
-
green: number;
|
|
1128
|
-
red: number;
|
|
1129
|
-
}
|
|
1130
|
-
export interface ProfileImageExtensions4 {
|
|
1131
|
-
mediaColor: MediaColor8;
|
|
1132
|
-
}
|
|
1133
|
-
export interface MediaColor8 {
|
|
1134
|
-
r: R8;
|
|
1135
|
-
}
|
|
1136
|
-
export interface R8 {
|
|
1137
|
-
ok: Ok8;
|
|
1138
|
-
}
|
|
1139
|
-
export interface Ok8 {
|
|
1140
|
-
palette: Palette10[];
|
|
1141
|
-
}
|
|
1142
|
-
export interface Palette10 {
|
|
1143
|
-
percentage: number;
|
|
1144
|
-
rgb: Rgb10;
|
|
1145
|
-
}
|
|
1146
|
-
export interface Rgb10 {
|
|
1147
|
-
blue: number;
|
|
1148
|
-
green: number;
|
|
1149
|
-
red: number;
|
|
1150
|
-
}
|
|
1151
|
-
export interface Professional2 {
|
|
1152
|
-
rest_id: string;
|
|
1153
|
-
professional_type: string;
|
|
1154
|
-
category: Category[];
|
|
1155
|
-
}
|
|
1156
|
-
export interface Category {
|
|
1157
|
-
id: number;
|
|
1158
|
-
name: string;
|
|
1159
|
-
icon_name: string;
|
|
1160
|
-
}
|
|
1161
|
-
export interface UnmentionData4 {
|
|
1162
|
-
}
|
|
1163
|
-
export interface EditControl4 {
|
|
1164
|
-
edit_tweet_ids?: string[];
|
|
1165
|
-
editable_until_msecs?: string;
|
|
1166
|
-
is_edit_eligible?: boolean;
|
|
1167
|
-
edits_remaining?: string;
|
|
1168
|
-
initial_tweet_id?: string;
|
|
1169
|
-
edit_control_initial?: EditControlInitial;
|
|
1170
|
-
}
|
|
1171
|
-
export interface EditControlInitial {
|
|
1172
|
-
edit_tweet_ids: string[];
|
|
1173
|
-
editable_until_msecs: string;
|
|
1174
|
-
is_edit_eligible: boolean;
|
|
1175
|
-
edits_remaining: string;
|
|
1176
|
-
}
|
|
1177
|
-
export interface EditPerspective4 {
|
|
1178
|
-
favorited: boolean;
|
|
1179
|
-
retweeted: boolean;
|
|
1180
|
-
}
|
|
1181
|
-
export interface Views4 {
|
|
1182
|
-
count: string;
|
|
1183
|
-
state: string;
|
|
1184
|
-
}
|
|
1185
|
-
export interface Legacy8 {
|
|
1186
|
-
created_at: string;
|
|
1187
|
-
conversation_id_str: string;
|
|
1188
|
-
display_text_range: number[];
|
|
1189
|
-
entities: Entities8;
|
|
1190
|
-
favorite_count: number;
|
|
1191
|
-
favorited: boolean;
|
|
1192
|
-
full_text: string;
|
|
1193
|
-
is_quote_status: boolean;
|
|
1194
|
-
lang: string;
|
|
1195
|
-
quote_count: number;
|
|
1196
|
-
reply_count: number;
|
|
1197
|
-
retweet_count: number;
|
|
1198
|
-
retweeted: boolean;
|
|
1199
|
-
user_id_str: string;
|
|
1200
|
-
id_str: string;
|
|
1201
|
-
in_reply_to_screen_name?: string;
|
|
1202
|
-
in_reply_to_status_id_str?: string;
|
|
1203
|
-
in_reply_to_user_id_str?: string;
|
|
1204
|
-
possibly_sensitive?: boolean;
|
|
1205
|
-
possibly_sensitive_editable?: boolean;
|
|
1206
|
-
extended_entities?: ExtendedEntities3;
|
|
1207
|
-
self_thread?: SelfThread2;
|
|
1208
|
-
quoted_status_id_str?: string;
|
|
1209
|
-
quoted_status_permalink?: QuotedStatusPermalink2;
|
|
1210
|
-
}
|
|
1211
|
-
export interface Entities8 {
|
|
1212
|
-
user_mentions: UserMention3[];
|
|
1213
|
-
urls: Url9[];
|
|
1214
|
-
hashtags: any[];
|
|
1215
|
-
symbols: any[];
|
|
1216
|
-
media?: Medum5[];
|
|
1217
|
-
}
|
|
1218
|
-
export interface UserMention3 {
|
|
1219
|
-
id_str: string;
|
|
1220
|
-
name: string;
|
|
1221
|
-
screen_name: string;
|
|
1222
|
-
indices: number[];
|
|
1223
|
-
}
|
|
1224
|
-
export interface Url9 {
|
|
1225
|
-
display_url: string;
|
|
1226
|
-
expanded_url: string;
|
|
1227
|
-
url: string;
|
|
1228
|
-
indices: number[];
|
|
1229
|
-
}
|
|
1230
|
-
export interface Medum5 {
|
|
1231
|
-
display_url: string;
|
|
1232
|
-
expanded_url: string;
|
|
1233
|
-
id_str: string;
|
|
1234
|
-
indices: number[];
|
|
1235
|
-
media_url_https: string;
|
|
1236
|
-
type: string;
|
|
1237
|
-
url: string;
|
|
1238
|
-
features: Features5;
|
|
1239
|
-
sizes: Sizes5;
|
|
1240
|
-
original_info: OriginalInfo5;
|
|
1241
|
-
source_status_id_str?: string;
|
|
1242
|
-
source_user_id_str?: string;
|
|
1243
|
-
}
|
|
1244
|
-
export interface Features5 {
|
|
1245
|
-
all?: All;
|
|
1246
|
-
large?: Large9;
|
|
1247
|
-
medium?: Medium9;
|
|
1248
|
-
small?: Small9;
|
|
1249
|
-
orig?: Orig5;
|
|
1250
|
-
}
|
|
1251
|
-
export interface All {
|
|
1252
|
-
tags: Tag[];
|
|
1253
|
-
}
|
|
1254
|
-
export interface Tag {
|
|
1255
|
-
user_id: string;
|
|
1256
|
-
name: string;
|
|
1257
|
-
screen_name: string;
|
|
1258
|
-
type: string;
|
|
1259
|
-
}
|
|
1260
|
-
export interface Large9 {
|
|
1261
|
-
faces: Face9[];
|
|
1262
|
-
}
|
|
1263
|
-
export interface Face9 {
|
|
1264
|
-
x: number;
|
|
1265
|
-
y: number;
|
|
1266
|
-
h: number;
|
|
1267
|
-
w: number;
|
|
1268
|
-
}
|
|
1269
|
-
export interface Medium9 {
|
|
1270
|
-
faces: Face10[];
|
|
1271
|
-
}
|
|
1272
|
-
export interface Face10 {
|
|
1273
|
-
x: number;
|
|
1274
|
-
y: number;
|
|
1275
|
-
h: number;
|
|
1276
|
-
w: number;
|
|
1277
|
-
}
|
|
1278
|
-
export interface Small9 {
|
|
1279
|
-
faces: Face11[];
|
|
1280
|
-
}
|
|
1281
|
-
export interface Face11 {
|
|
1282
|
-
x: number;
|
|
1283
|
-
y: number;
|
|
1284
|
-
h: number;
|
|
1285
|
-
w: number;
|
|
1286
|
-
}
|
|
1287
|
-
export interface Orig5 {
|
|
1288
|
-
faces: Face12[];
|
|
1289
|
-
}
|
|
1290
|
-
export interface Face12 {
|
|
1291
|
-
x: number;
|
|
1292
|
-
y: number;
|
|
1293
|
-
h: number;
|
|
1294
|
-
w: number;
|
|
1295
|
-
}
|
|
1296
|
-
export interface Sizes5 {
|
|
1297
|
-
large: Large10;
|
|
1298
|
-
medium: Medium10;
|
|
1299
|
-
small: Small10;
|
|
1300
|
-
thumb: Thumb5;
|
|
1301
|
-
}
|
|
1302
|
-
export interface Large10 {
|
|
1303
|
-
h: number;
|
|
1304
|
-
w: number;
|
|
1305
|
-
resize: string;
|
|
1306
|
-
}
|
|
1307
|
-
export interface Medium10 {
|
|
1308
|
-
h: number;
|
|
1309
|
-
w: number;
|
|
1310
|
-
resize: string;
|
|
1311
|
-
}
|
|
1312
|
-
export interface Small10 {
|
|
1313
|
-
h: number;
|
|
1314
|
-
w: number;
|
|
1315
|
-
resize: string;
|
|
1316
|
-
}
|
|
1317
|
-
export interface Thumb5 {
|
|
1318
|
-
h: number;
|
|
1319
|
-
w: number;
|
|
1320
|
-
resize: string;
|
|
1321
|
-
}
|
|
1322
|
-
export interface OriginalInfo5 {
|
|
1323
|
-
height: number;
|
|
1324
|
-
width: number;
|
|
1325
|
-
focus_rects?: FocusRect5[];
|
|
1326
|
-
}
|
|
1327
|
-
export interface FocusRect5 {
|
|
1328
|
-
x: number;
|
|
1329
|
-
y: number;
|
|
1330
|
-
w: number;
|
|
1331
|
-
h: number;
|
|
1332
|
-
}
|
|
1333
|
-
export interface ExtendedEntities3 {
|
|
1334
|
-
media: Medum6[];
|
|
1335
|
-
}
|
|
1336
|
-
export interface Medum6 {
|
|
1337
|
-
display_url: string;
|
|
1338
|
-
expanded_url: string;
|
|
1339
|
-
id_str: string;
|
|
1340
|
-
indices: number[];
|
|
1341
|
-
media_key: string;
|
|
1342
|
-
media_url_https: string;
|
|
1343
|
-
type: string;
|
|
1344
|
-
url: string;
|
|
1345
|
-
ext_media_color: ExtMediaColor3;
|
|
1346
|
-
ext_media_availability: ExtMediaAvailability3;
|
|
1347
|
-
features: Features6;
|
|
1348
|
-
sizes: Sizes6;
|
|
1349
|
-
original_info: OriginalInfo6;
|
|
1350
|
-
additional_media_info?: AdditionalMediaInfo2;
|
|
1351
|
-
mediaStats?: MediaStats2;
|
|
1352
|
-
video_info?: VideoInfo2;
|
|
1353
|
-
source_status_id_str?: string;
|
|
1354
|
-
source_user_id_str?: string;
|
|
1355
|
-
}
|
|
1356
|
-
export interface ExtMediaColor3 {
|
|
1357
|
-
palette: Palette11[];
|
|
1358
|
-
}
|
|
1359
|
-
export interface Palette11 {
|
|
1360
|
-
percentage: number;
|
|
1361
|
-
rgb: Rgb11;
|
|
1362
|
-
}
|
|
1363
|
-
export interface Rgb11 {
|
|
1364
|
-
blue: number;
|
|
1365
|
-
green: number;
|
|
1366
|
-
red: number;
|
|
1367
|
-
}
|
|
1368
|
-
export interface ExtMediaAvailability3 {
|
|
1369
|
-
status: string;
|
|
1370
|
-
}
|
|
1371
|
-
export interface Features6 {
|
|
1372
|
-
all?: All2;
|
|
1373
|
-
large?: Large11;
|
|
1374
|
-
medium?: Medium11;
|
|
1375
|
-
small?: Small11;
|
|
1376
|
-
orig?: Orig6;
|
|
1377
|
-
}
|
|
1378
|
-
export interface All2 {
|
|
1379
|
-
tags: Tag2[];
|
|
1380
|
-
}
|
|
1381
|
-
export interface Tag2 {
|
|
1382
|
-
user_id: string;
|
|
1383
|
-
name: string;
|
|
1384
|
-
screen_name: string;
|
|
1385
|
-
type: string;
|
|
1386
|
-
}
|
|
1387
|
-
export interface Large11 {
|
|
1388
|
-
faces: Face13[];
|
|
1389
|
-
}
|
|
1390
|
-
export interface Face13 {
|
|
1391
|
-
x: number;
|
|
1392
|
-
y: number;
|
|
1393
|
-
h: number;
|
|
1394
|
-
w: number;
|
|
1395
|
-
}
|
|
1396
|
-
export interface Medium11 {
|
|
1397
|
-
faces: Face14[];
|
|
1398
|
-
}
|
|
1399
|
-
export interface Face14 {
|
|
1400
|
-
x: number;
|
|
1401
|
-
y: number;
|
|
1402
|
-
h: number;
|
|
1403
|
-
w: number;
|
|
1404
|
-
}
|
|
1405
|
-
export interface Small11 {
|
|
1406
|
-
faces: Face15[];
|
|
1407
|
-
}
|
|
1408
|
-
export interface Face15 {
|
|
1409
|
-
x: number;
|
|
1410
|
-
y: number;
|
|
1411
|
-
h: number;
|
|
1412
|
-
w: number;
|
|
1413
|
-
}
|
|
1414
|
-
export interface Orig6 {
|
|
1415
|
-
faces: Face16[];
|
|
1416
|
-
}
|
|
1417
|
-
export interface Face16 {
|
|
1418
|
-
x: number;
|
|
1419
|
-
y: number;
|
|
1420
|
-
h: number;
|
|
1421
|
-
w: number;
|
|
1422
|
-
}
|
|
1423
|
-
export interface Sizes6 {
|
|
1424
|
-
large: Large12;
|
|
1425
|
-
medium: Medium12;
|
|
1426
|
-
small: Small12;
|
|
1427
|
-
thumb: Thumb6;
|
|
767
|
+
large: Large4;
|
|
768
|
+
medium: Medium4;
|
|
769
|
+
small: Small4;
|
|
770
|
+
thumb: Thumb4;
|
|
1428
771
|
}
|
|
1429
|
-
export interface
|
|
772
|
+
export interface Large4 {
|
|
1430
773
|
h: number;
|
|
1431
774
|
w: number;
|
|
1432
775
|
resize: string;
|
|
1433
776
|
}
|
|
1434
|
-
export interface
|
|
777
|
+
export interface Medium4 {
|
|
1435
778
|
h: number;
|
|
1436
779
|
w: number;
|
|
1437
780
|
resize: string;
|
|
1438
781
|
}
|
|
1439
|
-
export interface
|
|
782
|
+
export interface Small4 {
|
|
1440
783
|
h: number;
|
|
1441
784
|
w: number;
|
|
1442
785
|
resize: string;
|
|
1443
786
|
}
|
|
1444
|
-
export interface
|
|
787
|
+
export interface Thumb4 {
|
|
1445
788
|
h: number;
|
|
1446
789
|
w: number;
|
|
1447
790
|
resize: string;
|
|
1448
791
|
}
|
|
1449
|
-
export interface
|
|
792
|
+
export interface OriginalInfo4 {
|
|
1450
793
|
height: number;
|
|
1451
794
|
width: number;
|
|
1452
|
-
focus_rects?:
|
|
795
|
+
focus_rects?: FocusRect4[];
|
|
1453
796
|
}
|
|
1454
|
-
export interface
|
|
797
|
+
export interface FocusRect4 {
|
|
1455
798
|
x: number;
|
|
1456
799
|
y: number;
|
|
1457
800
|
w: number;
|
|
@@ -1459,153 +802,92 @@ export interface FocusRect6 {
|
|
|
1459
802
|
}
|
|
1460
803
|
export interface AdditionalMediaInfo2 {
|
|
1461
804
|
monetizable: boolean;
|
|
1462
|
-
source_user
|
|
805
|
+
source_user: SourceUser;
|
|
806
|
+
title?: string;
|
|
807
|
+
description?: string;
|
|
808
|
+
embeddable?: boolean;
|
|
1463
809
|
}
|
|
1464
810
|
export interface SourceUser {
|
|
1465
|
-
user_results:
|
|
811
|
+
user_results: UserResults3;
|
|
1466
812
|
}
|
|
1467
|
-
export interface
|
|
1468
|
-
result:
|
|
813
|
+
export interface UserResults3 {
|
|
814
|
+
result: Result8;
|
|
1469
815
|
}
|
|
1470
|
-
export interface
|
|
816
|
+
export interface Result8 {
|
|
1471
817
|
__typename: string;
|
|
1472
818
|
id: string;
|
|
1473
819
|
rest_id: string;
|
|
1474
|
-
affiliates_highlighted_label:
|
|
820
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel3;
|
|
1475
821
|
has_graduated_access: boolean;
|
|
1476
|
-
has_nft_avatar: boolean;
|
|
1477
822
|
is_blue_verified: boolean;
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
super_followed_by: boolean;
|
|
1482
|
-
super_following: boolean;
|
|
823
|
+
profile_image_shape: string;
|
|
824
|
+
legacy: Legacy7;
|
|
825
|
+
professional?: Professional2;
|
|
1483
826
|
verified_phone_status: boolean;
|
|
1484
827
|
}
|
|
1485
|
-
export interface
|
|
828
|
+
export interface AffiliatesHighlightedLabel3 {
|
|
1486
829
|
}
|
|
1487
|
-
export interface
|
|
1488
|
-
|
|
1489
|
-
blocking: boolean;
|
|
830
|
+
export interface Legacy7 {
|
|
831
|
+
following: boolean;
|
|
1490
832
|
can_dm: boolean;
|
|
1491
833
|
can_media_tag: boolean;
|
|
1492
834
|
created_at: string;
|
|
1493
835
|
default_profile: boolean;
|
|
1494
836
|
default_profile_image: boolean;
|
|
1495
837
|
description: string;
|
|
1496
|
-
entities:
|
|
838
|
+
entities: Entities6;
|
|
1497
839
|
fast_followers_count: number;
|
|
1498
840
|
favourites_count: number;
|
|
1499
|
-
follow_request_sent: boolean;
|
|
1500
|
-
followed_by: boolean;
|
|
1501
841
|
followers_count: number;
|
|
1502
|
-
following: boolean;
|
|
1503
842
|
friends_count: number;
|
|
1504
843
|
has_custom_timelines: boolean;
|
|
1505
844
|
is_translator: boolean;
|
|
1506
845
|
listed_count: number;
|
|
1507
846
|
location: string;
|
|
1508
847
|
media_count: number;
|
|
1509
|
-
muting: boolean;
|
|
1510
848
|
name: string;
|
|
1511
849
|
normal_followers_count: number;
|
|
1512
|
-
notifications: boolean;
|
|
1513
850
|
pinned_tweet_ids_str: string[];
|
|
1514
851
|
possibly_sensitive: boolean;
|
|
1515
|
-
profile_banner_extensions: ProfileBannerExtensions5;
|
|
1516
852
|
profile_banner_url: string;
|
|
1517
|
-
profile_image_extensions: ProfileImageExtensions5;
|
|
1518
853
|
profile_image_url_https: string;
|
|
1519
854
|
profile_interstitial_type: string;
|
|
1520
|
-
protected: boolean;
|
|
1521
855
|
screen_name: string;
|
|
1522
856
|
statuses_count: number;
|
|
1523
857
|
translator_type: string;
|
|
1524
858
|
url: string;
|
|
1525
859
|
verified: boolean;
|
|
860
|
+
verified_type: string;
|
|
1526
861
|
want_retweets: boolean;
|
|
1527
862
|
withheld_in_countries: any[];
|
|
1528
863
|
}
|
|
1529
|
-
export interface
|
|
1530
|
-
description:
|
|
1531
|
-
url:
|
|
864
|
+
export interface Entities6 {
|
|
865
|
+
description: Description4;
|
|
866
|
+
url: Url10;
|
|
1532
867
|
}
|
|
1533
|
-
export interface
|
|
1534
|
-
urls:
|
|
868
|
+
export interface Description4 {
|
|
869
|
+
urls: any[];
|
|
1535
870
|
}
|
|
1536
871
|
export interface Url10 {
|
|
1537
|
-
|
|
1538
|
-
expanded_url: string;
|
|
1539
|
-
url: string;
|
|
1540
|
-
indices: number[];
|
|
872
|
+
urls: Url11[];
|
|
1541
873
|
}
|
|
1542
874
|
export interface Url11 {
|
|
1543
|
-
urls: Url12[];
|
|
1544
|
-
}
|
|
1545
|
-
export interface Url12 {
|
|
1546
875
|
display_url: string;
|
|
1547
876
|
expanded_url: string;
|
|
1548
877
|
url: string;
|
|
1549
878
|
indices: number[];
|
|
1550
879
|
}
|
|
1551
|
-
export interface
|
|
1552
|
-
mediaColor: MediaColor9;
|
|
1553
|
-
}
|
|
1554
|
-
export interface MediaColor9 {
|
|
1555
|
-
r: R9;
|
|
1556
|
-
}
|
|
1557
|
-
export interface R9 {
|
|
1558
|
-
ok: Ok9;
|
|
1559
|
-
}
|
|
1560
|
-
export interface Ok9 {
|
|
1561
|
-
palette: Palette12[];
|
|
1562
|
-
}
|
|
1563
|
-
export interface Palette12 {
|
|
1564
|
-
percentage: number;
|
|
1565
|
-
rgb: Rgb12;
|
|
1566
|
-
}
|
|
1567
|
-
export interface Rgb12 {
|
|
1568
|
-
blue: number;
|
|
1569
|
-
green: number;
|
|
1570
|
-
red: number;
|
|
1571
|
-
}
|
|
1572
|
-
export interface ProfileImageExtensions5 {
|
|
1573
|
-
mediaColor: MediaColor10;
|
|
1574
|
-
}
|
|
1575
|
-
export interface MediaColor10 {
|
|
1576
|
-
r: R10;
|
|
1577
|
-
}
|
|
1578
|
-
export interface R10 {
|
|
1579
|
-
ok: Ok10;
|
|
1580
|
-
}
|
|
1581
|
-
export interface Ok10 {
|
|
1582
|
-
palette: Palette13[];
|
|
1583
|
-
}
|
|
1584
|
-
export interface Palette13 {
|
|
1585
|
-
percentage: number;
|
|
1586
|
-
rgb: Rgb13;
|
|
1587
|
-
}
|
|
1588
|
-
export interface Rgb13 {
|
|
1589
|
-
blue: number;
|
|
1590
|
-
green: number;
|
|
1591
|
-
red: number;
|
|
1592
|
-
}
|
|
1593
|
-
export interface Professional3 {
|
|
880
|
+
export interface Professional2 {
|
|
1594
881
|
rest_id: string;
|
|
1595
882
|
professional_type: string;
|
|
1596
|
-
category:
|
|
1597
|
-
}
|
|
1598
|
-
export interface Category2 {
|
|
1599
|
-
id: number;
|
|
1600
|
-
name: string;
|
|
1601
|
-
icon_name: string;
|
|
883
|
+
category: any[];
|
|
1602
884
|
}
|
|
1603
885
|
export interface MediaStats2 {
|
|
1604
886
|
viewCount: number;
|
|
1605
887
|
}
|
|
1606
888
|
export interface VideoInfo2 {
|
|
1607
889
|
aspect_ratio: number[];
|
|
1608
|
-
duration_millis
|
|
890
|
+
duration_millis: number;
|
|
1609
891
|
variants: Variant2[];
|
|
1610
892
|
}
|
|
1611
893
|
export interface Variant2 {
|
|
@@ -1613,286 +895,226 @@ export interface Variant2 {
|
|
|
1613
895
|
content_type: string;
|
|
1614
896
|
url: string;
|
|
1615
897
|
}
|
|
1616
|
-
export interface
|
|
1617
|
-
id_str: string;
|
|
1618
|
-
}
|
|
1619
|
-
export interface QuotedStatusPermalink2 {
|
|
898
|
+
export interface QuotedStatusPermalink {
|
|
1620
899
|
url: string;
|
|
1621
900
|
expanded: string;
|
|
1622
901
|
display: string;
|
|
1623
902
|
}
|
|
1624
|
-
export interface
|
|
903
|
+
export interface QuickPromoteEligibility {
|
|
904
|
+
eligibility: string;
|
|
905
|
+
}
|
|
906
|
+
export interface Card2 {
|
|
1625
907
|
rest_id: string;
|
|
1626
|
-
legacy:
|
|
908
|
+
legacy: Legacy8;
|
|
1627
909
|
}
|
|
1628
|
-
export interface
|
|
1629
|
-
binding_values:
|
|
1630
|
-
card_platform:
|
|
910
|
+
export interface Legacy8 {
|
|
911
|
+
binding_values: BindingValue2[];
|
|
912
|
+
card_platform: CardPlatform2;
|
|
1631
913
|
name: string;
|
|
1632
914
|
url: string;
|
|
1633
|
-
user_refs_results:
|
|
915
|
+
user_refs_results: UserRefsResult2[];
|
|
1634
916
|
}
|
|
1635
|
-
export interface
|
|
917
|
+
export interface BindingValue2 {
|
|
1636
918
|
key: string;
|
|
1637
|
-
value:
|
|
919
|
+
value: Value2;
|
|
1638
920
|
}
|
|
1639
|
-
export interface
|
|
1640
|
-
image_value?: ImageValue;
|
|
1641
|
-
type: string;
|
|
921
|
+
export interface Value2 {
|
|
1642
922
|
string_value?: string;
|
|
923
|
+
type: string;
|
|
1643
924
|
scribe_key?: string;
|
|
1644
|
-
user_value?:
|
|
1645
|
-
|
|
925
|
+
user_value?: UserValue2;
|
|
926
|
+
image_value?: ImageValue2;
|
|
927
|
+
boolean_value?: boolean;
|
|
928
|
+
image_color_value?: ImageColorValue2;
|
|
1646
929
|
}
|
|
1647
|
-
export interface
|
|
930
|
+
export interface UserValue2 {
|
|
931
|
+
id_str: string;
|
|
932
|
+
path: any[];
|
|
933
|
+
}
|
|
934
|
+
export interface ImageValue2 {
|
|
1648
935
|
height: number;
|
|
1649
936
|
width: number;
|
|
1650
937
|
url: string;
|
|
1651
938
|
}
|
|
1652
|
-
export interface
|
|
1653
|
-
|
|
1654
|
-
path: any[];
|
|
1655
|
-
}
|
|
1656
|
-
export interface ImageColorValue {
|
|
1657
|
-
palette: Palette14[];
|
|
939
|
+
export interface ImageColorValue2 {
|
|
940
|
+
palette: Palette2[];
|
|
1658
941
|
}
|
|
1659
|
-
export interface
|
|
1660
|
-
rgb:
|
|
942
|
+
export interface Palette2 {
|
|
943
|
+
rgb: Rgb2;
|
|
1661
944
|
percentage: number;
|
|
1662
945
|
}
|
|
1663
|
-
export interface
|
|
946
|
+
export interface Rgb2 {
|
|
1664
947
|
blue: number;
|
|
1665
948
|
green: number;
|
|
1666
949
|
red: number;
|
|
1667
950
|
}
|
|
1668
|
-
export interface
|
|
1669
|
-
platform:
|
|
951
|
+
export interface CardPlatform2 {
|
|
952
|
+
platform: Platform2;
|
|
1670
953
|
}
|
|
1671
|
-
export interface
|
|
1672
|
-
audience:
|
|
1673
|
-
device:
|
|
954
|
+
export interface Platform2 {
|
|
955
|
+
audience: Audience2;
|
|
956
|
+
device: Device2;
|
|
1674
957
|
}
|
|
1675
|
-
export interface
|
|
958
|
+
export interface Audience2 {
|
|
1676
959
|
name: string;
|
|
1677
960
|
}
|
|
1678
|
-
export interface
|
|
961
|
+
export interface Device2 {
|
|
1679
962
|
name: string;
|
|
1680
963
|
version: string;
|
|
1681
964
|
}
|
|
1682
|
-
export interface
|
|
1683
|
-
result:
|
|
965
|
+
export interface UserRefsResult2 {
|
|
966
|
+
result: Result9;
|
|
1684
967
|
}
|
|
1685
|
-
export interface
|
|
968
|
+
export interface Result9 {
|
|
1686
969
|
__typename: string;
|
|
1687
970
|
id: string;
|
|
1688
971
|
rest_id: string;
|
|
1689
|
-
affiliates_highlighted_label:
|
|
972
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel4;
|
|
1690
973
|
has_graduated_access: boolean;
|
|
1691
|
-
has_nft_avatar: boolean;
|
|
1692
974
|
is_blue_verified: boolean;
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
super_followed_by: boolean;
|
|
1696
|
-
super_following: boolean;
|
|
975
|
+
profile_image_shape: string;
|
|
976
|
+
legacy: Legacy9;
|
|
1697
977
|
verified_phone_status: boolean;
|
|
1698
978
|
}
|
|
1699
|
-
export interface
|
|
979
|
+
export interface AffiliatesHighlightedLabel4 {
|
|
1700
980
|
}
|
|
1701
|
-
export interface
|
|
1702
|
-
|
|
1703
|
-
blocking: boolean;
|
|
981
|
+
export interface Legacy9 {
|
|
982
|
+
following: boolean;
|
|
1704
983
|
can_dm: boolean;
|
|
1705
984
|
can_media_tag: boolean;
|
|
1706
985
|
created_at: string;
|
|
1707
986
|
default_profile: boolean;
|
|
1708
987
|
default_profile_image: boolean;
|
|
1709
988
|
description: string;
|
|
1710
|
-
entities:
|
|
989
|
+
entities: Entities7;
|
|
1711
990
|
fast_followers_count: number;
|
|
1712
991
|
favourites_count: number;
|
|
1713
|
-
follow_request_sent: boolean;
|
|
1714
|
-
followed_by: boolean;
|
|
1715
992
|
followers_count: number;
|
|
1716
|
-
following: boolean;
|
|
1717
993
|
friends_count: number;
|
|
1718
994
|
has_custom_timelines: boolean;
|
|
1719
995
|
is_translator: boolean;
|
|
1720
996
|
listed_count: number;
|
|
1721
997
|
location: string;
|
|
1722
998
|
media_count: number;
|
|
1723
|
-
muting: boolean;
|
|
1724
999
|
name: string;
|
|
1725
1000
|
normal_followers_count: number;
|
|
1726
|
-
notifications: boolean;
|
|
1727
1001
|
pinned_tweet_ids_str: string[];
|
|
1728
1002
|
possibly_sensitive: boolean;
|
|
1729
|
-
profile_banner_extensions: ProfileBannerExtensions6;
|
|
1730
1003
|
profile_banner_url: string;
|
|
1731
|
-
profile_image_extensions: ProfileImageExtensions6;
|
|
1732
1004
|
profile_image_url_https: string;
|
|
1733
1005
|
profile_interstitial_type: string;
|
|
1734
|
-
protected: boolean;
|
|
1735
1006
|
screen_name: string;
|
|
1736
1007
|
statuses_count: number;
|
|
1737
1008
|
translator_type: string;
|
|
1738
1009
|
url: string;
|
|
1739
1010
|
verified: boolean;
|
|
1740
|
-
verified_type
|
|
1011
|
+
verified_type: string;
|
|
1741
1012
|
want_retweets: boolean;
|
|
1742
1013
|
withheld_in_countries: any[];
|
|
1743
1014
|
}
|
|
1744
|
-
export interface
|
|
1745
|
-
description:
|
|
1746
|
-
url:
|
|
1015
|
+
export interface Entities7 {
|
|
1016
|
+
description: Description5;
|
|
1017
|
+
url: Url13;
|
|
1747
1018
|
}
|
|
1748
|
-
export interface
|
|
1749
|
-
urls:
|
|
1019
|
+
export interface Description5 {
|
|
1020
|
+
urls: Url12[];
|
|
1750
1021
|
}
|
|
1751
|
-
export interface
|
|
1022
|
+
export interface Url12 {
|
|
1752
1023
|
display_url: string;
|
|
1753
1024
|
expanded_url: string;
|
|
1754
1025
|
url: string;
|
|
1755
1026
|
indices: number[];
|
|
1756
1027
|
}
|
|
1757
|
-
export interface
|
|
1758
|
-
urls:
|
|
1028
|
+
export interface Url13 {
|
|
1029
|
+
urls: Url14[];
|
|
1759
1030
|
}
|
|
1760
|
-
export interface
|
|
1031
|
+
export interface Url14 {
|
|
1761
1032
|
display_url: string;
|
|
1762
1033
|
expanded_url: string;
|
|
1763
1034
|
url: string;
|
|
1764
1035
|
indices: number[];
|
|
1765
1036
|
}
|
|
1766
|
-
export interface
|
|
1767
|
-
mediaColor: MediaColor11;
|
|
1768
|
-
}
|
|
1769
|
-
export interface MediaColor11 {
|
|
1770
|
-
r: R11;
|
|
1771
|
-
}
|
|
1772
|
-
export interface R11 {
|
|
1773
|
-
ok: Ok11;
|
|
1774
|
-
}
|
|
1775
|
-
export interface Ok11 {
|
|
1776
|
-
palette: Palette15[];
|
|
1777
|
-
}
|
|
1778
|
-
export interface Palette15 {
|
|
1779
|
-
percentage: number;
|
|
1780
|
-
rgb: Rgb15;
|
|
1781
|
-
}
|
|
1782
|
-
export interface Rgb15 {
|
|
1783
|
-
blue: number;
|
|
1784
|
-
green: number;
|
|
1785
|
-
red: number;
|
|
1786
|
-
}
|
|
1787
|
-
export interface ProfileImageExtensions6 {
|
|
1788
|
-
mediaColor: MediaColor12;
|
|
1789
|
-
}
|
|
1790
|
-
export interface MediaColor12 {
|
|
1791
|
-
r: R12;
|
|
1792
|
-
}
|
|
1793
|
-
export interface R12 {
|
|
1794
|
-
ok: Ok12;
|
|
1795
|
-
}
|
|
1796
|
-
export interface Ok12 {
|
|
1797
|
-
palette: Palette16[];
|
|
1798
|
-
}
|
|
1799
|
-
export interface Palette16 {
|
|
1800
|
-
percentage: number;
|
|
1801
|
-
rgb: Rgb16;
|
|
1802
|
-
}
|
|
1803
|
-
export interface Rgb16 {
|
|
1804
|
-
blue: number;
|
|
1805
|
-
green: number;
|
|
1806
|
-
red: number;
|
|
1807
|
-
}
|
|
1808
|
-
export interface UnifiedCard {
|
|
1037
|
+
export interface UnifiedCard2 {
|
|
1809
1038
|
card_fetch_state: string;
|
|
1810
1039
|
}
|
|
1811
|
-
export interface
|
|
1812
|
-
result:
|
|
1040
|
+
export interface QuotedStatusResult {
|
|
1041
|
+
result: Result10;
|
|
1813
1042
|
}
|
|
1814
|
-
export interface
|
|
1043
|
+
export interface Result10 {
|
|
1815
1044
|
__typename: string;
|
|
1816
1045
|
rest_id: string;
|
|
1817
|
-
core:
|
|
1818
|
-
unmention_data:
|
|
1819
|
-
edit_control:
|
|
1820
|
-
edit_perspective:
|
|
1046
|
+
core: Core3;
|
|
1047
|
+
unmention_data: UnmentionData3;
|
|
1048
|
+
edit_control: EditControl3;
|
|
1049
|
+
edit_perspective: EditPerspective3;
|
|
1821
1050
|
is_translatable: boolean;
|
|
1822
|
-
views:
|
|
1051
|
+
views: Views3;
|
|
1823
1052
|
source: string;
|
|
1824
|
-
legacy:
|
|
1053
|
+
legacy: Legacy11;
|
|
1825
1054
|
}
|
|
1826
|
-
export interface
|
|
1827
|
-
user_results:
|
|
1055
|
+
export interface Core3 {
|
|
1056
|
+
user_results: UserResults4;
|
|
1828
1057
|
}
|
|
1829
|
-
export interface
|
|
1830
|
-
result:
|
|
1058
|
+
export interface UserResults4 {
|
|
1059
|
+
result: Result11;
|
|
1831
1060
|
}
|
|
1832
|
-
export interface
|
|
1061
|
+
export interface Result11 {
|
|
1833
1062
|
__typename: string;
|
|
1834
1063
|
id: string;
|
|
1835
1064
|
rest_id: string;
|
|
1836
|
-
affiliates_highlighted_label:
|
|
1065
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel5;
|
|
1837
1066
|
has_graduated_access: boolean;
|
|
1838
|
-
has_nft_avatar: boolean;
|
|
1839
1067
|
is_blue_verified: boolean;
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
super_followed_by: boolean;
|
|
1843
|
-
super_following: boolean;
|
|
1068
|
+
profile_image_shape: string;
|
|
1069
|
+
legacy: Legacy10;
|
|
1844
1070
|
verified_phone_status: boolean;
|
|
1845
|
-
professional?:
|
|
1071
|
+
professional?: Professional3;
|
|
1072
|
+
super_follow_eligible?: boolean;
|
|
1846
1073
|
}
|
|
1847
|
-
export interface
|
|
1074
|
+
export interface AffiliatesHighlightedLabel5 {
|
|
1848
1075
|
}
|
|
1849
|
-
export interface
|
|
1850
|
-
|
|
1851
|
-
blocking: boolean;
|
|
1076
|
+
export interface Legacy10 {
|
|
1077
|
+
following?: boolean;
|
|
1852
1078
|
can_dm: boolean;
|
|
1853
1079
|
can_media_tag: boolean;
|
|
1854
1080
|
created_at: string;
|
|
1855
1081
|
default_profile: boolean;
|
|
1856
1082
|
default_profile_image: boolean;
|
|
1857
1083
|
description: string;
|
|
1858
|
-
entities:
|
|
1084
|
+
entities: Entities8;
|
|
1859
1085
|
fast_followers_count: number;
|
|
1860
1086
|
favourites_count: number;
|
|
1861
|
-
follow_request_sent: boolean;
|
|
1862
|
-
followed_by: boolean;
|
|
1863
1087
|
followers_count: number;
|
|
1864
|
-
following: boolean;
|
|
1865
1088
|
friends_count: number;
|
|
1866
1089
|
has_custom_timelines: boolean;
|
|
1867
1090
|
is_translator: boolean;
|
|
1868
1091
|
listed_count: number;
|
|
1869
1092
|
location: string;
|
|
1870
1093
|
media_count: number;
|
|
1871
|
-
muting: boolean;
|
|
1872
1094
|
name: string;
|
|
1873
1095
|
normal_followers_count: number;
|
|
1874
|
-
notifications: boolean;
|
|
1875
1096
|
pinned_tweet_ids_str: string[];
|
|
1876
1097
|
possibly_sensitive: boolean;
|
|
1877
|
-
profile_banner_extensions: ProfileBannerExtensions7;
|
|
1878
1098
|
profile_banner_url: string;
|
|
1879
|
-
profile_image_extensions: ProfileImageExtensions7;
|
|
1880
1099
|
profile_image_url_https: string;
|
|
1881
1100
|
profile_interstitial_type: string;
|
|
1882
|
-
protected: boolean;
|
|
1883
1101
|
screen_name: string;
|
|
1884
1102
|
statuses_count: number;
|
|
1885
1103
|
translator_type: string;
|
|
1886
1104
|
url: string;
|
|
1887
1105
|
verified: boolean;
|
|
1106
|
+
verified_type?: string;
|
|
1888
1107
|
want_retweets: boolean;
|
|
1889
1108
|
withheld_in_countries: any[];
|
|
1890
1109
|
}
|
|
1891
|
-
export interface
|
|
1892
|
-
description:
|
|
1893
|
-
url:
|
|
1110
|
+
export interface Entities8 {
|
|
1111
|
+
description: Description6;
|
|
1112
|
+
url: Url15;
|
|
1894
1113
|
}
|
|
1895
|
-
export interface
|
|
1114
|
+
export interface Description6 {
|
|
1115
|
+
urls: any[];
|
|
1116
|
+
}
|
|
1117
|
+
export interface Url15 {
|
|
1896
1118
|
urls: Url16[];
|
|
1897
1119
|
}
|
|
1898
1120
|
export interface Url16 {
|
|
@@ -1901,111 +1123,63 @@ export interface Url16 {
|
|
|
1901
1123
|
url: string;
|
|
1902
1124
|
indices: number[];
|
|
1903
1125
|
}
|
|
1904
|
-
export interface
|
|
1905
|
-
urls: Url18[];
|
|
1906
|
-
}
|
|
1907
|
-
export interface Url18 {
|
|
1908
|
-
display_url: string;
|
|
1909
|
-
expanded_url: string;
|
|
1910
|
-
url: string;
|
|
1911
|
-
indices: number[];
|
|
1912
|
-
}
|
|
1913
|
-
export interface ProfileBannerExtensions7 {
|
|
1914
|
-
mediaColor: MediaColor13;
|
|
1915
|
-
}
|
|
1916
|
-
export interface MediaColor13 {
|
|
1917
|
-
r: R13;
|
|
1918
|
-
}
|
|
1919
|
-
export interface R13 {
|
|
1920
|
-
ok: Ok13;
|
|
1921
|
-
}
|
|
1922
|
-
export interface Ok13 {
|
|
1923
|
-
palette: Palette17[];
|
|
1924
|
-
}
|
|
1925
|
-
export interface Palette17 {
|
|
1926
|
-
percentage: number;
|
|
1927
|
-
rgb: Rgb17;
|
|
1928
|
-
}
|
|
1929
|
-
export interface Rgb17 {
|
|
1930
|
-
blue: number;
|
|
1931
|
-
green: number;
|
|
1932
|
-
red: number;
|
|
1933
|
-
}
|
|
1934
|
-
export interface ProfileImageExtensions7 {
|
|
1935
|
-
mediaColor: MediaColor14;
|
|
1936
|
-
}
|
|
1937
|
-
export interface MediaColor14 {
|
|
1938
|
-
r: R14;
|
|
1939
|
-
}
|
|
1940
|
-
export interface R14 {
|
|
1941
|
-
ok: Ok14;
|
|
1942
|
-
}
|
|
1943
|
-
export interface Ok14 {
|
|
1944
|
-
palette: Palette18[];
|
|
1945
|
-
}
|
|
1946
|
-
export interface Palette18 {
|
|
1947
|
-
percentage: number;
|
|
1948
|
-
rgb: Rgb18;
|
|
1949
|
-
}
|
|
1950
|
-
export interface Rgb18 {
|
|
1951
|
-
blue: number;
|
|
1952
|
-
green: number;
|
|
1953
|
-
red: number;
|
|
1954
|
-
}
|
|
1955
|
-
export interface Professional4 {
|
|
1126
|
+
export interface Professional3 {
|
|
1956
1127
|
rest_id: string;
|
|
1957
1128
|
professional_type: string;
|
|
1958
|
-
category:
|
|
1129
|
+
category: Category2[];
|
|
1959
1130
|
}
|
|
1960
|
-
export interface
|
|
1131
|
+
export interface Category2 {
|
|
1961
1132
|
id: number;
|
|
1962
1133
|
name: string;
|
|
1963
1134
|
icon_name: string;
|
|
1964
1135
|
}
|
|
1965
|
-
export interface
|
|
1136
|
+
export interface UnmentionData3 {
|
|
1966
1137
|
}
|
|
1967
|
-
export interface
|
|
1138
|
+
export interface EditControl3 {
|
|
1968
1139
|
edit_tweet_ids: string[];
|
|
1969
1140
|
editable_until_msecs: string;
|
|
1970
1141
|
is_edit_eligible: boolean;
|
|
1971
1142
|
edits_remaining: string;
|
|
1972
1143
|
}
|
|
1973
|
-
export interface
|
|
1144
|
+
export interface EditPerspective3 {
|
|
1974
1145
|
favorited: boolean;
|
|
1975
1146
|
retweeted: boolean;
|
|
1976
1147
|
}
|
|
1977
|
-
export interface
|
|
1148
|
+
export interface Views3 {
|
|
1978
1149
|
count: string;
|
|
1979
1150
|
state: string;
|
|
1980
1151
|
}
|
|
1981
|
-
export interface
|
|
1152
|
+
export interface Legacy11 {
|
|
1153
|
+
bookmark_count: number;
|
|
1154
|
+
bookmarked: boolean;
|
|
1982
1155
|
created_at: string;
|
|
1983
1156
|
conversation_id_str: string;
|
|
1984
1157
|
display_text_range: number[];
|
|
1985
|
-
entities:
|
|
1986
|
-
extended_entities
|
|
1158
|
+
entities: Entities9;
|
|
1159
|
+
extended_entities?: ExtendedEntities3;
|
|
1987
1160
|
favorite_count: number;
|
|
1988
1161
|
favorited: boolean;
|
|
1989
1162
|
full_text: string;
|
|
1990
1163
|
is_quote_status: boolean;
|
|
1991
1164
|
lang: string;
|
|
1992
|
-
possibly_sensitive
|
|
1993
|
-
possibly_sensitive_editable
|
|
1165
|
+
possibly_sensitive?: boolean;
|
|
1166
|
+
possibly_sensitive_editable?: boolean;
|
|
1994
1167
|
quote_count: number;
|
|
1995
1168
|
reply_count: number;
|
|
1996
1169
|
retweet_count: number;
|
|
1997
1170
|
retweeted: boolean;
|
|
1998
1171
|
user_id_str: string;
|
|
1999
1172
|
id_str: string;
|
|
1173
|
+
self_thread?: SelfThread2;
|
|
2000
1174
|
}
|
|
2001
|
-
export interface
|
|
2002
|
-
media
|
|
2003
|
-
user_mentions:
|
|
2004
|
-
urls:
|
|
2005
|
-
hashtags:
|
|
1175
|
+
export interface Entities9 {
|
|
1176
|
+
media?: Medum5[];
|
|
1177
|
+
user_mentions: UserMention3[];
|
|
1178
|
+
urls: Url17[];
|
|
1179
|
+
hashtags: any[];
|
|
2006
1180
|
symbols: any[];
|
|
2007
1181
|
}
|
|
2008
|
-
export interface
|
|
1182
|
+
export interface Medum5 {
|
|
2009
1183
|
display_url: string;
|
|
2010
1184
|
expanded_url: string;
|
|
2011
1185
|
id_str: string;
|
|
@@ -2013,111 +1187,62 @@ export interface Medum7 {
|
|
|
2013
1187
|
media_url_https: string;
|
|
2014
1188
|
type: string;
|
|
2015
1189
|
url: string;
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
original_info: OriginalInfo7;
|
|
2019
|
-
source_status_id_str?: string;
|
|
2020
|
-
source_user_id_str?: string;
|
|
2021
|
-
}
|
|
2022
|
-
export interface Features7 {
|
|
2023
|
-
large?: Large13;
|
|
2024
|
-
medium?: Medium13;
|
|
2025
|
-
small?: Small13;
|
|
2026
|
-
orig?: Orig7;
|
|
2027
|
-
}
|
|
2028
|
-
export interface Large13 {
|
|
2029
|
-
faces: Face17[];
|
|
2030
|
-
}
|
|
2031
|
-
export interface Face17 {
|
|
2032
|
-
x: number;
|
|
2033
|
-
y: number;
|
|
2034
|
-
h: number;
|
|
2035
|
-
w: number;
|
|
2036
|
-
}
|
|
2037
|
-
export interface Medium13 {
|
|
2038
|
-
faces: Face18[];
|
|
2039
|
-
}
|
|
2040
|
-
export interface Face18 {
|
|
2041
|
-
x: number;
|
|
2042
|
-
y: number;
|
|
2043
|
-
h: number;
|
|
2044
|
-
w: number;
|
|
2045
|
-
}
|
|
2046
|
-
export interface Small13 {
|
|
2047
|
-
faces: Face19[];
|
|
2048
|
-
}
|
|
2049
|
-
export interface Face19 {
|
|
2050
|
-
x: number;
|
|
2051
|
-
y: number;
|
|
2052
|
-
h: number;
|
|
2053
|
-
w: number;
|
|
2054
|
-
}
|
|
2055
|
-
export interface Orig7 {
|
|
2056
|
-
faces: Face20[];
|
|
2057
|
-
}
|
|
2058
|
-
export interface Face20 {
|
|
2059
|
-
x: number;
|
|
2060
|
-
y: number;
|
|
2061
|
-
h: number;
|
|
2062
|
-
w: number;
|
|
1190
|
+
sizes: Sizes5;
|
|
1191
|
+
original_info: OriginalInfo5;
|
|
2063
1192
|
}
|
|
2064
|
-
export interface
|
|
2065
|
-
large:
|
|
2066
|
-
medium:
|
|
2067
|
-
small:
|
|
2068
|
-
thumb:
|
|
1193
|
+
export interface Sizes5 {
|
|
1194
|
+
large: Large5;
|
|
1195
|
+
medium: Medium5;
|
|
1196
|
+
small: Small5;
|
|
1197
|
+
thumb: Thumb5;
|
|
2069
1198
|
}
|
|
2070
|
-
export interface
|
|
1199
|
+
export interface Large5 {
|
|
2071
1200
|
h: number;
|
|
2072
1201
|
w: number;
|
|
2073
1202
|
resize: string;
|
|
2074
1203
|
}
|
|
2075
|
-
export interface
|
|
1204
|
+
export interface Medium5 {
|
|
2076
1205
|
h: number;
|
|
2077
1206
|
w: number;
|
|
2078
1207
|
resize: string;
|
|
2079
1208
|
}
|
|
2080
|
-
export interface
|
|
1209
|
+
export interface Small5 {
|
|
2081
1210
|
h: number;
|
|
2082
1211
|
w: number;
|
|
2083
1212
|
resize: string;
|
|
2084
1213
|
}
|
|
2085
|
-
export interface
|
|
1214
|
+
export interface Thumb5 {
|
|
2086
1215
|
h: number;
|
|
2087
1216
|
w: number;
|
|
2088
1217
|
resize: string;
|
|
2089
1218
|
}
|
|
2090
|
-
export interface
|
|
1219
|
+
export interface OriginalInfo5 {
|
|
2091
1220
|
height: number;
|
|
2092
1221
|
width: number;
|
|
2093
|
-
focus_rects?:
|
|
1222
|
+
focus_rects?: FocusRect5[];
|
|
2094
1223
|
}
|
|
2095
|
-
export interface
|
|
1224
|
+
export interface FocusRect5 {
|
|
2096
1225
|
x: number;
|
|
2097
1226
|
y: number;
|
|
2098
1227
|
w: number;
|
|
2099
1228
|
h: number;
|
|
2100
1229
|
}
|
|
2101
|
-
export interface
|
|
1230
|
+
export interface UserMention3 {
|
|
2102
1231
|
id_str: string;
|
|
2103
1232
|
name: string;
|
|
2104
1233
|
screen_name: string;
|
|
2105
1234
|
indices: number[];
|
|
2106
1235
|
}
|
|
2107
|
-
export interface
|
|
1236
|
+
export interface Url17 {
|
|
2108
1237
|
display_url: string;
|
|
2109
1238
|
expanded_url: string;
|
|
2110
1239
|
url: string;
|
|
2111
1240
|
indices: number[];
|
|
2112
1241
|
}
|
|
2113
|
-
export interface
|
|
2114
|
-
|
|
2115
|
-
text: string;
|
|
2116
|
-
}
|
|
2117
|
-
export interface ExtendedEntities4 {
|
|
2118
|
-
media: Medum8[];
|
|
1242
|
+
export interface ExtendedEntities3 {
|
|
1243
|
+
media: Medum6[];
|
|
2119
1244
|
}
|
|
2120
|
-
export interface
|
|
1245
|
+
export interface Medum6 {
|
|
2121
1246
|
display_url: string;
|
|
2122
1247
|
expanded_url: string;
|
|
2123
1248
|
id_str: string;
|
|
@@ -2126,106 +1251,48 @@ export interface Medum8 {
|
|
|
2126
1251
|
media_url_https: string;
|
|
2127
1252
|
type: string;
|
|
2128
1253
|
url: string;
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
sizes: Sizes8;
|
|
2133
|
-
original_info: OriginalInfo8;
|
|
2134
|
-
source_status_id_str?: string;
|
|
2135
|
-
source_user_id_str?: string;
|
|
1254
|
+
ext_media_availability: ExtMediaAvailability3;
|
|
1255
|
+
sizes: Sizes6;
|
|
1256
|
+
original_info: OriginalInfo6;
|
|
2136
1257
|
additional_media_info?: AdditionalMediaInfo3;
|
|
2137
1258
|
mediaStats?: MediaStats3;
|
|
2138
1259
|
video_info?: VideoInfo3;
|
|
2139
1260
|
}
|
|
2140
|
-
export interface
|
|
2141
|
-
palette: Palette19[];
|
|
2142
|
-
}
|
|
2143
|
-
export interface Palette19 {
|
|
2144
|
-
percentage: number;
|
|
2145
|
-
rgb: Rgb19;
|
|
2146
|
-
}
|
|
2147
|
-
export interface Rgb19 {
|
|
2148
|
-
blue: number;
|
|
2149
|
-
green: number;
|
|
2150
|
-
red: number;
|
|
2151
|
-
}
|
|
2152
|
-
export interface ExtMediaAvailability4 {
|
|
1261
|
+
export interface ExtMediaAvailability3 {
|
|
2153
1262
|
status: string;
|
|
2154
1263
|
}
|
|
2155
|
-
export interface
|
|
2156
|
-
large
|
|
2157
|
-
medium
|
|
2158
|
-
small
|
|
2159
|
-
|
|
2160
|
-
}
|
|
2161
|
-
export interface Large15 {
|
|
2162
|
-
faces: Face21[];
|
|
2163
|
-
}
|
|
2164
|
-
export interface Face21 {
|
|
2165
|
-
x: number;
|
|
2166
|
-
y: number;
|
|
2167
|
-
h: number;
|
|
2168
|
-
w: number;
|
|
2169
|
-
}
|
|
2170
|
-
export interface Medium15 {
|
|
2171
|
-
faces: Face22[];
|
|
2172
|
-
}
|
|
2173
|
-
export interface Face22 {
|
|
2174
|
-
x: number;
|
|
2175
|
-
y: number;
|
|
2176
|
-
h: number;
|
|
2177
|
-
w: number;
|
|
2178
|
-
}
|
|
2179
|
-
export interface Small15 {
|
|
2180
|
-
faces: Face23[];
|
|
2181
|
-
}
|
|
2182
|
-
export interface Face23 {
|
|
2183
|
-
x: number;
|
|
2184
|
-
y: number;
|
|
2185
|
-
h: number;
|
|
2186
|
-
w: number;
|
|
2187
|
-
}
|
|
2188
|
-
export interface Orig8 {
|
|
2189
|
-
faces: Face24[];
|
|
2190
|
-
}
|
|
2191
|
-
export interface Face24 {
|
|
2192
|
-
x: number;
|
|
2193
|
-
y: number;
|
|
2194
|
-
h: number;
|
|
2195
|
-
w: number;
|
|
2196
|
-
}
|
|
2197
|
-
export interface Sizes8 {
|
|
2198
|
-
large: Large16;
|
|
2199
|
-
medium: Medium16;
|
|
2200
|
-
small: Small16;
|
|
2201
|
-
thumb: Thumb8;
|
|
1264
|
+
export interface Sizes6 {
|
|
1265
|
+
large: Large6;
|
|
1266
|
+
medium: Medium6;
|
|
1267
|
+
small: Small6;
|
|
1268
|
+
thumb: Thumb6;
|
|
2202
1269
|
}
|
|
2203
|
-
export interface
|
|
1270
|
+
export interface Large6 {
|
|
2204
1271
|
h: number;
|
|
2205
1272
|
w: number;
|
|
2206
1273
|
resize: string;
|
|
2207
1274
|
}
|
|
2208
|
-
export interface
|
|
1275
|
+
export interface Medium6 {
|
|
2209
1276
|
h: number;
|
|
2210
1277
|
w: number;
|
|
2211
1278
|
resize: string;
|
|
2212
1279
|
}
|
|
2213
|
-
export interface
|
|
1280
|
+
export interface Small6 {
|
|
2214
1281
|
h: number;
|
|
2215
1282
|
w: number;
|
|
2216
1283
|
resize: string;
|
|
2217
1284
|
}
|
|
2218
|
-
export interface
|
|
1285
|
+
export interface Thumb6 {
|
|
2219
1286
|
h: number;
|
|
2220
1287
|
w: number;
|
|
2221
1288
|
resize: string;
|
|
2222
1289
|
}
|
|
2223
|
-
export interface
|
|
1290
|
+
export interface OriginalInfo6 {
|
|
2224
1291
|
height: number;
|
|
2225
1292
|
width: number;
|
|
2226
|
-
focus_rects?:
|
|
1293
|
+
focus_rects?: FocusRect6[];
|
|
2227
1294
|
}
|
|
2228
|
-
export interface
|
|
1295
|
+
export interface FocusRect6 {
|
|
2229
1296
|
x: number;
|
|
2230
1297
|
y: number;
|
|
2231
1298
|
w: number;
|
|
@@ -2233,165 +1300,182 @@ export interface FocusRect8 {
|
|
|
2233
1300
|
}
|
|
2234
1301
|
export interface AdditionalMediaInfo3 {
|
|
2235
1302
|
monetizable: boolean;
|
|
2236
|
-
source_user: SourceUser2;
|
|
2237
1303
|
}
|
|
2238
|
-
export interface
|
|
2239
|
-
|
|
1304
|
+
export interface MediaStats3 {
|
|
1305
|
+
viewCount: number;
|
|
2240
1306
|
}
|
|
2241
|
-
export interface
|
|
2242
|
-
|
|
1307
|
+
export interface VideoInfo3 {
|
|
1308
|
+
aspect_ratio: number[];
|
|
1309
|
+
duration_millis: number;
|
|
1310
|
+
variants: Variant3[];
|
|
2243
1311
|
}
|
|
2244
|
-
export interface
|
|
1312
|
+
export interface Variant3 {
|
|
1313
|
+
bitrate?: number;
|
|
1314
|
+
content_type: string;
|
|
1315
|
+
url: string;
|
|
1316
|
+
}
|
|
1317
|
+
export interface SelfThread2 {
|
|
1318
|
+
id_str: string;
|
|
1319
|
+
}
|
|
1320
|
+
export interface Item {
|
|
1321
|
+
entryId: string;
|
|
1322
|
+
dispensable: boolean;
|
|
1323
|
+
item: Item2;
|
|
1324
|
+
}
|
|
1325
|
+
export interface Item2 {
|
|
1326
|
+
itemContent: ItemContent2;
|
|
1327
|
+
clientEventInfo: ClientEventInfo;
|
|
1328
|
+
}
|
|
1329
|
+
export interface ItemContent2 {
|
|
1330
|
+
itemType: string;
|
|
1331
|
+
__typename: string;
|
|
1332
|
+
tweet_results: TweetResults2;
|
|
1333
|
+
tweetDisplayType: string;
|
|
1334
|
+
}
|
|
1335
|
+
export interface TweetResults2 {
|
|
1336
|
+
result: Result12;
|
|
1337
|
+
}
|
|
1338
|
+
export interface Result12 {
|
|
1339
|
+
__typename: string;
|
|
1340
|
+
rest_id: string;
|
|
1341
|
+
core: Core4;
|
|
1342
|
+
unmention_data: UnmentionData4;
|
|
1343
|
+
edit_control: EditControl4;
|
|
1344
|
+
edit_perspective: EditPerspective4;
|
|
1345
|
+
is_translatable: boolean;
|
|
1346
|
+
views: Views4;
|
|
1347
|
+
source: string;
|
|
1348
|
+
legacy: Legacy13;
|
|
1349
|
+
quick_promote_eligibility: QuickPromoteEligibility2;
|
|
1350
|
+
note_tweet?: NoteTweet2;
|
|
1351
|
+
}
|
|
1352
|
+
export interface Core4 {
|
|
1353
|
+
user_results: UserResults5;
|
|
1354
|
+
}
|
|
1355
|
+
export interface UserResults5 {
|
|
1356
|
+
result: Result13;
|
|
1357
|
+
}
|
|
1358
|
+
export interface Result13 {
|
|
2245
1359
|
__typename: string;
|
|
2246
1360
|
id: string;
|
|
2247
1361
|
rest_id: string;
|
|
2248
|
-
affiliates_highlighted_label: AffiliatesHighlightedLabel8;
|
|
2249
1362
|
has_graduated_access: boolean;
|
|
2250
|
-
has_nft_avatar: boolean;
|
|
2251
1363
|
is_blue_verified: boolean;
|
|
2252
|
-
|
|
2253
|
-
|
|
1364
|
+
profile_image_shape: string;
|
|
1365
|
+
legacy: Legacy12;
|
|
2254
1366
|
super_follow_eligible: boolean;
|
|
2255
|
-
super_followed_by: boolean;
|
|
2256
|
-
super_following: boolean;
|
|
2257
1367
|
verified_phone_status: boolean;
|
|
2258
1368
|
}
|
|
2259
|
-
export interface
|
|
2260
|
-
|
|
2261
|
-
export interface Legacy14 {
|
|
2262
|
-
blocked_by: boolean;
|
|
2263
|
-
blocking: boolean;
|
|
1369
|
+
export interface Legacy12 {
|
|
1370
|
+
following: boolean;
|
|
2264
1371
|
can_dm: boolean;
|
|
2265
1372
|
can_media_tag: boolean;
|
|
2266
1373
|
created_at: string;
|
|
2267
1374
|
default_profile: boolean;
|
|
2268
1375
|
default_profile_image: boolean;
|
|
2269
1376
|
description: string;
|
|
2270
|
-
entities:
|
|
1377
|
+
entities: Entities10;
|
|
2271
1378
|
fast_followers_count: number;
|
|
2272
1379
|
favourites_count: number;
|
|
2273
|
-
follow_request_sent: boolean;
|
|
2274
|
-
followed_by: boolean;
|
|
2275
1380
|
followers_count: number;
|
|
2276
|
-
following: boolean;
|
|
2277
1381
|
friends_count: number;
|
|
2278
1382
|
has_custom_timelines: boolean;
|
|
2279
1383
|
is_translator: boolean;
|
|
2280
1384
|
listed_count: number;
|
|
2281
1385
|
location: string;
|
|
2282
1386
|
media_count: number;
|
|
2283
|
-
muting: boolean;
|
|
2284
1387
|
name: string;
|
|
2285
1388
|
normal_followers_count: number;
|
|
2286
|
-
|
|
2287
|
-
pinned_tweet_ids_str: string[];
|
|
1389
|
+
pinned_tweet_ids_str: any[];
|
|
2288
1390
|
possibly_sensitive: boolean;
|
|
2289
|
-
profile_banner_extensions: ProfileBannerExtensions8;
|
|
2290
1391
|
profile_banner_url: string;
|
|
2291
|
-
profile_image_extensions: ProfileImageExtensions8;
|
|
2292
1392
|
profile_image_url_https: string;
|
|
2293
1393
|
profile_interstitial_type: string;
|
|
2294
|
-
protected: boolean;
|
|
2295
1394
|
screen_name: string;
|
|
2296
1395
|
statuses_count: number;
|
|
2297
1396
|
translator_type: string;
|
|
2298
|
-
url: string;
|
|
2299
1397
|
verified: boolean;
|
|
2300
1398
|
want_retweets: boolean;
|
|
2301
1399
|
withheld_in_countries: any[];
|
|
2302
1400
|
}
|
|
2303
|
-
export interface
|
|
2304
|
-
description:
|
|
2305
|
-
url: Url21;
|
|
2306
|
-
}
|
|
2307
|
-
export interface Description8 {
|
|
2308
|
-
urls: Url20[];
|
|
2309
|
-
}
|
|
2310
|
-
export interface Url20 {
|
|
2311
|
-
display_url: string;
|
|
2312
|
-
expanded_url: string;
|
|
2313
|
-
url: string;
|
|
2314
|
-
indices: number[];
|
|
2315
|
-
}
|
|
2316
|
-
export interface Url21 {
|
|
2317
|
-
urls: Url22[];
|
|
2318
|
-
}
|
|
2319
|
-
export interface Url22 {
|
|
2320
|
-
display_url: string;
|
|
2321
|
-
expanded_url: string;
|
|
2322
|
-
url: string;
|
|
2323
|
-
indices: number[];
|
|
2324
|
-
}
|
|
2325
|
-
export interface ProfileBannerExtensions8 {
|
|
2326
|
-
mediaColor: MediaColor15;
|
|
2327
|
-
}
|
|
2328
|
-
export interface MediaColor15 {
|
|
2329
|
-
r: R15;
|
|
2330
|
-
}
|
|
2331
|
-
export interface R15 {
|
|
2332
|
-
ok: Ok15;
|
|
2333
|
-
}
|
|
2334
|
-
export interface Ok15 {
|
|
2335
|
-
palette: Palette20[];
|
|
1401
|
+
export interface Entities10 {
|
|
1402
|
+
description: Description7;
|
|
2336
1403
|
}
|
|
2337
|
-
export interface
|
|
2338
|
-
|
|
2339
|
-
rgb: Rgb20;
|
|
1404
|
+
export interface Description7 {
|
|
1405
|
+
urls: any[];
|
|
2340
1406
|
}
|
|
2341
|
-
export interface
|
|
2342
|
-
blue: number;
|
|
2343
|
-
green: number;
|
|
2344
|
-
red: number;
|
|
1407
|
+
export interface UnmentionData4 {
|
|
2345
1408
|
}
|
|
2346
|
-
export interface
|
|
2347
|
-
|
|
1409
|
+
export interface EditControl4 {
|
|
1410
|
+
edit_tweet_ids: string[];
|
|
1411
|
+
editable_until_msecs: string;
|
|
1412
|
+
is_edit_eligible: boolean;
|
|
1413
|
+
edits_remaining: string;
|
|
2348
1414
|
}
|
|
2349
|
-
export interface
|
|
2350
|
-
|
|
1415
|
+
export interface EditPerspective4 {
|
|
1416
|
+
favorited: boolean;
|
|
1417
|
+
retweeted: boolean;
|
|
2351
1418
|
}
|
|
2352
|
-
export interface
|
|
2353
|
-
|
|
1419
|
+
export interface Views4 {
|
|
1420
|
+
count: string;
|
|
1421
|
+
state: string;
|
|
2354
1422
|
}
|
|
2355
|
-
export interface
|
|
2356
|
-
|
|
1423
|
+
export interface Legacy13 {
|
|
1424
|
+
bookmark_count: number;
|
|
1425
|
+
bookmarked: boolean;
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
conversation_id_str: string;
|
|
1428
|
+
display_text_range: number[];
|
|
1429
|
+
entities: Entities11;
|
|
1430
|
+
favorite_count: number;
|
|
1431
|
+
favorited: boolean;
|
|
1432
|
+
full_text: string;
|
|
1433
|
+
is_quote_status: boolean;
|
|
1434
|
+
lang: string;
|
|
1435
|
+
quote_count: number;
|
|
1436
|
+
reply_count: number;
|
|
1437
|
+
retweet_count: number;
|
|
1438
|
+
retweeted: boolean;
|
|
1439
|
+
user_id_str: string;
|
|
1440
|
+
id_str: string;
|
|
1441
|
+
self_thread: SelfThread3;
|
|
1442
|
+
in_reply_to_screen_name?: string;
|
|
1443
|
+
in_reply_to_status_id_str?: string;
|
|
1444
|
+
in_reply_to_user_id_str?: string;
|
|
2357
1445
|
}
|
|
2358
|
-
export interface
|
|
2359
|
-
|
|
2360
|
-
|
|
1446
|
+
export interface Entities11 {
|
|
1447
|
+
user_mentions: any[];
|
|
1448
|
+
urls: any[];
|
|
1449
|
+
hashtags: Hashtag3[];
|
|
1450
|
+
symbols: any[];
|
|
2361
1451
|
}
|
|
2362
|
-
export interface
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
red: number;
|
|
1452
|
+
export interface Hashtag3 {
|
|
1453
|
+
indices: number[];
|
|
1454
|
+
text: string;
|
|
2366
1455
|
}
|
|
2367
|
-
export interface
|
|
2368
|
-
|
|
2369
|
-
professional_type: string;
|
|
2370
|
-
category: Category4[];
|
|
1456
|
+
export interface SelfThread3 {
|
|
1457
|
+
id_str: string;
|
|
2371
1458
|
}
|
|
2372
|
-
export interface
|
|
2373
|
-
|
|
2374
|
-
name: string;
|
|
2375
|
-
icon_name: string;
|
|
1459
|
+
export interface QuickPromoteEligibility2 {
|
|
1460
|
+
eligibility: string;
|
|
2376
1461
|
}
|
|
2377
|
-
export interface
|
|
2378
|
-
|
|
1462
|
+
export interface NoteTweet2 {
|
|
1463
|
+
is_expandable: boolean;
|
|
1464
|
+
note_tweet_results: NoteTweetResults2;
|
|
2379
1465
|
}
|
|
2380
|
-
export interface
|
|
2381
|
-
|
|
2382
|
-
duration_millis: number;
|
|
2383
|
-
variants: Variant3[];
|
|
1466
|
+
export interface NoteTweetResults2 {
|
|
1467
|
+
result: Result14;
|
|
2384
1468
|
}
|
|
2385
|
-
export interface
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
1469
|
+
export interface Result14 {
|
|
1470
|
+
id: string;
|
|
1471
|
+
text: string;
|
|
1472
|
+
entity_set: EntitySet2;
|
|
2389
1473
|
}
|
|
2390
|
-
export interface
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
1474
|
+
export interface EntitySet2 {
|
|
1475
|
+
user_mentions: any[];
|
|
1476
|
+
urls: any[];
|
|
1477
|
+
hashtags: any[];
|
|
1478
|
+
symbols: any[];
|
|
2395
1479
|
}
|
|
2396
1480
|
export interface ClientEventInfo {
|
|
2397
1481
|
component: string;
|