@finch_ren/x-scraper 0.1.0
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/README.md +215 -0
- package/dist/src/api.d.ts +156 -0
- package/dist/src/api.js +245 -0
- package/dist/src/apis/defaultApi.d.ts +25 -0
- package/dist/src/apis/defaultApi.js +44 -0
- package/dist/src/apis/index.d.ts +12 -0
- package/dist/src/apis/index.js +26 -0
- package/dist/src/apis/initialStateApi.d.ts +3 -0
- package/dist/src/apis/initialStateApi.js +7 -0
- package/dist/src/apis/postApi.d.ts +58 -0
- package/dist/src/apis/postApi.js +130 -0
- package/dist/src/apis/spaceApi.d.ts +28 -0
- package/dist/src/apis/spaceApi.js +42 -0
- package/dist/src/apis/tweetApi.d.ts +118 -0
- package/dist/src/apis/tweetApi.js +195 -0
- package/dist/src/apis/userApi.d.ts +27 -0
- package/dist/src/apis/userApi.js +43 -0
- package/dist/src/apis/userListApi.d.ts +67 -0
- package/dist/src/apis/userListApi.js +111 -0
- package/dist/src/apis/usersApi.d.ts +19 -0
- package/dist/src/apis/usersApi.js +25 -0
- package/dist/src/apis/v11GetApi.d.ts +20 -0
- package/dist/src/apis/v11GetApi.js +29 -0
- package/dist/src/apis/v11PostApi.d.ts +26 -0
- package/dist/src/apis/v11PostApi.js +33 -0
- package/dist/src/apis/v20GetApi.d.ts +10 -0
- package/dist/src/apis/v20GetApi.js +12 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.js +22 -0
- package/dist/src/models/flag.d.ts +6 -0
- package/dist/src/models/flag.js +3 -0
- package/dist/src/models/header.d.ts +15 -0
- package/dist/src/models/header.js +3 -0
- package/dist/src/models/index.d.ts +6 -0
- package/dist/src/models/index.js +22 -0
- package/dist/src/models/response.d.ts +10 -0
- package/dist/src/models/response.js +3 -0
- package/dist/src/models/timeline.d.ts +28 -0
- package/dist/src/models/timeline.js +3 -0
- package/dist/src/models/utils.d.ts +13 -0
- package/dist/src/models/utils.js +3 -0
- package/dist/src/openapi/index.d.ts +4 -0
- package/dist/src/openapi/index.js +24 -0
- package/dist/src/openapi/src/apis/DefaultApi.d.ts +54 -0
- package/dist/src/openapi/src/apis/DefaultApi.js +282 -0
- package/dist/src/openapi/src/apis/OtherApi.d.ts +65 -0
- package/dist/src/openapi/src/apis/OtherApi.js +369 -0
- package/dist/src/openapi/src/apis/PostApi.d.ts +147 -0
- package/dist/src/openapi/src/apis/PostApi.js +874 -0
- package/dist/src/openapi/src/apis/TweetApi.d.ts +280 -0
- package/dist/src/openapi/src/apis/TweetApi.js +1729 -0
- package/dist/src/openapi/src/apis/UserApi.d.ts +54 -0
- package/dist/src/openapi/src/apis/UserApi.js +282 -0
- package/dist/src/openapi/src/apis/UserListApi.d.ts +121 -0
- package/dist/src/openapi/src/apis/UserListApi.js +712 -0
- package/dist/src/openapi/src/apis/UsersApi.d.ts +36 -0
- package/dist/src/openapi/src/apis/UsersApi.js +167 -0
- package/dist/src/openapi/src/apis/V11GetApi.d.ts +88 -0
- package/dist/src/openapi/src/apis/V11GetApi.js +495 -0
- package/dist/src/openapi/src/apis/V11PostApi.d.ts +74 -0
- package/dist/src/openapi/src/apis/V11PostApi.js +437 -0
- package/dist/src/openapi/src/apis/V20GetApi.d.ts +69 -0
- package/dist/src/openapi/src/apis/V20GetApi.js +371 -0
- package/dist/src/openapi/src/apis/index.d.ts +11 -0
- package/dist/src/openapi/src/apis/index.js +29 -0
- package/dist/src/openapi/src/index.d.ts +4 -0
- package/dist/src/openapi/src/index.js +22 -0
- package/dist/src/openapi/src/models/AboutCommunityResult.d.ts +41 -0
- package/dist/src/openapi/src/models/AboutCommunityResult.js +57 -0
- package/dist/src/openapi/src/models/AboutCommunityResults.d.ts +34 -0
- package/dist/src/openapi/src/models/AboutCommunityResults.js +52 -0
- package/dist/src/openapi/src/models/AboutCommunityTweetData.d.ts +34 -0
- package/dist/src/openapi/src/models/AboutCommunityTweetData.js +52 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfo.d.ts +65 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfo.js +63 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActions.d.ts +40 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActions.js +52 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActionsUrl.d.ts +33 -0
- package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActionsUrl.js +51 -0
- package/dist/src/openapi/src/models/AllowDownloadStatus.d.ts +33 -0
- package/dist/src/openapi/src/models/AllowDownloadStatus.js +49 -0
- package/dist/src/openapi/src/models/AnalysisResults.d.ts +34 -0
- package/dist/src/openapi/src/models/AnalysisResults.js +52 -0
- package/dist/src/openapi/src/models/Article.d.ts +34 -0
- package/dist/src/openapi/src/models/Article.js +52 -0
- package/dist/src/openapi/src/models/ArticleCoverMedia.d.ts +52 -0
- package/dist/src/openapi/src/models/ArticleCoverMedia.js +64 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfo.d.ts +34 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfo.js +52 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPalette.d.ts +40 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPalette.js +56 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +45 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPaletteRGB.js +59 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaInfo.d.ts +59 -0
- package/dist/src/openapi/src/models/ArticleCoverMediaInfo.js +67 -0
- package/dist/src/openapi/src/models/ArticleLifecycleState.d.ts +33 -0
- package/dist/src/openapi/src/models/ArticleLifecycleState.js +51 -0
- package/dist/src/openapi/src/models/ArticleMetadata.d.ts +33 -0
- package/dist/src/openapi/src/models/ArticleMetadata.js +51 -0
- package/dist/src/openapi/src/models/ArticleResult.d.ts +72 -0
- package/dist/src/openapi/src/models/ArticleResult.js +76 -0
- package/dist/src/openapi/src/models/ArticleResults.d.ts +34 -0
- package/dist/src/openapi/src/models/ArticleResults.js +52 -0
- package/dist/src/openapi/src/models/AudioSpace.d.ts +55 -0
- package/dist/src/openapi/src/models/AudioSpace.js +59 -0
- package/dist/src/openapi/src/models/AudioSpaceByIdResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/AudioSpaceByIdResponse.js +55 -0
- package/dist/src/openapi/src/models/AudioSpaceData.d.ts +34 -0
- package/dist/src/openapi/src/models/AudioSpaceData.js +52 -0
- package/dist/src/openapi/src/models/AudioSpaceMentionedUser.d.ts +33 -0
- package/dist/src/openapi/src/models/AudioSpaceMentionedUser.js +51 -0
- package/dist/src/openapi/src/models/AudioSpaceMetadata.d.ts +208 -0
- package/dist/src/openapi/src/models/AudioSpaceMetadata.js +120 -0
- package/dist/src/openapi/src/models/AudioSpaceParticipant.d.ts +82 -0
- package/dist/src/openapi/src/models/AudioSpaceParticipant.js +70 -0
- package/dist/src/openapi/src/models/AudioSpaceParticipants.d.ts +52 -0
- package/dist/src/openapi/src/models/AudioSpaceParticipants.js +58 -0
- package/dist/src/openapi/src/models/AuthorCommunityRelationship.d.ts +57 -0
- package/dist/src/openapi/src/models/AuthorCommunityRelationship.js +67 -0
- package/dist/src/openapi/src/models/BirdwatchEntity.d.ts +46 -0
- package/dist/src/openapi/src/models/BirdwatchEntity.js +60 -0
- package/dist/src/openapi/src/models/BirdwatchEntityRef.d.ts +66 -0
- package/dist/src/openapi/src/models/BirdwatchEntityRef.js +71 -0
- package/dist/src/openapi/src/models/BirdwatchPivot.d.ts +106 -0
- package/dist/src/openapi/src/models/BirdwatchPivot.js +91 -0
- package/dist/src/openapi/src/models/BirdwatchPivotCallToAction.d.ts +45 -0
- package/dist/src/openapi/src/models/BirdwatchPivotCallToAction.js +59 -0
- package/dist/src/openapi/src/models/BirdwatchPivotFooter.d.ts +40 -0
- package/dist/src/openapi/src/models/BirdwatchPivotFooter.js +56 -0
- package/dist/src/openapi/src/models/BirdwatchPivotNote.d.ts +33 -0
- package/dist/src/openapi/src/models/BirdwatchPivotNote.js +51 -0
- package/dist/src/openapi/src/models/BirdwatchPivotSubtitle.d.ts +40 -0
- package/dist/src/openapi/src/models/BirdwatchPivotSubtitle.js +56 -0
- package/dist/src/openapi/src/models/BookmarksResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/BookmarksResponse.js +53 -0
- package/dist/src/openapi/src/models/BookmarksResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/BookmarksResponseData.js +52 -0
- package/dist/src/openapi/src/models/BookmarksTimeline.d.ts +34 -0
- package/dist/src/openapi/src/models/BookmarksTimeline.js +52 -0
- package/dist/src/openapi/src/models/Broadcast.d.ts +45 -0
- package/dist/src/openapi/src/models/Broadcast.js +59 -0
- package/dist/src/openapi/src/models/BroadcastGraphQL.d.ts +179 -0
- package/dist/src/openapi/src/models/BroadcastGraphQL.js +99 -0
- package/dist/src/openapi/src/models/BroadcastGraphQLUserResults.d.ts +34 -0
- package/dist/src/openapi/src/models/BroadcastGraphQLUserResults.js +50 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponse.js +53 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponseData.d.ts +41 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponseData.js +53 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponseDataBroadcastResults.d.ts +34 -0
- package/dist/src/openapi/src/models/BroadcastQueryResponseDataBroadcastResults.js +50 -0
- package/dist/src/openapi/src/models/BroadcastsShowResponse.d.ts +36 -0
- package/dist/src/openapi/src/models/BroadcastsShowResponse.js +53 -0
- package/dist/src/openapi/src/models/Callback.d.ts +33 -0
- package/dist/src/openapi/src/models/Callback.js +51 -0
- package/dist/src/openapi/src/models/ClientEventInfo.d.ts +47 -0
- package/dist/src/openapi/src/models/ClientEventInfo.js +53 -0
- package/dist/src/openapi/src/models/CommunitiesActions.d.ts +33 -0
- package/dist/src/openapi/src/models/CommunitiesActions.js +51 -0
- package/dist/src/openapi/src/models/Community.d.ts +34 -0
- package/dist/src/openapi/src/models/Community.js +52 -0
- package/dist/src/openapi/src/models/CommunityAboutTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CommunityAboutTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/CommunityActions.d.ts +62 -0
- package/dist/src/openapi/src/models/CommunityActions.js +62 -0
- package/dist/src/openapi/src/models/CommunityData.d.ts +220 -0
- package/dist/src/openapi/src/models/CommunityData.js +132 -0
- package/dist/src/openapi/src/models/CommunityDeleteActionResult.d.ts +47 -0
- package/dist/src/openapi/src/models/CommunityDeleteActionResult.js +63 -0
- package/dist/src/openapi/src/models/CommunityInvitesResult.d.ts +53 -0
- package/dist/src/openapi/src/models/CommunityInvitesResult.js +67 -0
- package/dist/src/openapi/src/models/CommunityJoinAction.d.ts +34 -0
- package/dist/src/openapi/src/models/CommunityJoinAction.js +52 -0
- package/dist/src/openapi/src/models/CommunityJoinActionResultUnion.d.ts +28 -0
- package/dist/src/openapi/src/models/CommunityJoinActionResultUnion.js +54 -0
- package/dist/src/openapi/src/models/CommunityJoinActionUnavailable.d.ts +53 -0
- package/dist/src/openapi/src/models/CommunityJoinActionUnavailable.js +67 -0
- package/dist/src/openapi/src/models/CommunityJoinRequestsResult.d.ts +34 -0
- package/dist/src/openapi/src/models/CommunityJoinRequestsResult.js +52 -0
- package/dist/src/openapi/src/models/CommunityLeaveActionResult.d.ts +53 -0
- package/dist/src/openapi/src/models/CommunityLeaveActionResult.js +67 -0
- package/dist/src/openapi/src/models/CommunityMediaTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CommunityMediaTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/CommunityPinActionResult.d.ts +34 -0
- package/dist/src/openapi/src/models/CommunityPinActionResult.js +52 -0
- package/dist/src/openapi/src/models/CommunityRelationship.d.ts +54 -0
- package/dist/src/openapi/src/models/CommunityRelationship.js +64 -0
- package/dist/src/openapi/src/models/CommunityRule.d.ts +45 -0
- package/dist/src/openapi/src/models/CommunityRule.js +57 -0
- package/dist/src/openapi/src/models/CommunityTweetsTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CommunityTweetsTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/CommunityUnpinActionResult.d.ts +34 -0
- package/dist/src/openapi/src/models/CommunityUnpinActionResult.js +52 -0
- package/dist/src/openapi/src/models/CommunityUrls.d.ts +34 -0
- package/dist/src/openapi/src/models/CommunityUrls.js +52 -0
- package/dist/src/openapi/src/models/CommunityUrlsPermalink.d.ts +33 -0
- package/dist/src/openapi/src/models/CommunityUrlsPermalink.js +51 -0
- package/dist/src/openapi/src/models/ContentEntryType.d.ts +27 -0
- package/dist/src/openapi/src/models/ContentEntryType.js +53 -0
- package/dist/src/openapi/src/models/ContentItemType.d.ts +33 -0
- package/dist/src/openapi/src/models/ContentItemType.js +59 -0
- package/dist/src/openapi/src/models/ContentUnion.d.ts +31 -0
- package/dist/src/openapi/src/models/ContentUnion.js +59 -0
- package/dist/src/openapi/src/models/ConversationControl.d.ts +42 -0
- package/dist/src/openapi/src/models/ConversationControl.js +60 -0
- package/dist/src/openapi/src/models/CoverCta.d.ts +67 -0
- package/dist/src/openapi/src/models/CoverCta.js +73 -0
- package/dist/src/openapi/src/models/CreateBookmarkResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CreateBookmarkResponse.js +55 -0
- package/dist/src/openapi/src/models/CreateBookmarkResponseData.d.ts +33 -0
- package/dist/src/openapi/src/models/CreateBookmarkResponseData.js +49 -0
- package/dist/src/openapi/src/models/CreateRetweet.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateRetweet.js +52 -0
- package/dist/src/openapi/src/models/CreateRetweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CreateRetweetResponse.js +55 -0
- package/dist/src/openapi/src/models/CreateRetweetResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateRetweetResponseData.js +50 -0
- package/dist/src/openapi/src/models/CreateRetweetResponseResult.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateRetweetResponseResult.js +52 -0
- package/dist/src/openapi/src/models/CreateTweet.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateTweet.js +52 -0
- package/dist/src/openapi/src/models/CreateTweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/CreateTweetResponse.js +55 -0
- package/dist/src/openapi/src/models/CreateTweetResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateTweetResponseData.js +50 -0
- package/dist/src/openapi/src/models/CreateTweetResponseResult.d.ts +34 -0
- package/dist/src/openapi/src/models/CreateTweetResponseResult.js +52 -0
- package/dist/src/openapi/src/models/CtaClientEventInfo.d.ts +40 -0
- package/dist/src/openapi/src/models/CtaClientEventInfo.js +58 -0
- package/dist/src/openapi/src/models/CursorType.d.ts +30 -0
- package/dist/src/openapi/src/models/CursorType.js +56 -0
- package/dist/src/openapi/src/models/DeleteBookmarkResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/DeleteBookmarkResponse.js +55 -0
- package/dist/src/openapi/src/models/DeleteBookmarkResponseData.d.ts +33 -0
- package/dist/src/openapi/src/models/DeleteBookmarkResponseData.js +49 -0
- package/dist/src/openapi/src/models/DeleteRetweet.d.ts +34 -0
- package/dist/src/openapi/src/models/DeleteRetweet.js +52 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponse.js +55 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponseData.js +50 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponseResult.d.ts +34 -0
- package/dist/src/openapi/src/models/DeleteRetweetResponseResult.js +50 -0
- package/dist/src/openapi/src/models/DeleteTweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/DeleteTweetResponse.js +55 -0
- package/dist/src/openapi/src/models/DeleteTweetResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/DeleteTweetResponseData.js +50 -0
- package/dist/src/openapi/src/models/DeleteTweetResponseResult.d.ts +33 -0
- package/dist/src/openapi/src/models/DeleteTweetResponseResult.js +51 -0
- package/dist/src/openapi/src/models/DisplayTreatment.d.ts +39 -0
- package/dist/src/openapi/src/models/DisplayTreatment.js +53 -0
- package/dist/src/openapi/src/models/DisplayType.d.ts +28 -0
- package/dist/src/openapi/src/models/DisplayType.js +54 -0
- package/dist/src/openapi/src/models/Entities.d.ts +72 -0
- package/dist/src/openapi/src/models/Entities.js +70 -0
- package/dist/src/openapi/src/models/ErrorExtensions.d.ts +64 -0
- package/dist/src/openapi/src/models/ErrorExtensions.js +70 -0
- package/dist/src/openapi/src/models/ErrorResponse.d.ts +91 -0
- package/dist/src/openapi/src/models/ErrorResponse.js +87 -0
- package/dist/src/openapi/src/models/ErrorResponsePathInner.d.ts +22 -0
- package/dist/src/openapi/src/models/ErrorResponsePathInner.js +50 -0
- package/dist/src/openapi/src/models/ExtMediaAvailability.d.ts +47 -0
- package/dist/src/openapi/src/models/ExtMediaAvailability.js +59 -0
- package/dist/src/openapi/src/models/ExtendedEntities.d.ts +34 -0
- package/dist/src/openapi/src/models/ExtendedEntities.js +52 -0
- package/dist/src/openapi/src/models/FavoriteTweet.d.ts +33 -0
- package/dist/src/openapi/src/models/FavoriteTweet.js +49 -0
- package/dist/src/openapi/src/models/FavoriteTweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/FavoriteTweetResponse.js +55 -0
- package/dist/src/openapi/src/models/FeedbackInfo.d.ts +40 -0
- package/dist/src/openapi/src/models/FeedbackInfo.js +52 -0
- package/dist/src/openapi/src/models/FollowResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/FollowResponse.js +55 -0
- package/dist/src/openapi/src/models/FollowResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/FollowResponseData.js +50 -0
- package/dist/src/openapi/src/models/FollowResponseResult.d.ts +41 -0
- package/dist/src/openapi/src/models/FollowResponseResult.js +57 -0
- package/dist/src/openapi/src/models/FollowResponseUser.d.ts +34 -0
- package/dist/src/openapi/src/models/FollowResponseUser.js +52 -0
- package/dist/src/openapi/src/models/FollowTimeline.d.ts +34 -0
- package/dist/src/openapi/src/models/FollowTimeline.js +52 -0
- package/dist/src/openapi/src/models/GrokImageAnnotation.d.ts +39 -0
- package/dist/src/openapi/src/models/GrokImageAnnotation.js +55 -0
- package/dist/src/openapi/src/models/GrokShareAttachment.d.ts +34 -0
- package/dist/src/openapi/src/models/GrokShareAttachment.js +52 -0
- package/dist/src/openapi/src/models/GrokShareAttachmentItem.d.ts +46 -0
- package/dist/src/openapi/src/models/GrokShareAttachmentItem.js +58 -0
- package/dist/src/openapi/src/models/Highlight.d.ts +34 -0
- package/dist/src/openapi/src/models/Highlight.js +52 -0
- package/dist/src/openapi/src/models/HomeTimelineHome.d.ts +34 -0
- package/dist/src/openapi/src/models/HomeTimelineHome.js +52 -0
- package/dist/src/openapi/src/models/HomeTimelineResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/HomeTimelineResponseData.js +52 -0
- package/dist/src/openapi/src/models/InstructionType.d.ts +34 -0
- package/dist/src/openapi/src/models/InstructionType.js +60 -0
- package/dist/src/openapi/src/models/InstructionUnion.d.ts +52 -0
- package/dist/src/openapi/src/models/InstructionUnion.js +94 -0
- package/dist/src/openapi/src/models/ItemContentUnion.d.ts +49 -0
- package/dist/src/openapi/src/models/ItemContentUnion.js +89 -0
- package/dist/src/openapi/src/models/ItemResult.d.ts +41 -0
- package/dist/src/openapi/src/models/ItemResult.js +53 -0
- package/dist/src/openapi/src/models/LimitedActionResultsData.d.ts +53 -0
- package/dist/src/openapi/src/models/LimitedActionResultsData.js +71 -0
- package/dist/src/openapi/src/models/ListLatestTweetsTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/ListLatestTweetsTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/ListTweetsTimelineData.d.ts +34 -0
- package/dist/src/openapi/src/models/ListTweetsTimelineData.js +52 -0
- package/dist/src/openapi/src/models/ListTweetsTimelineList.d.ts +34 -0
- package/dist/src/openapi/src/models/ListTweetsTimelineList.js +52 -0
- package/dist/src/openapi/src/models/LiveVideoStreamSource.d.ts +51 -0
- package/dist/src/openapi/src/models/LiveVideoStreamSource.js +63 -0
- package/dist/src/openapi/src/models/LiveVideoStreamStatusResponse.d.ts +58 -0
- package/dist/src/openapi/src/models/LiveVideoStreamStatusResponse.js +62 -0
- package/dist/src/openapi/src/models/Location.d.ts +39 -0
- package/dist/src/openapi/src/models/Location.js +55 -0
- package/dist/src/openapi/src/models/Media.d.ts +164 -0
- package/dist/src/openapi/src/models/Media.js +126 -0
- package/dist/src/openapi/src/models/MediaCommunityResult.d.ts +41 -0
- package/dist/src/openapi/src/models/MediaCommunityResult.js +57 -0
- package/dist/src/openapi/src/models/MediaCommunityResults.d.ts +34 -0
- package/dist/src/openapi/src/models/MediaCommunityResults.js +52 -0
- package/dist/src/openapi/src/models/MediaCommunityTweetData.d.ts +34 -0
- package/dist/src/openapi/src/models/MediaCommunityTweetData.js +52 -0
- package/dist/src/openapi/src/models/MediaExtended.d.ts +171 -0
- package/dist/src/openapi/src/models/MediaExtended.js +127 -0
- package/dist/src/openapi/src/models/MediaOriginalInfo.d.ts +46 -0
- package/dist/src/openapi/src/models/MediaOriginalInfo.js +58 -0
- package/dist/src/openapi/src/models/MediaOriginalInfoFocusRect.d.ts +51 -0
- package/dist/src/openapi/src/models/MediaOriginalInfoFocusRect.js +63 -0
- package/dist/src/openapi/src/models/MediaResult.d.ts +40 -0
- package/dist/src/openapi/src/models/MediaResult.js +54 -0
- package/dist/src/openapi/src/models/MediaResults.d.ts +34 -0
- package/dist/src/openapi/src/models/MediaResults.js +52 -0
- package/dist/src/openapi/src/models/MediaSize.d.ts +53 -0
- package/dist/src/openapi/src/models/MediaSize.js +67 -0
- package/dist/src/openapi/src/models/MediaSizes.d.ts +52 -0
- package/dist/src/openapi/src/models/MediaSizes.js +64 -0
- package/dist/src/openapi/src/models/MediaStats.d.ts +33 -0
- package/dist/src/openapi/src/models/MediaStats.js +51 -0
- package/dist/src/openapi/src/models/MediaVideoInfo.d.ts +46 -0
- package/dist/src/openapi/src/models/MediaVideoInfo.js +58 -0
- package/dist/src/openapi/src/models/MediaVideoInfoVariant.d.ts +45 -0
- package/dist/src/openapi/src/models/MediaVideoInfoVariant.js +57 -0
- package/dist/src/openapi/src/models/MediaVisibilityResults.d.ts +34 -0
- package/dist/src/openapi/src/models/MediaVisibilityResults.js +52 -0
- package/dist/src/openapi/src/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +46 -0
- package/dist/src/openapi/src/models/MediaVisibilityResultsBlurredImageInterstitial.js +60 -0
- package/dist/src/openapi/src/models/ModuleEntry.d.ts +48 -0
- package/dist/src/openapi/src/models/ModuleEntry.js +58 -0
- package/dist/src/openapi/src/models/ModuleItem.d.ts +46 -0
- package/dist/src/openapi/src/models/ModuleItem.js +58 -0
- package/dist/src/openapi/src/models/NoteTweet.d.ts +40 -0
- package/dist/src/openapi/src/models/NoteTweet.js +56 -0
- package/dist/src/openapi/src/models/NoteTweetResult.d.ts +34 -0
- package/dist/src/openapi/src/models/NoteTweetResult.js +52 -0
- package/dist/src/openapi/src/models/NoteTweetResultData.d.ts +60 -0
- package/dist/src/openapi/src/models/NoteTweetResultData.js +66 -0
- package/dist/src/openapi/src/models/NoteTweetResultMedia.d.ts +34 -0
- package/dist/src/openapi/src/models/NoteTweetResultMedia.js +52 -0
- package/dist/src/openapi/src/models/NoteTweetResultMediaInlineMedia.d.ts +39 -0
- package/dist/src/openapi/src/models/NoteTweetResultMediaInlineMedia.js +55 -0
- package/dist/src/openapi/src/models/NoteTweetResultRichText.d.ts +34 -0
- package/dist/src/openapi/src/models/NoteTweetResultRichText.js +52 -0
- package/dist/src/openapi/src/models/NoteTweetResultRichTextTag.d.ts +53 -0
- package/dist/src/openapi/src/models/NoteTweetResultRichTextTag.js +67 -0
- package/dist/src/openapi/src/models/NotificationTemplate.d.ts +46 -0
- package/dist/src/openapi/src/models/NotificationTemplate.js +54 -0
- package/dist/src/openapi/src/models/NotificationsResult.d.ts +47 -0
- package/dist/src/openapi/src/models/NotificationsResult.js +61 -0
- package/dist/src/openapi/src/models/NotificationsTimelineData.d.ts +34 -0
- package/dist/src/openapi/src/models/NotificationsTimelineData.js +52 -0
- package/dist/src/openapi/src/models/NotificationsTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/NotificationsTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/NotificationsUserResults.d.ts +34 -0
- package/dist/src/openapi/src/models/NotificationsUserResults.js +52 -0
- package/dist/src/openapi/src/models/NotificationsViewerV2.d.ts +34 -0
- package/dist/src/openapi/src/models/NotificationsViewerV2.js +52 -0
- package/dist/src/openapi/src/models/OneFactorLoginEligibility.d.ts +33 -0
- package/dist/src/openapi/src/models/OneFactorLoginEligibility.js +51 -0
- package/dist/src/openapi/src/models/OtherObjectAll.d.ts +34 -0
- package/dist/src/openapi/src/models/OtherObjectAll.js +50 -0
- package/dist/src/openapi/src/models/PeriscopeUser.d.ts +51 -0
- package/dist/src/openapi/src/models/PeriscopeUser.js +55 -0
- package/dist/src/openapi/src/models/PostCreateBookmarkRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostCreateBookmarkRequest.js +56 -0
- package/dist/src/openapi/src/models/PostCreateBookmarkRequestVariables.d.ts +33 -0
- package/dist/src/openapi/src/models/PostCreateBookmarkRequestVariables.js +51 -0
- package/dist/src/openapi/src/models/PostCreateRetweetRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostCreateRetweetRequest.js +56 -0
- package/dist/src/openapi/src/models/PostCreateRetweetRequestVariables.d.ts +39 -0
- package/dist/src/openapi/src/models/PostCreateRetweetRequestVariables.js +55 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequest.d.ts +47 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequest.js +61 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestFeatures.d.ts +201 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestFeatures.js +163 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariables.d.ts +78 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariables.js +74 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesConversationControl.d.ts +33 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesConversationControl.js +51 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMedia.d.ts +40 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMedia.js +54 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +39 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +55 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesReply.d.ts +39 -0
- package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesReply.js +55 -0
- package/dist/src/openapi/src/models/PostDeleteBookmarkRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostDeleteBookmarkRequest.js +56 -0
- package/dist/src/openapi/src/models/PostDeleteRetweetRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostDeleteRetweetRequest.js +56 -0
- package/dist/src/openapi/src/models/PostDeleteRetweetRequestVariables.d.ts +39 -0
- package/dist/src/openapi/src/models/PostDeleteRetweetRequestVariables.js +55 -0
- package/dist/src/openapi/src/models/PostDeleteTweetRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostDeleteTweetRequest.js +56 -0
- package/dist/src/openapi/src/models/PostFavoriteTweetRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostFavoriteTweetRequest.js +56 -0
- package/dist/src/openapi/src/models/PostUnfavoriteTweetRequest.d.ts +40 -0
- package/dist/src/openapi/src/models/PostUnfavoriteTweetRequest.js +56 -0
- package/dist/src/openapi/src/models/PrimaryCommunityTopic.d.ts +39 -0
- package/dist/src/openapi/src/models/PrimaryCommunityTopic.js +55 -0
- package/dist/src/openapi/src/models/ProfileResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/ProfileResponse.js +55 -0
- package/dist/src/openapi/src/models/ProfileResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/ProfileResponseData.js +50 -0
- package/dist/src/openapi/src/models/QuotedRefResult.d.ts +34 -0
- package/dist/src/openapi/src/models/QuotedRefResult.js +50 -0
- package/dist/src/openapi/src/models/QuotedStatusPermalink.d.ts +45 -0
- package/dist/src/openapi/src/models/QuotedStatusPermalink.js +59 -0
- package/dist/src/openapi/src/models/RankedCommunityResult.d.ts +41 -0
- package/dist/src/openapi/src/models/RankedCommunityResult.js +57 -0
- package/dist/src/openapi/src/models/RankedCommunityResults.d.ts +34 -0
- package/dist/src/openapi/src/models/RankedCommunityResults.js +52 -0
- package/dist/src/openapi/src/models/RankedCommunityTweetData.d.ts +34 -0
- package/dist/src/openapi/src/models/RankedCommunityTweetData.js +52 -0
- package/dist/src/openapi/src/models/Retweet.d.ts +40 -0
- package/dist/src/openapi/src/models/Retweet.js +56 -0
- package/dist/src/openapi/src/models/RetweetLegacy.d.ts +33 -0
- package/dist/src/openapi/src/models/RetweetLegacy.js +51 -0
- package/dist/src/openapi/src/models/RichMessage.d.ts +39 -0
- package/dist/src/openapi/src/models/RichMessage.js +51 -0
- package/dist/src/openapi/src/models/SearchByRawQuery.d.ts +34 -0
- package/dist/src/openapi/src/models/SearchByRawQuery.js +52 -0
- package/dist/src/openapi/src/models/SearchTimeline.d.ts +34 -0
- package/dist/src/openapi/src/models/SearchTimeline.js +52 -0
- package/dist/src/openapi/src/models/SearchTimelineData.d.ts +34 -0
- package/dist/src/openapi/src/models/SearchTimelineData.js +52 -0
- package/dist/src/openapi/src/models/SearchTimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/SearchTimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/SelfThread.d.ts +33 -0
- package/dist/src/openapi/src/models/SelfThread.js +51 -0
- package/dist/src/openapi/src/models/SensitiveMediaWarning.d.ts +45 -0
- package/dist/src/openapi/src/models/SensitiveMediaWarning.js +53 -0
- package/dist/src/openapi/src/models/Session.d.ts +121 -0
- package/dist/src/openapi/src/models/Session.js +111 -0
- package/dist/src/openapi/src/models/SocialContextLandingUrl.d.ts +55 -0
- package/dist/src/openapi/src/models/SocialContextLandingUrl.js +63 -0
- package/dist/src/openapi/src/models/SocialContextUnion.d.ts +28 -0
- package/dist/src/openapi/src/models/SocialContextUnion.js +54 -0
- package/dist/src/openapi/src/models/SocialContextUnionType.d.ts +26 -0
- package/dist/src/openapi/src/models/SocialContextUnionType.js +52 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResult.d.ts +34 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResult.js +52 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResultData.d.ts +41 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResultData.js +57 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResultLegacy.d.ts +33 -0
- package/dist/src/openapi/src/models/SuperFollowsReplyUserResultLegacy.js +51 -0
- package/dist/src/openapi/src/models/Text.d.ts +40 -0
- package/dist/src/openapi/src/models/Text.js +56 -0
- package/dist/src/openapi/src/models/TextEntity.d.ts +46 -0
- package/dist/src/openapi/src/models/TextEntity.js +60 -0
- package/dist/src/openapi/src/models/TextEntityRef.d.ts +59 -0
- package/dist/src/openapi/src/models/TextEntityRef.js +72 -0
- package/dist/src/openapi/src/models/TextHighlight.d.ts +39 -0
- package/dist/src/openapi/src/models/TextHighlight.js +55 -0
- package/dist/src/openapi/src/models/ThumbnailImage.d.ts +45 -0
- package/dist/src/openapi/src/models/ThumbnailImage.js +53 -0
- package/dist/src/openapi/src/models/Timeline.d.ts +50 -0
- package/dist/src/openapi/src/models/Timeline.js +56 -0
- package/dist/src/openapi/src/models/TimelineAddEntries.d.ts +41 -0
- package/dist/src/openapi/src/models/TimelineAddEntries.js +57 -0
- package/dist/src/openapi/src/models/TimelineAddEntry.d.ts +46 -0
- package/dist/src/openapi/src/models/TimelineAddEntry.js +60 -0
- package/dist/src/openapi/src/models/TimelineAddToModule.d.ts +53 -0
- package/dist/src/openapi/src/models/TimelineAddToModule.js +63 -0
- package/dist/src/openapi/src/models/TimelineClearCache.d.ts +34 -0
- package/dist/src/openapi/src/models/TimelineClearCache.js +52 -0
- package/dist/src/openapi/src/models/TimelineClearEntriesUnreadState.d.ts +34 -0
- package/dist/src/openapi/src/models/TimelineClearEntriesUnreadState.js +52 -0
- package/dist/src/openapi/src/models/TimelineCommunity.d.ts +35 -0
- package/dist/src/openapi/src/models/TimelineCommunity.js +52 -0
- package/dist/src/openapi/src/models/TimelineCoverBehavior.d.ts +48 -0
- package/dist/src/openapi/src/models/TimelineCoverBehavior.js +62 -0
- package/dist/src/openapi/src/models/TimelineCoverBehaviorUrl.d.ts +46 -0
- package/dist/src/openapi/src/models/TimelineCoverBehaviorUrl.js +62 -0
- package/dist/src/openapi/src/models/TimelineGeneralContext.d.ts +74 -0
- package/dist/src/openapi/src/models/TimelineGeneralContext.js +74 -0
- package/dist/src/openapi/src/models/TimelineHalfCover.d.ts +86 -0
- package/dist/src/openapi/src/models/TimelineHalfCover.js +91 -0
- package/dist/src/openapi/src/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts +40 -0
- package/dist/src/openapi/src/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js +54 -0
- package/dist/src/openapi/src/models/TimelineMessagePrompt.d.ts +35 -0
- package/dist/src/openapi/src/models/TimelineMessagePrompt.js +52 -0
- package/dist/src/openapi/src/models/TimelineNotification.d.ts +80 -0
- package/dist/src/openapi/src/models/TimelineNotification.js +84 -0
- package/dist/src/openapi/src/models/TimelinePinEntry.d.ts +41 -0
- package/dist/src/openapi/src/models/TimelinePinEntry.js +57 -0
- package/dist/src/openapi/src/models/TimelinePrompt.d.ts +35 -0
- package/dist/src/openapi/src/models/TimelinePrompt.js +52 -0
- package/dist/src/openapi/src/models/TimelineReplaceEntry.d.ts +47 -0
- package/dist/src/openapi/src/models/TimelineReplaceEntry.js +61 -0
- package/dist/src/openapi/src/models/TimelineResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/TimelineResponse.js +55 -0
- package/dist/src/openapi/src/models/TimelineResult.d.ts +40 -0
- package/dist/src/openapi/src/models/TimelineResult.js +52 -0
- package/dist/src/openapi/src/models/TimelineShowAlert.d.ts +102 -0
- package/dist/src/openapi/src/models/TimelineShowAlert.js +87 -0
- package/dist/src/openapi/src/models/TimelineShowAlertRichText.d.ts +41 -0
- package/dist/src/openapi/src/models/TimelineShowAlertRichText.js +51 -0
- package/dist/src/openapi/src/models/TimelineShowCover.d.ts +48 -0
- package/dist/src/openapi/src/models/TimelineShowCover.js +62 -0
- package/dist/src/openapi/src/models/TimelineTerminateTimeline.d.ts +49 -0
- package/dist/src/openapi/src/models/TimelineTerminateTimeline.js +65 -0
- package/dist/src/openapi/src/models/TimelineTimelineCursor.d.ts +73 -0
- package/dist/src/openapi/src/models/TimelineTimelineCursor.js +71 -0
- package/dist/src/openapi/src/models/TimelineTimelineItem.d.ts +63 -0
- package/dist/src/openapi/src/models/TimelineTimelineItem.js +67 -0
- package/dist/src/openapi/src/models/TimelineTimelineModule.d.ts +93 -0
- package/dist/src/openapi/src/models/TimelineTimelineModule.js +77 -0
- package/dist/src/openapi/src/models/TimelineTombstone.d.ts +61 -0
- package/dist/src/openapi/src/models/TimelineTombstone.js +65 -0
- package/dist/src/openapi/src/models/TimelineTopicContext.d.ts +54 -0
- package/dist/src/openapi/src/models/TimelineTopicContext.js +62 -0
- package/dist/src/openapi/src/models/TimelineTrend.d.ts +88 -0
- package/dist/src/openapi/src/models/TimelineTrend.js +80 -0
- package/dist/src/openapi/src/models/TimelineTweet.d.ts +92 -0
- package/dist/src/openapi/src/models/TimelineTweet.js +86 -0
- package/dist/src/openapi/src/models/TimelineUser.d.ts +71 -0
- package/dist/src/openapi/src/models/TimelineUser.js +79 -0
- package/dist/src/openapi/src/models/Timestamp.d.ts +45 -0
- package/dist/src/openapi/src/models/Timestamp.js +59 -0
- package/dist/src/openapi/src/models/TombstoneEntity.d.ts +46 -0
- package/dist/src/openapi/src/models/TombstoneEntity.js +54 -0
- package/dist/src/openapi/src/models/TombstoneInfo.d.ts +40 -0
- package/dist/src/openapi/src/models/TombstoneInfo.js +52 -0
- package/dist/src/openapi/src/models/TombstoneRef.d.ts +59 -0
- package/dist/src/openapi/src/models/TombstoneRef.js +66 -0
- package/dist/src/openapi/src/models/TombstoneRichText.d.ts +46 -0
- package/dist/src/openapi/src/models/TombstoneRichText.js +54 -0
- package/dist/src/openapi/src/models/TopicContext.d.ts +69 -0
- package/dist/src/openapi/src/models/TopicContext.js +61 -0
- package/dist/src/openapi/src/models/Tracing.d.ts +33 -0
- package/dist/src/openapi/src/models/Tracing.js +51 -0
- package/dist/src/openapi/src/models/TrendImage.d.ts +33 -0
- package/dist/src/openapi/src/models/TrendImage.js +49 -0
- package/dist/src/openapi/src/models/TrendMetadata.d.ts +34 -0
- package/dist/src/openapi/src/models/TrendMetadata.js +50 -0
- package/dist/src/openapi/src/models/TrendResults.d.ts +33 -0
- package/dist/src/openapi/src/models/TrendResults.js +51 -0
- package/dist/src/openapi/src/models/Tweet.d.ts +217 -0
- package/dist/src/openapi/src/models/Tweet.js +125 -0
- package/dist/src/openapi/src/models/TweetCard.d.ts +40 -0
- package/dist/src/openapi/src/models/TweetCard.js +52 -0
- package/dist/src/openapi/src/models/TweetCardLegacy.d.ts +60 -0
- package/dist/src/openapi/src/models/TweetCardLegacy.js +66 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValue.d.ts +40 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValue.js +56 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValueData.d.ts +73 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValueData.js +65 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValueDataImage.d.ts +51 -0
- package/dist/src/openapi/src/models/TweetCardLegacyBindingValueDataImage.js +61 -0
- package/dist/src/openapi/src/models/TweetCardPlatform.d.ts +41 -0
- package/dist/src/openapi/src/models/TweetCardPlatform.js +57 -0
- package/dist/src/openapi/src/models/TweetCardPlatformAudience.d.ts +40 -0
- package/dist/src/openapi/src/models/TweetCardPlatformAudience.js +58 -0
- package/dist/src/openapi/src/models/TweetCardPlatformData.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetCardPlatformData.js +52 -0
- package/dist/src/openapi/src/models/TweetCardPlatformDevice.d.ts +39 -0
- package/dist/src/openapi/src/models/TweetCardPlatformDevice.js +55 -0
- package/dist/src/openapi/src/models/TweetDetailResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/TweetDetailResponse.js +55 -0
- package/dist/src/openapi/src/models/TweetDetailResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetDetailResponseData.js +50 -0
- package/dist/src/openapi/src/models/TweetEditControl.d.ts +64 -0
- package/dist/src/openapi/src/models/TweetEditControl.js +60 -0
- package/dist/src/openapi/src/models/TweetEditControlInitial.d.ts +51 -0
- package/dist/src/openapi/src/models/TweetEditControlInitial.js +63 -0
- package/dist/src/openapi/src/models/TweetEditPrespective.d.ts +39 -0
- package/dist/src/openapi/src/models/TweetEditPrespective.js +51 -0
- package/dist/src/openapi/src/models/TweetFavoritersResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/TweetFavoritersResponse.js +55 -0
- package/dist/src/openapi/src/models/TweetFavoritersResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetFavoritersResponseData.js +50 -0
- package/dist/src/openapi/src/models/TweetInterstitial.d.ts +61 -0
- package/dist/src/openapi/src/models/TweetInterstitial.js +73 -0
- package/dist/src/openapi/src/models/TweetInterstitialRevealText.d.ts +46 -0
- package/dist/src/openapi/src/models/TweetInterstitialRevealText.js +60 -0
- package/dist/src/openapi/src/models/TweetInterstitialText.d.ts +46 -0
- package/dist/src/openapi/src/models/TweetInterstitialText.js +60 -0
- package/dist/src/openapi/src/models/TweetInterstitialTextEntity.d.ts +46 -0
- package/dist/src/openapi/src/models/TweetInterstitialTextEntity.js +60 -0
- package/dist/src/openapi/src/models/TweetInterstitialTextEntityRef.d.ts +59 -0
- package/dist/src/openapi/src/models/TweetInterstitialTextEntityRef.js +72 -0
- package/dist/src/openapi/src/models/TweetLegacy.d.ts +236 -0
- package/dist/src/openapi/src/models/TweetLegacy.js +162 -0
- package/dist/src/openapi/src/models/TweetLegacyScopes.d.ts +33 -0
- package/dist/src/openapi/src/models/TweetLegacyScopes.js +51 -0
- package/dist/src/openapi/src/models/TweetLimitedActionResults.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetLimitedActionResults.js +52 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplay.d.ts +55 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplay.js +67 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayCta.d.ts +40 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayCta.js +56 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayCtaUrl.d.ts +48 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayCtaUrl.js +64 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayTweet.d.ts +95 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayTweet.js +93 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayTweetViewCount.d.ts +33 -0
- package/dist/src/openapi/src/models/TweetPreviewDisplayTweetViewCount.js +51 -0
- package/dist/src/openapi/src/models/TweetPreviousCounts.d.ts +57 -0
- package/dist/src/openapi/src/models/TweetPreviousCounts.js +67 -0
- package/dist/src/openapi/src/models/TweetResultByRestIdData.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetResultByRestIdData.js +50 -0
- package/dist/src/openapi/src/models/TweetResultByRestIdResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/TweetResultByRestIdResponse.js +55 -0
- package/dist/src/openapi/src/models/TweetRetweetersResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/TweetRetweetersResponse.js +55 -0
- package/dist/src/openapi/src/models/TweetRetweetersResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/TweetRetweetersResponseData.js +50 -0
- package/dist/src/openapi/src/models/TweetTombstone.d.ts +35 -0
- package/dist/src/openapi/src/models/TweetTombstone.js +52 -0
- package/dist/src/openapi/src/models/TweetUnavailable.d.ts +40 -0
- package/dist/src/openapi/src/models/TweetUnavailable.js +52 -0
- package/dist/src/openapi/src/models/TweetUnion.d.ts +37 -0
- package/dist/src/openapi/src/models/TweetUnion.js +69 -0
- package/dist/src/openapi/src/models/TweetView.d.ts +47 -0
- package/dist/src/openapi/src/models/TweetView.js +61 -0
- package/dist/src/openapi/src/models/TweetWithVisibilityResults.d.ts +63 -0
- package/dist/src/openapi/src/models/TweetWithVisibilityResults.js +65 -0
- package/dist/src/openapi/src/models/TypeName.d.ts +54 -0
- package/dist/src/openapi/src/models/TypeName.js +80 -0
- package/dist/src/openapi/src/models/UnfavoriteTweet.d.ts +33 -0
- package/dist/src/openapi/src/models/UnfavoriteTweet.js +49 -0
- package/dist/src/openapi/src/models/UnfavoriteTweetResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/UnfavoriteTweetResponse.js +55 -0
- package/dist/src/openapi/src/models/UnifiedCard.d.ts +40 -0
- package/dist/src/openapi/src/models/UnifiedCard.js +58 -0
- package/dist/src/openapi/src/models/Url.d.ts +51 -0
- package/dist/src/openapi/src/models/Url.js +61 -0
- package/dist/src/openapi/src/models/UrtEndpointOptions.d.ts +40 -0
- package/dist/src/openapi/src/models/UrtEndpointOptions.js +56 -0
- package/dist/src/openapi/src/models/UrtEndpointRequestParams.d.ts +39 -0
- package/dist/src/openapi/src/models/UrtEndpointRequestParams.js +55 -0
- package/dist/src/openapi/src/models/User.d.ts +281 -0
- package/dist/src/openapi/src/models/User.js +164 -0
- package/dist/src/openapi/src/models/UserAvatar.d.ts +33 -0
- package/dist/src/openapi/src/models/UserAvatar.js +49 -0
- package/dist/src/openapi/src/models/UserCore.d.ts +45 -0
- package/dist/src/openapi/src/models/UserCore.js +59 -0
- package/dist/src/openapi/src/models/UserDmPermissions.d.ts +33 -0
- package/dist/src/openapi/src/models/UserDmPermissions.js +49 -0
- package/dist/src/openapi/src/models/UserFeatures.d.ts +33 -0
- package/dist/src/openapi/src/models/UserFeatures.js +51 -0
- package/dist/src/openapi/src/models/UserHighlightsInfo.d.ts +39 -0
- package/dist/src/openapi/src/models/UserHighlightsInfo.js +55 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsData.d.ts +34 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsData.js +50 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsResponse.js +55 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsResult.d.ts +41 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsResult.js +57 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsTimeline.d.ts +34 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsTimeline.js +52 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsUser.d.ts +34 -0
- package/dist/src/openapi/src/models/UserHighlightsTweetsUser.js +52 -0
- package/dist/src/openapi/src/models/UserLegacy.d.ts +283 -0
- package/dist/src/openapi/src/models/UserLegacy.js +185 -0
- package/dist/src/openapi/src/models/UserLegacyExtendedProfile.d.ts +34 -0
- package/dist/src/openapi/src/models/UserLegacyExtendedProfile.js +50 -0
- package/dist/src/openapi/src/models/UserLegacyExtendedProfileBirthdate.d.ts +79 -0
- package/dist/src/openapi/src/models/UserLegacyExtendedProfileBirthdate.js +86 -0
- package/dist/src/openapi/src/models/UserLocation.d.ts +33 -0
- package/dist/src/openapi/src/models/UserLocation.js +49 -0
- package/dist/src/openapi/src/models/UserMediaPermissions.d.ts +33 -0
- package/dist/src/openapi/src/models/UserMediaPermissions.js +49 -0
- package/dist/src/openapi/src/models/UserPrivacy.d.ts +33 -0
- package/dist/src/openapi/src/models/UserPrivacy.js +49 -0
- package/dist/src/openapi/src/models/UserProfessional.d.ts +54 -0
- package/dist/src/openapi/src/models/UserProfessional.js +68 -0
- package/dist/src/openapi/src/models/UserProfessionalCategory.d.ts +45 -0
- package/dist/src/openapi/src/models/UserProfessionalCategory.js +59 -0
- package/dist/src/openapi/src/models/UserProfileBio.d.ts +33 -0
- package/dist/src/openapi/src/models/UserProfileBio.js +49 -0
- package/dist/src/openapi/src/models/UserRelationshipPerspectives.d.ts +57 -0
- package/dist/src/openapi/src/models/UserRelationshipPerspectives.js +57 -0
- package/dist/src/openapi/src/models/UserResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/UserResponse.js +55 -0
- package/dist/src/openapi/src/models/UserResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/UserResponseData.js +50 -0
- package/dist/src/openapi/src/models/UserResultByScreenName.d.ts +40 -0
- package/dist/src/openapi/src/models/UserResultByScreenName.js +56 -0
- package/dist/src/openapi/src/models/UserResultByScreenNameLegacy.d.ts +69 -0
- package/dist/src/openapi/src/models/UserResultByScreenNameLegacy.js +61 -0
- package/dist/src/openapi/src/models/UserResultByScreenNameResult.d.ts +61 -0
- package/dist/src/openapi/src/models/UserResultByScreenNameResult.js +69 -0
- package/dist/src/openapi/src/models/UserResultCore.d.ts +34 -0
- package/dist/src/openapi/src/models/UserResultCore.js +52 -0
- package/dist/src/openapi/src/models/UserResults.d.ts +34 -0
- package/dist/src/openapi/src/models/UserResults.js +50 -0
- package/dist/src/openapi/src/models/UserTipJarSettings.d.ts +81 -0
- package/dist/src/openapi/src/models/UserTipJarSettings.js +65 -0
- package/dist/src/openapi/src/models/UserTweetsData.d.ts +34 -0
- package/dist/src/openapi/src/models/UserTweetsData.js +50 -0
- package/dist/src/openapi/src/models/UserTweetsResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/UserTweetsResponse.js +55 -0
- package/dist/src/openapi/src/models/UserTweetsResultV1.d.ts +41 -0
- package/dist/src/openapi/src/models/UserTweetsResultV1.js +57 -0
- package/dist/src/openapi/src/models/UserTweetsResultV2.d.ts +41 -0
- package/dist/src/openapi/src/models/UserTweetsResultV2.js +57 -0
- package/dist/src/openapi/src/models/UserTweetsUser.d.ts +34 -0
- package/dist/src/openapi/src/models/UserTweetsUser.js +52 -0
- package/dist/src/openapi/src/models/UserUnavailable.d.ts +46 -0
- package/dist/src/openapi/src/models/UserUnavailable.js +58 -0
- package/dist/src/openapi/src/models/UserUnion.d.ts +28 -0
- package/dist/src/openapi/src/models/UserUnion.js +54 -0
- package/dist/src/openapi/src/models/UserValue.d.ts +33 -0
- package/dist/src/openapi/src/models/UserValue.js +51 -0
- package/dist/src/openapi/src/models/UserVerification.d.ts +33 -0
- package/dist/src/openapi/src/models/UserVerification.js +49 -0
- package/dist/src/openapi/src/models/UserVerificationInfo.d.ts +40 -0
- package/dist/src/openapi/src/models/UserVerificationInfo.js +54 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReason.d.ts +46 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReason.js +58 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescription.d.ts +40 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescription.js +56 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntities.d.ts +46 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntities.js +60 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +46 -0
- package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +62 -0
- package/dist/src/openapi/src/models/UsersResponse.d.ts +41 -0
- package/dist/src/openapi/src/models/UsersResponse.js +55 -0
- package/dist/src/openapi/src/models/UsersResponseData.d.ts +34 -0
- package/dist/src/openapi/src/models/UsersResponseData.js +50 -0
- package/dist/src/openapi/src/models/index.d.ts +336 -0
- package/dist/src/openapi/src/models/index.js +354 -0
- package/dist/src/openapi/src/runtime.d.ts +185 -0
- package/dist/src/openapi/src/runtime.js +339 -0
- package/dist/src/utils/api.d.ts +30 -0
- package/dist/src/utils/api.js +270 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/index.js +18 -0
- package/package.json +41 -0
|
@@ -0,0 +1,712 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.UserListApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class UserListApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for getBlueVerifiedFollowers without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async getBlueVerifiedFollowersRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getBlueVerifiedFollowers().');
|
|
62
|
+
}
|
|
63
|
+
if (requestParameters['variables'] == null) {
|
|
64
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getBlueVerifiedFollowers().');
|
|
65
|
+
}
|
|
66
|
+
if (requestParameters['features'] == null) {
|
|
67
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getBlueVerifiedFollowers().');
|
|
68
|
+
}
|
|
69
|
+
const queryParameters = {};
|
|
70
|
+
if (requestParameters['variables'] != null) {
|
|
71
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
72
|
+
}
|
|
73
|
+
if (requestParameters['features'] != null) {
|
|
74
|
+
queryParameters['features'] = requestParameters['features'];
|
|
75
|
+
}
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
78
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
79
|
+
}
|
|
80
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
81
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
82
|
+
}
|
|
83
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
84
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
85
|
+
}
|
|
86
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
87
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
88
|
+
}
|
|
89
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
90
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
91
|
+
}
|
|
92
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
93
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
94
|
+
}
|
|
95
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
96
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
97
|
+
}
|
|
98
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
99
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
100
|
+
}
|
|
101
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
102
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
103
|
+
}
|
|
104
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
105
|
+
const token = this.configuration.accessToken;
|
|
106
|
+
const tokenString = await token("BearerAuth", []);
|
|
107
|
+
if (tokenString) {
|
|
108
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
112
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
113
|
+
}
|
|
114
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
115
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
116
|
+
}
|
|
117
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
118
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
119
|
+
}
|
|
120
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
121
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
122
|
+
}
|
|
123
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
124
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
125
|
+
}
|
|
126
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
127
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
128
|
+
}
|
|
129
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
130
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
131
|
+
}
|
|
132
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
133
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
134
|
+
}
|
|
135
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
136
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
137
|
+
}
|
|
138
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
139
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
140
|
+
}
|
|
141
|
+
let urlPath = `/graphql/{pathQueryId}/BlueVerifiedFollowers`;
|
|
142
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
143
|
+
return {
|
|
144
|
+
path: urlPath,
|
|
145
|
+
method: 'GET',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* get user list of blue verified followers
|
|
152
|
+
*/
|
|
153
|
+
async getBlueVerifiedFollowersRaw(requestParameters, initOverrides) {
|
|
154
|
+
const requestOptions = await this.getBlueVerifiedFollowersRequestOpts(requestParameters);
|
|
155
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
156
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* get user list of blue verified followers
|
|
160
|
+
*/
|
|
161
|
+
async getBlueVerifiedFollowers(requestParameters, initOverrides) {
|
|
162
|
+
const response = await this.getBlueVerifiedFollowersRaw(requestParameters, initOverrides);
|
|
163
|
+
return await response.value();
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Creates request options for getFavoriters without sending the request
|
|
167
|
+
*/
|
|
168
|
+
async getFavoritersRequestOpts(requestParameters) {
|
|
169
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
170
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFavoriters().');
|
|
171
|
+
}
|
|
172
|
+
if (requestParameters['variables'] == null) {
|
|
173
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFavoriters().');
|
|
174
|
+
}
|
|
175
|
+
if (requestParameters['features'] == null) {
|
|
176
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFavoriters().');
|
|
177
|
+
}
|
|
178
|
+
const queryParameters = {};
|
|
179
|
+
if (requestParameters['variables'] != null) {
|
|
180
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['features'] != null) {
|
|
183
|
+
queryParameters['features'] = requestParameters['features'];
|
|
184
|
+
}
|
|
185
|
+
const headerParameters = {};
|
|
186
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
187
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
188
|
+
}
|
|
189
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
190
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
191
|
+
}
|
|
192
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
193
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
194
|
+
}
|
|
195
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
196
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
197
|
+
}
|
|
198
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
199
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
200
|
+
}
|
|
201
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
202
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
203
|
+
}
|
|
204
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
205
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
206
|
+
}
|
|
207
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
208
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
209
|
+
}
|
|
210
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
211
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
212
|
+
}
|
|
213
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
214
|
+
const token = this.configuration.accessToken;
|
|
215
|
+
const tokenString = await token("BearerAuth", []);
|
|
216
|
+
if (tokenString) {
|
|
217
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
221
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
222
|
+
}
|
|
223
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
224
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
225
|
+
}
|
|
226
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
227
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
228
|
+
}
|
|
229
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
230
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
231
|
+
}
|
|
232
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
233
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
234
|
+
}
|
|
235
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
236
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
237
|
+
}
|
|
238
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
239
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
240
|
+
}
|
|
241
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
242
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
243
|
+
}
|
|
244
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
245
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
246
|
+
}
|
|
247
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
248
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
249
|
+
}
|
|
250
|
+
let urlPath = `/graphql/{pathQueryId}/Favoriters`;
|
|
251
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
252
|
+
return {
|
|
253
|
+
path: urlPath,
|
|
254
|
+
method: 'GET',
|
|
255
|
+
headers: headerParameters,
|
|
256
|
+
query: queryParameters,
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* get tweet favoriters
|
|
261
|
+
*/
|
|
262
|
+
async getFavoritersRaw(requestParameters, initOverrides) {
|
|
263
|
+
const requestOptions = await this.getFavoritersRequestOpts(requestParameters);
|
|
264
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
265
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TweetFavoritersResponseFromJSON)(jsonValue));
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* get tweet favoriters
|
|
269
|
+
*/
|
|
270
|
+
async getFavoriters(requestParameters, initOverrides) {
|
|
271
|
+
const response = await this.getFavoritersRaw(requestParameters, initOverrides);
|
|
272
|
+
return await response.value();
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Creates request options for getFollowers without sending the request
|
|
276
|
+
*/
|
|
277
|
+
async getFollowersRequestOpts(requestParameters) {
|
|
278
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
279
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowers().');
|
|
280
|
+
}
|
|
281
|
+
if (requestParameters['variables'] == null) {
|
|
282
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowers().');
|
|
283
|
+
}
|
|
284
|
+
if (requestParameters['features'] == null) {
|
|
285
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowers().');
|
|
286
|
+
}
|
|
287
|
+
const queryParameters = {};
|
|
288
|
+
if (requestParameters['variables'] != null) {
|
|
289
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
290
|
+
}
|
|
291
|
+
if (requestParameters['features'] != null) {
|
|
292
|
+
queryParameters['features'] = requestParameters['features'];
|
|
293
|
+
}
|
|
294
|
+
const headerParameters = {};
|
|
295
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
296
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
297
|
+
}
|
|
298
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
299
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
300
|
+
}
|
|
301
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
302
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
303
|
+
}
|
|
304
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
305
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
306
|
+
}
|
|
307
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
308
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
309
|
+
}
|
|
310
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
311
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
312
|
+
}
|
|
313
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
314
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
315
|
+
}
|
|
316
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
317
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
318
|
+
}
|
|
319
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
320
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
321
|
+
}
|
|
322
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
323
|
+
const token = this.configuration.accessToken;
|
|
324
|
+
const tokenString = await token("BearerAuth", []);
|
|
325
|
+
if (tokenString) {
|
|
326
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
330
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
331
|
+
}
|
|
332
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
333
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
334
|
+
}
|
|
335
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
336
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
337
|
+
}
|
|
338
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
339
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
340
|
+
}
|
|
341
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
342
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
343
|
+
}
|
|
344
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
345
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
346
|
+
}
|
|
347
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
348
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
349
|
+
}
|
|
350
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
351
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
352
|
+
}
|
|
353
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
354
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
355
|
+
}
|
|
356
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
357
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
358
|
+
}
|
|
359
|
+
let urlPath = `/graphql/{pathQueryId}/Followers`;
|
|
360
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
361
|
+
return {
|
|
362
|
+
path: urlPath,
|
|
363
|
+
method: 'GET',
|
|
364
|
+
headers: headerParameters,
|
|
365
|
+
query: queryParameters,
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* get user list of followers
|
|
370
|
+
*/
|
|
371
|
+
async getFollowersRaw(requestParameters, initOverrides) {
|
|
372
|
+
const requestOptions = await this.getFollowersRequestOpts(requestParameters);
|
|
373
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
374
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* get user list of followers
|
|
378
|
+
*/
|
|
379
|
+
async getFollowers(requestParameters, initOverrides) {
|
|
380
|
+
const response = await this.getFollowersRaw(requestParameters, initOverrides);
|
|
381
|
+
return await response.value();
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Creates request options for getFollowersYouKnow without sending the request
|
|
385
|
+
*/
|
|
386
|
+
async getFollowersYouKnowRequestOpts(requestParameters) {
|
|
387
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
388
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowersYouKnow().');
|
|
389
|
+
}
|
|
390
|
+
if (requestParameters['variables'] == null) {
|
|
391
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowersYouKnow().');
|
|
392
|
+
}
|
|
393
|
+
if (requestParameters['features'] == null) {
|
|
394
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowersYouKnow().');
|
|
395
|
+
}
|
|
396
|
+
const queryParameters = {};
|
|
397
|
+
if (requestParameters['variables'] != null) {
|
|
398
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
399
|
+
}
|
|
400
|
+
if (requestParameters['features'] != null) {
|
|
401
|
+
queryParameters['features'] = requestParameters['features'];
|
|
402
|
+
}
|
|
403
|
+
const headerParameters = {};
|
|
404
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
405
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
406
|
+
}
|
|
407
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
408
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
409
|
+
}
|
|
410
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
411
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
412
|
+
}
|
|
413
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
414
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
415
|
+
}
|
|
416
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
417
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
418
|
+
}
|
|
419
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
420
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
421
|
+
}
|
|
422
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
423
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
424
|
+
}
|
|
425
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
426
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
427
|
+
}
|
|
428
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
429
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
430
|
+
}
|
|
431
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
432
|
+
const token = this.configuration.accessToken;
|
|
433
|
+
const tokenString = await token("BearerAuth", []);
|
|
434
|
+
if (tokenString) {
|
|
435
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
439
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
440
|
+
}
|
|
441
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
442
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
443
|
+
}
|
|
444
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
445
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
446
|
+
}
|
|
447
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
448
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
449
|
+
}
|
|
450
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
451
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
452
|
+
}
|
|
453
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
454
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
455
|
+
}
|
|
456
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
457
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
458
|
+
}
|
|
459
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
460
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
461
|
+
}
|
|
462
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
463
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
464
|
+
}
|
|
465
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
466
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
467
|
+
}
|
|
468
|
+
let urlPath = `/graphql/{pathQueryId}/FollowersYouKnow`;
|
|
469
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
470
|
+
return {
|
|
471
|
+
path: urlPath,
|
|
472
|
+
method: 'GET',
|
|
473
|
+
headers: headerParameters,
|
|
474
|
+
query: queryParameters,
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* get followers you know
|
|
479
|
+
*/
|
|
480
|
+
async getFollowersYouKnowRaw(requestParameters, initOverrides) {
|
|
481
|
+
const requestOptions = await this.getFollowersYouKnowRequestOpts(requestParameters);
|
|
482
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
483
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* get followers you know
|
|
487
|
+
*/
|
|
488
|
+
async getFollowersYouKnow(requestParameters, initOverrides) {
|
|
489
|
+
const response = await this.getFollowersYouKnowRaw(requestParameters, initOverrides);
|
|
490
|
+
return await response.value();
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Creates request options for getFollowing without sending the request
|
|
494
|
+
*/
|
|
495
|
+
async getFollowingRequestOpts(requestParameters) {
|
|
496
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
497
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowing().');
|
|
498
|
+
}
|
|
499
|
+
if (requestParameters['variables'] == null) {
|
|
500
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowing().');
|
|
501
|
+
}
|
|
502
|
+
if (requestParameters['features'] == null) {
|
|
503
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowing().');
|
|
504
|
+
}
|
|
505
|
+
const queryParameters = {};
|
|
506
|
+
if (requestParameters['variables'] != null) {
|
|
507
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
508
|
+
}
|
|
509
|
+
if (requestParameters['features'] != null) {
|
|
510
|
+
queryParameters['features'] = requestParameters['features'];
|
|
511
|
+
}
|
|
512
|
+
const headerParameters = {};
|
|
513
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
514
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
515
|
+
}
|
|
516
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
517
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
518
|
+
}
|
|
519
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
520
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
521
|
+
}
|
|
522
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
523
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
524
|
+
}
|
|
525
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
526
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
527
|
+
}
|
|
528
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
529
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
530
|
+
}
|
|
531
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
532
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
533
|
+
}
|
|
534
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
535
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
536
|
+
}
|
|
537
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
538
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
539
|
+
}
|
|
540
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
541
|
+
const token = this.configuration.accessToken;
|
|
542
|
+
const tokenString = await token("BearerAuth", []);
|
|
543
|
+
if (tokenString) {
|
|
544
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
548
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
549
|
+
}
|
|
550
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
551
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
552
|
+
}
|
|
553
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
554
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
555
|
+
}
|
|
556
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
557
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
558
|
+
}
|
|
559
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
560
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
561
|
+
}
|
|
562
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
563
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
564
|
+
}
|
|
565
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
566
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
567
|
+
}
|
|
568
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
569
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
570
|
+
}
|
|
571
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
572
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
573
|
+
}
|
|
574
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
575
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
576
|
+
}
|
|
577
|
+
let urlPath = `/graphql/{pathQueryId}/Following`;
|
|
578
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
579
|
+
return {
|
|
580
|
+
path: urlPath,
|
|
581
|
+
method: 'GET',
|
|
582
|
+
headers: headerParameters,
|
|
583
|
+
query: queryParameters,
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* get user list of following
|
|
588
|
+
*/
|
|
589
|
+
async getFollowingRaw(requestParameters, initOverrides) {
|
|
590
|
+
const requestOptions = await this.getFollowingRequestOpts(requestParameters);
|
|
591
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
592
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* get user list of following
|
|
596
|
+
*/
|
|
597
|
+
async getFollowing(requestParameters, initOverrides) {
|
|
598
|
+
const response = await this.getFollowingRaw(requestParameters, initOverrides);
|
|
599
|
+
return await response.value();
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Creates request options for getRetweeters without sending the request
|
|
603
|
+
*/
|
|
604
|
+
async getRetweetersRequestOpts(requestParameters) {
|
|
605
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
606
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getRetweeters().');
|
|
607
|
+
}
|
|
608
|
+
if (requestParameters['variables'] == null) {
|
|
609
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getRetweeters().');
|
|
610
|
+
}
|
|
611
|
+
if (requestParameters['features'] == null) {
|
|
612
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getRetweeters().');
|
|
613
|
+
}
|
|
614
|
+
const queryParameters = {};
|
|
615
|
+
if (requestParameters['variables'] != null) {
|
|
616
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
617
|
+
}
|
|
618
|
+
if (requestParameters['features'] != null) {
|
|
619
|
+
queryParameters['features'] = requestParameters['features'];
|
|
620
|
+
}
|
|
621
|
+
const headerParameters = {};
|
|
622
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
623
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
624
|
+
}
|
|
625
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
626
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
627
|
+
}
|
|
628
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
629
|
+
headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
|
|
630
|
+
}
|
|
631
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
632
|
+
headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
|
|
633
|
+
}
|
|
634
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
635
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
636
|
+
}
|
|
637
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
638
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
639
|
+
}
|
|
640
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
641
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
642
|
+
}
|
|
643
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
644
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
645
|
+
}
|
|
646
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
647
|
+
headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
648
|
+
}
|
|
649
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
650
|
+
const token = this.configuration.accessToken;
|
|
651
|
+
const tokenString = await token("BearerAuth", []);
|
|
652
|
+
if (tokenString) {
|
|
653
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
657
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
658
|
+
}
|
|
659
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
660
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
661
|
+
}
|
|
662
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
663
|
+
headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
664
|
+
}
|
|
665
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
666
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
667
|
+
}
|
|
668
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
669
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
670
|
+
}
|
|
671
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
672
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
673
|
+
}
|
|
674
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
675
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
676
|
+
}
|
|
677
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
678
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
679
|
+
}
|
|
680
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
681
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
682
|
+
}
|
|
683
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
684
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
685
|
+
}
|
|
686
|
+
let urlPath = `/graphql/{pathQueryId}/Retweeters`;
|
|
687
|
+
urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
688
|
+
return {
|
|
689
|
+
path: urlPath,
|
|
690
|
+
method: 'GET',
|
|
691
|
+
headers: headerParameters,
|
|
692
|
+
query: queryParameters,
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* get tweet retweeters
|
|
697
|
+
*/
|
|
698
|
+
async getRetweetersRaw(requestParameters, initOverrides) {
|
|
699
|
+
const requestOptions = await this.getRetweetersRequestOpts(requestParameters);
|
|
700
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
701
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TweetRetweetersResponseFromJSON)(jsonValue));
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* get tweet retweeters
|
|
705
|
+
*/
|
|
706
|
+
async getRetweeters(requestParameters, initOverrides) {
|
|
707
|
+
const response = await this.getRetweetersRaw(requestParameters, initOverrides);
|
|
708
|
+
return await response.value();
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
exports.UserListApi = UserListApi;
|
|
712
|
+
//# sourceMappingURL=UserListApi.js.map
|