twitter-openapi-typescript-generated 0.0.37 → 0.0.39
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 +652 -28
- package/dist/apis/DefaultApi.d.ts +54 -45
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +559 -520
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts +30 -26
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +300 -282
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts +161 -114
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +1927 -1760
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +289 -167
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +3666 -2503
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +53 -45
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +558 -520
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +105 -83
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +1262 -1165
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts +35 -31
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +316 -297
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts +68 -60
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +653 -617
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts +73 -65
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +707 -673
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts +68 -64
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +519 -501
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/apis/index.d.ts +10 -10
- package/dist/apis/index.js +28 -28
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -21
- package/dist/models/AboutCommunityResult.d.ts +41 -0
- package/dist/models/AboutCommunityResult.d.ts.map +1 -0
- package/dist/models/AboutCommunityResult.js +58 -0
- package/dist/models/AboutCommunityResult.js.map +1 -0
- package/dist/models/AboutCommunityResults.d.ts +34 -0
- package/dist/models/AboutCommunityResults.d.ts.map +1 -0
- package/dist/models/AboutCommunityResults.js +53 -0
- package/dist/models/AboutCommunityResults.js.map +1 -0
- package/dist/models/AboutCommunityTweetData.d.ts +34 -0
- package/dist/models/AboutCommunityTweetData.d.ts.map +1 -0
- package/dist/models/AboutCommunityTweetData.js +53 -0
- package/dist/models/AboutCommunityTweetData.js.map +1 -0
- package/dist/models/AdditionalMediaInfo.d.ts +64 -64
- package/dist/models/AdditionalMediaInfo.js +63 -64
- package/dist/models/AdditionalMediaInfo.js.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActions.d.ts +39 -39
- package/dist/models/AdditionalMediaInfoCallToActions.js +52 -53
- package/dist/models/AdditionalMediaInfoCallToActions.js.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts +32 -32
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js +51 -52
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js.map +1 -1
- package/dist/models/AllowDownloadStatus.d.ts +32 -32
- package/dist/models/AllowDownloadStatus.js +49 -50
- package/dist/models/AllowDownloadStatus.js.map +1 -1
- package/dist/models/AnalysisResults.d.ts +34 -0
- package/dist/models/AnalysisResults.d.ts.map +1 -0
- package/dist/models/AnalysisResults.js +53 -0
- package/dist/models/AnalysisResults.js.map +1 -0
- package/dist/models/Article.d.ts +33 -33
- package/dist/models/Article.js +52 -53
- package/dist/models/Article.js.map +1 -1
- package/dist/models/ArticleCoverMedia.d.ts +51 -51
- package/dist/models/ArticleCoverMedia.js +64 -65
- package/dist/models/ArticleCoverMedia.js.map +1 -1
- package/dist/models/ArticleCoverMediaColorInfo.d.ts +33 -33
- package/dist/models/ArticleCoverMediaColorInfo.js +52 -53
- package/dist/models/ArticleCoverMediaColorInfo.js.map +1 -1
- package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts +39 -39
- package/dist/models/ArticleCoverMediaColorInfoPalette.js +56 -57
- package/dist/models/ArticleCoverMediaColorInfoPalette.js.map +1 -1
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +44 -44
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js +59 -60
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js.map +1 -1
- package/dist/models/ArticleCoverMediaInfo.d.ts +58 -58
- package/dist/models/ArticleCoverMediaInfo.js +67 -68
- package/dist/models/ArticleCoverMediaInfo.js.map +1 -1
- package/dist/models/ArticleLifecycleState.d.ts +32 -32
- package/dist/models/ArticleLifecycleState.js +51 -52
- package/dist/models/ArticleLifecycleState.js.map +1 -1
- package/dist/models/ArticleMetadata.d.ts +32 -32
- package/dist/models/ArticleMetadata.js +51 -52
- package/dist/models/ArticleMetadata.js.map +1 -1
- package/dist/models/ArticleResult.d.ts +71 -71
- package/dist/models/ArticleResult.js +76 -77
- package/dist/models/ArticleResult.js.map +1 -1
- package/dist/models/ArticleResults.d.ts +33 -33
- package/dist/models/ArticleResults.js +52 -53
- package/dist/models/ArticleResults.js.map +1 -1
- package/dist/models/AuthorCommunityRelationship.d.ts +55 -55
- package/dist/models/AuthorCommunityRelationship.js +66 -66
- package/dist/models/AuthorCommunityRelationship.js.map +1 -1
- package/dist/models/BirdwatchEntity.d.ts +45 -45
- package/dist/models/BirdwatchEntity.js +60 -61
- package/dist/models/BirdwatchEntity.js.map +1 -1
- package/dist/models/BirdwatchEntityRef.d.ts +65 -65
- package/dist/models/BirdwatchEntityRef.js +71 -71
- package/dist/models/BirdwatchEntityRef.js.map +1 -1
- package/dist/models/BirdwatchPivot.d.ts +105 -99
- package/dist/models/BirdwatchPivot.d.ts.map +1 -1
- package/dist/models/BirdwatchPivot.js +91 -89
- package/dist/models/BirdwatchPivot.js.map +1 -1
- package/dist/models/BirdwatchPivotCallToAction.d.ts +44 -44
- package/dist/models/BirdwatchPivotCallToAction.js +59 -60
- package/dist/models/BirdwatchPivotCallToAction.js.map +1 -1
- package/dist/models/BirdwatchPivotFooter.d.ts +39 -39
- package/dist/models/BirdwatchPivotFooter.js +56 -57
- package/dist/models/BirdwatchPivotFooter.js.map +1 -1
- package/dist/models/BirdwatchPivotNote.d.ts +32 -32
- package/dist/models/BirdwatchPivotNote.js +51 -52
- package/dist/models/BirdwatchPivotNote.js.map +1 -1
- package/dist/models/BirdwatchPivotSubtitle.d.ts +39 -39
- package/dist/models/BirdwatchPivotSubtitle.js +56 -57
- package/dist/models/BirdwatchPivotSubtitle.js.map +1 -1
- package/dist/models/BookmarksResponse.d.ts +40 -40
- package/dist/models/BookmarksResponse.js +53 -54
- package/dist/models/BookmarksResponse.js.map +1 -1
- package/dist/models/BookmarksResponseData.d.ts +33 -33
- package/dist/models/BookmarksResponseData.js +52 -53
- package/dist/models/BookmarksResponseData.js.map +1 -1
- package/dist/models/BookmarksTimeline.d.ts +33 -33
- package/dist/models/BookmarksTimeline.js +52 -53
- package/dist/models/BookmarksTimeline.js.map +1 -1
- package/dist/models/Callback.d.ts +32 -32
- package/dist/models/Callback.js +51 -52
- package/dist/models/Callback.js.map +1 -1
- package/dist/models/ClientEventInfo.d.ts +46 -46
- package/dist/models/ClientEventInfo.js +53 -54
- package/dist/models/ClientEventInfo.js.map +1 -1
- package/dist/models/CommunitiesActions.d.ts +32 -32
- package/dist/models/CommunitiesActions.js +51 -52
- package/dist/models/CommunitiesActions.js.map +1 -1
- package/dist/models/Community.d.ts +33 -33
- package/dist/models/Community.js +52 -53
- package/dist/models/Community.js.map +1 -1
- package/dist/models/CommunityAboutTimelineResponse.d.ts +41 -0
- package/dist/models/CommunityAboutTimelineResponse.d.ts.map +1 -0
- package/dist/models/CommunityAboutTimelineResponse.js +56 -0
- package/dist/models/CommunityAboutTimelineResponse.js.map +1 -0
- package/dist/models/CommunityActions.d.ts +61 -61
- package/dist/models/CommunityActions.js +62 -63
- package/dist/models/CommunityActions.js.map +1 -1
- package/dist/models/CommunityData.d.ts +219 -219
- package/dist/models/CommunityData.js +132 -132
- package/dist/models/CommunityData.js.map +1 -1
- package/dist/models/CommunityDeleteActionResult.d.ts +46 -46
- package/dist/models/CommunityDeleteActionResult.js +63 -63
- package/dist/models/CommunityDeleteActionResult.js.map +1 -1
- package/dist/models/CommunityInvitesResult.d.ts +52 -52
- package/dist/models/CommunityInvitesResult.js +67 -67
- package/dist/models/CommunityInvitesResult.js.map +1 -1
- package/dist/models/CommunityJoinAction.d.ts +33 -33
- package/dist/models/CommunityJoinAction.js +52 -53
- package/dist/models/CommunityJoinAction.js.map +1 -1
- package/dist/models/CommunityJoinActionResultUnion.d.ts +27 -27
- package/dist/models/CommunityJoinActionResultUnion.d.ts.map +1 -1
- package/dist/models/CommunityJoinActionResultUnion.js +54 -55
- package/dist/models/CommunityJoinActionResultUnion.js.map +1 -1
- package/dist/models/CommunityJoinActionUnavailable.d.ts +52 -52
- package/dist/models/CommunityJoinActionUnavailable.js +67 -67
- package/dist/models/CommunityJoinActionUnavailable.js.map +1 -1
- package/dist/models/CommunityJoinRequestsResult.d.ts +33 -33
- package/dist/models/CommunityJoinRequestsResult.js +52 -53
- package/dist/models/CommunityJoinRequestsResult.js.map +1 -1
- package/dist/models/CommunityLeaveActionResult.d.ts +52 -52
- package/dist/models/CommunityLeaveActionResult.js +67 -67
- package/dist/models/CommunityLeaveActionResult.js.map +1 -1
- package/dist/models/CommunityMediaTimelineResponse.d.ts +41 -0
- package/dist/models/CommunityMediaTimelineResponse.d.ts.map +1 -0
- package/dist/models/CommunityMediaTimelineResponse.js +56 -0
- package/dist/models/CommunityMediaTimelineResponse.js.map +1 -0
- package/dist/models/CommunityPinActionResult.d.ts +33 -33
- package/dist/models/CommunityPinActionResult.js +52 -53
- package/dist/models/CommunityPinActionResult.js.map +1 -1
- package/dist/models/CommunityRelationship.d.ts +53 -53
- package/dist/models/CommunityRelationship.js +64 -65
- package/dist/models/CommunityRelationship.js.map +1 -1
- package/dist/models/CommunityRule.d.ts +44 -44
- package/dist/models/CommunityRule.js +57 -58
- package/dist/models/CommunityRule.js.map +1 -1
- package/dist/models/CommunityTweetsTimelineResponse.d.ts +41 -0
- package/dist/models/CommunityTweetsTimelineResponse.d.ts.map +1 -0
- package/dist/models/CommunityTweetsTimelineResponse.js +56 -0
- package/dist/models/CommunityTweetsTimelineResponse.js.map +1 -0
- package/dist/models/CommunityUnpinActionResult.d.ts +33 -33
- package/dist/models/CommunityUnpinActionResult.js +52 -53
- package/dist/models/CommunityUnpinActionResult.js.map +1 -1
- package/dist/models/CommunityUrls.d.ts +33 -33
- package/dist/models/CommunityUrls.js +52 -53
- package/dist/models/CommunityUrls.js.map +1 -1
- package/dist/models/CommunityUrlsPermalink.d.ts +32 -32
- package/dist/models/CommunityUrlsPermalink.js +51 -52
- package/dist/models/CommunityUrlsPermalink.js.map +1 -1
- package/dist/models/ContentEntryType.d.ts +26 -26
- package/dist/models/ContentEntryType.js +52 -52
- package/dist/models/ContentEntryType.js.map +1 -1
- package/dist/models/ContentItemType.d.ts +32 -30
- package/dist/models/ContentItemType.d.ts.map +1 -1
- package/dist/models/ContentItemType.js +58 -56
- package/dist/models/ContentItemType.js.map +1 -1
- package/dist/models/ContentUnion.d.ts +30 -30
- package/dist/models/ContentUnion.d.ts.map +1 -1
- package/dist/models/ContentUnion.js +59 -60
- package/dist/models/ContentUnion.js.map +1 -1
- package/dist/models/ConversationControl.d.ts +41 -41
- package/dist/models/ConversationControl.js +60 -60
- package/dist/models/ConversationControl.js.map +1 -1
- package/dist/models/CoverCta.d.ts +66 -66
- package/dist/models/CoverCta.js +73 -73
- package/dist/models/CoverCta.js.map +1 -1
- package/dist/models/CreateBookmarkResponse.d.ts +40 -40
- package/dist/models/CreateBookmarkResponse.js +55 -56
- package/dist/models/CreateBookmarkResponse.js.map +1 -1
- package/dist/models/CreateBookmarkResponseData.d.ts +32 -32
- package/dist/models/CreateBookmarkResponseData.js +49 -50
- package/dist/models/CreateBookmarkResponseData.js.map +1 -1
- package/dist/models/CreateRetweet.d.ts +33 -33
- package/dist/models/CreateRetweet.js +52 -53
- package/dist/models/CreateRetweet.js.map +1 -1
- package/dist/models/CreateRetweetResponse.d.ts +40 -40
- package/dist/models/CreateRetweetResponse.js +55 -56
- package/dist/models/CreateRetweetResponse.js.map +1 -1
- package/dist/models/CreateRetweetResponseData.d.ts +33 -33
- package/dist/models/CreateRetweetResponseData.js +50 -51
- package/dist/models/CreateRetweetResponseData.js.map +1 -1
- package/dist/models/CreateRetweetResponseResult.d.ts +33 -33
- package/dist/models/CreateRetweetResponseResult.js +52 -53
- package/dist/models/CreateRetweetResponseResult.js.map +1 -1
- package/dist/models/CreateTweet.d.ts +33 -33
- package/dist/models/CreateTweet.js +52 -53
- package/dist/models/CreateTweet.js.map +1 -1
- package/dist/models/CreateTweetResponse.d.ts +40 -40
- package/dist/models/CreateTweetResponse.js +55 -56
- package/dist/models/CreateTweetResponse.js.map +1 -1
- package/dist/models/CreateTweetResponseData.d.ts +33 -33
- package/dist/models/CreateTweetResponseData.js +50 -51
- package/dist/models/CreateTweetResponseData.js.map +1 -1
- package/dist/models/CreateTweetResponseResult.d.ts +33 -33
- package/dist/models/CreateTweetResponseResult.js +52 -53
- package/dist/models/CreateTweetResponseResult.js.map +1 -1
- package/dist/models/CtaClientEventInfo.d.ts +39 -39
- package/dist/models/CtaClientEventInfo.js +58 -58
- package/dist/models/CtaClientEventInfo.js.map +1 -1
- package/dist/models/CursorType.d.ts +29 -29
- package/dist/models/CursorType.js +55 -55
- package/dist/models/CursorType.js.map +1 -1
- package/dist/models/DeleteBookmarkResponse.d.ts +40 -40
- package/dist/models/DeleteBookmarkResponse.js +55 -56
- package/dist/models/DeleteBookmarkResponse.js.map +1 -1
- package/dist/models/DeleteBookmarkResponseData.d.ts +32 -32
- package/dist/models/DeleteBookmarkResponseData.js +49 -50
- package/dist/models/DeleteBookmarkResponseData.js.map +1 -1
- package/dist/models/DeleteRetweet.d.ts +33 -33
- package/dist/models/DeleteRetweet.js +52 -53
- package/dist/models/DeleteRetweet.js.map +1 -1
- package/dist/models/DeleteRetweetResponse.d.ts +40 -40
- package/dist/models/DeleteRetweetResponse.js +55 -56
- package/dist/models/DeleteRetweetResponse.js.map +1 -1
- package/dist/models/DeleteRetweetResponseData.d.ts +33 -33
- package/dist/models/DeleteRetweetResponseData.js +50 -51
- package/dist/models/DeleteRetweetResponseData.js.map +1 -1
- package/dist/models/DeleteRetweetResponseResult.d.ts +33 -33
- package/dist/models/DeleteRetweetResponseResult.js +50 -51
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -1
- package/dist/models/DeleteTweetResponse.d.ts +40 -40
- package/dist/models/DeleteTweetResponse.js +55 -56
- package/dist/models/DeleteTweetResponse.js.map +1 -1
- package/dist/models/DeleteTweetResponseData.d.ts +33 -33
- package/dist/models/DeleteTweetResponseData.js +50 -51
- package/dist/models/DeleteTweetResponseData.js.map +1 -1
- package/dist/models/DeleteTweetResponseResult.d.ts +32 -32
- package/dist/models/DeleteTweetResponseResult.js +51 -52
- package/dist/models/DeleteTweetResponseResult.js.map +1 -1
- package/dist/models/DisplayTreatment.d.ts +38 -38
- package/dist/models/DisplayTreatment.js +53 -54
- package/dist/models/DisplayTreatment.js.map +1 -1
- package/dist/models/DisplayType.d.ts +27 -27
- package/dist/models/DisplayType.js +53 -53
- package/dist/models/DisplayType.js.map +1 -1
- package/dist/models/Entities.d.ts +71 -71
- package/dist/models/Entities.js +70 -71
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/ErrorExtensions.d.ts +63 -63
- package/dist/models/ErrorExtensions.js +70 -71
- package/dist/models/ErrorExtensions.js.map +1 -1
- package/dist/models/ErrorResponse.d.ts +89 -89
- package/dist/models/ErrorResponse.js +88 -89
- package/dist/models/ErrorResponse.js.map +1 -1
- package/dist/models/ExtMediaAvailability.d.ts +46 -46
- package/dist/models/ExtMediaAvailability.js +59 -59
- package/dist/models/ExtMediaAvailability.js.map +1 -1
- package/dist/models/ExtendedEntities.d.ts +33 -33
- package/dist/models/ExtendedEntities.js +52 -53
- package/dist/models/ExtendedEntities.js.map +1 -1
- package/dist/models/FavoriteTweet.d.ts +32 -32
- package/dist/models/FavoriteTweet.js +49 -50
- package/dist/models/FavoriteTweet.js.map +1 -1
- package/dist/models/FavoriteTweetResponse.d.ts +40 -40
- package/dist/models/FavoriteTweetResponse.js +55 -56
- package/dist/models/FavoriteTweetResponse.js.map +1 -1
- package/dist/models/FeedbackInfo.d.ts +39 -39
- package/dist/models/FeedbackInfo.js +52 -53
- package/dist/models/FeedbackInfo.js.map +1 -1
- package/dist/models/FollowResponse.d.ts +40 -40
- package/dist/models/FollowResponse.js +55 -56
- package/dist/models/FollowResponse.js.map +1 -1
- package/dist/models/FollowResponseData.d.ts +33 -33
- package/dist/models/FollowResponseData.js +50 -51
- package/dist/models/FollowResponseData.js.map +1 -1
- package/dist/models/FollowResponseResult.d.ts +40 -40
- package/dist/models/FollowResponseResult.js +57 -58
- package/dist/models/FollowResponseResult.js.map +1 -1
- package/dist/models/FollowResponseUser.d.ts +33 -33
- package/dist/models/FollowResponseUser.js +52 -53
- package/dist/models/FollowResponseUser.js.map +1 -1
- package/dist/models/FollowTimeline.d.ts +33 -33
- package/dist/models/FollowTimeline.js +52 -53
- package/dist/models/FollowTimeline.js.map +1 -1
- package/dist/models/GrokImageAnnotation.d.ts +39 -0
- package/dist/models/GrokImageAnnotation.d.ts.map +1 -0
- package/dist/models/GrokImageAnnotation.js +56 -0
- package/dist/models/GrokImageAnnotation.js.map +1 -0
- package/dist/models/GrokShareAttachment.d.ts +33 -33
- package/dist/models/GrokShareAttachment.js +52 -53
- package/dist/models/GrokShareAttachment.js.map +1 -1
- package/dist/models/GrokShareAttachmentItem.d.ts +45 -38
- package/dist/models/GrokShareAttachmentItem.d.ts.map +1 -1
- package/dist/models/GrokShareAttachmentItem.js +58 -56
- package/dist/models/GrokShareAttachmentItem.js.map +1 -1
- package/dist/models/Highlight.d.ts +33 -33
- package/dist/models/Highlight.js +52 -53
- package/dist/models/Highlight.js.map +1 -1
- package/dist/models/HomeTimelineHome.d.ts +33 -33
- package/dist/models/HomeTimelineHome.js +52 -53
- package/dist/models/HomeTimelineHome.js.map +1 -1
- package/dist/models/HomeTimelineResponseData.d.ts +33 -33
- package/dist/models/HomeTimelineResponseData.d.ts.map +1 -1
- package/dist/models/HomeTimelineResponseData.js +52 -51
- package/dist/models/HomeTimelineResponseData.js.map +1 -1
- package/dist/models/InstructionType.d.ts +33 -31
- package/dist/models/InstructionType.d.ts.map +1 -1
- package/dist/models/InstructionType.js +59 -57
- package/dist/models/InstructionType.js.map +1 -1
- package/dist/models/InstructionUnion.d.ts +51 -45
- package/dist/models/InstructionUnion.d.ts.map +1 -1
- package/dist/models/InstructionUnion.js +94 -85
- package/dist/models/InstructionUnion.js.map +1 -1
- package/dist/models/ItemContentUnion.d.ts +48 -45
- package/dist/models/ItemContentUnion.d.ts.map +1 -1
- package/dist/models/ItemContentUnion.js +89 -85
- package/dist/models/ItemContentUnion.js.map +1 -1
- package/dist/models/ItemResult.d.ts +40 -40
- package/dist/models/ItemResult.js +53 -54
- package/dist/models/ItemResult.js.map +1 -1
- package/dist/models/LimitedActionResultsData.d.ts +52 -52
- package/dist/models/LimitedActionResultsData.js +71 -71
- package/dist/models/LimitedActionResultsData.js.map +1 -1
- package/dist/models/ListLatestTweetsTimelineResponse.d.ts +40 -40
- package/dist/models/ListLatestTweetsTimelineResponse.js +55 -56
- package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -1
- package/dist/models/ListTweetsTimelineData.d.ts +33 -33
- package/dist/models/ListTweetsTimelineData.d.ts.map +1 -1
- package/dist/models/ListTweetsTimelineData.js +52 -51
- package/dist/models/ListTweetsTimelineData.js.map +1 -1
- package/dist/models/ListTweetsTimelineList.d.ts +33 -33
- package/dist/models/ListTweetsTimelineList.d.ts.map +1 -1
- package/dist/models/ListTweetsTimelineList.js +52 -53
- package/dist/models/ListTweetsTimelineList.js.map +1 -1
- package/dist/models/Location.d.ts +38 -38
- package/dist/models/Location.js +55 -56
- package/dist/models/Location.js.map +1 -1
- package/dist/models/Media.d.ts +163 -163
- package/dist/models/Media.js +126 -126
- package/dist/models/Media.js.map +1 -1
- package/dist/models/MediaCommunityResult.d.ts +41 -0
- package/dist/models/MediaCommunityResult.d.ts.map +1 -0
- package/dist/models/MediaCommunityResult.js +58 -0
- package/dist/models/MediaCommunityResult.js.map +1 -0
- package/dist/models/MediaCommunityResults.d.ts +34 -0
- package/dist/models/MediaCommunityResults.d.ts.map +1 -0
- package/dist/models/MediaCommunityResults.js +53 -0
- package/dist/models/MediaCommunityResults.js.map +1 -0
- package/dist/models/MediaCommunityTweetData.d.ts +34 -0
- package/dist/models/MediaCommunityTweetData.d.ts.map +1 -0
- package/dist/models/MediaCommunityTweetData.js +53 -0
- package/dist/models/MediaCommunityTweetData.js.map +1 -0
- package/dist/models/MediaExtended.d.ts +170 -170
- package/dist/models/MediaExtended.js +127 -127
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/MediaOriginalInfo.d.ts +45 -45
- package/dist/models/MediaOriginalInfo.js +58 -59
- package/dist/models/MediaOriginalInfo.js.map +1 -1
- package/dist/models/MediaOriginalInfoFocusRect.d.ts +50 -50
- package/dist/models/MediaOriginalInfoFocusRect.js +63 -64
- package/dist/models/MediaOriginalInfoFocusRect.js.map +1 -1
- package/dist/models/MediaResult.d.ts +39 -32
- package/dist/models/MediaResult.d.ts.map +1 -1
- package/dist/models/MediaResult.js +54 -52
- package/dist/models/MediaResult.js.map +1 -1
- package/dist/models/MediaResults.d.ts +33 -33
- package/dist/models/MediaResults.js +52 -53
- package/dist/models/MediaResults.js.map +1 -1
- package/dist/models/MediaSize.d.ts +52 -52
- package/dist/models/MediaSize.js +67 -67
- package/dist/models/MediaSize.js.map +1 -1
- package/dist/models/MediaSizes.d.ts +51 -51
- package/dist/models/MediaSizes.js +64 -65
- package/dist/models/MediaSizes.js.map +1 -1
- package/dist/models/MediaStats.d.ts +32 -32
- package/dist/models/MediaStats.js +51 -52
- package/dist/models/MediaStats.js.map +1 -1
- package/dist/models/MediaVideoInfo.d.ts +45 -45
- package/dist/models/MediaVideoInfo.js +58 -59
- package/dist/models/MediaVideoInfo.js.map +1 -1
- package/dist/models/MediaVideoInfoVariant.d.ts +44 -44
- package/dist/models/MediaVideoInfoVariant.js +57 -58
- package/dist/models/MediaVideoInfoVariant.js.map +1 -1
- package/dist/models/MediaVisibilityResults.d.ts +33 -33
- package/dist/models/MediaVisibilityResults.js +52 -53
- package/dist/models/MediaVisibilityResults.js.map +1 -1
- package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +45 -45
- package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js +60 -61
- package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js.map +1 -1
- package/dist/models/ModuleEntry.d.ts +47 -47
- package/dist/models/ModuleEntry.js +58 -59
- package/dist/models/ModuleEntry.js.map +1 -1
- package/dist/models/ModuleItem.d.ts +45 -45
- package/dist/models/ModuleItem.js +58 -59
- package/dist/models/ModuleItem.js.map +1 -1
- package/dist/models/NoteTweet.d.ts +39 -39
- package/dist/models/NoteTweet.js +56 -57
- package/dist/models/NoteTweet.js.map +1 -1
- package/dist/models/NoteTweetResult.d.ts +33 -33
- package/dist/models/NoteTweetResult.js +52 -53
- package/dist/models/NoteTweetResult.js.map +1 -1
- package/dist/models/NoteTweetResultData.d.ts +59 -59
- package/dist/models/NoteTweetResultData.js +66 -67
- package/dist/models/NoteTweetResultData.js.map +1 -1
- package/dist/models/NoteTweetResultMedia.d.ts +33 -33
- package/dist/models/NoteTweetResultMedia.js +52 -53
- package/dist/models/NoteTweetResultMedia.js.map +1 -1
- package/dist/models/NoteTweetResultMediaInlineMedia.d.ts +38 -38
- package/dist/models/NoteTweetResultMediaInlineMedia.js +55 -56
- package/dist/models/NoteTweetResultMediaInlineMedia.js.map +1 -1
- package/dist/models/NoteTweetResultRichText.d.ts +33 -33
- package/dist/models/NoteTweetResultRichText.js +52 -53
- package/dist/models/NoteTweetResultRichText.js.map +1 -1
- package/dist/models/NoteTweetResultRichTextTag.d.ts +52 -52
- package/dist/models/NoteTweetResultRichTextTag.js +67 -67
- package/dist/models/NoteTweetResultRichTextTag.js.map +1 -1
- package/dist/models/NotificationTemplate.d.ts +46 -0
- package/dist/models/NotificationTemplate.d.ts.map +1 -0
- package/dist/models/NotificationTemplate.js +55 -0
- package/dist/models/NotificationTemplate.js.map +1 -0
- package/dist/models/NotificationsResult.d.ts +47 -0
- package/dist/models/NotificationsResult.d.ts.map +1 -0
- package/dist/models/NotificationsResult.js +62 -0
- package/dist/models/NotificationsResult.js.map +1 -0
- package/dist/models/NotificationsTimelineData.d.ts +34 -0
- package/dist/models/NotificationsTimelineData.d.ts.map +1 -0
- package/dist/models/NotificationsTimelineData.js +53 -0
- package/dist/models/NotificationsTimelineData.js.map +1 -0
- package/dist/models/NotificationsTimelineResponse.d.ts +41 -0
- package/dist/models/NotificationsTimelineResponse.d.ts.map +1 -0
- package/dist/models/NotificationsTimelineResponse.js +56 -0
- package/dist/models/NotificationsTimelineResponse.js.map +1 -0
- package/dist/models/NotificationsUserResults.d.ts +34 -0
- package/dist/models/NotificationsUserResults.d.ts.map +1 -0
- package/dist/models/NotificationsUserResults.js +53 -0
- package/dist/models/NotificationsUserResults.js.map +1 -0
- package/dist/models/NotificationsViewerV2.d.ts +34 -0
- package/dist/models/NotificationsViewerV2.d.ts.map +1 -0
- package/dist/models/NotificationsViewerV2.js +53 -0
- package/dist/models/NotificationsViewerV2.js.map +1 -0
- package/dist/models/OneFactorLoginEligibility.d.ts +32 -32
- package/dist/models/OneFactorLoginEligibility.js +51 -52
- package/dist/models/OneFactorLoginEligibility.js.map +1 -1
- package/dist/models/OtherObjectAll.d.ts +33 -33
- package/dist/models/OtherObjectAll.js +50 -51
- package/dist/models/OtherObjectAll.js.map +1 -1
- package/dist/models/PostCreateBookmarkRequest.d.ts +39 -39
- package/dist/models/PostCreateBookmarkRequest.js +56 -57
- package/dist/models/PostCreateBookmarkRequest.js.map +1 -1
- package/dist/models/PostCreateBookmarkRequestVariables.d.ts +32 -32
- package/dist/models/PostCreateBookmarkRequestVariables.js +51 -52
- package/dist/models/PostCreateBookmarkRequestVariables.js.map +1 -1
- package/dist/models/PostCreateRetweetRequest.d.ts +39 -39
- package/dist/models/PostCreateRetweetRequest.js +56 -57
- package/dist/models/PostCreateRetweetRequest.js.map +1 -1
- package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -38
- package/dist/models/PostCreateRetweetRequestVariables.js +55 -56
- package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -1
- package/dist/models/PostCreateTweetRequest.d.ts +46 -46
- package/dist/models/PostCreateTweetRequest.js +61 -62
- package/dist/models/PostCreateTweetRequest.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +200 -158
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +163 -136
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariables.d.ts +77 -77
- package/dist/models/PostCreateTweetRequestVariables.js +74 -75
- package/dist/models/PostCreateTweetRequestVariables.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesConversationControl.d.ts +32 -32
- package/dist/models/PostCreateTweetRequestVariablesConversationControl.js +51 -52
- package/dist/models/PostCreateTweetRequestVariablesConversationControl.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +39 -39
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +54 -55
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -38
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +55 -56
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesReply.d.ts +38 -38
- package/dist/models/PostCreateTweetRequestVariablesReply.js +55 -56
- package/dist/models/PostCreateTweetRequestVariablesReply.js.map +1 -1
- package/dist/models/PostDeleteBookmarkRequest.d.ts +39 -39
- package/dist/models/PostDeleteBookmarkRequest.js +56 -57
- package/dist/models/PostDeleteBookmarkRequest.js.map +1 -1
- package/dist/models/PostDeleteRetweetRequest.d.ts +39 -39
- package/dist/models/PostDeleteRetweetRequest.js +56 -57
- package/dist/models/PostDeleteRetweetRequest.js.map +1 -1
- package/dist/models/PostDeleteRetweetRequestVariables.d.ts +38 -38
- package/dist/models/PostDeleteRetweetRequestVariables.js +55 -56
- package/dist/models/PostDeleteRetweetRequestVariables.js.map +1 -1
- package/dist/models/PostDeleteTweetRequest.d.ts +39 -39
- package/dist/models/PostDeleteTweetRequest.js +56 -57
- package/dist/models/PostDeleteTweetRequest.js.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.d.ts +39 -39
- package/dist/models/PostFavoriteTweetRequest.js +56 -57
- package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.d.ts +39 -39
- package/dist/models/PostUnfavoriteTweetRequest.js +56 -57
- package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
- package/dist/models/PrimaryCommunityTopic.d.ts +38 -38
- package/dist/models/PrimaryCommunityTopic.js +55 -56
- package/dist/models/PrimaryCommunityTopic.js.map +1 -1
- package/dist/models/ProfileResponse.d.ts +40 -40
- package/dist/models/ProfileResponse.js +55 -56
- package/dist/models/ProfileResponse.js.map +1 -1
- package/dist/models/ProfileResponseData.d.ts +33 -33
- package/dist/models/ProfileResponseData.js +50 -51
- package/dist/models/ProfileResponseData.js.map +1 -1
- package/dist/models/QuotedRefResult.d.ts +33 -33
- package/dist/models/QuotedRefResult.js +50 -51
- package/dist/models/QuotedRefResult.js.map +1 -1
- package/dist/models/QuotedStatusPermalink.d.ts +44 -44
- package/dist/models/QuotedStatusPermalink.js +59 -60
- package/dist/models/QuotedStatusPermalink.js.map +1 -1
- package/dist/models/RankedCommunityResult.d.ts +41 -0
- package/dist/models/RankedCommunityResult.d.ts.map +1 -0
- package/dist/models/RankedCommunityResult.js +58 -0
- package/dist/models/RankedCommunityResult.js.map +1 -0
- package/dist/models/RankedCommunityResults.d.ts +34 -0
- package/dist/models/RankedCommunityResults.d.ts.map +1 -0
- package/dist/models/RankedCommunityResults.js +53 -0
- package/dist/models/RankedCommunityResults.js.map +1 -0
- package/dist/models/RankedCommunityTweetData.d.ts +34 -0
- package/dist/models/RankedCommunityTweetData.d.ts.map +1 -0
- package/dist/models/RankedCommunityTweetData.js +53 -0
- package/dist/models/RankedCommunityTweetData.js.map +1 -0
- package/dist/models/Retweet.d.ts +39 -39
- package/dist/models/Retweet.js +56 -57
- package/dist/models/Retweet.js.map +1 -1
- package/dist/models/RetweetLegacy.d.ts +32 -32
- package/dist/models/RetweetLegacy.js +51 -52
- package/dist/models/RetweetLegacy.js.map +1 -1
- package/dist/models/RichMessage.d.ts +39 -0
- package/dist/models/RichMessage.d.ts.map +1 -0
- package/dist/models/RichMessage.js +52 -0
- package/dist/models/RichMessage.js.map +1 -0
- package/dist/models/SearchByRawQuery.d.ts +33 -33
- package/dist/models/SearchByRawQuery.js +52 -53
- package/dist/models/SearchByRawQuery.js.map +1 -1
- package/dist/models/SearchTimeline.d.ts +33 -33
- package/dist/models/SearchTimeline.js +52 -53
- package/dist/models/SearchTimeline.js.map +1 -1
- package/dist/models/SearchTimelineData.d.ts +33 -33
- package/dist/models/SearchTimelineData.d.ts.map +1 -1
- package/dist/models/SearchTimelineData.js +52 -51
- package/dist/models/SearchTimelineData.js.map +1 -1
- package/dist/models/SearchTimelineResponse.d.ts +40 -40
- package/dist/models/SearchTimelineResponse.js +55 -56
- package/dist/models/SearchTimelineResponse.js.map +1 -1
- package/dist/models/SelfThread.d.ts +32 -32
- package/dist/models/SelfThread.js +51 -52
- package/dist/models/SelfThread.js.map +1 -1
- package/dist/models/SensitiveMediaWarning.d.ts +44 -44
- package/dist/models/SensitiveMediaWarning.js +53 -54
- package/dist/models/SensitiveMediaWarning.js.map +1 -1
- package/dist/models/Session.d.ts +120 -120
- package/dist/models/Session.js +111 -111
- package/dist/models/Session.js.map +1 -1
- package/dist/models/SocialContextLandingUrl.d.ts +54 -54
- package/dist/models/SocialContextLandingUrl.js +63 -63
- package/dist/models/SocialContextLandingUrl.js.map +1 -1
- package/dist/models/SocialContextUnion.d.ts +27 -27
- package/dist/models/SocialContextUnion.d.ts.map +1 -1
- package/dist/models/SocialContextUnion.js +54 -55
- package/dist/models/SocialContextUnion.js.map +1 -1
- package/dist/models/SocialContextUnionType.d.ts +25 -25
- package/dist/models/SocialContextUnionType.js +51 -51
- package/dist/models/SocialContextUnionType.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResult.d.ts +33 -33
- package/dist/models/SuperFollowsReplyUserResult.js +52 -53
- package/dist/models/SuperFollowsReplyUserResult.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultData.d.ts +40 -40
- package/dist/models/SuperFollowsReplyUserResultData.js +57 -58
- package/dist/models/SuperFollowsReplyUserResultData.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts +32 -32
- package/dist/models/SuperFollowsReplyUserResultLegacy.js +51 -52
- package/dist/models/SuperFollowsReplyUserResultLegacy.js.map +1 -1
- package/dist/models/Text.d.ts +39 -39
- package/dist/models/Text.js +56 -57
- package/dist/models/Text.js.map +1 -1
- package/dist/models/TextEntity.d.ts +45 -45
- package/dist/models/TextEntity.js +60 -61
- package/dist/models/TextEntity.js.map +1 -1
- package/dist/models/TextEntityRef.d.ts +58 -58
- package/dist/models/TextEntityRef.js +72 -72
- package/dist/models/TextEntityRef.js.map +1 -1
- package/dist/models/TextHighlight.d.ts +38 -38
- package/dist/models/TextHighlight.js +55 -56
- package/dist/models/TextHighlight.js.map +1 -1
- package/dist/models/ThumbnailImage.d.ts +44 -44
- package/dist/models/ThumbnailImage.js +53 -54
- package/dist/models/ThumbnailImage.js.map +1 -1
- package/dist/models/Timeline.d.ts +49 -49
- package/dist/models/Timeline.js +56 -57
- package/dist/models/Timeline.js.map +1 -1
- package/dist/models/TimelineAddEntries.d.ts +40 -40
- package/dist/models/TimelineAddEntries.js +57 -58
- package/dist/models/TimelineAddEntries.js.map +1 -1
- package/dist/models/TimelineAddEntry.d.ts +45 -45
- package/dist/models/TimelineAddEntry.js +60 -61
- package/dist/models/TimelineAddEntry.js.map +1 -1
- package/dist/models/TimelineAddToModule.d.ts +52 -52
- package/dist/models/TimelineAddToModule.js +63 -64
- package/dist/models/TimelineAddToModule.js.map +1 -1
- package/dist/models/TimelineClearCache.d.ts +33 -33
- package/dist/models/TimelineClearCache.js +52 -53
- package/dist/models/TimelineClearCache.js.map +1 -1
- package/dist/models/TimelineClearEntriesUnreadState.d.ts +34 -0
- package/dist/models/TimelineClearEntriesUnreadState.d.ts.map +1 -0
- package/dist/models/TimelineClearEntriesUnreadState.js +53 -0
- package/dist/models/TimelineClearEntriesUnreadState.js.map +1 -0
- package/dist/models/TimelineCommunity.d.ts +34 -34
- package/dist/models/TimelineCommunity.js +57 -58
- package/dist/models/TimelineCommunity.js.map +1 -1
- package/dist/models/TimelineCoverBehavior.d.ts +47 -47
- package/dist/models/TimelineCoverBehavior.js +62 -62
- package/dist/models/TimelineCoverBehavior.js.map +1 -1
- package/dist/models/TimelineCoverBehaviorUrl.d.ts +45 -45
- package/dist/models/TimelineCoverBehaviorUrl.js +62 -62
- package/dist/models/TimelineCoverBehaviorUrl.js.map +1 -1
- package/dist/models/TimelineGeneralContext.d.ts +73 -66
- package/dist/models/TimelineGeneralContext.d.ts.map +1 -1
- package/dist/models/TimelineGeneralContext.js +74 -71
- package/dist/models/TimelineGeneralContext.js.map +1 -1
- package/dist/models/TimelineHalfCover.d.ts +85 -85
- package/dist/models/TimelineHalfCover.js +91 -91
- package/dist/models/TimelineHalfCover.js.map +1 -1
- package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts +40 -0
- package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts.map +1 -0
- package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js +55 -0
- package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js.map +1 -0
- package/dist/models/TimelineMessagePrompt.d.ts +34 -34
- package/dist/models/TimelineMessagePrompt.js +57 -58
- package/dist/models/TimelineMessagePrompt.js.map +1 -1
- package/dist/models/TimelineNotification.d.ts +80 -0
- package/dist/models/TimelineNotification.d.ts.map +1 -0
- package/dist/models/TimelineNotification.js +85 -0
- package/dist/models/TimelineNotification.js.map +1 -0
- package/dist/models/TimelinePinEntry.d.ts +40 -40
- package/dist/models/TimelinePinEntry.js +57 -58
- package/dist/models/TimelinePinEntry.js.map +1 -1
- package/dist/models/TimelinePrompt.d.ts +34 -34
- package/dist/models/TimelinePrompt.js +57 -58
- package/dist/models/TimelinePrompt.js.map +1 -1
- package/dist/models/TimelineReplaceEntry.d.ts +46 -46
- package/dist/models/TimelineReplaceEntry.js +61 -62
- package/dist/models/TimelineReplaceEntry.js.map +1 -1
- package/dist/models/TimelineResponse.d.ts +40 -40
- package/dist/models/TimelineResponse.js +55 -56
- package/dist/models/TimelineResponse.js.map +1 -1
- package/dist/models/TimelineResult.d.ts +40 -0
- package/dist/models/TimelineResult.d.ts.map +1 -0
- package/dist/models/{TimelineV2.js → TimelineResult.js} +53 -52
- package/dist/models/TimelineResult.js.map +1 -0
- package/dist/models/TimelineShowAlert.d.ts +101 -101
- package/dist/models/TimelineShowAlert.js +87 -87
- package/dist/models/TimelineShowAlert.js.map +1 -1
- package/dist/models/TimelineShowAlertRichText.d.ts +40 -40
- package/dist/models/TimelineShowAlertRichText.js +51 -52
- package/dist/models/TimelineShowAlertRichText.js.map +1 -1
- package/dist/models/TimelineShowCover.d.ts +47 -47
- package/dist/models/TimelineShowCover.js +62 -63
- package/dist/models/TimelineShowCover.js.map +1 -1
- package/dist/models/TimelineTerminateTimeline.d.ts +48 -48
- package/dist/models/TimelineTerminateTimeline.js +65 -65
- package/dist/models/TimelineTerminateTimeline.js.map +1 -1
- package/dist/models/TimelineTimelineCursor.d.ts +72 -72
- package/dist/models/TimelineTimelineCursor.js +71 -72
- package/dist/models/TimelineTimelineCursor.js.map +1 -1
- package/dist/models/TimelineTimelineItem.d.ts +62 -62
- package/dist/models/TimelineTimelineItem.js +67 -68
- package/dist/models/TimelineTimelineItem.js.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts +92 -92
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.js +77 -80
- package/dist/models/TimelineTimelineModule.js.map +1 -1
- package/dist/models/TimelineTombstone.d.ts +60 -60
- package/dist/models/TimelineTombstone.js +65 -65
- package/dist/models/TimelineTombstone.js.map +1 -1
- package/dist/models/TimelineTopicContext.d.ts +53 -53
- package/dist/models/TimelineTopicContext.js +62 -62
- package/dist/models/TimelineTopicContext.js.map +1 -1
- package/dist/models/TimelineTrend.d.ts +87 -87
- package/dist/models/TimelineTrend.d.ts.map +1 -1
- package/dist/models/TimelineTrend.js +80 -87
- package/dist/models/TimelineTrend.js.map +1 -1
- package/dist/models/TimelineTweet.d.ts +91 -91
- package/dist/models/TimelineTweet.js +86 -86
- package/dist/models/TimelineTweet.js.map +1 -1
- package/dist/models/TimelineUser.d.ts +70 -69
- package/dist/models/TimelineUser.d.ts.map +1 -1
- package/dist/models/TimelineUser.js +79 -78
- package/dist/models/TimelineUser.js.map +1 -1
- package/dist/models/Timestamp.d.ts +44 -44
- package/dist/models/Timestamp.js +59 -60
- package/dist/models/Timestamp.js.map +1 -1
- package/dist/models/TombstoneEntity.d.ts +45 -45
- package/dist/models/TombstoneEntity.js +54 -55
- package/dist/models/TombstoneEntity.js.map +1 -1
- package/dist/models/TombstoneInfo.d.ts +39 -39
- package/dist/models/TombstoneInfo.js +52 -53
- package/dist/models/TombstoneInfo.js.map +1 -1
- package/dist/models/TombstoneRef.d.ts +58 -58
- package/dist/models/TombstoneRef.js +66 -66
- package/dist/models/TombstoneRef.js.map +1 -1
- package/dist/models/TombstoneRichText.d.ts +45 -45
- package/dist/models/TombstoneRichText.js +54 -55
- package/dist/models/TombstoneRichText.js.map +1 -1
- package/dist/models/TopicContext.d.ts +68 -68
- package/dist/models/TopicContext.js +61 -62
- package/dist/models/TopicContext.js.map +1 -1
- package/dist/models/Tracing.d.ts +32 -32
- package/dist/models/Tracing.js +51 -52
- package/dist/models/Tracing.js.map +1 -1
- package/dist/models/TrendImage.d.ts +32 -32
- package/dist/models/TrendImage.js +49 -50
- package/dist/models/TrendImage.js.map +1 -1
- package/dist/models/TrendMetadata.d.ts +33 -33
- package/dist/models/TrendMetadata.js +50 -51
- package/dist/models/TrendMetadata.js.map +1 -1
- package/dist/models/TrendResults.d.ts +32 -32
- package/dist/models/TrendResults.js +51 -52
- package/dist/models/TrendResults.js.map +1 -1
- package/dist/models/Tweet.d.ts +216 -216
- package/dist/models/Tweet.js +125 -126
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCard.d.ts +39 -39
- package/dist/models/TweetCard.js +52 -53
- package/dist/models/TweetCard.js.map +1 -1
- package/dist/models/TweetCardLegacy.d.ts +59 -59
- package/dist/models/TweetCardLegacy.js +66 -67
- package/dist/models/TweetCardLegacy.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValue.d.ts +39 -39
- package/dist/models/TweetCardLegacyBindingValue.js +56 -57
- package/dist/models/TweetCardLegacyBindingValue.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueData.d.ts +72 -72
- package/dist/models/TweetCardLegacyBindingValueData.js +65 -66
- package/dist/models/TweetCardLegacyBindingValueData.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts +50 -50
- package/dist/models/TweetCardLegacyBindingValueDataImage.js +61 -62
- package/dist/models/TweetCardLegacyBindingValueDataImage.js.map +1 -1
- package/dist/models/TweetCardPlatform.d.ts +40 -40
- package/dist/models/TweetCardPlatform.js +57 -58
- package/dist/models/TweetCardPlatform.js.map +1 -1
- package/dist/models/TweetCardPlatformAudience.d.ts +39 -39
- package/dist/models/TweetCardPlatformAudience.js +58 -58
- package/dist/models/TweetCardPlatformAudience.js.map +1 -1
- package/dist/models/TweetCardPlatformData.d.ts +33 -33
- package/dist/models/TweetCardPlatformData.js +52 -53
- package/dist/models/TweetCardPlatformData.js.map +1 -1
- package/dist/models/TweetCardPlatformDevice.d.ts +38 -38
- package/dist/models/TweetCardPlatformDevice.js +55 -56
- package/dist/models/TweetCardPlatformDevice.js.map +1 -1
- package/dist/models/TweetDetailResponse.d.ts +40 -40
- package/dist/models/TweetDetailResponse.js +55 -56
- package/dist/models/TweetDetailResponse.js.map +1 -1
- package/dist/models/TweetDetailResponseData.d.ts +33 -33
- package/dist/models/TweetDetailResponseData.js +50 -51
- package/dist/models/TweetDetailResponseData.js.map +1 -1
- package/dist/models/TweetEditControl.d.ts +63 -63
- package/dist/models/TweetEditControl.js +60 -61
- package/dist/models/TweetEditControl.js.map +1 -1
- package/dist/models/TweetEditControlInitial.d.ts +50 -50
- package/dist/models/TweetEditControlInitial.js +63 -64
- package/dist/models/TweetEditControlInitial.js.map +1 -1
- package/dist/models/TweetEditPrespective.d.ts +38 -38
- package/dist/models/TweetEditPrespective.js +51 -52
- package/dist/models/TweetEditPrespective.js.map +1 -1
- package/dist/models/TweetFavoritersResponse.d.ts +40 -40
- package/dist/models/TweetFavoritersResponse.js +55 -56
- package/dist/models/TweetFavoritersResponse.js.map +1 -1
- package/dist/models/TweetFavoritersResponseData.d.ts +33 -33
- package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -1
- package/dist/models/TweetFavoritersResponseData.js +50 -51
- package/dist/models/TweetFavoritersResponseData.js.map +1 -1
- package/dist/models/TweetInterstitial.d.ts +60 -60
- package/dist/models/TweetInterstitial.js +73 -73
- package/dist/models/TweetInterstitial.js.map +1 -1
- package/dist/models/TweetInterstitialRevealText.d.ts +45 -45
- package/dist/models/TweetInterstitialRevealText.js +60 -61
- package/dist/models/TweetInterstitialRevealText.js.map +1 -1
- package/dist/models/TweetInterstitialText.d.ts +45 -45
- package/dist/models/TweetInterstitialText.js +60 -61
- package/dist/models/TweetInterstitialText.js.map +1 -1
- package/dist/models/TweetInterstitialTextEntity.d.ts +45 -45
- package/dist/models/TweetInterstitialTextEntity.js +60 -61
- package/dist/models/TweetInterstitialTextEntity.js.map +1 -1
- package/dist/models/TweetInterstitialTextEntityRef.d.ts +58 -58
- package/dist/models/TweetInterstitialTextEntityRef.js +72 -72
- package/dist/models/TweetInterstitialTextEntityRef.js.map +1 -1
- package/dist/models/TweetLegacy.d.ts +235 -235
- package/dist/models/TweetLegacy.js +162 -162
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacyScopes.d.ts +32 -32
- package/dist/models/TweetLegacyScopes.js +51 -52
- package/dist/models/TweetLegacyScopes.js.map +1 -1
- package/dist/models/TweetLimitedActionResults.d.ts +33 -33
- package/dist/models/TweetLimitedActionResults.js +52 -53
- package/dist/models/TweetLimitedActionResults.js.map +1 -1
- package/dist/models/TweetPreviewDisplay.d.ts +54 -54
- package/dist/models/TweetPreviewDisplay.js +67 -68
- package/dist/models/TweetPreviewDisplay.js.map +1 -1
- package/dist/models/TweetPreviewDisplayCta.d.ts +39 -39
- package/dist/models/TweetPreviewDisplayCta.js +56 -57
- package/dist/models/TweetPreviewDisplayCta.js.map +1 -1
- package/dist/models/TweetPreviewDisplayCtaUrl.d.ts +47 -47
- package/dist/models/TweetPreviewDisplayCtaUrl.js +64 -64
- package/dist/models/TweetPreviewDisplayCtaUrl.js.map +1 -1
- package/dist/models/TweetPreviewDisplayTweet.d.ts +94 -94
- package/dist/models/TweetPreviewDisplayTweet.js +93 -94
- package/dist/models/TweetPreviewDisplayTweet.js.map +1 -1
- package/dist/models/TweetPreviewDisplayTweetViewCount.d.ts +32 -32
- package/dist/models/TweetPreviewDisplayTweetViewCount.js +51 -52
- package/dist/models/TweetPreviewDisplayTweetViewCount.js.map +1 -1
- package/dist/models/TweetPreviousCounts.d.ts +56 -56
- package/dist/models/TweetPreviousCounts.js +67 -68
- package/dist/models/TweetPreviousCounts.js.map +1 -1
- package/dist/models/TweetResultByRestIdData.d.ts +33 -33
- package/dist/models/TweetResultByRestIdData.js +50 -51
- package/dist/models/TweetResultByRestIdData.js.map +1 -1
- package/dist/models/TweetResultByRestIdResponse.d.ts +40 -40
- package/dist/models/TweetResultByRestIdResponse.js +55 -56
- package/dist/models/TweetResultByRestIdResponse.js.map +1 -1
- package/dist/models/TweetRetweetersResponse.d.ts +40 -40
- package/dist/models/TweetRetweetersResponse.js +55 -56
- package/dist/models/TweetRetweetersResponse.js.map +1 -1
- package/dist/models/TweetRetweetersResponseData.d.ts +33 -33
- package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -1
- package/dist/models/TweetRetweetersResponseData.js +50 -51
- package/dist/models/TweetRetweetersResponseData.js.map +1 -1
- package/dist/models/TweetTombstone.d.ts +34 -34
- package/dist/models/TweetTombstone.js +57 -58
- package/dist/models/TweetTombstone.js.map +1 -1
- package/dist/models/TweetUnavailable.d.ts +39 -39
- package/dist/models/TweetUnavailable.js +52 -53
- package/dist/models/TweetUnavailable.js.map +1 -1
- package/dist/models/TweetUnion.d.ts +36 -36
- package/dist/models/TweetUnion.d.ts.map +1 -1
- package/dist/models/TweetUnion.js +69 -70
- package/dist/models/TweetUnion.js.map +1 -1
- package/dist/models/TweetView.d.ts +46 -46
- package/dist/models/TweetView.js +61 -61
- package/dist/models/TweetView.js.map +1 -1
- package/dist/models/TweetWithVisibilityResults.d.ts +62 -62
- package/dist/models/TweetWithVisibilityResults.js +65 -66
- package/dist/models/TweetWithVisibilityResults.js.map +1 -1
- package/dist/models/TypeName.d.ts +53 -51
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +79 -77
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/UnfavoriteTweet.d.ts +32 -32
- package/dist/models/UnfavoriteTweet.js +49 -50
- package/dist/models/UnfavoriteTweet.js.map +1 -1
- package/dist/models/UnfavoriteTweetResponse.d.ts +40 -40
- package/dist/models/UnfavoriteTweetResponse.js +55 -56
- package/dist/models/UnfavoriteTweetResponse.js.map +1 -1
- package/dist/models/UnifiedCard.d.ts +39 -39
- package/dist/models/UnifiedCard.js +58 -58
- package/dist/models/UnifiedCard.js.map +1 -1
- package/dist/models/Url.d.ts +50 -50
- package/dist/models/Url.js +61 -62
- package/dist/models/Url.js.map +1 -1
- package/dist/models/UrtEndpointOptions.d.ts +39 -39
- package/dist/models/UrtEndpointOptions.js +56 -57
- package/dist/models/UrtEndpointOptions.js.map +1 -1
- package/dist/models/UrtEndpointRequestParams.d.ts +38 -38
- package/dist/models/UrtEndpointRequestParams.js +55 -56
- package/dist/models/UrtEndpointRequestParams.js.map +1 -1
- package/dist/models/User.d.ts +205 -204
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/User.js +133 -132
- package/dist/models/User.js.map +1 -1
- package/dist/models/UserFeatures.d.ts +32 -32
- package/dist/models/UserFeatures.js +51 -52
- package/dist/models/UserFeatures.js.map +1 -1
- package/dist/models/UserHighlightsInfo.d.ts +38 -38
- package/dist/models/UserHighlightsInfo.js +55 -56
- package/dist/models/UserHighlightsInfo.js.map +1 -1
- package/dist/models/UserHighlightsTweetsData.d.ts +33 -33
- package/dist/models/UserHighlightsTweetsData.js +50 -51
- package/dist/models/UserHighlightsTweetsData.js.map +1 -1
- package/dist/models/UserHighlightsTweetsResponse.d.ts +40 -40
- package/dist/models/UserHighlightsTweetsResponse.js +55 -56
- package/dist/models/UserHighlightsTweetsResponse.js.map +1 -1
- package/dist/models/UserHighlightsTweetsResult.d.ts +40 -40
- package/dist/models/UserHighlightsTweetsResult.js +57 -58
- package/dist/models/UserHighlightsTweetsResult.js.map +1 -1
- package/dist/models/UserHighlightsTweetsTimeline.d.ts +33 -33
- package/dist/models/UserHighlightsTweetsTimeline.js +52 -53
- package/dist/models/UserHighlightsTweetsTimeline.js.map +1 -1
- package/dist/models/UserHighlightsTweetsUser.d.ts +33 -33
- package/dist/models/UserHighlightsTweetsUser.js +52 -53
- package/dist/models/UserHighlightsTweetsUser.js.map +1 -1
- package/dist/models/UserLegacy.d.ts +282 -282
- package/dist/models/UserLegacy.js +185 -185
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserLegacyExtendedProfile.d.ts +33 -33
- package/dist/models/UserLegacyExtendedProfile.js +50 -51
- package/dist/models/UserLegacyExtendedProfile.js.map +1 -1
- package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts +78 -78
- package/dist/models/UserLegacyExtendedProfileBirthdate.js +86 -86
- package/dist/models/UserLegacyExtendedProfileBirthdate.js.map +1 -1
- package/dist/models/UserProfessional.d.ts +53 -53
- package/dist/models/UserProfessional.js +68 -68
- package/dist/models/UserProfessional.js.map +1 -1
- package/dist/models/UserProfessionalCategory.d.ts +44 -44
- package/dist/models/UserProfessionalCategory.js +59 -60
- package/dist/models/UserProfessionalCategory.js.map +1 -1
- package/dist/models/UserResponse.d.ts +40 -40
- package/dist/models/UserResponse.js +55 -56
- package/dist/models/UserResponse.js.map +1 -1
- package/dist/models/UserResponseData.d.ts +33 -33
- package/dist/models/UserResponseData.js +50 -51
- package/dist/models/UserResponseData.js.map +1 -1
- package/dist/models/UserResultByScreenName.d.ts +39 -39
- package/dist/models/UserResultByScreenName.js +56 -57
- package/dist/models/UserResultByScreenName.js.map +1 -1
- package/dist/models/UserResultByScreenNameLegacy.d.ts +68 -68
- package/dist/models/UserResultByScreenNameLegacy.js +61 -62
- package/dist/models/UserResultByScreenNameLegacy.js.map +1 -1
- package/dist/models/UserResultByScreenNameResult.d.ts +60 -60
- package/dist/models/UserResultByScreenNameResult.js +69 -70
- package/dist/models/UserResultByScreenNameResult.js.map +1 -1
- package/dist/models/UserResultCore.d.ts +33 -33
- package/dist/models/UserResultCore.js +52 -53
- package/dist/models/UserResultCore.js.map +1 -1
- package/dist/models/UserResults.d.ts +33 -33
- package/dist/models/UserResults.js +50 -51
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/UserTipJarSettings.d.ts +80 -80
- package/dist/models/UserTipJarSettings.js +65 -66
- package/dist/models/UserTipJarSettings.js.map +1 -1
- package/dist/models/UserTweetsData.d.ts +33 -33
- package/dist/models/UserTweetsData.js +50 -51
- package/dist/models/UserTweetsData.js.map +1 -1
- package/dist/models/UserTweetsResponse.d.ts +40 -40
- package/dist/models/UserTweetsResponse.js +55 -56
- package/dist/models/UserTweetsResponse.js.map +1 -1
- package/dist/models/UserTweetsResultV1.d.ts +41 -0
- package/dist/models/UserTweetsResultV1.d.ts.map +1 -0
- package/dist/models/UserTweetsResultV1.js +58 -0
- package/dist/models/UserTweetsResultV1.js.map +1 -0
- package/dist/models/UserTweetsResultV2.d.ts +41 -0
- package/dist/models/UserTweetsResultV2.d.ts.map +1 -0
- package/dist/models/UserTweetsResultV2.js +58 -0
- package/dist/models/UserTweetsResultV2.js.map +1 -0
- package/dist/models/UserTweetsUser.d.ts +33 -33
- package/dist/models/UserTweetsUser.d.ts.map +1 -1
- package/dist/models/UserTweetsUser.js +52 -53
- package/dist/models/UserTweetsUser.js.map +1 -1
- package/dist/models/UserUnavailable.d.ts +45 -45
- package/dist/models/UserUnavailable.js +58 -59
- package/dist/models/UserUnavailable.js.map +1 -1
- package/dist/models/UserUnion.d.ts +27 -27
- package/dist/models/UserUnion.d.ts.map +1 -1
- package/dist/models/UserUnion.js +54 -55
- package/dist/models/UserUnion.js.map +1 -1
- package/dist/models/UserValue.d.ts +32 -32
- package/dist/models/UserValue.js +51 -52
- package/dist/models/UserValue.js.map +1 -1
- package/dist/models/UserVerificationInfo.d.ts +39 -39
- package/dist/models/UserVerificationInfo.js +54 -55
- package/dist/models/UserVerificationInfo.js.map +1 -1
- package/dist/models/UserVerificationInfoReason.d.ts +45 -45
- package/dist/models/UserVerificationInfoReason.js +58 -59
- package/dist/models/UserVerificationInfoReason.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescription.d.ts +39 -39
- package/dist/models/UserVerificationInfoReasonDescription.js +56 -57
- package/dist/models/UserVerificationInfoReasonDescription.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts +45 -45
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js +60 -61
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +45 -45
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +62 -62
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js.map +1 -1
- package/dist/models/UsersResponse.d.ts +40 -40
- package/dist/models/UsersResponse.js +55 -56
- package/dist/models/UsersResponse.js.map +1 -1
- package/dist/models/UsersResponseData.d.ts +33 -33
- package/dist/models/UsersResponseData.js +50 -51
- package/dist/models/UsersResponseData.js.map +1 -1
- package/dist/models/index.d.ts +310 -286
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +328 -304
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +184 -182
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +582 -562
- package/dist/runtime.js.map +1 -1
- package/package.json +2 -2
- package/dist/models/ListTweetsTimeline.d.ts +0 -34
- package/dist/models/ListTweetsTimeline.d.ts.map +0 -1
- package/dist/models/ListTweetsTimeline.js +0 -52
- package/dist/models/ListTweetsTimeline.js.map +0 -1
- package/dist/models/TimelineV2.d.ts +0 -34
- package/dist/models/TimelineV2.d.ts.map +0 -1
- package/dist/models/TimelineV2.js.map +0 -1
- package/dist/models/UserTweetsResult.d.ts +0 -41
- package/dist/models/UserTweetsResult.d.ts.map +0 -1
- package/dist/models/UserTweetsResult.js +0 -59
- package/dist/models/UserTweetsResult.js.map +0 -1
package/dist/apis/UserListApi.js
CHANGED
|
@@ -1,1166 +1,1263 @@
|
|
|
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 __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
-
return g =
|
|
42
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0: case 1: t = op; break;
|
|
50
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
-
default:
|
|
54
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
-
if (t[2]) _.ops.pop();
|
|
59
|
-
_.trys.pop(); continue;
|
|
60
|
-
}
|
|
61
|
-
op = body.call(thisArg, _);
|
|
62
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.UserListApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
return [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
case
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
case
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
case
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
case
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
case
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
case
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
if (
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
case
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
case
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
if (
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
case
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
case
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
case
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
case
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
case
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
case
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
case
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
case
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
case
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
return [
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
582
|
-
case
|
|
583
|
-
|
|
584
|
-
_14.label =
|
|
585
|
-
case
|
|
586
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
590
|
-
case
|
|
591
|
-
|
|
592
|
-
_14.label =
|
|
593
|
-
case
|
|
594
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
598
|
-
case
|
|
599
|
-
|
|
600
|
-
_14.label =
|
|
601
|
-
case
|
|
602
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
606
|
-
case
|
|
607
|
-
|
|
608
|
-
_14.label =
|
|
609
|
-
case
|
|
610
|
-
if (!(this.configuration && this.configuration.
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
_14.label =
|
|
659
|
-
case
|
|
660
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
664
|
-
case
|
|
665
|
-
|
|
666
|
-
_14.label =
|
|
667
|
-
case
|
|
668
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
672
|
-
case
|
|
673
|
-
|
|
674
|
-
_14.label =
|
|
675
|
-
case
|
|
676
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
680
|
-
case
|
|
681
|
-
|
|
682
|
-
_14.label =
|
|
683
|
-
case
|
|
684
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
688
|
-
case
|
|
689
|
-
|
|
690
|
-
_14.label =
|
|
691
|
-
case
|
|
692
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/,
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
696
|
-
case
|
|
697
|
-
|
|
698
|
-
_14.label =
|
|
699
|
-
case
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
case
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
return [
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
return [4 /*yield*/,
|
|
783
|
-
case
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
if (
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
case
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
case
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
_14.
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
_14.
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
_14.
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
_14.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
_14.
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
_14.
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
_14.
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
return [4 /*yield*/,
|
|
889
|
-
case
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
case
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
case
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
case
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
if (
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
return [4 /*yield*/, this.
|
|
1000
|
-
case
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
case
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
case
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
case
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
if (
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
case
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
case
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
case
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
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 __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.UserListApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var FollowResponse_1 = require("../models/FollowResponse");
|
|
70
|
+
var TweetFavoritersResponse_1 = require("../models/TweetFavoritersResponse");
|
|
71
|
+
var TweetRetweetersResponse_1 = require("../models/TweetRetweetersResponse");
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
var UserListApi = /** @class */ (function (_super) {
|
|
76
|
+
__extends(UserListApi, _super);
|
|
77
|
+
function UserListApi() {
|
|
78
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Creates request options for getFavoriters without sending the request
|
|
82
|
+
*/
|
|
83
|
+
UserListApi.prototype.getFavoritersRequestOpts = function (requestParameters) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
85
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
|
|
86
|
+
return __generator(this, function (_14) {
|
|
87
|
+
switch (_14.label) {
|
|
88
|
+
case 0:
|
|
89
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFavoriters().');
|
|
91
|
+
}
|
|
92
|
+
if (requestParameters['variables'] == null) {
|
|
93
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFavoriters().');
|
|
94
|
+
}
|
|
95
|
+
if (requestParameters['features'] == null) {
|
|
96
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFavoriters().');
|
|
97
|
+
}
|
|
98
|
+
queryParameters = {};
|
|
99
|
+
if (requestParameters['variables'] != null) {
|
|
100
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
101
|
+
}
|
|
102
|
+
if (requestParameters['features'] != null) {
|
|
103
|
+
queryParameters['features'] = requestParameters['features'];
|
|
104
|
+
}
|
|
105
|
+
headerParameters = {};
|
|
106
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
107
|
+
_a = headerParameters;
|
|
108
|
+
_b = "Accept";
|
|
109
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept")];
|
|
110
|
+
case 1:
|
|
111
|
+
_a[_b] = _14.sent(); // Accept authentication
|
|
112
|
+
_14.label = 2;
|
|
113
|
+
case 2:
|
|
114
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
|
|
115
|
+
_c = headerParameters;
|
|
116
|
+
_d = "x-twitter-client-language";
|
|
117
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
|
|
118
|
+
case 3:
|
|
119
|
+
_c[_d] = _14.sent(); // ClientLanguage authentication
|
|
120
|
+
_14.label = 4;
|
|
121
|
+
case 4:
|
|
122
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
123
|
+
_e = headerParameters;
|
|
124
|
+
_f = "Priority";
|
|
125
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
126
|
+
case 5:
|
|
127
|
+
_e[_f] = _14.sent(); // Priority authentication
|
|
128
|
+
_14.label = 6;
|
|
129
|
+
case 6:
|
|
130
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
131
|
+
_g = headerParameters;
|
|
132
|
+
_h = "Referer";
|
|
133
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
134
|
+
case 7:
|
|
135
|
+
_g[_h] = _14.sent(); // Referer authentication
|
|
136
|
+
_14.label = 8;
|
|
137
|
+
case 8:
|
|
138
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
139
|
+
_j = headerParameters;
|
|
140
|
+
_k = "Sec-Fetch-Dest";
|
|
141
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
142
|
+
case 9:
|
|
143
|
+
_j[_k] = _14.sent(); // SecFetchDest authentication
|
|
144
|
+
_14.label = 10;
|
|
145
|
+
case 10:
|
|
146
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
147
|
+
_l = headerParameters;
|
|
148
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
149
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
150
|
+
case 11:
|
|
151
|
+
_l[_m] = _14.sent(); // SecChUaPlatform authentication
|
|
152
|
+
_14.label = 12;
|
|
153
|
+
case 12:
|
|
154
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
155
|
+
_o = headerParameters;
|
|
156
|
+
_p = "Sec-Fetch-Mode";
|
|
157
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
158
|
+
case 13:
|
|
159
|
+
_o[_p] = _14.sent(); // SecFetchMode authentication
|
|
160
|
+
_14.label = 14;
|
|
161
|
+
case 14:
|
|
162
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
163
|
+
_q = headerParameters;
|
|
164
|
+
_r = "x-csrf-token";
|
|
165
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
166
|
+
case 15:
|
|
167
|
+
_q[_r] = _14.sent(); // CsrfToken authentication
|
|
168
|
+
_14.label = 16;
|
|
169
|
+
case 16:
|
|
170
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
171
|
+
_s = headerParameters;
|
|
172
|
+
_t = "x-client-uuid";
|
|
173
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
|
|
174
|
+
case 17:
|
|
175
|
+
_s[_t] = _14.sent(); // ClientUuid authentication
|
|
176
|
+
_14.label = 18;
|
|
177
|
+
case 18:
|
|
178
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
179
|
+
token = this.configuration.accessToken;
|
|
180
|
+
return [4 /*yield*/, token("BearerAuth", [])];
|
|
181
|
+
case 19:
|
|
182
|
+
tokenString = _14.sent();
|
|
183
|
+
if (tokenString) {
|
|
184
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
185
|
+
}
|
|
186
|
+
_14.label = 20;
|
|
187
|
+
case 20:
|
|
188
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
189
|
+
_u = headerParameters;
|
|
190
|
+
_v = "x-guest-token";
|
|
191
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
192
|
+
case 21:
|
|
193
|
+
_u[_v] = _14.sent(); // GuestToken authentication
|
|
194
|
+
_14.label = 22;
|
|
195
|
+
case 22:
|
|
196
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
197
|
+
_w = headerParameters;
|
|
198
|
+
_x = "Sec-Ch-Ua";
|
|
199
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
200
|
+
case 23:
|
|
201
|
+
_w[_x] = _14.sent(); // SecChUa authentication
|
|
202
|
+
_14.label = 24;
|
|
203
|
+
case 24:
|
|
204
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
205
|
+
_y = headerParameters;
|
|
206
|
+
_z = "x-client-transaction-id";
|
|
207
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
|
|
208
|
+
case 25:
|
|
209
|
+
_y[_z] = _14.sent(); // ClientTransactionId authentication
|
|
210
|
+
_14.label = 26;
|
|
211
|
+
case 26:
|
|
212
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
213
|
+
_0 = headerParameters;
|
|
214
|
+
_1 = "x-twitter-active-user";
|
|
215
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
216
|
+
case 27:
|
|
217
|
+
_0[_1] = _14.sent(); // ActiveUser authentication
|
|
218
|
+
_14.label = 28;
|
|
219
|
+
case 28:
|
|
220
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
221
|
+
_2 = headerParameters;
|
|
222
|
+
_3 = "user-agent";
|
|
223
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
224
|
+
case 29:
|
|
225
|
+
_2[_3] = _14.sent(); // UserAgent authentication
|
|
226
|
+
_14.label = 30;
|
|
227
|
+
case 30:
|
|
228
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
229
|
+
_4 = headerParameters;
|
|
230
|
+
_5 = "Accept-Language";
|
|
231
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
232
|
+
case 31:
|
|
233
|
+
_4[_5] = _14.sent(); // AcceptLanguage authentication
|
|
234
|
+
_14.label = 32;
|
|
235
|
+
case 32:
|
|
236
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
237
|
+
_6 = headerParameters;
|
|
238
|
+
_7 = "Sec-Fetch-Site";
|
|
239
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
240
|
+
case 33:
|
|
241
|
+
_6[_7] = _14.sent(); // SecFetchSite authentication
|
|
242
|
+
_14.label = 34;
|
|
243
|
+
case 34:
|
|
244
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
|
|
245
|
+
_8 = headerParameters;
|
|
246
|
+
_9 = "x-twitter-auth-type";
|
|
247
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
248
|
+
case 35:
|
|
249
|
+
_8[_9] = _14.sent(); // AuthType authentication
|
|
250
|
+
_14.label = 36;
|
|
251
|
+
case 36:
|
|
252
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
|
|
253
|
+
_10 = headerParameters;
|
|
254
|
+
_11 = "Sec-Ch-Ua-Mobile";
|
|
255
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
|
|
256
|
+
case 37:
|
|
257
|
+
_10[_11] = _14.sent(); // SecChUaMobile authentication
|
|
258
|
+
_14.label = 38;
|
|
259
|
+
case 38:
|
|
260
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
|
|
261
|
+
_12 = headerParameters;
|
|
262
|
+
_13 = "Accept-Encoding";
|
|
263
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
|
|
264
|
+
case 39:
|
|
265
|
+
_12[_13] = _14.sent(); // AcceptEncoding authentication
|
|
266
|
+
_14.label = 40;
|
|
267
|
+
case 40:
|
|
268
|
+
urlPath = "/graphql/{pathQueryId}/Favoriters";
|
|
269
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
270
|
+
return [2 /*return*/, {
|
|
271
|
+
path: urlPath,
|
|
272
|
+
method: 'GET',
|
|
273
|
+
headers: headerParameters,
|
|
274
|
+
query: queryParameters,
|
|
275
|
+
}];
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* get tweet favoriters
|
|
282
|
+
*/
|
|
283
|
+
UserListApi.prototype.getFavoritersRaw = function (requestParameters, initOverrides) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
285
|
+
var requestOptions, response;
|
|
286
|
+
return __generator(this, function (_a) {
|
|
287
|
+
switch (_a.label) {
|
|
288
|
+
case 0: return [4 /*yield*/, this.getFavoritersRequestOpts(requestParameters)];
|
|
289
|
+
case 1:
|
|
290
|
+
requestOptions = _a.sent();
|
|
291
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
292
|
+
case 2:
|
|
293
|
+
response = _a.sent();
|
|
294
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TweetFavoritersResponse_1.TweetFavoritersResponseFromJSON)(jsonValue); })];
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* get tweet favoriters
|
|
301
|
+
*/
|
|
302
|
+
UserListApi.prototype.getFavoriters = function (requestParameters, initOverrides) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
304
|
+
var response;
|
|
305
|
+
return __generator(this, function (_a) {
|
|
306
|
+
switch (_a.label) {
|
|
307
|
+
case 0: return [4 /*yield*/, this.getFavoritersRaw(requestParameters, initOverrides)];
|
|
308
|
+
case 1:
|
|
309
|
+
response = _a.sent();
|
|
310
|
+
return [4 /*yield*/, response.value()];
|
|
311
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
});
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Creates request options for getFollowers without sending the request
|
|
318
|
+
*/
|
|
319
|
+
UserListApi.prototype.getFollowersRequestOpts = function (requestParameters) {
|
|
320
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
321
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
|
|
322
|
+
return __generator(this, function (_14) {
|
|
323
|
+
switch (_14.label) {
|
|
324
|
+
case 0:
|
|
325
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
326
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowers().');
|
|
327
|
+
}
|
|
328
|
+
if (requestParameters['variables'] == null) {
|
|
329
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowers().');
|
|
330
|
+
}
|
|
331
|
+
if (requestParameters['features'] == null) {
|
|
332
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowers().');
|
|
333
|
+
}
|
|
334
|
+
queryParameters = {};
|
|
335
|
+
if (requestParameters['variables'] != null) {
|
|
336
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
337
|
+
}
|
|
338
|
+
if (requestParameters['features'] != null) {
|
|
339
|
+
queryParameters['features'] = requestParameters['features'];
|
|
340
|
+
}
|
|
341
|
+
headerParameters = {};
|
|
342
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
343
|
+
_a = headerParameters;
|
|
344
|
+
_b = "Accept";
|
|
345
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept")];
|
|
346
|
+
case 1:
|
|
347
|
+
_a[_b] = _14.sent(); // Accept authentication
|
|
348
|
+
_14.label = 2;
|
|
349
|
+
case 2:
|
|
350
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
|
|
351
|
+
_c = headerParameters;
|
|
352
|
+
_d = "x-twitter-client-language";
|
|
353
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
|
|
354
|
+
case 3:
|
|
355
|
+
_c[_d] = _14.sent(); // ClientLanguage authentication
|
|
356
|
+
_14.label = 4;
|
|
357
|
+
case 4:
|
|
358
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
359
|
+
_e = headerParameters;
|
|
360
|
+
_f = "Priority";
|
|
361
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
362
|
+
case 5:
|
|
363
|
+
_e[_f] = _14.sent(); // Priority authentication
|
|
364
|
+
_14.label = 6;
|
|
365
|
+
case 6:
|
|
366
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
367
|
+
_g = headerParameters;
|
|
368
|
+
_h = "Referer";
|
|
369
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
370
|
+
case 7:
|
|
371
|
+
_g[_h] = _14.sent(); // Referer authentication
|
|
372
|
+
_14.label = 8;
|
|
373
|
+
case 8:
|
|
374
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
375
|
+
_j = headerParameters;
|
|
376
|
+
_k = "Sec-Fetch-Dest";
|
|
377
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
378
|
+
case 9:
|
|
379
|
+
_j[_k] = _14.sent(); // SecFetchDest authentication
|
|
380
|
+
_14.label = 10;
|
|
381
|
+
case 10:
|
|
382
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
383
|
+
_l = headerParameters;
|
|
384
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
385
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
386
|
+
case 11:
|
|
387
|
+
_l[_m] = _14.sent(); // SecChUaPlatform authentication
|
|
388
|
+
_14.label = 12;
|
|
389
|
+
case 12:
|
|
390
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
391
|
+
_o = headerParameters;
|
|
392
|
+
_p = "Sec-Fetch-Mode";
|
|
393
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
394
|
+
case 13:
|
|
395
|
+
_o[_p] = _14.sent(); // SecFetchMode authentication
|
|
396
|
+
_14.label = 14;
|
|
397
|
+
case 14:
|
|
398
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
399
|
+
_q = headerParameters;
|
|
400
|
+
_r = "x-csrf-token";
|
|
401
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
402
|
+
case 15:
|
|
403
|
+
_q[_r] = _14.sent(); // CsrfToken authentication
|
|
404
|
+
_14.label = 16;
|
|
405
|
+
case 16:
|
|
406
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
407
|
+
_s = headerParameters;
|
|
408
|
+
_t = "x-client-uuid";
|
|
409
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
|
|
410
|
+
case 17:
|
|
411
|
+
_s[_t] = _14.sent(); // ClientUuid authentication
|
|
412
|
+
_14.label = 18;
|
|
413
|
+
case 18:
|
|
414
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
415
|
+
token = this.configuration.accessToken;
|
|
416
|
+
return [4 /*yield*/, token("BearerAuth", [])];
|
|
417
|
+
case 19:
|
|
418
|
+
tokenString = _14.sent();
|
|
419
|
+
if (tokenString) {
|
|
420
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
421
|
+
}
|
|
422
|
+
_14.label = 20;
|
|
423
|
+
case 20:
|
|
424
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
425
|
+
_u = headerParameters;
|
|
426
|
+
_v = "x-guest-token";
|
|
427
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
428
|
+
case 21:
|
|
429
|
+
_u[_v] = _14.sent(); // GuestToken authentication
|
|
430
|
+
_14.label = 22;
|
|
431
|
+
case 22:
|
|
432
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
433
|
+
_w = headerParameters;
|
|
434
|
+
_x = "Sec-Ch-Ua";
|
|
435
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
436
|
+
case 23:
|
|
437
|
+
_w[_x] = _14.sent(); // SecChUa authentication
|
|
438
|
+
_14.label = 24;
|
|
439
|
+
case 24:
|
|
440
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
441
|
+
_y = headerParameters;
|
|
442
|
+
_z = "x-client-transaction-id";
|
|
443
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
|
|
444
|
+
case 25:
|
|
445
|
+
_y[_z] = _14.sent(); // ClientTransactionId authentication
|
|
446
|
+
_14.label = 26;
|
|
447
|
+
case 26:
|
|
448
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
449
|
+
_0 = headerParameters;
|
|
450
|
+
_1 = "x-twitter-active-user";
|
|
451
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
452
|
+
case 27:
|
|
453
|
+
_0[_1] = _14.sent(); // ActiveUser authentication
|
|
454
|
+
_14.label = 28;
|
|
455
|
+
case 28:
|
|
456
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
457
|
+
_2 = headerParameters;
|
|
458
|
+
_3 = "user-agent";
|
|
459
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
460
|
+
case 29:
|
|
461
|
+
_2[_3] = _14.sent(); // UserAgent authentication
|
|
462
|
+
_14.label = 30;
|
|
463
|
+
case 30:
|
|
464
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
465
|
+
_4 = headerParameters;
|
|
466
|
+
_5 = "Accept-Language";
|
|
467
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
468
|
+
case 31:
|
|
469
|
+
_4[_5] = _14.sent(); // AcceptLanguage authentication
|
|
470
|
+
_14.label = 32;
|
|
471
|
+
case 32:
|
|
472
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
473
|
+
_6 = headerParameters;
|
|
474
|
+
_7 = "Sec-Fetch-Site";
|
|
475
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
476
|
+
case 33:
|
|
477
|
+
_6[_7] = _14.sent(); // SecFetchSite authentication
|
|
478
|
+
_14.label = 34;
|
|
479
|
+
case 34:
|
|
480
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
|
|
481
|
+
_8 = headerParameters;
|
|
482
|
+
_9 = "x-twitter-auth-type";
|
|
483
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
484
|
+
case 35:
|
|
485
|
+
_8[_9] = _14.sent(); // AuthType authentication
|
|
486
|
+
_14.label = 36;
|
|
487
|
+
case 36:
|
|
488
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
|
|
489
|
+
_10 = headerParameters;
|
|
490
|
+
_11 = "Sec-Ch-Ua-Mobile";
|
|
491
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
|
|
492
|
+
case 37:
|
|
493
|
+
_10[_11] = _14.sent(); // SecChUaMobile authentication
|
|
494
|
+
_14.label = 38;
|
|
495
|
+
case 38:
|
|
496
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
|
|
497
|
+
_12 = headerParameters;
|
|
498
|
+
_13 = "Accept-Encoding";
|
|
499
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
|
|
500
|
+
case 39:
|
|
501
|
+
_12[_13] = _14.sent(); // AcceptEncoding authentication
|
|
502
|
+
_14.label = 40;
|
|
503
|
+
case 40:
|
|
504
|
+
urlPath = "/graphql/{pathQueryId}/Followers";
|
|
505
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
506
|
+
return [2 /*return*/, {
|
|
507
|
+
path: urlPath,
|
|
508
|
+
method: 'GET',
|
|
509
|
+
headers: headerParameters,
|
|
510
|
+
query: queryParameters,
|
|
511
|
+
}];
|
|
512
|
+
}
|
|
513
|
+
});
|
|
514
|
+
});
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* get user list of followers
|
|
518
|
+
*/
|
|
519
|
+
UserListApi.prototype.getFollowersRaw = function (requestParameters, initOverrides) {
|
|
520
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
521
|
+
var requestOptions, response;
|
|
522
|
+
return __generator(this, function (_a) {
|
|
523
|
+
switch (_a.label) {
|
|
524
|
+
case 0: return [4 /*yield*/, this.getFollowersRequestOpts(requestParameters)];
|
|
525
|
+
case 1:
|
|
526
|
+
requestOptions = _a.sent();
|
|
527
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
528
|
+
case 2:
|
|
529
|
+
response = _a.sent();
|
|
530
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
});
|
|
534
|
+
};
|
|
535
|
+
/**
|
|
536
|
+
* get user list of followers
|
|
537
|
+
*/
|
|
538
|
+
UserListApi.prototype.getFollowers = function (requestParameters, initOverrides) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
540
|
+
var response;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0: return [4 /*yield*/, this.getFollowersRaw(requestParameters, initOverrides)];
|
|
544
|
+
case 1:
|
|
545
|
+
response = _a.sent();
|
|
546
|
+
return [4 /*yield*/, response.value()];
|
|
547
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
/**
|
|
553
|
+
* Creates request options for getFollowersYouKnow without sending the request
|
|
554
|
+
*/
|
|
555
|
+
UserListApi.prototype.getFollowersYouKnowRequestOpts = function (requestParameters) {
|
|
556
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
557
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
|
|
558
|
+
return __generator(this, function (_14) {
|
|
559
|
+
switch (_14.label) {
|
|
560
|
+
case 0:
|
|
561
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
562
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowersYouKnow().');
|
|
563
|
+
}
|
|
564
|
+
if (requestParameters['variables'] == null) {
|
|
565
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowersYouKnow().');
|
|
566
|
+
}
|
|
567
|
+
if (requestParameters['features'] == null) {
|
|
568
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowersYouKnow().');
|
|
569
|
+
}
|
|
570
|
+
queryParameters = {};
|
|
571
|
+
if (requestParameters['variables'] != null) {
|
|
572
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
573
|
+
}
|
|
574
|
+
if (requestParameters['features'] != null) {
|
|
575
|
+
queryParameters['features'] = requestParameters['features'];
|
|
576
|
+
}
|
|
577
|
+
headerParameters = {};
|
|
578
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
579
|
+
_a = headerParameters;
|
|
580
|
+
_b = "Accept";
|
|
581
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept")];
|
|
582
|
+
case 1:
|
|
583
|
+
_a[_b] = _14.sent(); // Accept authentication
|
|
584
|
+
_14.label = 2;
|
|
585
|
+
case 2:
|
|
586
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
|
|
587
|
+
_c = headerParameters;
|
|
588
|
+
_d = "x-twitter-client-language";
|
|
589
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
|
|
590
|
+
case 3:
|
|
591
|
+
_c[_d] = _14.sent(); // ClientLanguage authentication
|
|
592
|
+
_14.label = 4;
|
|
593
|
+
case 4:
|
|
594
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
595
|
+
_e = headerParameters;
|
|
596
|
+
_f = "Priority";
|
|
597
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
598
|
+
case 5:
|
|
599
|
+
_e[_f] = _14.sent(); // Priority authentication
|
|
600
|
+
_14.label = 6;
|
|
601
|
+
case 6:
|
|
602
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
603
|
+
_g = headerParameters;
|
|
604
|
+
_h = "Referer";
|
|
605
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
606
|
+
case 7:
|
|
607
|
+
_g[_h] = _14.sent(); // Referer authentication
|
|
608
|
+
_14.label = 8;
|
|
609
|
+
case 8:
|
|
610
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
611
|
+
_j = headerParameters;
|
|
612
|
+
_k = "Sec-Fetch-Dest";
|
|
613
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
614
|
+
case 9:
|
|
615
|
+
_j[_k] = _14.sent(); // SecFetchDest authentication
|
|
616
|
+
_14.label = 10;
|
|
617
|
+
case 10:
|
|
618
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
619
|
+
_l = headerParameters;
|
|
620
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
621
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
622
|
+
case 11:
|
|
623
|
+
_l[_m] = _14.sent(); // SecChUaPlatform authentication
|
|
624
|
+
_14.label = 12;
|
|
625
|
+
case 12:
|
|
626
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
627
|
+
_o = headerParameters;
|
|
628
|
+
_p = "Sec-Fetch-Mode";
|
|
629
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
630
|
+
case 13:
|
|
631
|
+
_o[_p] = _14.sent(); // SecFetchMode authentication
|
|
632
|
+
_14.label = 14;
|
|
633
|
+
case 14:
|
|
634
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
635
|
+
_q = headerParameters;
|
|
636
|
+
_r = "x-csrf-token";
|
|
637
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
638
|
+
case 15:
|
|
639
|
+
_q[_r] = _14.sent(); // CsrfToken authentication
|
|
640
|
+
_14.label = 16;
|
|
641
|
+
case 16:
|
|
642
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
643
|
+
_s = headerParameters;
|
|
644
|
+
_t = "x-client-uuid";
|
|
645
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
|
|
646
|
+
case 17:
|
|
647
|
+
_s[_t] = _14.sent(); // ClientUuid authentication
|
|
648
|
+
_14.label = 18;
|
|
649
|
+
case 18:
|
|
650
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
651
|
+
token = this.configuration.accessToken;
|
|
652
|
+
return [4 /*yield*/, token("BearerAuth", [])];
|
|
653
|
+
case 19:
|
|
654
|
+
tokenString = _14.sent();
|
|
655
|
+
if (tokenString) {
|
|
656
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
657
|
+
}
|
|
658
|
+
_14.label = 20;
|
|
659
|
+
case 20:
|
|
660
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
661
|
+
_u = headerParameters;
|
|
662
|
+
_v = "x-guest-token";
|
|
663
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
664
|
+
case 21:
|
|
665
|
+
_u[_v] = _14.sent(); // GuestToken authentication
|
|
666
|
+
_14.label = 22;
|
|
667
|
+
case 22:
|
|
668
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
669
|
+
_w = headerParameters;
|
|
670
|
+
_x = "Sec-Ch-Ua";
|
|
671
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
672
|
+
case 23:
|
|
673
|
+
_w[_x] = _14.sent(); // SecChUa authentication
|
|
674
|
+
_14.label = 24;
|
|
675
|
+
case 24:
|
|
676
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
677
|
+
_y = headerParameters;
|
|
678
|
+
_z = "x-client-transaction-id";
|
|
679
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
|
|
680
|
+
case 25:
|
|
681
|
+
_y[_z] = _14.sent(); // ClientTransactionId authentication
|
|
682
|
+
_14.label = 26;
|
|
683
|
+
case 26:
|
|
684
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
685
|
+
_0 = headerParameters;
|
|
686
|
+
_1 = "x-twitter-active-user";
|
|
687
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
688
|
+
case 27:
|
|
689
|
+
_0[_1] = _14.sent(); // ActiveUser authentication
|
|
690
|
+
_14.label = 28;
|
|
691
|
+
case 28:
|
|
692
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
693
|
+
_2 = headerParameters;
|
|
694
|
+
_3 = "user-agent";
|
|
695
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
696
|
+
case 29:
|
|
697
|
+
_2[_3] = _14.sent(); // UserAgent authentication
|
|
698
|
+
_14.label = 30;
|
|
699
|
+
case 30:
|
|
700
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
701
|
+
_4 = headerParameters;
|
|
702
|
+
_5 = "Accept-Language";
|
|
703
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
704
|
+
case 31:
|
|
705
|
+
_4[_5] = _14.sent(); // AcceptLanguage authentication
|
|
706
|
+
_14.label = 32;
|
|
707
|
+
case 32:
|
|
708
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
709
|
+
_6 = headerParameters;
|
|
710
|
+
_7 = "Sec-Fetch-Site";
|
|
711
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
712
|
+
case 33:
|
|
713
|
+
_6[_7] = _14.sent(); // SecFetchSite authentication
|
|
714
|
+
_14.label = 34;
|
|
715
|
+
case 34:
|
|
716
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
|
|
717
|
+
_8 = headerParameters;
|
|
718
|
+
_9 = "x-twitter-auth-type";
|
|
719
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
720
|
+
case 35:
|
|
721
|
+
_8[_9] = _14.sent(); // AuthType authentication
|
|
722
|
+
_14.label = 36;
|
|
723
|
+
case 36:
|
|
724
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
|
|
725
|
+
_10 = headerParameters;
|
|
726
|
+
_11 = "Sec-Ch-Ua-Mobile";
|
|
727
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
|
|
728
|
+
case 37:
|
|
729
|
+
_10[_11] = _14.sent(); // SecChUaMobile authentication
|
|
730
|
+
_14.label = 38;
|
|
731
|
+
case 38:
|
|
732
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
|
|
733
|
+
_12 = headerParameters;
|
|
734
|
+
_13 = "Accept-Encoding";
|
|
735
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
|
|
736
|
+
case 39:
|
|
737
|
+
_12[_13] = _14.sent(); // AcceptEncoding authentication
|
|
738
|
+
_14.label = 40;
|
|
739
|
+
case 40:
|
|
740
|
+
urlPath = "/graphql/{pathQueryId}/FollowersYouKnow";
|
|
741
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
742
|
+
return [2 /*return*/, {
|
|
743
|
+
path: urlPath,
|
|
744
|
+
method: 'GET',
|
|
745
|
+
headers: headerParameters,
|
|
746
|
+
query: queryParameters,
|
|
747
|
+
}];
|
|
748
|
+
}
|
|
749
|
+
});
|
|
750
|
+
});
|
|
751
|
+
};
|
|
752
|
+
/**
|
|
753
|
+
* get followers you know
|
|
754
|
+
*/
|
|
755
|
+
UserListApi.prototype.getFollowersYouKnowRaw = function (requestParameters, initOverrides) {
|
|
756
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
757
|
+
var requestOptions, response;
|
|
758
|
+
return __generator(this, function (_a) {
|
|
759
|
+
switch (_a.label) {
|
|
760
|
+
case 0: return [4 /*yield*/, this.getFollowersYouKnowRequestOpts(requestParameters)];
|
|
761
|
+
case 1:
|
|
762
|
+
requestOptions = _a.sent();
|
|
763
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
764
|
+
case 2:
|
|
765
|
+
response = _a.sent();
|
|
766
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
|
|
767
|
+
}
|
|
768
|
+
});
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* get followers you know
|
|
773
|
+
*/
|
|
774
|
+
UserListApi.prototype.getFollowersYouKnow = function (requestParameters, initOverrides) {
|
|
775
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
776
|
+
var response;
|
|
777
|
+
return __generator(this, function (_a) {
|
|
778
|
+
switch (_a.label) {
|
|
779
|
+
case 0: return [4 /*yield*/, this.getFollowersYouKnowRaw(requestParameters, initOverrides)];
|
|
780
|
+
case 1:
|
|
781
|
+
response = _a.sent();
|
|
782
|
+
return [4 /*yield*/, response.value()];
|
|
783
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
});
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* Creates request options for getFollowing without sending the request
|
|
790
|
+
*/
|
|
791
|
+
UserListApi.prototype.getFollowingRequestOpts = function (requestParameters) {
|
|
792
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
793
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
|
|
794
|
+
return __generator(this, function (_14) {
|
|
795
|
+
switch (_14.label) {
|
|
796
|
+
case 0:
|
|
797
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
798
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowing().');
|
|
799
|
+
}
|
|
800
|
+
if (requestParameters['variables'] == null) {
|
|
801
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowing().');
|
|
802
|
+
}
|
|
803
|
+
if (requestParameters['features'] == null) {
|
|
804
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowing().');
|
|
805
|
+
}
|
|
806
|
+
queryParameters = {};
|
|
807
|
+
if (requestParameters['variables'] != null) {
|
|
808
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
809
|
+
}
|
|
810
|
+
if (requestParameters['features'] != null) {
|
|
811
|
+
queryParameters['features'] = requestParameters['features'];
|
|
812
|
+
}
|
|
813
|
+
headerParameters = {};
|
|
814
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
815
|
+
_a = headerParameters;
|
|
816
|
+
_b = "Accept";
|
|
817
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept")];
|
|
818
|
+
case 1:
|
|
819
|
+
_a[_b] = _14.sent(); // Accept authentication
|
|
820
|
+
_14.label = 2;
|
|
821
|
+
case 2:
|
|
822
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
|
|
823
|
+
_c = headerParameters;
|
|
824
|
+
_d = "x-twitter-client-language";
|
|
825
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
|
|
826
|
+
case 3:
|
|
827
|
+
_c[_d] = _14.sent(); // ClientLanguage authentication
|
|
828
|
+
_14.label = 4;
|
|
829
|
+
case 4:
|
|
830
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
831
|
+
_e = headerParameters;
|
|
832
|
+
_f = "Priority";
|
|
833
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
834
|
+
case 5:
|
|
835
|
+
_e[_f] = _14.sent(); // Priority authentication
|
|
836
|
+
_14.label = 6;
|
|
837
|
+
case 6:
|
|
838
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
839
|
+
_g = headerParameters;
|
|
840
|
+
_h = "Referer";
|
|
841
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
842
|
+
case 7:
|
|
843
|
+
_g[_h] = _14.sent(); // Referer authentication
|
|
844
|
+
_14.label = 8;
|
|
845
|
+
case 8:
|
|
846
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
847
|
+
_j = headerParameters;
|
|
848
|
+
_k = "Sec-Fetch-Dest";
|
|
849
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
850
|
+
case 9:
|
|
851
|
+
_j[_k] = _14.sent(); // SecFetchDest authentication
|
|
852
|
+
_14.label = 10;
|
|
853
|
+
case 10:
|
|
854
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
855
|
+
_l = headerParameters;
|
|
856
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
857
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
858
|
+
case 11:
|
|
859
|
+
_l[_m] = _14.sent(); // SecChUaPlatform authentication
|
|
860
|
+
_14.label = 12;
|
|
861
|
+
case 12:
|
|
862
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
863
|
+
_o = headerParameters;
|
|
864
|
+
_p = "Sec-Fetch-Mode";
|
|
865
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
866
|
+
case 13:
|
|
867
|
+
_o[_p] = _14.sent(); // SecFetchMode authentication
|
|
868
|
+
_14.label = 14;
|
|
869
|
+
case 14:
|
|
870
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
871
|
+
_q = headerParameters;
|
|
872
|
+
_r = "x-csrf-token";
|
|
873
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
874
|
+
case 15:
|
|
875
|
+
_q[_r] = _14.sent(); // CsrfToken authentication
|
|
876
|
+
_14.label = 16;
|
|
877
|
+
case 16:
|
|
878
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
879
|
+
_s = headerParameters;
|
|
880
|
+
_t = "x-client-uuid";
|
|
881
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
|
|
882
|
+
case 17:
|
|
883
|
+
_s[_t] = _14.sent(); // ClientUuid authentication
|
|
884
|
+
_14.label = 18;
|
|
885
|
+
case 18:
|
|
886
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
887
|
+
token = this.configuration.accessToken;
|
|
888
|
+
return [4 /*yield*/, token("BearerAuth", [])];
|
|
889
|
+
case 19:
|
|
890
|
+
tokenString = _14.sent();
|
|
891
|
+
if (tokenString) {
|
|
892
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
893
|
+
}
|
|
894
|
+
_14.label = 20;
|
|
895
|
+
case 20:
|
|
896
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
897
|
+
_u = headerParameters;
|
|
898
|
+
_v = "x-guest-token";
|
|
899
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
900
|
+
case 21:
|
|
901
|
+
_u[_v] = _14.sent(); // GuestToken authentication
|
|
902
|
+
_14.label = 22;
|
|
903
|
+
case 22:
|
|
904
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
905
|
+
_w = headerParameters;
|
|
906
|
+
_x = "Sec-Ch-Ua";
|
|
907
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
908
|
+
case 23:
|
|
909
|
+
_w[_x] = _14.sent(); // SecChUa authentication
|
|
910
|
+
_14.label = 24;
|
|
911
|
+
case 24:
|
|
912
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
913
|
+
_y = headerParameters;
|
|
914
|
+
_z = "x-client-transaction-id";
|
|
915
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
|
|
916
|
+
case 25:
|
|
917
|
+
_y[_z] = _14.sent(); // ClientTransactionId authentication
|
|
918
|
+
_14.label = 26;
|
|
919
|
+
case 26:
|
|
920
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
921
|
+
_0 = headerParameters;
|
|
922
|
+
_1 = "x-twitter-active-user";
|
|
923
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
924
|
+
case 27:
|
|
925
|
+
_0[_1] = _14.sent(); // ActiveUser authentication
|
|
926
|
+
_14.label = 28;
|
|
927
|
+
case 28:
|
|
928
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
929
|
+
_2 = headerParameters;
|
|
930
|
+
_3 = "user-agent";
|
|
931
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
932
|
+
case 29:
|
|
933
|
+
_2[_3] = _14.sent(); // UserAgent authentication
|
|
934
|
+
_14.label = 30;
|
|
935
|
+
case 30:
|
|
936
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
937
|
+
_4 = headerParameters;
|
|
938
|
+
_5 = "Accept-Language";
|
|
939
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
940
|
+
case 31:
|
|
941
|
+
_4[_5] = _14.sent(); // AcceptLanguage authentication
|
|
942
|
+
_14.label = 32;
|
|
943
|
+
case 32:
|
|
944
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
945
|
+
_6 = headerParameters;
|
|
946
|
+
_7 = "Sec-Fetch-Site";
|
|
947
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
948
|
+
case 33:
|
|
949
|
+
_6[_7] = _14.sent(); // SecFetchSite authentication
|
|
950
|
+
_14.label = 34;
|
|
951
|
+
case 34:
|
|
952
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
|
|
953
|
+
_8 = headerParameters;
|
|
954
|
+
_9 = "x-twitter-auth-type";
|
|
955
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
956
|
+
case 35:
|
|
957
|
+
_8[_9] = _14.sent(); // AuthType authentication
|
|
958
|
+
_14.label = 36;
|
|
959
|
+
case 36:
|
|
960
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
|
|
961
|
+
_10 = headerParameters;
|
|
962
|
+
_11 = "Sec-Ch-Ua-Mobile";
|
|
963
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
|
|
964
|
+
case 37:
|
|
965
|
+
_10[_11] = _14.sent(); // SecChUaMobile authentication
|
|
966
|
+
_14.label = 38;
|
|
967
|
+
case 38:
|
|
968
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
|
|
969
|
+
_12 = headerParameters;
|
|
970
|
+
_13 = "Accept-Encoding";
|
|
971
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
|
|
972
|
+
case 39:
|
|
973
|
+
_12[_13] = _14.sent(); // AcceptEncoding authentication
|
|
974
|
+
_14.label = 40;
|
|
975
|
+
case 40:
|
|
976
|
+
urlPath = "/graphql/{pathQueryId}/Following";
|
|
977
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
978
|
+
return [2 /*return*/, {
|
|
979
|
+
path: urlPath,
|
|
980
|
+
method: 'GET',
|
|
981
|
+
headers: headerParameters,
|
|
982
|
+
query: queryParameters,
|
|
983
|
+
}];
|
|
984
|
+
}
|
|
985
|
+
});
|
|
986
|
+
});
|
|
987
|
+
};
|
|
988
|
+
/**
|
|
989
|
+
* get user list of following
|
|
990
|
+
*/
|
|
991
|
+
UserListApi.prototype.getFollowingRaw = function (requestParameters, initOverrides) {
|
|
992
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
993
|
+
var requestOptions, response;
|
|
994
|
+
return __generator(this, function (_a) {
|
|
995
|
+
switch (_a.label) {
|
|
996
|
+
case 0: return [4 /*yield*/, this.getFollowingRequestOpts(requestParameters)];
|
|
997
|
+
case 1:
|
|
998
|
+
requestOptions = _a.sent();
|
|
999
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1000
|
+
case 2:
|
|
1001
|
+
response = _a.sent();
|
|
1002
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
|
|
1003
|
+
}
|
|
1004
|
+
});
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
1007
|
+
/**
|
|
1008
|
+
* get user list of following
|
|
1009
|
+
*/
|
|
1010
|
+
UserListApi.prototype.getFollowing = function (requestParameters, initOverrides) {
|
|
1011
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1012
|
+
var response;
|
|
1013
|
+
return __generator(this, function (_a) {
|
|
1014
|
+
switch (_a.label) {
|
|
1015
|
+
case 0: return [4 /*yield*/, this.getFollowingRaw(requestParameters, initOverrides)];
|
|
1016
|
+
case 1:
|
|
1017
|
+
response = _a.sent();
|
|
1018
|
+
return [4 /*yield*/, response.value()];
|
|
1019
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
});
|
|
1023
|
+
};
|
|
1024
|
+
/**
|
|
1025
|
+
* Creates request options for getRetweeters without sending the request
|
|
1026
|
+
*/
|
|
1027
|
+
UserListApi.prototype.getRetweetersRequestOpts = function (requestParameters) {
|
|
1028
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1029
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
|
|
1030
|
+
return __generator(this, function (_14) {
|
|
1031
|
+
switch (_14.label) {
|
|
1032
|
+
case 0:
|
|
1033
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
1034
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getRetweeters().');
|
|
1035
|
+
}
|
|
1036
|
+
if (requestParameters['variables'] == null) {
|
|
1037
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getRetweeters().');
|
|
1038
|
+
}
|
|
1039
|
+
if (requestParameters['features'] == null) {
|
|
1040
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getRetweeters().');
|
|
1041
|
+
}
|
|
1042
|
+
queryParameters = {};
|
|
1043
|
+
if (requestParameters['variables'] != null) {
|
|
1044
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
1045
|
+
}
|
|
1046
|
+
if (requestParameters['features'] != null) {
|
|
1047
|
+
queryParameters['features'] = requestParameters['features'];
|
|
1048
|
+
}
|
|
1049
|
+
headerParameters = {};
|
|
1050
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1051
|
+
_a = headerParameters;
|
|
1052
|
+
_b = "Accept";
|
|
1053
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept")];
|
|
1054
|
+
case 1:
|
|
1055
|
+
_a[_b] = _14.sent(); // Accept authentication
|
|
1056
|
+
_14.label = 2;
|
|
1057
|
+
case 2:
|
|
1058
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
|
|
1059
|
+
_c = headerParameters;
|
|
1060
|
+
_d = "x-twitter-client-language";
|
|
1061
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
|
|
1062
|
+
case 3:
|
|
1063
|
+
_c[_d] = _14.sent(); // ClientLanguage authentication
|
|
1064
|
+
_14.label = 4;
|
|
1065
|
+
case 4:
|
|
1066
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
1067
|
+
_e = headerParameters;
|
|
1068
|
+
_f = "Priority";
|
|
1069
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
1070
|
+
case 5:
|
|
1071
|
+
_e[_f] = _14.sent(); // Priority authentication
|
|
1072
|
+
_14.label = 6;
|
|
1073
|
+
case 6:
|
|
1074
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
1075
|
+
_g = headerParameters;
|
|
1076
|
+
_h = "Referer";
|
|
1077
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
1078
|
+
case 7:
|
|
1079
|
+
_g[_h] = _14.sent(); // Referer authentication
|
|
1080
|
+
_14.label = 8;
|
|
1081
|
+
case 8:
|
|
1082
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
1083
|
+
_j = headerParameters;
|
|
1084
|
+
_k = "Sec-Fetch-Dest";
|
|
1085
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
1086
|
+
case 9:
|
|
1087
|
+
_j[_k] = _14.sent(); // SecFetchDest authentication
|
|
1088
|
+
_14.label = 10;
|
|
1089
|
+
case 10:
|
|
1090
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
1091
|
+
_l = headerParameters;
|
|
1092
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
1093
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
1094
|
+
case 11:
|
|
1095
|
+
_l[_m] = _14.sent(); // SecChUaPlatform authentication
|
|
1096
|
+
_14.label = 12;
|
|
1097
|
+
case 12:
|
|
1098
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
1099
|
+
_o = headerParameters;
|
|
1100
|
+
_p = "Sec-Fetch-Mode";
|
|
1101
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
1102
|
+
case 13:
|
|
1103
|
+
_o[_p] = _14.sent(); // SecFetchMode authentication
|
|
1104
|
+
_14.label = 14;
|
|
1105
|
+
case 14:
|
|
1106
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
1107
|
+
_q = headerParameters;
|
|
1108
|
+
_r = "x-csrf-token";
|
|
1109
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
1110
|
+
case 15:
|
|
1111
|
+
_q[_r] = _14.sent(); // CsrfToken authentication
|
|
1112
|
+
_14.label = 16;
|
|
1113
|
+
case 16:
|
|
1114
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
1115
|
+
_s = headerParameters;
|
|
1116
|
+
_t = "x-client-uuid";
|
|
1117
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
|
|
1118
|
+
case 17:
|
|
1119
|
+
_s[_t] = _14.sent(); // ClientUuid authentication
|
|
1120
|
+
_14.label = 18;
|
|
1121
|
+
case 18:
|
|
1122
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
1123
|
+
token = this.configuration.accessToken;
|
|
1124
|
+
return [4 /*yield*/, token("BearerAuth", [])];
|
|
1125
|
+
case 19:
|
|
1126
|
+
tokenString = _14.sent();
|
|
1127
|
+
if (tokenString) {
|
|
1128
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1129
|
+
}
|
|
1130
|
+
_14.label = 20;
|
|
1131
|
+
case 20:
|
|
1132
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
1133
|
+
_u = headerParameters;
|
|
1134
|
+
_v = "x-guest-token";
|
|
1135
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
1136
|
+
case 21:
|
|
1137
|
+
_u[_v] = _14.sent(); // GuestToken authentication
|
|
1138
|
+
_14.label = 22;
|
|
1139
|
+
case 22:
|
|
1140
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
1141
|
+
_w = headerParameters;
|
|
1142
|
+
_x = "Sec-Ch-Ua";
|
|
1143
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
1144
|
+
case 23:
|
|
1145
|
+
_w[_x] = _14.sent(); // SecChUa authentication
|
|
1146
|
+
_14.label = 24;
|
|
1147
|
+
case 24:
|
|
1148
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
1149
|
+
_y = headerParameters;
|
|
1150
|
+
_z = "x-client-transaction-id";
|
|
1151
|
+
return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
|
|
1152
|
+
case 25:
|
|
1153
|
+
_y[_z] = _14.sent(); // ClientTransactionId authentication
|
|
1154
|
+
_14.label = 26;
|
|
1155
|
+
case 26:
|
|
1156
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
1157
|
+
_0 = headerParameters;
|
|
1158
|
+
_1 = "x-twitter-active-user";
|
|
1159
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
1160
|
+
case 27:
|
|
1161
|
+
_0[_1] = _14.sent(); // ActiveUser authentication
|
|
1162
|
+
_14.label = 28;
|
|
1163
|
+
case 28:
|
|
1164
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
1165
|
+
_2 = headerParameters;
|
|
1166
|
+
_3 = "user-agent";
|
|
1167
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
1168
|
+
case 29:
|
|
1169
|
+
_2[_3] = _14.sent(); // UserAgent authentication
|
|
1170
|
+
_14.label = 30;
|
|
1171
|
+
case 30:
|
|
1172
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
1173
|
+
_4 = headerParameters;
|
|
1174
|
+
_5 = "Accept-Language";
|
|
1175
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
1176
|
+
case 31:
|
|
1177
|
+
_4[_5] = _14.sent(); // AcceptLanguage authentication
|
|
1178
|
+
_14.label = 32;
|
|
1179
|
+
case 32:
|
|
1180
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
1181
|
+
_6 = headerParameters;
|
|
1182
|
+
_7 = "Sec-Fetch-Site";
|
|
1183
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
1184
|
+
case 33:
|
|
1185
|
+
_6[_7] = _14.sent(); // SecFetchSite authentication
|
|
1186
|
+
_14.label = 34;
|
|
1187
|
+
case 34:
|
|
1188
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
|
|
1189
|
+
_8 = headerParameters;
|
|
1190
|
+
_9 = "x-twitter-auth-type";
|
|
1191
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
1192
|
+
case 35:
|
|
1193
|
+
_8[_9] = _14.sent(); // AuthType authentication
|
|
1194
|
+
_14.label = 36;
|
|
1195
|
+
case 36:
|
|
1196
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
|
|
1197
|
+
_10 = headerParameters;
|
|
1198
|
+
_11 = "Sec-Ch-Ua-Mobile";
|
|
1199
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
|
|
1200
|
+
case 37:
|
|
1201
|
+
_10[_11] = _14.sent(); // SecChUaMobile authentication
|
|
1202
|
+
_14.label = 38;
|
|
1203
|
+
case 38:
|
|
1204
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
|
|
1205
|
+
_12 = headerParameters;
|
|
1206
|
+
_13 = "Accept-Encoding";
|
|
1207
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
|
|
1208
|
+
case 39:
|
|
1209
|
+
_12[_13] = _14.sent(); // AcceptEncoding authentication
|
|
1210
|
+
_14.label = 40;
|
|
1211
|
+
case 40:
|
|
1212
|
+
urlPath = "/graphql/{pathQueryId}/Retweeters";
|
|
1213
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
1214
|
+
return [2 /*return*/, {
|
|
1215
|
+
path: urlPath,
|
|
1216
|
+
method: 'GET',
|
|
1217
|
+
headers: headerParameters,
|
|
1218
|
+
query: queryParameters,
|
|
1219
|
+
}];
|
|
1220
|
+
}
|
|
1221
|
+
});
|
|
1222
|
+
});
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* get tweet retweeters
|
|
1226
|
+
*/
|
|
1227
|
+
UserListApi.prototype.getRetweetersRaw = function (requestParameters, initOverrides) {
|
|
1228
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1229
|
+
var requestOptions, response;
|
|
1230
|
+
return __generator(this, function (_a) {
|
|
1231
|
+
switch (_a.label) {
|
|
1232
|
+
case 0: return [4 /*yield*/, this.getRetweetersRequestOpts(requestParameters)];
|
|
1233
|
+
case 1:
|
|
1234
|
+
requestOptions = _a.sent();
|
|
1235
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1236
|
+
case 2:
|
|
1237
|
+
response = _a.sent();
|
|
1238
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TweetRetweetersResponse_1.TweetRetweetersResponseFromJSON)(jsonValue); })];
|
|
1239
|
+
}
|
|
1240
|
+
});
|
|
1241
|
+
});
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* get tweet retweeters
|
|
1245
|
+
*/
|
|
1246
|
+
UserListApi.prototype.getRetweeters = function (requestParameters, initOverrides) {
|
|
1247
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1248
|
+
var response;
|
|
1249
|
+
return __generator(this, function (_a) {
|
|
1250
|
+
switch (_a.label) {
|
|
1251
|
+
case 0: return [4 /*yield*/, this.getRetweetersRaw(requestParameters, initOverrides)];
|
|
1252
|
+
case 1:
|
|
1253
|
+
response = _a.sent();
|
|
1254
|
+
return [4 /*yield*/, response.value()];
|
|
1255
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1256
|
+
}
|
|
1257
|
+
});
|
|
1258
|
+
});
|
|
1259
|
+
};
|
|
1260
|
+
return UserListApi;
|
|
1261
|
+
}(runtime.BaseAPI));
|
|
1262
|
+
exports.UserListApi = UserListApi;
|
|
1166
1263
|
//# sourceMappingURL=UserListApi.js.map
|