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