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
|
@@ -0,0 +1,1059 @@
|
|
|
1
|
+
export default interface Root {
|
|
2
|
+
data: Data;
|
|
3
|
+
}
|
|
4
|
+
export interface Data {
|
|
5
|
+
user: User;
|
|
6
|
+
}
|
|
7
|
+
export interface User {
|
|
8
|
+
result: Result;
|
|
9
|
+
}
|
|
10
|
+
export interface Result {
|
|
11
|
+
__typename: string;
|
|
12
|
+
timeline_v2: TimelineV2;
|
|
13
|
+
}
|
|
14
|
+
export interface TimelineV2 {
|
|
15
|
+
timeline: Timeline;
|
|
16
|
+
}
|
|
17
|
+
export interface Timeline {
|
|
18
|
+
instructions: Instruction[];
|
|
19
|
+
responseObjects: ResponseObjects;
|
|
20
|
+
}
|
|
21
|
+
export interface Instruction {
|
|
22
|
+
type: string;
|
|
23
|
+
entries: Entry[];
|
|
24
|
+
}
|
|
25
|
+
export interface Entry {
|
|
26
|
+
entryId: string;
|
|
27
|
+
sortIndex: string;
|
|
28
|
+
content: Content;
|
|
29
|
+
}
|
|
30
|
+
export interface Content {
|
|
31
|
+
entryType: string;
|
|
32
|
+
itemContent?: ItemContent;
|
|
33
|
+
value?: string;
|
|
34
|
+
cursorType?: string;
|
|
35
|
+
stopOnEmptyResponse?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface ItemContent {
|
|
38
|
+
itemType: string;
|
|
39
|
+
tweet_results: TweetResults;
|
|
40
|
+
tweetDisplayType: string;
|
|
41
|
+
}
|
|
42
|
+
export interface TweetResults {
|
|
43
|
+
result: Result2;
|
|
44
|
+
}
|
|
45
|
+
export interface Result2 {
|
|
46
|
+
__typename: string;
|
|
47
|
+
rest_id: string;
|
|
48
|
+
core: Core;
|
|
49
|
+
legacy: Legacy2;
|
|
50
|
+
card?: Card;
|
|
51
|
+
quoted_status_result?: QuotedStatusResult;
|
|
52
|
+
}
|
|
53
|
+
export interface Core {
|
|
54
|
+
user_results: UserResults;
|
|
55
|
+
}
|
|
56
|
+
export interface UserResults {
|
|
57
|
+
result: Result3;
|
|
58
|
+
}
|
|
59
|
+
export interface Result3 {
|
|
60
|
+
__typename: string;
|
|
61
|
+
id: string;
|
|
62
|
+
rest_id: string;
|
|
63
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel;
|
|
64
|
+
has_nft_avatar: boolean;
|
|
65
|
+
legacy: Legacy;
|
|
66
|
+
professional?: Professional;
|
|
67
|
+
}
|
|
68
|
+
export interface AffiliatesHighlightedLabel {
|
|
69
|
+
}
|
|
70
|
+
export interface Legacy {
|
|
71
|
+
blocked_by: boolean;
|
|
72
|
+
blocking: boolean;
|
|
73
|
+
can_dm: boolean;
|
|
74
|
+
can_media_tag: boolean;
|
|
75
|
+
created_at: string;
|
|
76
|
+
default_profile: boolean;
|
|
77
|
+
default_profile_image: boolean;
|
|
78
|
+
description: string;
|
|
79
|
+
entities: Entities;
|
|
80
|
+
fast_followers_count: number;
|
|
81
|
+
favourites_count: number;
|
|
82
|
+
follow_request_sent: boolean;
|
|
83
|
+
followed_by: boolean;
|
|
84
|
+
followers_count: number;
|
|
85
|
+
following: boolean;
|
|
86
|
+
friends_count: number;
|
|
87
|
+
has_custom_timelines: boolean;
|
|
88
|
+
is_translator: boolean;
|
|
89
|
+
listed_count: number;
|
|
90
|
+
location: string;
|
|
91
|
+
media_count: number;
|
|
92
|
+
muting: boolean;
|
|
93
|
+
name: string;
|
|
94
|
+
normal_followers_count: number;
|
|
95
|
+
notifications: boolean;
|
|
96
|
+
pinned_tweet_ids_str: string[];
|
|
97
|
+
profile_banner_extensions: ProfileBannerExtensions;
|
|
98
|
+
profile_banner_url: string;
|
|
99
|
+
profile_image_extensions: ProfileImageExtensions;
|
|
100
|
+
profile_image_url_https: string;
|
|
101
|
+
profile_interstitial_type: string;
|
|
102
|
+
protected: boolean;
|
|
103
|
+
screen_name: string;
|
|
104
|
+
statuses_count: number;
|
|
105
|
+
translator_type: string;
|
|
106
|
+
verified: boolean;
|
|
107
|
+
want_retweets: boolean;
|
|
108
|
+
withheld_in_countries: any[];
|
|
109
|
+
url?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface Entities {
|
|
112
|
+
description: Description;
|
|
113
|
+
url?: Url2;
|
|
114
|
+
}
|
|
115
|
+
export interface Description {
|
|
116
|
+
urls: Url[];
|
|
117
|
+
}
|
|
118
|
+
export interface Url {
|
|
119
|
+
display_url: string;
|
|
120
|
+
expanded_url: string;
|
|
121
|
+
url: string;
|
|
122
|
+
indices: number[];
|
|
123
|
+
}
|
|
124
|
+
export interface Url2 {
|
|
125
|
+
urls: Url3[];
|
|
126
|
+
}
|
|
127
|
+
export interface Url3 {
|
|
128
|
+
display_url: string;
|
|
129
|
+
expanded_url: string;
|
|
130
|
+
url: string;
|
|
131
|
+
indices: number[];
|
|
132
|
+
}
|
|
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
|
+
export interface Professional {
|
|
176
|
+
rest_id: string;
|
|
177
|
+
professional_type: string;
|
|
178
|
+
category: Category[];
|
|
179
|
+
}
|
|
180
|
+
export interface Category {
|
|
181
|
+
id: number;
|
|
182
|
+
name: string;
|
|
183
|
+
}
|
|
184
|
+
export interface Legacy2 {
|
|
185
|
+
created_at: string;
|
|
186
|
+
conversation_id_str: string;
|
|
187
|
+
display_text_range: number[];
|
|
188
|
+
entities: Entities2;
|
|
189
|
+
extended_entities?: ExtendedEntities;
|
|
190
|
+
favorite_count: number;
|
|
191
|
+
favorited: boolean;
|
|
192
|
+
full_text: string;
|
|
193
|
+
is_quote_status: boolean;
|
|
194
|
+
lang: string;
|
|
195
|
+
possibly_sensitive?: boolean;
|
|
196
|
+
possibly_sensitive_editable?: boolean;
|
|
197
|
+
quote_count: number;
|
|
198
|
+
reply_count: number;
|
|
199
|
+
retweet_count: number;
|
|
200
|
+
retweeted: boolean;
|
|
201
|
+
source: string;
|
|
202
|
+
user_id_str: string;
|
|
203
|
+
id_str: string;
|
|
204
|
+
in_reply_to_screen_name?: string;
|
|
205
|
+
in_reply_to_status_id_str?: string;
|
|
206
|
+
in_reply_to_user_id_str?: string;
|
|
207
|
+
quoted_status_id_str?: string;
|
|
208
|
+
quoted_status_permalink?: QuotedStatusPermalink;
|
|
209
|
+
self_thread?: SelfThread;
|
|
210
|
+
}
|
|
211
|
+
export interface Entities2 {
|
|
212
|
+
media?: Medum[];
|
|
213
|
+
user_mentions: UserMention[];
|
|
214
|
+
urls: Url4[];
|
|
215
|
+
hashtags: Hashtag[];
|
|
216
|
+
symbols: any[];
|
|
217
|
+
}
|
|
218
|
+
export interface Medum {
|
|
219
|
+
display_url: string;
|
|
220
|
+
expanded_url: string;
|
|
221
|
+
id_str: string;
|
|
222
|
+
indices: number[];
|
|
223
|
+
media_url_https: string;
|
|
224
|
+
type: string;
|
|
225
|
+
url: string;
|
|
226
|
+
features: Features;
|
|
227
|
+
sizes: Sizes;
|
|
228
|
+
original_info: OriginalInfo;
|
|
229
|
+
source_status_id_str?: string;
|
|
230
|
+
source_user_id_str?: string;
|
|
231
|
+
}
|
|
232
|
+
export interface Features {
|
|
233
|
+
large?: Large;
|
|
234
|
+
medium?: Medium;
|
|
235
|
+
small?: Small;
|
|
236
|
+
orig?: Orig;
|
|
237
|
+
all?: All;
|
|
238
|
+
}
|
|
239
|
+
export interface Large {
|
|
240
|
+
faces: Face[];
|
|
241
|
+
}
|
|
242
|
+
export interface Face {
|
|
243
|
+
x: number;
|
|
244
|
+
y: number;
|
|
245
|
+
h: number;
|
|
246
|
+
w: number;
|
|
247
|
+
}
|
|
248
|
+
export interface Medium {
|
|
249
|
+
faces: Face2[];
|
|
250
|
+
}
|
|
251
|
+
export interface Face2 {
|
|
252
|
+
x: number;
|
|
253
|
+
y: number;
|
|
254
|
+
h: number;
|
|
255
|
+
w: number;
|
|
256
|
+
}
|
|
257
|
+
export interface Small {
|
|
258
|
+
faces: Face3[];
|
|
259
|
+
}
|
|
260
|
+
export interface Face3 {
|
|
261
|
+
x: number;
|
|
262
|
+
y: number;
|
|
263
|
+
h: number;
|
|
264
|
+
w: number;
|
|
265
|
+
}
|
|
266
|
+
export interface Orig {
|
|
267
|
+
faces: Face4[];
|
|
268
|
+
}
|
|
269
|
+
export interface Face4 {
|
|
270
|
+
x: number;
|
|
271
|
+
y: number;
|
|
272
|
+
h: number;
|
|
273
|
+
w: number;
|
|
274
|
+
}
|
|
275
|
+
export interface All {
|
|
276
|
+
tags: Tag[];
|
|
277
|
+
}
|
|
278
|
+
export interface Tag {
|
|
279
|
+
user_id: string;
|
|
280
|
+
name: string;
|
|
281
|
+
screen_name: string;
|
|
282
|
+
type: string;
|
|
283
|
+
}
|
|
284
|
+
export interface Sizes {
|
|
285
|
+
large: Large2;
|
|
286
|
+
medium: Medium2;
|
|
287
|
+
small: Small2;
|
|
288
|
+
thumb: Thumb;
|
|
289
|
+
}
|
|
290
|
+
export interface Large2 {
|
|
291
|
+
h: number;
|
|
292
|
+
w: number;
|
|
293
|
+
resize: string;
|
|
294
|
+
}
|
|
295
|
+
export interface Medium2 {
|
|
296
|
+
h: number;
|
|
297
|
+
w: number;
|
|
298
|
+
resize: string;
|
|
299
|
+
}
|
|
300
|
+
export interface Small2 {
|
|
301
|
+
h: number;
|
|
302
|
+
w: number;
|
|
303
|
+
resize: string;
|
|
304
|
+
}
|
|
305
|
+
export interface Thumb {
|
|
306
|
+
h: number;
|
|
307
|
+
w: number;
|
|
308
|
+
resize: string;
|
|
309
|
+
}
|
|
310
|
+
export interface OriginalInfo {
|
|
311
|
+
height: number;
|
|
312
|
+
width: number;
|
|
313
|
+
focus_rects?: FocusRect[];
|
|
314
|
+
}
|
|
315
|
+
export interface FocusRect {
|
|
316
|
+
x: number;
|
|
317
|
+
y: number;
|
|
318
|
+
w: number;
|
|
319
|
+
h: number;
|
|
320
|
+
}
|
|
321
|
+
export interface UserMention {
|
|
322
|
+
id_str: string;
|
|
323
|
+
name: string;
|
|
324
|
+
screen_name: string;
|
|
325
|
+
indices: number[];
|
|
326
|
+
}
|
|
327
|
+
export interface Url4 {
|
|
328
|
+
display_url: string;
|
|
329
|
+
expanded_url: string;
|
|
330
|
+
url: string;
|
|
331
|
+
indices: number[];
|
|
332
|
+
}
|
|
333
|
+
export interface Hashtag {
|
|
334
|
+
indices: number[];
|
|
335
|
+
text: string;
|
|
336
|
+
}
|
|
337
|
+
export interface ExtendedEntities {
|
|
338
|
+
media: Medum2[];
|
|
339
|
+
}
|
|
340
|
+
export interface Medum2 {
|
|
341
|
+
display_url: string;
|
|
342
|
+
expanded_url: string;
|
|
343
|
+
id_str: string;
|
|
344
|
+
indices: number[];
|
|
345
|
+
media_key: string;
|
|
346
|
+
media_url_https: string;
|
|
347
|
+
type: string;
|
|
348
|
+
url: string;
|
|
349
|
+
ext_media_color: ExtMediaColor;
|
|
350
|
+
ext_media_availability: ExtMediaAvailability;
|
|
351
|
+
features: Features2;
|
|
352
|
+
sizes: Sizes2;
|
|
353
|
+
original_info: OriginalInfo2;
|
|
354
|
+
additional_media_info?: AdditionalMediaInfo;
|
|
355
|
+
mediaStats?: MediaStats;
|
|
356
|
+
video_info?: VideoInfo;
|
|
357
|
+
source_status_id_str?: string;
|
|
358
|
+
source_user_id_str?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface ExtMediaColor {
|
|
361
|
+
palette: Palette3[];
|
|
362
|
+
}
|
|
363
|
+
export interface Palette3 {
|
|
364
|
+
percentage: number;
|
|
365
|
+
rgb: Rgb3;
|
|
366
|
+
}
|
|
367
|
+
export interface Rgb3 {
|
|
368
|
+
blue: number;
|
|
369
|
+
green: number;
|
|
370
|
+
red: number;
|
|
371
|
+
}
|
|
372
|
+
export interface ExtMediaAvailability {
|
|
373
|
+
status: string;
|
|
374
|
+
}
|
|
375
|
+
export interface Features2 {
|
|
376
|
+
large?: Large3;
|
|
377
|
+
medium?: Medium3;
|
|
378
|
+
small?: Small3;
|
|
379
|
+
orig?: Orig2;
|
|
380
|
+
all?: All2;
|
|
381
|
+
}
|
|
382
|
+
export interface Large3 {
|
|
383
|
+
faces: Face5[];
|
|
384
|
+
}
|
|
385
|
+
export interface Face5 {
|
|
386
|
+
x: number;
|
|
387
|
+
y: number;
|
|
388
|
+
h: number;
|
|
389
|
+
w: number;
|
|
390
|
+
}
|
|
391
|
+
export interface Medium3 {
|
|
392
|
+
faces: Face6[];
|
|
393
|
+
}
|
|
394
|
+
export interface Face6 {
|
|
395
|
+
x: number;
|
|
396
|
+
y: number;
|
|
397
|
+
h: number;
|
|
398
|
+
w: number;
|
|
399
|
+
}
|
|
400
|
+
export interface Small3 {
|
|
401
|
+
faces: Face7[];
|
|
402
|
+
}
|
|
403
|
+
export interface Face7 {
|
|
404
|
+
x: number;
|
|
405
|
+
y: number;
|
|
406
|
+
h: number;
|
|
407
|
+
w: number;
|
|
408
|
+
}
|
|
409
|
+
export interface Orig2 {
|
|
410
|
+
faces: Face8[];
|
|
411
|
+
}
|
|
412
|
+
export interface Face8 {
|
|
413
|
+
x: number;
|
|
414
|
+
y: number;
|
|
415
|
+
h: number;
|
|
416
|
+
w: number;
|
|
417
|
+
}
|
|
418
|
+
export interface All2 {
|
|
419
|
+
tags: Tag2[];
|
|
420
|
+
}
|
|
421
|
+
export interface Tag2 {
|
|
422
|
+
user_id: string;
|
|
423
|
+
name: string;
|
|
424
|
+
screen_name: string;
|
|
425
|
+
type: string;
|
|
426
|
+
}
|
|
427
|
+
export interface Sizes2 {
|
|
428
|
+
large: Large4;
|
|
429
|
+
medium: Medium4;
|
|
430
|
+
small: Small4;
|
|
431
|
+
thumb: Thumb2;
|
|
432
|
+
}
|
|
433
|
+
export interface Large4 {
|
|
434
|
+
h: number;
|
|
435
|
+
w: number;
|
|
436
|
+
resize: string;
|
|
437
|
+
}
|
|
438
|
+
export interface Medium4 {
|
|
439
|
+
h: number;
|
|
440
|
+
w: number;
|
|
441
|
+
resize: string;
|
|
442
|
+
}
|
|
443
|
+
export interface Small4 {
|
|
444
|
+
h: number;
|
|
445
|
+
w: number;
|
|
446
|
+
resize: string;
|
|
447
|
+
}
|
|
448
|
+
export interface Thumb2 {
|
|
449
|
+
h: number;
|
|
450
|
+
w: number;
|
|
451
|
+
resize: string;
|
|
452
|
+
}
|
|
453
|
+
export interface OriginalInfo2 {
|
|
454
|
+
height: number;
|
|
455
|
+
width: number;
|
|
456
|
+
focus_rects?: FocusRect2[];
|
|
457
|
+
}
|
|
458
|
+
export interface FocusRect2 {
|
|
459
|
+
x: number;
|
|
460
|
+
y: number;
|
|
461
|
+
w: number;
|
|
462
|
+
h: number;
|
|
463
|
+
}
|
|
464
|
+
export interface AdditionalMediaInfo {
|
|
465
|
+
monetizable: boolean;
|
|
466
|
+
source_user?: SourceUser;
|
|
467
|
+
}
|
|
468
|
+
export interface SourceUser {
|
|
469
|
+
user_results: UserResults2;
|
|
470
|
+
}
|
|
471
|
+
export interface UserResults2 {
|
|
472
|
+
result: Result4;
|
|
473
|
+
}
|
|
474
|
+
export interface Result4 {
|
|
475
|
+
__typename: string;
|
|
476
|
+
id: string;
|
|
477
|
+
rest_id: string;
|
|
478
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel2;
|
|
479
|
+
has_nft_avatar: boolean;
|
|
480
|
+
legacy: Legacy3;
|
|
481
|
+
}
|
|
482
|
+
export interface AffiliatesHighlightedLabel2 {
|
|
483
|
+
}
|
|
484
|
+
export interface Legacy3 {
|
|
485
|
+
blocked_by: boolean;
|
|
486
|
+
blocking: boolean;
|
|
487
|
+
can_dm: boolean;
|
|
488
|
+
can_media_tag: boolean;
|
|
489
|
+
created_at: string;
|
|
490
|
+
default_profile: boolean;
|
|
491
|
+
default_profile_image: boolean;
|
|
492
|
+
description: string;
|
|
493
|
+
entities: Entities3;
|
|
494
|
+
fast_followers_count: number;
|
|
495
|
+
favourites_count: number;
|
|
496
|
+
follow_request_sent: boolean;
|
|
497
|
+
followed_by: boolean;
|
|
498
|
+
followers_count: number;
|
|
499
|
+
following: boolean;
|
|
500
|
+
friends_count: number;
|
|
501
|
+
has_custom_timelines: boolean;
|
|
502
|
+
is_translator: boolean;
|
|
503
|
+
listed_count: number;
|
|
504
|
+
location: string;
|
|
505
|
+
media_count: number;
|
|
506
|
+
muting: boolean;
|
|
507
|
+
name: string;
|
|
508
|
+
normal_followers_count: number;
|
|
509
|
+
notifications: boolean;
|
|
510
|
+
pinned_tweet_ids_str: string[];
|
|
511
|
+
profile_banner_extensions: ProfileBannerExtensions2;
|
|
512
|
+
profile_banner_url: string;
|
|
513
|
+
profile_image_extensions: ProfileImageExtensions2;
|
|
514
|
+
profile_image_url_https: string;
|
|
515
|
+
profile_interstitial_type: string;
|
|
516
|
+
protected: boolean;
|
|
517
|
+
screen_name: string;
|
|
518
|
+
statuses_count: number;
|
|
519
|
+
translator_type: string;
|
|
520
|
+
verified: boolean;
|
|
521
|
+
want_retweets: boolean;
|
|
522
|
+
withheld_in_countries: any[];
|
|
523
|
+
}
|
|
524
|
+
export interface Entities3 {
|
|
525
|
+
description: Description2;
|
|
526
|
+
}
|
|
527
|
+
export interface Description2 {
|
|
528
|
+
urls: any[];
|
|
529
|
+
}
|
|
530
|
+
export interface ProfileBannerExtensions2 {
|
|
531
|
+
mediaColor: MediaColor3;
|
|
532
|
+
}
|
|
533
|
+
export interface MediaColor3 {
|
|
534
|
+
r: R3;
|
|
535
|
+
}
|
|
536
|
+
export interface R3 {
|
|
537
|
+
ok?: Ok3;
|
|
538
|
+
}
|
|
539
|
+
export interface Ok3 {
|
|
540
|
+
palette: Palette4[];
|
|
541
|
+
}
|
|
542
|
+
export interface Palette4 {
|
|
543
|
+
percentage: number;
|
|
544
|
+
rgb: Rgb4;
|
|
545
|
+
}
|
|
546
|
+
export interface Rgb4 {
|
|
547
|
+
blue: number;
|
|
548
|
+
green: number;
|
|
549
|
+
red: number;
|
|
550
|
+
}
|
|
551
|
+
export interface ProfileImageExtensions2 {
|
|
552
|
+
mediaColor: MediaColor4;
|
|
553
|
+
}
|
|
554
|
+
export interface MediaColor4 {
|
|
555
|
+
r: R4;
|
|
556
|
+
}
|
|
557
|
+
export interface R4 {
|
|
558
|
+
ok: Ok4;
|
|
559
|
+
}
|
|
560
|
+
export interface Ok4 {
|
|
561
|
+
palette: Palette5[];
|
|
562
|
+
}
|
|
563
|
+
export interface Palette5 {
|
|
564
|
+
percentage: number;
|
|
565
|
+
rgb: Rgb5;
|
|
566
|
+
}
|
|
567
|
+
export interface Rgb5 {
|
|
568
|
+
blue: number;
|
|
569
|
+
green: number;
|
|
570
|
+
red: number;
|
|
571
|
+
}
|
|
572
|
+
export interface MediaStats {
|
|
573
|
+
viewCount: number;
|
|
574
|
+
}
|
|
575
|
+
export interface VideoInfo {
|
|
576
|
+
aspect_ratio: number[];
|
|
577
|
+
duration_millis: number;
|
|
578
|
+
variants: Variant[];
|
|
579
|
+
}
|
|
580
|
+
export interface Variant {
|
|
581
|
+
bitrate?: number;
|
|
582
|
+
content_type: string;
|
|
583
|
+
url: string;
|
|
584
|
+
}
|
|
585
|
+
export interface QuotedStatusPermalink {
|
|
586
|
+
url: string;
|
|
587
|
+
expanded: string;
|
|
588
|
+
display: string;
|
|
589
|
+
}
|
|
590
|
+
export interface SelfThread {
|
|
591
|
+
id_str: string;
|
|
592
|
+
}
|
|
593
|
+
export interface Card {
|
|
594
|
+
rest_id: string;
|
|
595
|
+
legacy: Legacy4;
|
|
596
|
+
}
|
|
597
|
+
export interface Legacy4 {
|
|
598
|
+
binding_values: BindingValue[];
|
|
599
|
+
card_platform: CardPlatform;
|
|
600
|
+
name: string;
|
|
601
|
+
url: string;
|
|
602
|
+
user_refs: UserRef[];
|
|
603
|
+
}
|
|
604
|
+
export interface BindingValue {
|
|
605
|
+
key: string;
|
|
606
|
+
value: Value;
|
|
607
|
+
}
|
|
608
|
+
export interface Value {
|
|
609
|
+
image_value?: ImageValue;
|
|
610
|
+
type: string;
|
|
611
|
+
string_value?: string;
|
|
612
|
+
scribe_key?: string;
|
|
613
|
+
user_value?: UserValue;
|
|
614
|
+
image_color_value?: ImageColorValue;
|
|
615
|
+
}
|
|
616
|
+
export interface ImageValue {
|
|
617
|
+
alt: string;
|
|
618
|
+
height: number;
|
|
619
|
+
width: number;
|
|
620
|
+
url: string;
|
|
621
|
+
}
|
|
622
|
+
export interface UserValue {
|
|
623
|
+
id_str: string;
|
|
624
|
+
path: any[];
|
|
625
|
+
}
|
|
626
|
+
export interface ImageColorValue {
|
|
627
|
+
palette: Palette6[];
|
|
628
|
+
}
|
|
629
|
+
export interface Palette6 {
|
|
630
|
+
rgb: Rgb6;
|
|
631
|
+
percentage: number;
|
|
632
|
+
}
|
|
633
|
+
export interface Rgb6 {
|
|
634
|
+
blue: number;
|
|
635
|
+
green: number;
|
|
636
|
+
red: number;
|
|
637
|
+
}
|
|
638
|
+
export interface CardPlatform {
|
|
639
|
+
platform: Platform;
|
|
640
|
+
}
|
|
641
|
+
export interface Platform {
|
|
642
|
+
audience: Audience;
|
|
643
|
+
device: Device;
|
|
644
|
+
}
|
|
645
|
+
export interface Audience {
|
|
646
|
+
name: string;
|
|
647
|
+
}
|
|
648
|
+
export interface Device {
|
|
649
|
+
name: string;
|
|
650
|
+
version: string;
|
|
651
|
+
}
|
|
652
|
+
export interface UserRef {
|
|
653
|
+
id: string;
|
|
654
|
+
rest_id: string;
|
|
655
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel3;
|
|
656
|
+
has_nft_avatar: boolean;
|
|
657
|
+
legacy: Legacy5;
|
|
658
|
+
}
|
|
659
|
+
export interface AffiliatesHighlightedLabel3 {
|
|
660
|
+
}
|
|
661
|
+
export interface Legacy5 {
|
|
662
|
+
blocked_by: boolean;
|
|
663
|
+
blocking: boolean;
|
|
664
|
+
can_dm: boolean;
|
|
665
|
+
can_media_tag: boolean;
|
|
666
|
+
created_at: string;
|
|
667
|
+
default_profile: boolean;
|
|
668
|
+
default_profile_image: boolean;
|
|
669
|
+
description: string;
|
|
670
|
+
entities: Entities4;
|
|
671
|
+
fast_followers_count: number;
|
|
672
|
+
favourites_count: number;
|
|
673
|
+
follow_request_sent: boolean;
|
|
674
|
+
followed_by: boolean;
|
|
675
|
+
followers_count: number;
|
|
676
|
+
following: boolean;
|
|
677
|
+
friends_count: number;
|
|
678
|
+
has_custom_timelines: boolean;
|
|
679
|
+
is_translator: boolean;
|
|
680
|
+
listed_count: number;
|
|
681
|
+
location: string;
|
|
682
|
+
media_count: number;
|
|
683
|
+
muting: boolean;
|
|
684
|
+
name: string;
|
|
685
|
+
normal_followers_count: number;
|
|
686
|
+
notifications: boolean;
|
|
687
|
+
pinned_tweet_ids_str: any[];
|
|
688
|
+
profile_banner_extensions: ProfileBannerExtensions3;
|
|
689
|
+
profile_banner_url: string;
|
|
690
|
+
profile_image_extensions: ProfileImageExtensions3;
|
|
691
|
+
profile_image_url_https: string;
|
|
692
|
+
profile_interstitial_type: string;
|
|
693
|
+
protected: boolean;
|
|
694
|
+
screen_name: string;
|
|
695
|
+
statuses_count: number;
|
|
696
|
+
translator_type: string;
|
|
697
|
+
url: string;
|
|
698
|
+
verified: boolean;
|
|
699
|
+
want_retweets: boolean;
|
|
700
|
+
withheld_in_countries: any[];
|
|
701
|
+
}
|
|
702
|
+
export interface Entities4 {
|
|
703
|
+
description: Description3;
|
|
704
|
+
url: Url5;
|
|
705
|
+
}
|
|
706
|
+
export interface Description3 {
|
|
707
|
+
urls: any[];
|
|
708
|
+
}
|
|
709
|
+
export interface Url5 {
|
|
710
|
+
urls: Url6[];
|
|
711
|
+
}
|
|
712
|
+
export interface Url6 {
|
|
713
|
+
display_url: string;
|
|
714
|
+
expanded_url: string;
|
|
715
|
+
url: string;
|
|
716
|
+
indices: number[];
|
|
717
|
+
}
|
|
718
|
+
export interface ProfileBannerExtensions3 {
|
|
719
|
+
mediaColor: MediaColor5;
|
|
720
|
+
}
|
|
721
|
+
export interface MediaColor5 {
|
|
722
|
+
r: R5;
|
|
723
|
+
}
|
|
724
|
+
export interface R5 {
|
|
725
|
+
ok: Ok5;
|
|
726
|
+
}
|
|
727
|
+
export interface Ok5 {
|
|
728
|
+
palette: Palette7[];
|
|
729
|
+
}
|
|
730
|
+
export interface Palette7 {
|
|
731
|
+
percentage: number;
|
|
732
|
+
rgb: Rgb7;
|
|
733
|
+
}
|
|
734
|
+
export interface Rgb7 {
|
|
735
|
+
blue: number;
|
|
736
|
+
green: number;
|
|
737
|
+
red: number;
|
|
738
|
+
}
|
|
739
|
+
export interface ProfileImageExtensions3 {
|
|
740
|
+
mediaColor: MediaColor6;
|
|
741
|
+
}
|
|
742
|
+
export interface MediaColor6 {
|
|
743
|
+
r: R6;
|
|
744
|
+
}
|
|
745
|
+
export interface R6 {
|
|
746
|
+
ok: Ok6;
|
|
747
|
+
}
|
|
748
|
+
export interface Ok6 {
|
|
749
|
+
palette: Palette8[];
|
|
750
|
+
}
|
|
751
|
+
export interface Palette8 {
|
|
752
|
+
percentage: number;
|
|
753
|
+
rgb: Rgb8;
|
|
754
|
+
}
|
|
755
|
+
export interface Rgb8 {
|
|
756
|
+
blue: number;
|
|
757
|
+
green: number;
|
|
758
|
+
red: number;
|
|
759
|
+
}
|
|
760
|
+
export interface QuotedStatusResult {
|
|
761
|
+
result: Result5;
|
|
762
|
+
}
|
|
763
|
+
export interface Result5 {
|
|
764
|
+
__typename: string;
|
|
765
|
+
rest_id: string;
|
|
766
|
+
core: Core2;
|
|
767
|
+
legacy: Legacy7;
|
|
768
|
+
}
|
|
769
|
+
export interface Core2 {
|
|
770
|
+
user_results: UserResults3;
|
|
771
|
+
}
|
|
772
|
+
export interface UserResults3 {
|
|
773
|
+
result: Result6;
|
|
774
|
+
}
|
|
775
|
+
export interface Result6 {
|
|
776
|
+
__typename: string;
|
|
777
|
+
id: string;
|
|
778
|
+
rest_id: string;
|
|
779
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel4;
|
|
780
|
+
has_nft_avatar: boolean;
|
|
781
|
+
legacy: Legacy6;
|
|
782
|
+
professional?: Professional2;
|
|
783
|
+
}
|
|
784
|
+
export interface AffiliatesHighlightedLabel4 {
|
|
785
|
+
}
|
|
786
|
+
export interface Legacy6 {
|
|
787
|
+
blocked_by: boolean;
|
|
788
|
+
blocking: boolean;
|
|
789
|
+
can_dm: boolean;
|
|
790
|
+
can_media_tag: boolean;
|
|
791
|
+
created_at: string;
|
|
792
|
+
default_profile: boolean;
|
|
793
|
+
default_profile_image: boolean;
|
|
794
|
+
description: string;
|
|
795
|
+
entities: Entities5;
|
|
796
|
+
fast_followers_count: number;
|
|
797
|
+
favourites_count: number;
|
|
798
|
+
follow_request_sent: boolean;
|
|
799
|
+
followed_by: boolean;
|
|
800
|
+
followers_count: number;
|
|
801
|
+
following: boolean;
|
|
802
|
+
friends_count: number;
|
|
803
|
+
has_custom_timelines: boolean;
|
|
804
|
+
is_translator: boolean;
|
|
805
|
+
listed_count: number;
|
|
806
|
+
location: string;
|
|
807
|
+
media_count: number;
|
|
808
|
+
muting: boolean;
|
|
809
|
+
name: string;
|
|
810
|
+
normal_followers_count: number;
|
|
811
|
+
notifications: boolean;
|
|
812
|
+
pinned_tweet_ids_str: string[];
|
|
813
|
+
profile_banner_extensions: ProfileBannerExtensions4;
|
|
814
|
+
profile_banner_url: string;
|
|
815
|
+
profile_image_extensions: ProfileImageExtensions4;
|
|
816
|
+
profile_image_url_https: string;
|
|
817
|
+
profile_interstitial_type: string;
|
|
818
|
+
protected: boolean;
|
|
819
|
+
screen_name: string;
|
|
820
|
+
statuses_count: number;
|
|
821
|
+
translator_type: string;
|
|
822
|
+
url: string;
|
|
823
|
+
verified: boolean;
|
|
824
|
+
want_retweets: boolean;
|
|
825
|
+
withheld_in_countries: any[];
|
|
826
|
+
}
|
|
827
|
+
export interface Entities5 {
|
|
828
|
+
description: Description4;
|
|
829
|
+
url: Url7;
|
|
830
|
+
}
|
|
831
|
+
export interface Description4 {
|
|
832
|
+
urls: any[];
|
|
833
|
+
}
|
|
834
|
+
export interface Url7 {
|
|
835
|
+
urls: Url8[];
|
|
836
|
+
}
|
|
837
|
+
export interface Url8 {
|
|
838
|
+
display_url: string;
|
|
839
|
+
expanded_url: string;
|
|
840
|
+
url: string;
|
|
841
|
+
indices: number[];
|
|
842
|
+
}
|
|
843
|
+
export interface ProfileBannerExtensions4 {
|
|
844
|
+
mediaColor: MediaColor7;
|
|
845
|
+
}
|
|
846
|
+
export interface MediaColor7 {
|
|
847
|
+
r: R7;
|
|
848
|
+
}
|
|
849
|
+
export interface R7 {
|
|
850
|
+
ok: Ok7;
|
|
851
|
+
}
|
|
852
|
+
export interface Ok7 {
|
|
853
|
+
palette: Palette9[];
|
|
854
|
+
}
|
|
855
|
+
export interface Palette9 {
|
|
856
|
+
percentage: number;
|
|
857
|
+
rgb: Rgb9;
|
|
858
|
+
}
|
|
859
|
+
export interface Rgb9 {
|
|
860
|
+
blue: number;
|
|
861
|
+
green: number;
|
|
862
|
+
red: number;
|
|
863
|
+
}
|
|
864
|
+
export interface ProfileImageExtensions4 {
|
|
865
|
+
mediaColor: MediaColor8;
|
|
866
|
+
}
|
|
867
|
+
export interface MediaColor8 {
|
|
868
|
+
r: R8;
|
|
869
|
+
}
|
|
870
|
+
export interface R8 {
|
|
871
|
+
ok: Ok8;
|
|
872
|
+
}
|
|
873
|
+
export interface Ok8 {
|
|
874
|
+
palette: Palette10[];
|
|
875
|
+
}
|
|
876
|
+
export interface Palette10 {
|
|
877
|
+
percentage: number;
|
|
878
|
+
rgb: Rgb10;
|
|
879
|
+
}
|
|
880
|
+
export interface Rgb10 {
|
|
881
|
+
blue: number;
|
|
882
|
+
green: number;
|
|
883
|
+
red: number;
|
|
884
|
+
}
|
|
885
|
+
export interface Professional2 {
|
|
886
|
+
rest_id: string;
|
|
887
|
+
professional_type: string;
|
|
888
|
+
category: Category2[];
|
|
889
|
+
}
|
|
890
|
+
export interface Category2 {
|
|
891
|
+
id: number;
|
|
892
|
+
name: string;
|
|
893
|
+
}
|
|
894
|
+
export interface Legacy7 {
|
|
895
|
+
created_at: string;
|
|
896
|
+
conversation_id_str: string;
|
|
897
|
+
display_text_range: number[];
|
|
898
|
+
entities: Entities6;
|
|
899
|
+
extended_entities?: ExtendedEntities2;
|
|
900
|
+
favorite_count: number;
|
|
901
|
+
favorited: boolean;
|
|
902
|
+
full_text: string;
|
|
903
|
+
is_quote_status: boolean;
|
|
904
|
+
lang: string;
|
|
905
|
+
possibly_sensitive?: boolean;
|
|
906
|
+
possibly_sensitive_editable?: boolean;
|
|
907
|
+
quote_count: number;
|
|
908
|
+
reply_count: number;
|
|
909
|
+
retweet_count: number;
|
|
910
|
+
retweeted: boolean;
|
|
911
|
+
source: string;
|
|
912
|
+
user_id_str: string;
|
|
913
|
+
id_str: string;
|
|
914
|
+
}
|
|
915
|
+
export interface Entities6 {
|
|
916
|
+
media?: Medum3[];
|
|
917
|
+
user_mentions: UserMention2[];
|
|
918
|
+
urls: any[];
|
|
919
|
+
hashtags: any[];
|
|
920
|
+
symbols: any[];
|
|
921
|
+
}
|
|
922
|
+
export interface Medum3 {
|
|
923
|
+
display_url: string;
|
|
924
|
+
expanded_url: string;
|
|
925
|
+
id_str: string;
|
|
926
|
+
indices: number[];
|
|
927
|
+
media_url_https: string;
|
|
928
|
+
type: string;
|
|
929
|
+
url: string;
|
|
930
|
+
features: Features3;
|
|
931
|
+
sizes: Sizes3;
|
|
932
|
+
original_info: OriginalInfo3;
|
|
933
|
+
}
|
|
934
|
+
export interface Features3 {
|
|
935
|
+
}
|
|
936
|
+
export interface Sizes3 {
|
|
937
|
+
large: Large5;
|
|
938
|
+
medium: Medium5;
|
|
939
|
+
small: Small5;
|
|
940
|
+
thumb: Thumb3;
|
|
941
|
+
}
|
|
942
|
+
export interface Large5 {
|
|
943
|
+
h: number;
|
|
944
|
+
w: number;
|
|
945
|
+
resize: string;
|
|
946
|
+
}
|
|
947
|
+
export interface Medium5 {
|
|
948
|
+
h: number;
|
|
949
|
+
w: number;
|
|
950
|
+
resize: string;
|
|
951
|
+
}
|
|
952
|
+
export interface Small5 {
|
|
953
|
+
h: number;
|
|
954
|
+
w: number;
|
|
955
|
+
resize: string;
|
|
956
|
+
}
|
|
957
|
+
export interface Thumb3 {
|
|
958
|
+
h: number;
|
|
959
|
+
w: number;
|
|
960
|
+
resize: string;
|
|
961
|
+
}
|
|
962
|
+
export interface OriginalInfo3 {
|
|
963
|
+
height: number;
|
|
964
|
+
width: number;
|
|
965
|
+
}
|
|
966
|
+
export interface UserMention2 {
|
|
967
|
+
id_str: string;
|
|
968
|
+
name: string;
|
|
969
|
+
screen_name: string;
|
|
970
|
+
indices: number[];
|
|
971
|
+
}
|
|
972
|
+
export interface ExtendedEntities2 {
|
|
973
|
+
media: Medum4[];
|
|
974
|
+
}
|
|
975
|
+
export interface Medum4 {
|
|
976
|
+
display_url: string;
|
|
977
|
+
expanded_url: string;
|
|
978
|
+
id_str: string;
|
|
979
|
+
indices: number[];
|
|
980
|
+
media_key: string;
|
|
981
|
+
media_url_https: string;
|
|
982
|
+
type: string;
|
|
983
|
+
url: string;
|
|
984
|
+
additional_media_info: AdditionalMediaInfo2;
|
|
985
|
+
ext_media_color: ExtMediaColor2;
|
|
986
|
+
mediaStats: MediaStats2;
|
|
987
|
+
ext_media_availability: ExtMediaAvailability2;
|
|
988
|
+
features: Features4;
|
|
989
|
+
sizes: Sizes4;
|
|
990
|
+
original_info: OriginalInfo4;
|
|
991
|
+
video_info: VideoInfo2;
|
|
992
|
+
}
|
|
993
|
+
export interface AdditionalMediaInfo2 {
|
|
994
|
+
monetizable: boolean;
|
|
995
|
+
}
|
|
996
|
+
export interface ExtMediaColor2 {
|
|
997
|
+
palette: Palette11[];
|
|
998
|
+
}
|
|
999
|
+
export interface Palette11 {
|
|
1000
|
+
percentage: number;
|
|
1001
|
+
rgb: Rgb11;
|
|
1002
|
+
}
|
|
1003
|
+
export interface Rgb11 {
|
|
1004
|
+
blue: number;
|
|
1005
|
+
green: number;
|
|
1006
|
+
red: number;
|
|
1007
|
+
}
|
|
1008
|
+
export interface MediaStats2 {
|
|
1009
|
+
viewCount: number;
|
|
1010
|
+
}
|
|
1011
|
+
export interface ExtMediaAvailability2 {
|
|
1012
|
+
status: string;
|
|
1013
|
+
}
|
|
1014
|
+
export interface Features4 {
|
|
1015
|
+
}
|
|
1016
|
+
export interface Sizes4 {
|
|
1017
|
+
large: Large6;
|
|
1018
|
+
medium: Medium6;
|
|
1019
|
+
small: Small6;
|
|
1020
|
+
thumb: Thumb4;
|
|
1021
|
+
}
|
|
1022
|
+
export interface Large6 {
|
|
1023
|
+
h: number;
|
|
1024
|
+
w: number;
|
|
1025
|
+
resize: string;
|
|
1026
|
+
}
|
|
1027
|
+
export interface Medium6 {
|
|
1028
|
+
h: number;
|
|
1029
|
+
w: number;
|
|
1030
|
+
resize: string;
|
|
1031
|
+
}
|
|
1032
|
+
export interface Small6 {
|
|
1033
|
+
h: number;
|
|
1034
|
+
w: number;
|
|
1035
|
+
resize: string;
|
|
1036
|
+
}
|
|
1037
|
+
export interface Thumb4 {
|
|
1038
|
+
h: number;
|
|
1039
|
+
w: number;
|
|
1040
|
+
resize: string;
|
|
1041
|
+
}
|
|
1042
|
+
export interface OriginalInfo4 {
|
|
1043
|
+
height: number;
|
|
1044
|
+
width: number;
|
|
1045
|
+
}
|
|
1046
|
+
export interface VideoInfo2 {
|
|
1047
|
+
aspect_ratio: number[];
|
|
1048
|
+
duration_millis: number;
|
|
1049
|
+
variants: Variant2[];
|
|
1050
|
+
}
|
|
1051
|
+
export interface Variant2 {
|
|
1052
|
+
bitrate?: number;
|
|
1053
|
+
content_type: string;
|
|
1054
|
+
url: string;
|
|
1055
|
+
}
|
|
1056
|
+
export interface ResponseObjects {
|
|
1057
|
+
feedbackActions: any[];
|
|
1058
|
+
immediateReactions: any[];
|
|
1059
|
+
}
|