@book000/twitterts 0.74.80 → 0.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/converter.d.ts.map +1 -1
- package/dist/converter.js +5 -8
- package/dist/converter.js.map +1 -1
- package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
- package/dist/generate-types/custom-types-generator.js +5 -6
- package/dist/generate-types/custom-types-generator.js.map +1 -1
- package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +11282 -9733
- package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +2472 -713
- package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +9390 -8194
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +2730 -985
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-object.d.ts +10515 -7713
- package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-legacy-object.d.ts +17 -10
- package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +8710 -2798
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/endpoints.d.ts +12 -6
- package/dist/models/responses/endpoints.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +1201 -266
- package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/broadcast-query-success.d.ts +111 -141
- package/dist/models/responses/graphql/get/broadcast-query-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts +29 -20
- package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js +1 -1
- package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js.map +1 -1
- package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts +1 -1
- package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts +26 -0
- package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts +1 -1
- package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +5482 -677
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts +6868 -6098
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts +8 -0
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts.map +1 -0
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js +4 -0
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js.map +1 -0
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts +25 -1
- package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts +27 -1
- package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts +175 -4
- package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/search-timeline-success.d.ts +2204 -418
- package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +5898 -566
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts +976 -32
- package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts +27 -1
- package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts +1 -1
- package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +78 -49
- package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +113 -20
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-screen-name-success.js +1 -1
- package/dist/models/responses/graphql/get/user-by-screen-name-success.js.map +1 -1
- package/dist/models/responses/graphql/get/user-tweets-success.d.ts +17923 -3837
- package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/viewer-success.d.ts +63 -18
- package/dist/models/responses/graphql/get/viewer-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +5316 -504
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts +7754 -7404
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
- package/dist/parser/user-tweets.js +1 -1
- package/dist/parser/user-tweets.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +9 -3
- package/dist/twitter.js.map +1 -1
- package/dist/twitter.test.js +4 -2
- package/dist/twitter.test.js.map +1 -1
- package/package.json +2 -2
@@ -2,28 +2,33 @@
|
|
2
2
|
export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
3
3
|
data: {
|
4
4
|
tweetResult: {
|
5
|
-
result
|
5
|
+
result?: {
|
6
6
|
__typename: string;
|
7
7
|
core: {
|
8
8
|
user_results: {
|
9
9
|
result: {
|
10
10
|
__typename: string;
|
11
11
|
affiliates_highlighted_label: {};
|
12
|
-
has_graduated_access
|
12
|
+
has_graduated_access?: boolean;
|
13
13
|
id: string;
|
14
14
|
is_blue_verified: boolean;
|
15
15
|
legacy: {
|
16
|
-
can_dm
|
17
|
-
can_media_tag
|
16
|
+
can_dm?: boolean;
|
17
|
+
can_media_tag?: boolean;
|
18
18
|
created_at: string;
|
19
19
|
default_profile: boolean;
|
20
20
|
default_profile_image: boolean;
|
21
21
|
description: string;
|
22
22
|
entities: {
|
23
23
|
description: {
|
24
|
-
urls:
|
24
|
+
urls: {
|
25
|
+
display_url: string;
|
26
|
+
expanded_url: string;
|
27
|
+
indices: number[];
|
28
|
+
url: string;
|
29
|
+
}[];
|
25
30
|
};
|
26
|
-
url
|
31
|
+
url?: {
|
27
32
|
urls: {
|
28
33
|
display_url: string;
|
29
34
|
expanded_url: string;
|
@@ -35,7 +40,7 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
35
40
|
fast_followers_count: number;
|
36
41
|
favourites_count: number;
|
37
42
|
followers_count: number;
|
38
|
-
following
|
43
|
+
following?: boolean;
|
39
44
|
friends_count: number;
|
40
45
|
has_custom_timelines: boolean;
|
41
46
|
is_translator: boolean;
|
@@ -46,32 +51,58 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
46
51
|
normal_followers_count: number;
|
47
52
|
pinned_tweet_ids_str: string[];
|
48
53
|
possibly_sensitive: boolean;
|
49
|
-
profile_banner_url
|
54
|
+
profile_banner_url?: string;
|
50
55
|
profile_image_url_https: string;
|
51
56
|
profile_interstitial_type: string;
|
52
57
|
screen_name: string;
|
53
58
|
statuses_count: number;
|
54
59
|
translator_type: string;
|
55
|
-
url
|
60
|
+
url?: string;
|
56
61
|
verified: boolean;
|
57
|
-
verified_type
|
58
|
-
want_retweets
|
62
|
+
verified_type?: string;
|
63
|
+
want_retweets?: boolean;
|
59
64
|
withheld_in_countries: unknown[];
|
60
65
|
};
|
61
66
|
parody_commentary_fan_label: string;
|
62
67
|
profile_image_shape: string;
|
63
68
|
rest_id: string;
|
64
|
-
tipjar_settings: {
|
69
|
+
tipjar_settings: {
|
70
|
+
bandcamp_handle?: string;
|
71
|
+
bitcoin_handle?: string;
|
72
|
+
cash_app_handle?: string;
|
73
|
+
ethereum_handle?: string;
|
74
|
+
gofundme_handle?: string;
|
75
|
+
is_enabled?: boolean;
|
76
|
+
patreon_handle?: string;
|
77
|
+
pay_pal_handle?: string;
|
78
|
+
venmo_handle?: string;
|
79
|
+
};
|
80
|
+
professional?: {
|
81
|
+
category: {
|
82
|
+
icon_name: string;
|
83
|
+
id: number;
|
84
|
+
name: string;
|
85
|
+
}[];
|
86
|
+
professional_type: string;
|
87
|
+
rest_id: string;
|
88
|
+
};
|
65
89
|
};
|
66
90
|
};
|
67
91
|
};
|
68
92
|
edit_control: {
|
69
|
-
edit_tweet_ids
|
70
|
-
editable_until_msecs
|
71
|
-
edits_remaining
|
72
|
-
is_edit_eligible
|
93
|
+
edit_tweet_ids?: string[];
|
94
|
+
editable_until_msecs?: string;
|
95
|
+
edits_remaining?: string;
|
96
|
+
is_edit_eligible?: boolean;
|
97
|
+
edit_control_initial?: {
|
98
|
+
edit_tweet_ids: string[];
|
99
|
+
editable_until_msecs: string;
|
100
|
+
edits_remaining: string;
|
101
|
+
is_edit_eligible: boolean;
|
102
|
+
};
|
103
|
+
initial_tweet_id?: string;
|
73
104
|
};
|
74
|
-
has_birdwatch_notes
|
105
|
+
has_birdwatch_notes?: boolean;
|
75
106
|
is_translatable: boolean;
|
76
107
|
legacy: {
|
77
108
|
bookmark_count: number;
|
@@ -80,12 +111,92 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
80
111
|
created_at: string;
|
81
112
|
display_text_range: number[];
|
82
113
|
entities: {
|
83
|
-
hashtags:
|
84
|
-
|
85
|
-
|
114
|
+
hashtags: {
|
115
|
+
indices: number[];
|
116
|
+
text: string;
|
117
|
+
}[];
|
118
|
+
media?: {
|
119
|
+
additional_media_info?: {
|
86
120
|
monetizable: boolean;
|
121
|
+
description?: string;
|
122
|
+
embeddable?: boolean;
|
123
|
+
title?: string;
|
124
|
+
source_user?: {
|
125
|
+
user_results: {
|
126
|
+
result: {
|
127
|
+
__typename: string;
|
128
|
+
affiliates_highlighted_label: {};
|
129
|
+
id: string;
|
130
|
+
is_blue_verified: boolean;
|
131
|
+
legacy: {
|
132
|
+
created_at: string;
|
133
|
+
default_profile: boolean;
|
134
|
+
default_profile_image: boolean;
|
135
|
+
description: string;
|
136
|
+
entities: {
|
137
|
+
description: {
|
138
|
+
urls: unknown[];
|
139
|
+
};
|
140
|
+
url: {
|
141
|
+
urls: {
|
142
|
+
display_url: string;
|
143
|
+
expanded_url: string;
|
144
|
+
indices: number[];
|
145
|
+
url: string;
|
146
|
+
}[];
|
147
|
+
};
|
148
|
+
};
|
149
|
+
fast_followers_count: number;
|
150
|
+
favourites_count: number;
|
151
|
+
followers_count: number;
|
152
|
+
friends_count: number;
|
153
|
+
has_custom_timelines: boolean;
|
154
|
+
is_translator: boolean;
|
155
|
+
listed_count: number;
|
156
|
+
location: string;
|
157
|
+
media_count: number;
|
158
|
+
name: string;
|
159
|
+
normal_followers_count: number;
|
160
|
+
pinned_tweet_ids_str: string[];
|
161
|
+
possibly_sensitive: boolean;
|
162
|
+
profile_banner_url: string;
|
163
|
+
profile_image_url_https: string;
|
164
|
+
profile_interstitial_type: string;
|
165
|
+
screen_name: string;
|
166
|
+
statuses_count: number;
|
167
|
+
translator_type: string;
|
168
|
+
url: string;
|
169
|
+
verified: boolean;
|
170
|
+
withheld_in_countries: unknown[];
|
171
|
+
};
|
172
|
+
parody_commentary_fan_label: string;
|
173
|
+
professional: {
|
174
|
+
category: {
|
175
|
+
icon_name: string;
|
176
|
+
id: number;
|
177
|
+
name: string;
|
178
|
+
}[];
|
179
|
+
professional_type: string;
|
180
|
+
rest_id: string;
|
181
|
+
};
|
182
|
+
profile_image_shape: string;
|
183
|
+
rest_id: string;
|
184
|
+
tipjar_settings: {
|
185
|
+
bandcamp_handle: string;
|
186
|
+
bitcoin_handle: string;
|
187
|
+
cash_app_handle: string;
|
188
|
+
ethereum_handle: string;
|
189
|
+
gofundme_handle: string;
|
190
|
+
is_enabled: boolean;
|
191
|
+
patreon_handle: string;
|
192
|
+
pay_pal_handle: string;
|
193
|
+
venmo_handle: string;
|
194
|
+
};
|
195
|
+
};
|
196
|
+
};
|
197
|
+
};
|
87
198
|
};
|
88
|
-
allow_download_status
|
199
|
+
allow_download_status?: {
|
89
200
|
allow_download: boolean;
|
90
201
|
};
|
91
202
|
display_url: string;
|
@@ -103,7 +214,12 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
103
214
|
};
|
104
215
|
media_url_https: string;
|
105
216
|
original_info: {
|
106
|
-
focus_rects:
|
217
|
+
focus_rects: {
|
218
|
+
h: number;
|
219
|
+
w: number;
|
220
|
+
x: number;
|
221
|
+
y: number;
|
222
|
+
}[];
|
107
223
|
height: number;
|
108
224
|
width: number;
|
109
225
|
};
|
@@ -131,7 +247,7 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
131
247
|
};
|
132
248
|
type: string;
|
133
249
|
url: string;
|
134
|
-
video_info
|
250
|
+
video_info?: {
|
135
251
|
aspect_ratio: number[];
|
136
252
|
duration_millis: number;
|
137
253
|
variants: {
|
@@ -140,18 +256,137 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
140
256
|
url: string;
|
141
257
|
}[];
|
142
258
|
};
|
259
|
+
features?: {
|
260
|
+
large: {
|
261
|
+
faces: {
|
262
|
+
h: number;
|
263
|
+
w: number;
|
264
|
+
x: number;
|
265
|
+
y: number;
|
266
|
+
}[];
|
267
|
+
};
|
268
|
+
medium: {
|
269
|
+
faces: {
|
270
|
+
h: number;
|
271
|
+
w: number;
|
272
|
+
x: number;
|
273
|
+
y: number;
|
274
|
+
}[];
|
275
|
+
};
|
276
|
+
orig: {
|
277
|
+
faces: {
|
278
|
+
h: number;
|
279
|
+
w: number;
|
280
|
+
x: number;
|
281
|
+
y: number;
|
282
|
+
}[];
|
283
|
+
};
|
284
|
+
small: {
|
285
|
+
faces: {
|
286
|
+
h: number;
|
287
|
+
w: number;
|
288
|
+
x: number;
|
289
|
+
y: number;
|
290
|
+
}[];
|
291
|
+
};
|
292
|
+
};
|
293
|
+
source_status_id_str?: string;
|
294
|
+
source_user_id_str?: string;
|
295
|
+
ext_alt_text?: string;
|
143
296
|
}[];
|
144
297
|
symbols: unknown[];
|
145
298
|
timestamps: unknown[];
|
146
|
-
urls:
|
299
|
+
urls: {
|
300
|
+
display_url: string;
|
301
|
+
expanded_url: string;
|
302
|
+
indices: number[];
|
303
|
+
url: string;
|
304
|
+
}[];
|
147
305
|
user_mentions: unknown[];
|
148
306
|
};
|
149
|
-
extended_entities
|
307
|
+
extended_entities?: {
|
150
308
|
media: {
|
151
|
-
additional_media_info
|
309
|
+
additional_media_info?: {
|
152
310
|
monetizable: boolean;
|
311
|
+
description?: string;
|
312
|
+
embeddable?: boolean;
|
313
|
+
title?: string;
|
314
|
+
source_user?: {
|
315
|
+
user_results: {
|
316
|
+
result: {
|
317
|
+
__typename: string;
|
318
|
+
affiliates_highlighted_label: {};
|
319
|
+
id: string;
|
320
|
+
is_blue_verified: boolean;
|
321
|
+
legacy: {
|
322
|
+
created_at: string;
|
323
|
+
default_profile: boolean;
|
324
|
+
default_profile_image: boolean;
|
325
|
+
description: string;
|
326
|
+
entities: {
|
327
|
+
description: {
|
328
|
+
urls: unknown[];
|
329
|
+
};
|
330
|
+
url: {
|
331
|
+
urls: {
|
332
|
+
display_url: string;
|
333
|
+
expanded_url: string;
|
334
|
+
indices: number[];
|
335
|
+
url: string;
|
336
|
+
}[];
|
337
|
+
};
|
338
|
+
};
|
339
|
+
fast_followers_count: number;
|
340
|
+
favourites_count: number;
|
341
|
+
followers_count: number;
|
342
|
+
friends_count: number;
|
343
|
+
has_custom_timelines: boolean;
|
344
|
+
is_translator: boolean;
|
345
|
+
listed_count: number;
|
346
|
+
location: string;
|
347
|
+
media_count: number;
|
348
|
+
name: string;
|
349
|
+
normal_followers_count: number;
|
350
|
+
pinned_tweet_ids_str: string[];
|
351
|
+
possibly_sensitive: boolean;
|
352
|
+
profile_banner_url: string;
|
353
|
+
profile_image_url_https: string;
|
354
|
+
profile_interstitial_type: string;
|
355
|
+
screen_name: string;
|
356
|
+
statuses_count: number;
|
357
|
+
translator_type: string;
|
358
|
+
url: string;
|
359
|
+
verified: boolean;
|
360
|
+
withheld_in_countries: unknown[];
|
361
|
+
};
|
362
|
+
parody_commentary_fan_label: string;
|
363
|
+
professional: {
|
364
|
+
category: {
|
365
|
+
icon_name: string;
|
366
|
+
id: number;
|
367
|
+
name: string;
|
368
|
+
}[];
|
369
|
+
professional_type: string;
|
370
|
+
rest_id: string;
|
371
|
+
};
|
372
|
+
profile_image_shape: string;
|
373
|
+
rest_id: string;
|
374
|
+
tipjar_settings: {
|
375
|
+
bandcamp_handle: string;
|
376
|
+
bitcoin_handle: string;
|
377
|
+
cash_app_handle: string;
|
378
|
+
ethereum_handle: string;
|
379
|
+
gofundme_handle: string;
|
380
|
+
is_enabled: boolean;
|
381
|
+
patreon_handle: string;
|
382
|
+
pay_pal_handle: string;
|
383
|
+
venmo_handle: string;
|
384
|
+
};
|
385
|
+
};
|
386
|
+
};
|
387
|
+
};
|
153
388
|
};
|
154
|
-
allow_download_status
|
389
|
+
allow_download_status?: {
|
155
390
|
allow_download: boolean;
|
156
391
|
};
|
157
392
|
display_url: string;
|
@@ -169,7 +404,12 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
169
404
|
};
|
170
405
|
media_url_https: string;
|
171
406
|
original_info: {
|
172
|
-
focus_rects:
|
407
|
+
focus_rects: {
|
408
|
+
h: number;
|
409
|
+
w: number;
|
410
|
+
x: number;
|
411
|
+
y: number;
|
412
|
+
}[];
|
173
413
|
height: number;
|
174
414
|
width: number;
|
175
415
|
};
|
@@ -197,7 +437,7 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
197
437
|
};
|
198
438
|
type: string;
|
199
439
|
url: string;
|
200
|
-
video_info
|
440
|
+
video_info?: {
|
201
441
|
aspect_ratio: number[];
|
202
442
|
duration_millis: number;
|
203
443
|
variants: {
|
@@ -206,6 +446,43 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
206
446
|
url: string;
|
207
447
|
}[];
|
208
448
|
};
|
449
|
+
features?: {
|
450
|
+
large: {
|
451
|
+
faces: {
|
452
|
+
h: number;
|
453
|
+
w: number;
|
454
|
+
x: number;
|
455
|
+
y: number;
|
456
|
+
}[];
|
457
|
+
};
|
458
|
+
medium: {
|
459
|
+
faces: {
|
460
|
+
h: number;
|
461
|
+
w: number;
|
462
|
+
x: number;
|
463
|
+
y: number;
|
464
|
+
}[];
|
465
|
+
};
|
466
|
+
orig: {
|
467
|
+
faces: {
|
468
|
+
h: number;
|
469
|
+
w: number;
|
470
|
+
x: number;
|
471
|
+
y: number;
|
472
|
+
}[];
|
473
|
+
};
|
474
|
+
small: {
|
475
|
+
faces: {
|
476
|
+
h: number;
|
477
|
+
w: number;
|
478
|
+
x: number;
|
479
|
+
y: number;
|
480
|
+
}[];
|
481
|
+
};
|
482
|
+
};
|
483
|
+
source_status_id_str?: string;
|
484
|
+
source_user_id_str?: string;
|
485
|
+
ext_alt_text?: string;
|
209
486
|
}[];
|
210
487
|
};
|
211
488
|
favorite_count: number;
|
@@ -214,16 +491,33 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
214
491
|
id_str: string;
|
215
492
|
is_quote_status: boolean;
|
216
493
|
lang: string;
|
217
|
-
possibly_sensitive
|
218
|
-
possibly_sensitive_editable
|
494
|
+
possibly_sensitive?: boolean;
|
495
|
+
possibly_sensitive_editable?: boolean;
|
219
496
|
quote_count: number;
|
220
497
|
reply_count: number;
|
221
498
|
retweet_count: number;
|
222
499
|
retweeted: boolean;
|
223
|
-
scopes
|
500
|
+
scopes?: {
|
224
501
|
followers: boolean;
|
225
502
|
};
|
226
503
|
user_id_str: string;
|
504
|
+
quoted_status_id_str?: string;
|
505
|
+
quoted_status_permalink?: {
|
506
|
+
display: string;
|
507
|
+
expanded: string;
|
508
|
+
url: string;
|
509
|
+
};
|
510
|
+
conversation_control?: {
|
511
|
+
conversation_owner_results: {
|
512
|
+
result: {
|
513
|
+
__typename: string;
|
514
|
+
legacy: {
|
515
|
+
screen_name: string;
|
516
|
+
};
|
517
|
+
};
|
518
|
+
};
|
519
|
+
policy: string;
|
520
|
+
};
|
227
521
|
};
|
228
522
|
rest_id: string;
|
229
523
|
source: string;
|
@@ -232,6 +526,656 @@ export interface GraphQLGetTweetResultByRestIdSuccessResponse {
|
|
232
526
|
count: string;
|
233
527
|
state: string;
|
234
528
|
};
|
529
|
+
card?: {
|
530
|
+
legacy: {
|
531
|
+
binding_values: {
|
532
|
+
key: string;
|
533
|
+
value: {
|
534
|
+
image_color_value?: {
|
535
|
+
palette: {
|
536
|
+
percentage: number;
|
537
|
+
rgb: {
|
538
|
+
blue: number;
|
539
|
+
green: number;
|
540
|
+
red: number;
|
541
|
+
};
|
542
|
+
}[];
|
543
|
+
};
|
544
|
+
image_value?: {
|
545
|
+
height: number;
|
546
|
+
url: string;
|
547
|
+
width: number;
|
548
|
+
};
|
549
|
+
scribe_key?: string;
|
550
|
+
string_value?: string;
|
551
|
+
type: string;
|
552
|
+
user_value?: {
|
553
|
+
id_str: string;
|
554
|
+
path: unknown[];
|
555
|
+
};
|
556
|
+
};
|
557
|
+
}[];
|
558
|
+
card_platform: {
|
559
|
+
platform: {
|
560
|
+
audience: {
|
561
|
+
name: string;
|
562
|
+
};
|
563
|
+
device: {
|
564
|
+
name: string;
|
565
|
+
version: string;
|
566
|
+
};
|
567
|
+
};
|
568
|
+
};
|
569
|
+
name: string;
|
570
|
+
url: string;
|
571
|
+
user_refs_results: {
|
572
|
+
result: {
|
573
|
+
__typename: string;
|
574
|
+
affiliates_highlighted_label: {};
|
575
|
+
id: string;
|
576
|
+
is_blue_verified: boolean;
|
577
|
+
legacy: {
|
578
|
+
created_at: string;
|
579
|
+
default_profile: boolean;
|
580
|
+
default_profile_image: boolean;
|
581
|
+
description: string;
|
582
|
+
entities: {
|
583
|
+
description: {
|
584
|
+
urls: {
|
585
|
+
display_url: string;
|
586
|
+
expanded_url: string;
|
587
|
+
indices: number[];
|
588
|
+
url: string;
|
589
|
+
}[];
|
590
|
+
};
|
591
|
+
url: {
|
592
|
+
urls: {
|
593
|
+
display_url: string;
|
594
|
+
expanded_url: string;
|
595
|
+
indices: number[];
|
596
|
+
url: string;
|
597
|
+
}[];
|
598
|
+
};
|
599
|
+
};
|
600
|
+
fast_followers_count: number;
|
601
|
+
favourites_count: number;
|
602
|
+
followers_count: number;
|
603
|
+
friends_count: number;
|
604
|
+
has_custom_timelines: boolean;
|
605
|
+
is_translator: boolean;
|
606
|
+
listed_count: number;
|
607
|
+
location: string;
|
608
|
+
media_count: number;
|
609
|
+
name: string;
|
610
|
+
normal_followers_count: number;
|
611
|
+
pinned_tweet_ids_str: unknown[];
|
612
|
+
possibly_sensitive: boolean;
|
613
|
+
profile_banner_url: string;
|
614
|
+
profile_image_url_https: string;
|
615
|
+
profile_interstitial_type: string;
|
616
|
+
screen_name: string;
|
617
|
+
statuses_count: number;
|
618
|
+
translator_type: string;
|
619
|
+
url: string;
|
620
|
+
verified: boolean;
|
621
|
+
verified_type?: string;
|
622
|
+
withheld_in_countries: unknown[];
|
623
|
+
};
|
624
|
+
parody_commentary_fan_label: string;
|
625
|
+
profile_image_shape: string;
|
626
|
+
rest_id: string;
|
627
|
+
tipjar_settings: {
|
628
|
+
bandcamp_handle: string;
|
629
|
+
bitcoin_handle: string;
|
630
|
+
cash_app_handle: string;
|
631
|
+
ethereum_handle: string;
|
632
|
+
gofundme_handle: string;
|
633
|
+
is_enabled: boolean;
|
634
|
+
patreon_handle: string;
|
635
|
+
pay_pal_handle: string;
|
636
|
+
venmo_handle: string;
|
637
|
+
};
|
638
|
+
};
|
639
|
+
}[];
|
640
|
+
};
|
641
|
+
rest_id: string;
|
642
|
+
};
|
643
|
+
quoted_status_result?: {
|
644
|
+
result: {
|
645
|
+
__typename: string;
|
646
|
+
core: {
|
647
|
+
user_results: {
|
648
|
+
result: {
|
649
|
+
__typename: string;
|
650
|
+
affiliates_highlighted_label: {};
|
651
|
+
id: string;
|
652
|
+
is_blue_verified: boolean;
|
653
|
+
legacy: {
|
654
|
+
created_at: string;
|
655
|
+
default_profile: boolean;
|
656
|
+
default_profile_image: boolean;
|
657
|
+
description: string;
|
658
|
+
entities: {
|
659
|
+
description: {
|
660
|
+
urls: {
|
661
|
+
display_url: string;
|
662
|
+
expanded_url: string;
|
663
|
+
indices: number[];
|
664
|
+
url: string;
|
665
|
+
}[];
|
666
|
+
};
|
667
|
+
url?: {
|
668
|
+
urls: {
|
669
|
+
display_url: string;
|
670
|
+
expanded_url: string;
|
671
|
+
indices: number[];
|
672
|
+
url: string;
|
673
|
+
}[];
|
674
|
+
};
|
675
|
+
};
|
676
|
+
fast_followers_count: number;
|
677
|
+
favourites_count: number;
|
678
|
+
followers_count: number;
|
679
|
+
friends_count: number;
|
680
|
+
has_custom_timelines: boolean;
|
681
|
+
is_translator: boolean;
|
682
|
+
listed_count: number;
|
683
|
+
location: string;
|
684
|
+
media_count: number;
|
685
|
+
name: string;
|
686
|
+
normal_followers_count: number;
|
687
|
+
pinned_tweet_ids_str: string[];
|
688
|
+
possibly_sensitive: boolean;
|
689
|
+
profile_banner_url?: string;
|
690
|
+
profile_image_url_https: string;
|
691
|
+
profile_interstitial_type: string;
|
692
|
+
screen_name: string;
|
693
|
+
statuses_count: number;
|
694
|
+
translator_type: string;
|
695
|
+
verified: boolean;
|
696
|
+
withheld_in_countries: unknown[];
|
697
|
+
url?: string;
|
698
|
+
verified_type?: string;
|
699
|
+
};
|
700
|
+
parody_commentary_fan_label: string;
|
701
|
+
profile_image_shape: string;
|
702
|
+
rest_id: string;
|
703
|
+
tipjar_settings: {
|
704
|
+
bandcamp_handle: string;
|
705
|
+
bitcoin_handle: string;
|
706
|
+
cash_app_handle: string;
|
707
|
+
ethereum_handle: string;
|
708
|
+
gofundme_handle: string;
|
709
|
+
is_enabled: boolean;
|
710
|
+
patreon_handle: string;
|
711
|
+
pay_pal_handle: string;
|
712
|
+
venmo_handle: string;
|
713
|
+
};
|
714
|
+
professional?: {
|
715
|
+
category: {
|
716
|
+
icon_name: string;
|
717
|
+
id: number;
|
718
|
+
name: string;
|
719
|
+
}[];
|
720
|
+
professional_type: string;
|
721
|
+
rest_id: string;
|
722
|
+
};
|
723
|
+
};
|
724
|
+
};
|
725
|
+
};
|
726
|
+
edit_control: {
|
727
|
+
edit_tweet_ids: string[];
|
728
|
+
editable_until_msecs: string;
|
729
|
+
edits_remaining: string;
|
730
|
+
is_edit_eligible: boolean;
|
731
|
+
};
|
732
|
+
is_translatable: boolean;
|
733
|
+
legacy: {
|
734
|
+
bookmark_count: number;
|
735
|
+
bookmarked: boolean;
|
736
|
+
conversation_id_str: string;
|
737
|
+
created_at: string;
|
738
|
+
display_text_range: number[];
|
739
|
+
entities: {
|
740
|
+
hashtags: {
|
741
|
+
indices: number[];
|
742
|
+
text: string;
|
743
|
+
}[];
|
744
|
+
media?: {
|
745
|
+
allow_download_status?: {
|
746
|
+
allow_download: boolean;
|
747
|
+
};
|
748
|
+
display_url: string;
|
749
|
+
expanded_url: string;
|
750
|
+
ext_media_availability: {
|
751
|
+
status: string;
|
752
|
+
};
|
753
|
+
features?: {
|
754
|
+
large: {
|
755
|
+
faces: {
|
756
|
+
h: number;
|
757
|
+
w: number;
|
758
|
+
x: number;
|
759
|
+
y: number;
|
760
|
+
}[];
|
761
|
+
};
|
762
|
+
medium: {
|
763
|
+
faces: {
|
764
|
+
h: number;
|
765
|
+
w: number;
|
766
|
+
x: number;
|
767
|
+
y: number;
|
768
|
+
}[];
|
769
|
+
};
|
770
|
+
orig: {
|
771
|
+
faces: {
|
772
|
+
h: number;
|
773
|
+
w: number;
|
774
|
+
x: number;
|
775
|
+
y: number;
|
776
|
+
}[];
|
777
|
+
};
|
778
|
+
small: {
|
779
|
+
faces: {
|
780
|
+
h: number;
|
781
|
+
w: number;
|
782
|
+
x: number;
|
783
|
+
y: number;
|
784
|
+
}[];
|
785
|
+
};
|
786
|
+
};
|
787
|
+
id_str: string;
|
788
|
+
indices: number[];
|
789
|
+
media_key: string;
|
790
|
+
media_results: {
|
791
|
+
result: {
|
792
|
+
media_key: string;
|
793
|
+
};
|
794
|
+
};
|
795
|
+
media_url_https: string;
|
796
|
+
original_info: {
|
797
|
+
focus_rects: {
|
798
|
+
h: number;
|
799
|
+
w: number;
|
800
|
+
x: number;
|
801
|
+
y: number;
|
802
|
+
}[];
|
803
|
+
height: number;
|
804
|
+
width: number;
|
805
|
+
};
|
806
|
+
sizes: {
|
807
|
+
large: {
|
808
|
+
h: number;
|
809
|
+
resize: string;
|
810
|
+
w: number;
|
811
|
+
};
|
812
|
+
medium: {
|
813
|
+
h: number;
|
814
|
+
resize: string;
|
815
|
+
w: number;
|
816
|
+
};
|
817
|
+
small: {
|
818
|
+
h: number;
|
819
|
+
resize: string;
|
820
|
+
w: number;
|
821
|
+
};
|
822
|
+
thumb: {
|
823
|
+
h: number;
|
824
|
+
resize: string;
|
825
|
+
w: number;
|
826
|
+
};
|
827
|
+
};
|
828
|
+
type: string;
|
829
|
+
url: string;
|
830
|
+
additional_media_info?: {
|
831
|
+
monetizable: boolean;
|
832
|
+
};
|
833
|
+
video_info?: {
|
834
|
+
aspect_ratio: number[];
|
835
|
+
duration_millis: number;
|
836
|
+
variants: {
|
837
|
+
bitrate?: number;
|
838
|
+
content_type: string;
|
839
|
+
url: string;
|
840
|
+
}[];
|
841
|
+
};
|
842
|
+
}[];
|
843
|
+
symbols: unknown[];
|
844
|
+
timestamps: unknown[];
|
845
|
+
urls: {
|
846
|
+
display_url: string;
|
847
|
+
expanded_url: string;
|
848
|
+
indices: number[];
|
849
|
+
url: string;
|
850
|
+
}[];
|
851
|
+
user_mentions: {
|
852
|
+
id_str: string;
|
853
|
+
indices: number[];
|
854
|
+
name: string;
|
855
|
+
screen_name: string;
|
856
|
+
}[];
|
857
|
+
};
|
858
|
+
extended_entities?: {
|
859
|
+
media: {
|
860
|
+
allow_download_status?: {
|
861
|
+
allow_download: boolean;
|
862
|
+
};
|
863
|
+
display_url: string;
|
864
|
+
expanded_url: string;
|
865
|
+
ext_media_availability: {
|
866
|
+
status: string;
|
867
|
+
};
|
868
|
+
features?: {
|
869
|
+
large: {
|
870
|
+
faces: {
|
871
|
+
h: number;
|
872
|
+
w: number;
|
873
|
+
x: number;
|
874
|
+
y: number;
|
875
|
+
}[];
|
876
|
+
};
|
877
|
+
medium: {
|
878
|
+
faces: {
|
879
|
+
h: number;
|
880
|
+
w: number;
|
881
|
+
x: number;
|
882
|
+
y: number;
|
883
|
+
}[];
|
884
|
+
};
|
885
|
+
orig: {
|
886
|
+
faces: {
|
887
|
+
h: number;
|
888
|
+
w: number;
|
889
|
+
x: number;
|
890
|
+
y: number;
|
891
|
+
}[];
|
892
|
+
};
|
893
|
+
small: {
|
894
|
+
faces: {
|
895
|
+
h: number;
|
896
|
+
w: number;
|
897
|
+
x: number;
|
898
|
+
y: number;
|
899
|
+
}[];
|
900
|
+
};
|
901
|
+
};
|
902
|
+
id_str: string;
|
903
|
+
indices: number[];
|
904
|
+
media_key: string;
|
905
|
+
media_results: {
|
906
|
+
result: {
|
907
|
+
media_key: string;
|
908
|
+
};
|
909
|
+
};
|
910
|
+
media_url_https: string;
|
911
|
+
original_info: {
|
912
|
+
focus_rects: {
|
913
|
+
h: number;
|
914
|
+
w: number;
|
915
|
+
x: number;
|
916
|
+
y: number;
|
917
|
+
}[];
|
918
|
+
height: number;
|
919
|
+
width: number;
|
920
|
+
};
|
921
|
+
sizes: {
|
922
|
+
large: {
|
923
|
+
h: number;
|
924
|
+
resize: string;
|
925
|
+
w: number;
|
926
|
+
};
|
927
|
+
medium: {
|
928
|
+
h: number;
|
929
|
+
resize: string;
|
930
|
+
w: number;
|
931
|
+
};
|
932
|
+
small: {
|
933
|
+
h: number;
|
934
|
+
resize: string;
|
935
|
+
w: number;
|
936
|
+
};
|
937
|
+
thumb: {
|
938
|
+
h: number;
|
939
|
+
resize: string;
|
940
|
+
w: number;
|
941
|
+
};
|
942
|
+
};
|
943
|
+
type: string;
|
944
|
+
url: string;
|
945
|
+
additional_media_info?: {
|
946
|
+
monetizable: boolean;
|
947
|
+
};
|
948
|
+
video_info?: {
|
949
|
+
aspect_ratio: number[];
|
950
|
+
duration_millis: number;
|
951
|
+
variants: {
|
952
|
+
bitrate?: number;
|
953
|
+
content_type: string;
|
954
|
+
url: string;
|
955
|
+
}[];
|
956
|
+
};
|
957
|
+
}[];
|
958
|
+
};
|
959
|
+
favorite_count: number;
|
960
|
+
favorited: boolean;
|
961
|
+
full_text: string;
|
962
|
+
id_str: string;
|
963
|
+
is_quote_status: boolean;
|
964
|
+
lang: string;
|
965
|
+
possibly_sensitive?: boolean;
|
966
|
+
possibly_sensitive_editable?: boolean;
|
967
|
+
quote_count: number;
|
968
|
+
reply_count: number;
|
969
|
+
retweet_count: number;
|
970
|
+
retweeted: boolean;
|
971
|
+
user_id_str: string;
|
972
|
+
quoted_status_id_str?: string;
|
973
|
+
quoted_status_permalink?: {
|
974
|
+
display: string;
|
975
|
+
expanded: string;
|
976
|
+
url: string;
|
977
|
+
};
|
978
|
+
in_reply_to_screen_name?: string;
|
979
|
+
in_reply_to_status_id_str?: string;
|
980
|
+
in_reply_to_user_id_str?: string;
|
981
|
+
conversation_control?: {
|
982
|
+
conversation_owner_results: {
|
983
|
+
result: {
|
984
|
+
__typename: string;
|
985
|
+
legacy: {
|
986
|
+
screen_name: string;
|
987
|
+
};
|
988
|
+
};
|
989
|
+
};
|
990
|
+
policy: string;
|
991
|
+
};
|
992
|
+
};
|
993
|
+
rest_id: string;
|
994
|
+
source: string;
|
995
|
+
unmention_data: {};
|
996
|
+
views: {
|
997
|
+
count: string;
|
998
|
+
state: string;
|
999
|
+
};
|
1000
|
+
quotedRefResult?: {
|
1001
|
+
result: {
|
1002
|
+
__typename: string;
|
1003
|
+
rest_id: string;
|
1004
|
+
};
|
1005
|
+
};
|
1006
|
+
card?: {
|
1007
|
+
legacy: {
|
1008
|
+
binding_values: {
|
1009
|
+
key: string;
|
1010
|
+
value: {
|
1011
|
+
image_color_value?: {
|
1012
|
+
palette: {
|
1013
|
+
percentage: number;
|
1014
|
+
rgb: {
|
1015
|
+
blue: number;
|
1016
|
+
green: number;
|
1017
|
+
red: number;
|
1018
|
+
};
|
1019
|
+
}[];
|
1020
|
+
};
|
1021
|
+
image_value?: {
|
1022
|
+
height: number;
|
1023
|
+
url: string;
|
1024
|
+
width: number;
|
1025
|
+
};
|
1026
|
+
scribe_key?: string;
|
1027
|
+
string_value?: string;
|
1028
|
+
type: string;
|
1029
|
+
user_value?: {
|
1030
|
+
id_str: string;
|
1031
|
+
path: unknown[];
|
1032
|
+
};
|
1033
|
+
};
|
1034
|
+
}[];
|
1035
|
+
card_platform: {
|
1036
|
+
platform: {
|
1037
|
+
audience: {
|
1038
|
+
name: string;
|
1039
|
+
};
|
1040
|
+
device: {
|
1041
|
+
name: string;
|
1042
|
+
version: string;
|
1043
|
+
};
|
1044
|
+
};
|
1045
|
+
};
|
1046
|
+
name: string;
|
1047
|
+
url: string;
|
1048
|
+
user_refs_results: {
|
1049
|
+
result: {
|
1050
|
+
__typename: string;
|
1051
|
+
affiliates_highlighted_label: {};
|
1052
|
+
id: string;
|
1053
|
+
is_blue_verified: boolean;
|
1054
|
+
legacy: {
|
1055
|
+
created_at: string;
|
1056
|
+
default_profile: boolean;
|
1057
|
+
default_profile_image: boolean;
|
1058
|
+
description: string;
|
1059
|
+
entities: {
|
1060
|
+
description: {
|
1061
|
+
urls: unknown[];
|
1062
|
+
};
|
1063
|
+
url: {
|
1064
|
+
urls: {
|
1065
|
+
display_url: string;
|
1066
|
+
expanded_url: string;
|
1067
|
+
indices: number[];
|
1068
|
+
url: string;
|
1069
|
+
}[];
|
1070
|
+
};
|
1071
|
+
};
|
1072
|
+
fast_followers_count: number;
|
1073
|
+
favourites_count: number;
|
1074
|
+
followers_count: number;
|
1075
|
+
friends_count: number;
|
1076
|
+
has_custom_timelines: boolean;
|
1077
|
+
is_translator: boolean;
|
1078
|
+
listed_count: number;
|
1079
|
+
location: string;
|
1080
|
+
media_count: number;
|
1081
|
+
name: string;
|
1082
|
+
normal_followers_count: number;
|
1083
|
+
pinned_tweet_ids_str: unknown[];
|
1084
|
+
possibly_sensitive: boolean;
|
1085
|
+
profile_banner_url: string;
|
1086
|
+
profile_image_url_https: string;
|
1087
|
+
profile_interstitial_type: string;
|
1088
|
+
screen_name: string;
|
1089
|
+
statuses_count: number;
|
1090
|
+
translator_type: string;
|
1091
|
+
url: string;
|
1092
|
+
verified: boolean;
|
1093
|
+
withheld_in_countries: unknown[];
|
1094
|
+
};
|
1095
|
+
parody_commentary_fan_label: string;
|
1096
|
+
profile_image_shape: string;
|
1097
|
+
rest_id: string;
|
1098
|
+
tipjar_settings: {
|
1099
|
+
bandcamp_handle: string;
|
1100
|
+
bitcoin_handle: string;
|
1101
|
+
cash_app_handle: string;
|
1102
|
+
ethereum_handle: string;
|
1103
|
+
gofundme_handle: string;
|
1104
|
+
is_enabled: boolean;
|
1105
|
+
patreon_handle: string;
|
1106
|
+
pay_pal_handle: string;
|
1107
|
+
venmo_handle: string;
|
1108
|
+
};
|
1109
|
+
};
|
1110
|
+
}[];
|
1111
|
+
};
|
1112
|
+
rest_id: string;
|
1113
|
+
};
|
1114
|
+
note_tweet?: {
|
1115
|
+
is_expandable: boolean;
|
1116
|
+
note_tweet_results: {
|
1117
|
+
result: {
|
1118
|
+
entity_set: {
|
1119
|
+
hashtags: unknown[];
|
1120
|
+
symbols: unknown[];
|
1121
|
+
urls: unknown[];
|
1122
|
+
user_mentions: unknown[];
|
1123
|
+
timestamps?: unknown[];
|
1124
|
+
};
|
1125
|
+
id: string;
|
1126
|
+
media?: {
|
1127
|
+
inline_media: unknown[];
|
1128
|
+
};
|
1129
|
+
richtext?: {
|
1130
|
+
richtext_tags: unknown[];
|
1131
|
+
};
|
1132
|
+
text: string;
|
1133
|
+
};
|
1134
|
+
};
|
1135
|
+
};
|
1136
|
+
};
|
1137
|
+
};
|
1138
|
+
birdwatch_pivot?: {
|
1139
|
+
destinationUrl: string;
|
1140
|
+
footer: {
|
1141
|
+
entities: {
|
1142
|
+
fromIndex: number;
|
1143
|
+
ref: {
|
1144
|
+
type: string;
|
1145
|
+
url: string;
|
1146
|
+
urlType: string;
|
1147
|
+
};
|
1148
|
+
toIndex: number;
|
1149
|
+
}[];
|
1150
|
+
text: string;
|
1151
|
+
};
|
1152
|
+
iconType: string;
|
1153
|
+
note: {
|
1154
|
+
rest_id: string;
|
1155
|
+
};
|
1156
|
+
shorttitle: string;
|
1157
|
+
subtitle: {
|
1158
|
+
entities: {
|
1159
|
+
fromIndex: number;
|
1160
|
+
ref: {
|
1161
|
+
type: string;
|
1162
|
+
url: string;
|
1163
|
+
urlType: string;
|
1164
|
+
};
|
1165
|
+
toIndex: number;
|
1166
|
+
}[];
|
1167
|
+
text: string;
|
1168
|
+
};
|
1169
|
+
title: string;
|
1170
|
+
visualStyle: string;
|
1171
|
+
};
|
1172
|
+
previous_counts?: {
|
1173
|
+
bookmark_count: number;
|
1174
|
+
favorite_count: number;
|
1175
|
+
quote_count: number;
|
1176
|
+
reply_count: number;
|
1177
|
+
retweet_count: number;
|
1178
|
+
};
|
235
1179
|
};
|
236
1180
|
};
|
237
1181
|
};
|